/* ============================================================
   Oligo 디자인 토큰 + 전역 폰트 (구 oligo-theme.css → style.css 통합, 최상단)
   ============================================================ */
:root {
    /* primary */
    --oligo-primary: #6a61f5;
    --oligo-primary-hover: #554ce9;
    --oligo-primary-soft: #f6f5ff;
    --oligo-primary-border: #dfddff;

    /* point */
    --oligo-point: #00b3b3;
    --oligo-point-hover: #009999;
    --oligo-point-bg: #e1f3f4;
    --oligo-point-border: #99e1e1;

    /* neutral */
    --oligo-neutral-0: #ffffff;
    --oligo-neutral-50: #f9fafb;
    --oligo-neutral-100: #f3f4f6;
    --oligo-neutral-200: #e5e7eb;
    --oligo-neutral-300: #d1d5db;
    --oligo-neutral-400: #9ca3af;
    --oligo-neutral-500: #6b7280;
    --oligo-neutral-700: #374151;
    --oligo-neutral-800: #1f2937;
    --oligo-neutral-900: #111827;

    /* success */
    --oligo-success: #00a96c;
    --oligo-success-bg: #dbf3ea;
    --oligo-success-border: #b3e6d3;

    /* danger */
    --oligo-danger: #ff3149;
    --oligo-danger-bg: #ffebed;
    --oligo-danger-border: #ffc2c9;
}

/* 전역 폰트 통일: Tabler 폰트 변수를 Pretendard 로 덮음 (버튼·폼·테이블 등 이 변수 참조) */
:root {
    --tblr-font-sans-serif: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Segoe UI', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
    --tblr-body-font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Segoe UI', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}

/* Pretendard 로컬 폰트 정의 (CDN 차단/오프라인에서도 보장) */
@font-face {
    font-family: 'Pretendard';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations');
}
@font-face {
    font-family: 'Pretendard Variable';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations');
}

/* 앱 기본 폰트: Pretendard — 메뉴 등 상속 요소 전체 적용 */
html,
body,
#layout-wrapper {
    font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
        'Segoe UI', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}

/* ── 스크롤바 공간 미리 확보 (레이아웃 흔들림 방지) ── */
html {
    /* scrollbar-gutter: stable; 제거 — 스크롤 없는 화면이 대부분이라 우측 빈 거터 띠가 상시 노출되는 손해가 더 큼.
       스크롤이 필요한 화면에서만 브라우저 스크롤바가 자연스럽게 노출됨. */
}

/* ── Offcanvas 배경 어둡게 ── */
.offcanvas-backdrop {
    z-index: 1110 !important;
    opacity: 0.5 !important;
}
.offcanvas {
    z-index: 1115 !important;
}


/* 상태 뱃지(.badge-active/inactive) · 벤더 카드(.vendor-card) 스타일은 src/pages/css/OB01.css로 이관 */

.log-text{
    font-size:22px;
    font-weight:bold;
    font-family:"Orbitron ExtraBold";
    letter-spacing: 2px;
    background: linear-gradient(225deg, #4335B3 -5%, #00B3B3 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height:30px;
}
.gap3{
    gap:3px;
}
.gap5{
    gap:5px;
}
.gap10{
    gap:10px;
}
.gap15{
    gap:15px;
}
.gap20{
    gap:20px;
}
.gap30{
    gap:30px;
}
.gap40{
    gap:40px;
}

.filter-icon{
    display:flex;
    flex-flow:column;
    gap:5px;
    color:#64748b;
}

.w-xs {
	min-width:70px;
}
.w-sm {
	min-width:95px;
}
.w-md {
	min-width:110px;
}
.w-lg {
	min-width:140px;
}
.w-xl {
	min-width:160px;
}
.w-15{
    width:15% !important;
}
.w-20{
    width:20% !important;
}
.w-20p {
    width:20px !important;
    min-width:20px !important;
}
.w-30p {
    width:30px !important;
    min-width:30px !important;
}
.w-50p {
    width:50px !important;
    min-width:50px !important;
}
.w-70p {
    width:70px !important;
    min-width:70px !important;
}
.w-80p {
    width:80px !important;
    min-width:80px !important;
}
.w-85p {
    width:85px !important;
    min-width:85px !important;
}
.w-90p {
    width:90px !important;
    min-width:90px !important;
}
.w-100p {
    width:100px !important;
    min-width:100px !important;
}
.w-120p {
    width:120px !important;
    min-width:120px !important;
}
.w-135p {
    width:135px !important;
    min-width:135px !important;
}
.w-140p {
    width:140px !important;
    min-width:140px !important;
}
.w-150p {
    width:150px !important;
    max-width:150px !important;
}

.w-180p {
    width:180px !important;
    min-width:180px !important;
}
.w-200p {
    width:200px !important;
    min-width:200px !important;
}
.w-210p {
    width:210px !important;
    min-width:210px !important;
}
.w-220p {
    width:220px !important;
    min-width:220px !important;
}
.w-250p{
    width:250px !important;
    min-width:250px !important;
}
.w-300p{
    width:300px !important;
    min-width:300px !important;
}
.w-400p{
    width:400px !important;
    min-width:400px !important;
}
.w-450p{
    width:450px !important;
    min-width:450px !important;
}
.w-500p{
    width:500px !important;
    min-width:500px !important;
}
/* 타입 스케일 유틸 (12 / 13 / 14 / 16 / 18 / 20 / 24) */
.font-size-12{ font-size:12px; }
.font-size-13{ font-size:13px; }
.font-size-14{
    font-size:14px;
}
.font-size-16{ font-size:16px; }
.font-size-18{ font-size:18px; }
.font-size-20{ font-size:20px; }
.font-size-24{ font-size:24px; }
.no-resize{
    resize:none;
}
.min-with-0{
    min-width:0;
}

.muin-width-160{
    min-width:160px;
}

.goods-put{
    display:flex;
    padding:2px;
    background-color:#E5F4FE;
    width:auto;
    color:#999;
    padding-right:10px;
    align-items:center;
}

.goods-put .item-title{
    background-color:#00B3B3;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    width:60px;
    line-height:40px;
}

.goods-put label{
    font-weight:normal;
    margin-bottom:0;
    color:unset;
}

.goods-put .form-check-input{
    width:18px;
    height:18px;
    margin-top:0;
}

.loading-overlay {
    position: absolute; /* inline일 때 */
    inset: 0;
    background: rgba(255,255,255,0.6);
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;
}
/* portal일 경우 덮어쓰기 */
body > .loading-overlay {
    position: fixed;
    z-index: 9999;
}
.offcanvas.offcanvas-end.lg-width{
    width: 650px;
}
.offcanvas.offcanvas-end.full-width{
    width: 100%;
}

.full-popup{
    display:block;
    height:100vh;
}

.full-popup .poup-left{
    padding:24px 15px 15px 10px;
    background-color:#F2F7FC;
    color:#00B3B3;
    position:fixed;
    top:0;
    bottom:0;
}

.full-popup .popup-content{
    flex-grow:1;
    display:flex;
    flex-flow:column;
    padding:0 15px 15px 60px;
    height:100%;
}


.wj-cell img{
    height:23px;
}

.wj-column-selector.wj-cell-check:not(.wj-column-selector-group){
    width:16px;
    height:16px;
    margin-right:0;
}
.wj-column-selector.wj-cell-check:not(.wj-column-selector-group){
    width:16px;
    height:16px;
    margin-right:0;
}

[data-bs-theme=light] .page-wrapper{
    background-color:#F8FAFC;
}


/* ── Sidebar Custom ─────────────────────────────────────── */
:root {
    --sidebar-width:           240px;
    --sidebar-collapsed-width: 64px;
    --primary:                 #00B3B3;
    --primary-soft:            rgba(0, 179, 179, 0.10);

    /* Bootstrap primary 색상 오버라이드 */
    --bs-primary:              #00B3B3;
    --bs-primary-rgb:          0, 179, 179;
    --bs-link-color:           #00B3B3;
    --bs-link-hover-color:     #009999;

    /* form-check (radio/checkbox) checked 색상 */
    --bs-form-check-input-checked-bg-color:     var(--oligo-primary);
    --bs-form-check-input-checked-border-color: var(--oligo-primary);


    /* Slate 팔레트 */
    --color-slate-100:         #f1f5f9;
    --color-slate-200:         #e2e8f0;
    --color-slate-300:         #cbd5e1;
    --color-slate-400:         #94a3b8;
    --color-slate-500:         #64748b;
    --color-slate-600:         #475569;
    --color-slate-700:         #334155;
    --color-slate-800:         #1e293b;
    --sidebar-bg:              #FFFFFF;
    --sidebar-border:          rgba(0, 0, 0, 0.07);
    --sidebar-text:            #6B7684;
    --sidebar-hover-bg:        #F8FAFC;
    --sidebar-hover-text:      #0A0E1A;
    --text-heading:            #191F28;
    --text-placeholder:        #8B95A1;
    --text-disabled:           #B0B8C1;
    --bg-input:                #F2F4F6;
    --bg-surface:              #FFFFFF;
    --shadow-sm:               0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Layout root — Tabler .page 는 flex-column 이므로 높이 확보 */
/* min-width:1600px 은 제거했다. 콘솔이 1600 데스크톱 고정 설계라 창이 그보다 좁으면
   레이아웃이 줄지 않고 넘쳐서 오른쪽이 잘린 채 가로 스크롤만 생겼다 — 1366×768,
   1440×900 같은 흔한 노트북이 전부 그 상태였다(1366 에서 249px 잘림).
   ≤992 는 Main.css 가 이미 드로어 레이아웃으로 갈아끼우고, 993~1599 는 데스크톱
   배치를 유지한 채 폭만 줄어들면 된다. 다시 넣지 말 것. */
#layout-wrapper {
    min-height: 100vh;
}

/* ── Sidebar ── */
.navbar.navbar-vertical {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: var(--sidebar-width) !important;
    height: 100vh !important;
    background: var(--sidebar-bg) !important;
    background-color: var(--sidebar-bg) !important;
    /* border-right 없음 — 패널과 함께 borderless 통일 */
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    z-index: 1000 !important;
    /* aside 자체는 스크롤 없이 고정 — 중간 nav만 스크롤 */
    overflow: hidden !important;
    /* box-shadow 없음 — borderless 통일 (우측 그림자 제거) */
    transition: width 0.25s ease !important;
}

/* 브라우저 폭 무관하게 사이드바 항상 펼침 유지 */
.navbar.navbar-vertical .navbar-collapse {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex-basis: auto !important;
}
.navbar.navbar-vertical .navbar-toggler {
    display: none !important;
}

.navbar.navbar-vertical .container-fluid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
}

/* ── Logo ── */
.navbar-brand.navbar-brand-autodark {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 20px 20px 18px !important;
    border-bottom: none !important;
    margin: 0 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.navbar-brand-image {
    height: 28px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.log-text {
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    font-family: 'Orbitron', sans-serif !important;
    background: linear-gradient(135deg, #00B3B3 0%, #6B5AFA 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    line-height: 1.4 !important;
    padding: 2px 0 !important;
    display: inline-block !important;
}

/* ── Search ── */
.sidebar-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 12px 4px;
    padding: 7px 12px;
    background: var(--bg-input);
    border-radius: 999px;
    border: 1.5px solid transparent;
    transition: border-color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.sidebar-search-wrap:focus-within {
    border-color: var(--primary);
    background: var(--bg-surface);
}

.sidebar-search-icon {
    color: var(--text-placeholder);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sidebar-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 12.5px;
    color: var(--text-heading);
    width: 100%;
    font-family: inherit;
}

.sidebar-search-input::placeholder {
    color: var(--text-placeholder);
}

/* ── Nav ── */
.collapse.navbar-collapse {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 4px 0 !important;
    scrollbar-width: none !important;
}

.collapse.navbar-collapse::-webkit-scrollbar { display: none; }

/* 창 높이가 낮으면 사이드바 메뉴가 실제로 넘친다(메뉴 519 + 브랜드 88 + 푸터 72 ≈ 680).
   스크롤은 원래 되지만 위에서 스크롤바를 숨겨 둬서 '템플릿·작업이력·환경설정이 잘렸다'로
   보였다. 넘치는 높이에서만 얇은 스크롤바를 되살린다 — 일반적인 화면 높이는 그대로. */
@media (max-height: 700px) {
    .collapse.navbar-collapse { scrollbar-width: thin !important; }
    .collapse.navbar-collapse::-webkit-scrollbar { display: block; width: 6px; }
    .collapse.navbar-collapse::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 3px;
    }
    .collapse.navbar-collapse::-webkit-scrollbar-track { background: transparent; }
}

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-disabled);
    padding: 12px 16px 4px;
    list-style: none;
    text-transform: uppercase;
}

.navbar-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
    flex-shrink: 0 !important;
}

.nav-item { width: 100%; }

.navbar-vertical .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    color: var(--sidebar-text) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    transition: background 0.15s, color 0.15s !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.navbar-vertical .nav-link:hover {
    background: var(--sidebar-hover-bg) !important;
    color: var(--sidebar-hover-text) !important;
}

/* active 색 주석처리 (요청)
.navbar-vertical .nav-link.active {
    background: #F8FAFC !important;
    color: #6B5AFA !important;
    font-weight: 600 !important;
}
*/

.navbar-vertical .nav-link.active .nav-link-icon svg { stroke: #6B5AFA; }
.navbar-vertical .nav-link:hover .nav-link-icon svg  { stroke: var(--sidebar-hover-text); }
.navbar-vertical .nav-link .nav-link-icon svg        { stroke: var(--sidebar-text); }

.nav-link-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-link-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Dashboard chevron */
.nav-link-chevron {
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0 !important;
    transition: opacity 0.15s;
}

/* active chevron(이모지) 주석처리 (요청)
.navbar-vertical .nav-link.active .nav-link-chevron {
    opacity: 0.65 !important;
}
*/

/* Tabler 기본 tooltip/dropdown 제거 */
.navbar-vertical .nav-link[data-bs-toggle="tooltip"] { pointer-events: auto !important; }
.navbar-vertical .nav-link::after                    { display: none !important; }
.navbar-vertical .nav-item > .dropdown-menu          { display: none !important; }

/* ── Sidebar Footer ── */
.sidebar-footer {
    border-top: 1px solid var(--sidebar-border);
    padding: 4px 0 8px;
    flex-shrink: 0;
    position: relative;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    overflow: hidden;
    border-radius: 8px;
}

.sidebar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.3s;
}
.sidebar-user-avatar:hover {
    background: rgba(0,179,179,0.1);
    color: #00B3B3;
    border-color: #00B3B3;
}



.sidebar-user-code {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    text-overflow: ellipsis;
}


.sidebar-user-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-expire {
    font-size: 11px;
    font-weight: 500;
}

.sidebar-user-plan {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}





.sidebar-copyright {
    font-size: 10px;
    color: var(--text-disabled);
    text-align: center;
    padding: 0 10px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── User Menu Dropdown ── */
.user-menu {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 10px;
    right: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    padding: 6px;
    z-index: 1100;
    animation: qs-fadein 0.15s ease;
}
.user-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: background 0.12s;
}
/* hover: 시안(5657:6341)대로 보라 대신 연한 회색 배경 + 텍스트/아이콘은 중립색 유지 */
.user-menu__item:hover {
    background: #f9fafb; /* neutral/50 */
    color: #374151; /* neutral/700 */
}
.user-menu__item:hover .user-menu__icon {
    color: #6b7280; /* neutral/500 */
}
.user-menu__item--danger {
    color: #ff3149; /* danger/default */
}
.user-menu__item--danger:hover {
    background: #fef2f2;
    color: #ff3149;
}
.user-menu__item--danger:hover .user-menu__icon {
    color: #ff3149;
}
.user-menu__icon {
    color: #64748b;
    flex-shrink: 0;
}
.user-menu__item--danger .user-menu__icon,
.user-menu__icon.user-menu__item--danger {
    color: #ff3149;
}
.user-menu__divider {
    height: 1px;
    background: #f1f5f9;
    margin: 4px 0;
}











/* ── Toggle Button (aside 밖, position:fixed) ── */
.sidebar-toggle-btn {
    position: fixed;
    top: 2.5em;
    left: calc(var(--sidebar-width) - 1em);
    width: 2em;
    height: 3.2em;
    border-radius: 1em;
    background: var(--bg-surface);
    border: 1.5px solid var(--sidebar-border);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1040;
    color: var(--sidebar-text);
    padding: 0;
    transition: left 0.25s ease, background 0.15s, color 0.15s, border-color 0.15s;
}

.sidebar-toggle-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* full-width Offcanvas가 sidebar toggle 버튼 위에 오도록 */
.offcanvas.full-width {
    z-index: 1200;
}
.offcanvas-backdrop {
    z-index: 1199;
}

/* ── Page Wrapper ── */
.page-wrapper {
    margin-left: var(--sidebar-width) !important;
    transition: margin-left 0.25s ease !important;
    position: relative;
    min-height: 100vh;
}

/* ── Collapsed ── */
#layout-wrapper.sidebar-collapsed .navbar.navbar-vertical {
    width: var(--sidebar-collapsed-width) !important;
}

#layout-wrapper.sidebar-collapsed .sidebar-toggle-btn {
    left: calc(var(--sidebar-collapsed-width) - 1em);
}

#layout-wrapper.sidebar-collapsed .log-text,
#layout-wrapper.sidebar-collapsed .sidebar-search-wrap,
#layout-wrapper.sidebar-collapsed .nav-link-title,
#layout-wrapper.sidebar-collapsed .nav-link-chevron,
#layout-wrapper.sidebar-collapsed .sidebar-user-info,
#layout-wrapper.sidebar-collapsed .sidebar-user-code,
#layout-wrapper.sidebar-collapsed .sidebar-copyright {
    display: none !important;
}

#layout-wrapper.sidebar-collapsed .navbar-brand-autodark {
    justify-content: center !important;
    padding: 18px 0 16px !important;
}

#layout-wrapper.sidebar-collapsed .nav-section-label {
    font-size: 0;
    padding: 0 8px;
    margin: 4px 0;
    height: 1px;
    background: var(--sidebar-border);
    list-style: none;
}

#layout-wrapper.sidebar-collapsed .navbar-nav {
    padding: 4px 8px !important;
}

#layout-wrapper.sidebar-collapsed .nav-link {
    justify-content: center !important;
    padding: 10px !important;
    gap: 0 !important;
    border-radius: 10px !important;
}

#layout-wrapper.sidebar-collapsed .sidebar-user {
    justify-content: center;
    padding: 10px 0;
}

#layout-wrapper.sidebar-collapsed .page-wrapper {
    margin-left: var(--sidebar-collapsed-width) !important;
}

.page-wrapper.full {
    margin-right: 370px !important;
}

/* 접혔을 때 hover 툴팁 */
#layout-wrapper.sidebar-collapsed .nav-item {
    position: relative;
}

#layout-wrapper.sidebar-collapsed .nav-link[data-tooltip]::after {
    content: attr(data-tooltip);
    display: block !important;
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #191F28;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 7px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

#layout-wrapper.sidebar-collapsed .nav-link[data-tooltip]:hover::after {
    opacity: 1;
}











































/* 탭 글자 */



/* 모달 폼 라벨 */




/* 카운트/아이콘/기타 회색 텍스트 */








/* 채널추가 팝업 (bendor-items-list) */




/* 로딩 오버레이 */


/* 필터 칩 배지 */


.wj-header.wj-cell.column_sort:before,
.wj-header.wj-cell.column_sort:after
{
    display: inline-block;
    font-size: 10px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position:absolute;
    right: 3px;
    opacity: 0.3;
    line-height:10px;
}

.wj-header.wj-cell.column_sort:before{
    content:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-up-icon lucide-chevron-up"><path d="m18 15-6-6-6 6"/></svg>');
    top: 4px;
}
.wj-header.wj-cell.column_sort:after{
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>');
    bottom: 1px;
}
.wj-header.wj-sort-asc.wj-cell.column_sort:before{
    opacity: 0.8;
    top: 8px;
}

.wj-header.wj-sort-asc.wj-cell.column_sort:after{
    display:none;
}

.wj-header.wj-sort-desc.wj-cell.column_sort:after{
    opacity: 0.8;
    bottom: 5px;
}
.wj-header.wj-sort-desc.wj-cell.column_sort:before{
    display:none;
}
/* 기존 아이콘 숨김 */
.wj-header.wj-cell.column_sort .wj-glyph-up,
.wj-header.wj-cell.column_sort .wj-glyph-down{
    display:none;
}
.wj-header.wj-sort-asc.wj-cell.column_sort,
.wj-header.wj-sort-desc.wj-cell.column_sort{
    margin-right:-10px;
}
.popup-content .page-header{
    margin: calc(var(--tblr-page-padding-y) + 5px) 0 0;
    padding-bottom:10px;
    border-bottom: 1px solid var(--tblr-border-color-translucent);
}
.menu-refresh{
    cursor:pointer;
    color:#D9D9D9;
    margin-left: 6px;
}
.channel-goods-search-modal .modal-dialog{
    max-width:700px;
}
.calendar{
    border:none !important;
    position:relative;
    display:inline-flex;
    align-items:center;
}

.calendar .calendar-icon{
    position:absolute;
    right:5px;
}

.modal-content .modal-footer{
    background-color:transparent;
    justify-content:space-between;
}
.modal-content ul.description{
    padding-left:50px;
}

.modal-content .forms{
    padding:10px;
}

.modal-content .forms .row{
    border-bottom:1px solid #f7f7f7;
}

.modal-content .forms .row .col-form-label{
    background-color:#F9FBFD;
    color:#747474;
    font-weight:normal;
}

.get_data_count{
    color:#747474;
    font-size:14px;
    font-weight:500;
    display:flex;
    align-items:baseline;
    margin-right:40px;
}

.get_data_count .current_cnt{
    font-size:18px;
    color:#00B3B3;
    font-weight:600;
}

.icon-btn{
    display:flex;
    align-items:center;
    gap:5px;
    cursor:pointer;
    padding:.5rem .55rem;
    color:#626A7A;
    font-size:0.765625rem;
}

.icon-btn .plus-icon{
    color:#00B3B3;
    font-size:14px;
}

.h20{
    height:20px !important;
}
.h30{
    height:30px !important;
}

.vendor-group{
    padding-bottom:20px;
}
.vendor-list{
    list-style:none;
    padding-left:0;
    margin-bottom:0;
    display:flex;
    flex-flow:column;
}

.vendor-list .vendor-item{
    flex-grow:1;
    padding:0.4rem;
    cursor:pointer;
    user-select: none;
}

.vendor-list .vendor-list{
    display:flex;
    flex-flow:column;
}

.vendor-list .channel_name{
    color:#A5A5A5;
    font-size:0.8rem;
    height:20px;
}

.vendor-list .vendor_name{
    color:#595959;
    font-size:0.75rem;
    font-weight:700;
    line-height:30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-10{
    width:10%;
}
.w-90{
    width:90%;
}

.w-12{
    width:12% !important;
}
.w-88{
    width:88% !important
}

.w-10.col-form-label{
    min-width:180px !important;
}

.tab-items{
    display:flex;
    align-items:end;
    justify-content:center;
    flex-flow:row;
    flex-wrap:nowrap;
    list-style:none;
    margin-bottom:0;
    padding-left:0;
}

.tab-items > .tab-item {
    width:100%;
    color:#7F7F7F;
    display:flex;
    flex-flow:column;
    align-items:center;
    padding-left:0;
    margin-bottom:0;
}

.tab-items > .tab-item.no{
    width:200px;
    min-width:200px;
    align-items:start;
}
.tab-items > li.active{
    color:var(--oligo-primary);
}

.tab-items > .tab-item .modif-count{
    font-size:11px;
    width:20px;
    height:20px;
    text-align:center;
    line-height:20px;
}

.tab-items > .tab-item .modif-count.active{
    background-color:var(--oligo-primary);
    color:#fff;
    border-radius:50px;
}

/* 필드 수정 인디케이터 */
.field-modified-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--oligo-point);
    margin-left: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* img_info 가로 그리드 */
.img-info-cell {
    display: flex;
    flex-direction: column;
}
.img-info-cell .ant-upload-wrapper {
    display: block;
}

.tab-items > .tab-item .title{
    font-weight:600;
    line-height:30px;
    cursor:pointer;
}
.popup-content .page-body{
    flex-grow:1;
    margin-bottom:0;
}

.goods-detail{
    background-color:#F9FBFD;
    margin-bottom:20px;
}
.goods-detail .card {
    min-width: 0;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #e9eef3;
    box-shadow: none;
}
.goods-detail .card-body {
    padding: 16px 20px;
}

.goods-form-simplebar{
    height:calc(100vh - 160px - 110px);

}
.goods-form .form-switch .form-check-input{
    width:60px;
}

.goods-form .form-switch:before{
    content:attr(data-on-label);
    right:auto;
    left:3px;
}

input[switch] {
	display:none;
}
input[switch]+label {
	font-size:1em;
    line-height:1;
    width:56px;
    height:24px;
    background-color:#ced4da;
    background-image:none;
    border-radius:2rem;
    padding:.16667rem;
    cursor:pointer;
    display:inline-block;
    text-align:center;
    position:relative;
    font-weight:500;
    -webkit-transition:all .1s ease-in-out;
    transition:all .1s ease-in-out;
}
input[switch]+label:before {
	color:#47484a;
    content:attr(data-off-label);
    display:block;
    font-family:inherit;
    font-weight:500;
    font-size:12px;
    line-height:21px;
    position:absolute;
    right:1px;
    margin:3px;
    top:-2px;
    text-align:center;
    min-width:1.66667rem;
    overflow:hidden;
    -webkit-transition:all .1s ease-in-out;
    transition:all .1s ease-in-out;
}
input[switch]+label:after {
	content:"";
    position:absolute;
    left:3px;
    background-color:#eff5f6;
    -webkit-box-shadow:none;
    box-shadow:none;
    border-radius:2rem;
    height:20px;
    width:20px;
    top:2px;
    -webkit-transition:all .1s ease-in-out;
    transition:all .1s ease-in-out;
}
input[switch]:checked+label {
	background-color:#0c768a;
}
input[switch]:checked+label {
	background-color:#0c768a;
}
input[switch]:checked+label:before {
	color:#fff;
    content:attr(data-on-label);
    right:auto;
    left:3px;
}
input[switch]:checked+label:after {
	left:33px;
    background-color:#eff5f6;
}
input[switch=bool]+label {
	background-color:#ed5e49;
}
input[switch=bool]+label:before,input[switch=bool]:checked+label:before,input[switch=default]:checked+label:before {
	color:#fff;
}
input[switch=bool]:checked+label {
	background-color:#38c786;
}
input[switch=default]:checked+label {
	background-color:#a2a2a2;
}
input[switch=primary]:checked+label {
	background-color:var(--tblr-primary);
}
input[switch=success]:checked+label {
	background-color:var(--tblr-success);
}
input[switch=secondary]:checked+label {
	background-color:var(--tblr-secondary);
}
input[switch=info]:checked+label {
	background-color:var(--tblr-info);
}
input[switch=warning]:checked+label {
	background-color:var(--tblr-warning);
}
input[switch=danger]:checked+label {
	background-color:var(--tblr-danger);
}
input[switch=dark]:checked+label {
	background-color:var(--tblr-dark);
}

.popup-content .page-footer{
    padding: 20px 0;
    border-top:1px solid var(--tblr-border-color-translucent);
}

.items-label{
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    padding-left: 10px;
    border-left: 3px solid var(--oligo-primary);
}

.form-items{
    list-style:none;
    padding-left:0;
}

.form-items .form-item{
    display:flex;
    flex-flow:row;
    flex-wrap: nowrap;
}

.form-items .form-item .col-form-label{
    min-width: 130px;
    max-width: 130px;
    color: #64748b;
    font-size: 0.875rem;
}

/* 상품상세: 라벨 폭 충돌(w-10 180!important vs form-items 130) 정리 → 160 통일 + 라벨↔인풋 간격 축소 */
.goods-detail .form-items .form-item .col-form-label{
    min-width: 160px !important;
    max-width: 160px !important;
}
/* 체크박스 칸(form-item-check)은 라벨 폭 규칙(130/160) 대상이 아님 → 60px 고정해 헤더 체크박스와 세로 정렬 유지 (라벨 폭 규칙 유탄 방지) */
.goods-detail .form-items .form-item .form-item-check.col-form-label,
.template-modal .form-items .form-item .form-item-check.col-form-label {
    min-width: 60px !important;
    max-width: 60px !important;
}
/* 라벨이 카드 왼쪽 끝에 너무 붙어 보여 폼 좌측 들여쓰기 */
.goods-detail .form-items{
    /*padding-left: 12px;*/
    /* ul 기본 margin-bottom(1rem) 제거 → card-body 상/하 여백 대칭 */
    margin: 0;
}
/* 마지막 행 mb-3(!important) 제거 → 하단 여백이 상단(card-body 패딩)과 동일해짐 */
.goods-detail .form-items > .form-item:last-child{
    margin-bottom: 0 !important;
}

.form-items .form-item .form-item-input{
    padding-left:15px;
    margin-left:-10px;
    flex-grow:1;
    min-width:0;
    position:relative;
    display:flex;
    align-items:center;
}

.form-items .form-item .form-item-input.modify:before{
    content:'';
    left:0;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    border: 0.125rem solid var(--oligo-point);
    height:70%;
}

.form-items .form-item .sub-items:not(.column) .form-item-input.modify:before{
    content:unset;
}


/* .file-plus(ImageUpload) → component.css .image-upload 블록으로 이관 */
.h-400px{
    height:400px;
}
.h-300px{
    height:300px;
}
.h-100px{
    height:100px;
}
.h-150px{
    height:150PX;
}
.h-200px{
    height:200px;
}

.none-display{
    display:none !important;
}

.form-item-input .form-check{
    margin-bottom: 0;
}

.opt-item-text{
    font-size:12px;
    color:#7f7f7f;
}

.job-items{
    margin-bottom:0;
    list-style:none;
}

.job-items .job-item{
    display:flex;
    flex-flow:row;
    align-items:center;
    padding:10px 0;
    border-bottom: 1px solid var(--tblr-border-color-translucent);
}

.job-items .job-item:first-child{
    border-top: 1px solid var(--tblr-border-color-translucent);
}

.job-items .job-item::before{
    content:'•';
    margin-right: 10px;
    font-weight:bold;
    color:#00B3B3;
    font-size: 1.2rem;
    margin-top: -8px;
}

.job-item .job-info{
    display:flex;
    flex-flow:column;
}

.job-item .job-info .date{
    color:#A5A5A5;
    font-size:0.7rem;
}

.job-item .job-info .job-name{
    color:#00B3B3;
    font-size:1.0rem;
    font-weight:500;
}

.job-item .job-info .vendor{
    color:#595959;
}

.job-count{
    display:flex;
    align-items:center;
    color:#7F7F7F;
    font-weight:500;
    font-size:1.4rem;
    justify-content:right;
    padding-right:30px;
}

.job-count .count{
    font-weight:900;
}

.job-item .job-state{
   color:#7F7F7F;
   font-size:0.9rem;
}

.job-icon{
    color:#00B3B3;
}

.pointer{
    cursor:pointer;
}

.job-simplebar{
    height:257px;
    padding-top:10px;
}

.job-total-count{
    color:#7F7F7F;
    font-weight: 500;
    text-align: right;
    padding-right: 10px;
}

.swal2-container .swal2-title
{
	font-size:16px;
    font-weight:600;
    text-align:left;
    gap:0.4rem;
}

.swal2-container .swal2-title .alert-icon{
    display:grid;
}
.swal2-container .swal2-title.warning{
    color:#f59f00;
    display:flex !important;
    align-items:center;
}
.swal2-container .swal2-title.info{
    color:#00B5D7;
    display:flex !important;
    align-items:center;
}
.swal2-container .swal2-title.error{
    color:#EF4444;
    display:flex !important;
    align-items:center;
}
.swal2-container .swal2-title.success{
    color:#22C55E;
    display:flex !important;
    align-items:center;
}

/* ── 확인 팝업(SweetAlert2) 박스 ── */
.swal2-popup.swal2-modal {
    border-radius: 16px;
    padding: 22px 24px 18px;
    box-shadow: 0 16px 48px rgba(17, 24, 39, 0.18);
}
/* swal2 기본 여백 제거 → 간격 촘촘하게 */
.swal2-popup .swal2-title { padding: 0; margin: 0; }
.swal2-popup .swal2-actions { gap: 8px; margin: 18px 0 0; }
/* 팝업 버튼 공통 사이즈 — 모달 버튼 톤(적당히) / 삭제·취소 높이 정렬 */
.swal2-popup .swal2-confirm,
.swal2-popup .swal2-cancel {
    height: 38px !important;
    padding: 0 18px !important;
    min-width: 84px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* ── 삭제/위험 버튼 — Figma "Button / Danger"(2001-259): 아웃라인(흰 배경 + 빨강 글자/테두리) ── */
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 18px;
    background: #fff !important;
    color: #ff3149 !important;
    border: 1px solid #ffc2c9 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.btn-danger:hover {
    background: #ffebed !important;
    color: #ff3149 !important;
    border-color: #ffc2c9 !important;
}
.btn-danger:disabled,
.btn-danger.disabled {
    background: #fff !important;
    color: #ffc2c9 !important;
    border-color: #ffebed !important;
    opacity: 1 !important;
}
.channel-btn{
    cursor:pointer;
    align-items:center;
    flex-direction:column;
    display:flex;
}
.channel-btn .btn-title{
    font-size:0.76rem;
}
.bendor-items-list{
    height:calc(100vh - 235px);
    position:absolute;
    left:0;
    bottom:15px;
    right:0;
    overflow:hidden;
    transform: translateY(200%);
    transition: transform 0.3s ease-out, visibility 0s linear 0.3s;
    background: white;
    z-index: 100;
    /* ⚠️ translateY(200%) 로 '화면 밖으로 밀어' 감추는 방식이라 부모가 자를 때만 안 보인다.
       좁은 화면 규칙이 부모(.up111-left-panel/.up111-body-wrap)의 overflow 를 auto/visible 로
       풀면서 밀어낸 팝업이 폼 아래에 그대로 드러났다('채널추가' 카드가 난데없이 보이던 문제).
       위치로만 숨기지 말고 visibility 로 확실히 끈다. */
    visibility: hidden;
}
.bendor-items-list.active{
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s ease-out, visibility 0s;
}
.bendor-items-list .card{
    box-shadow: 2px 2px 5px rgb(205 205 205 / 30%);
}
.bendor-items-list .channel{
    color:#7F7F7F;
    font-size:0.85rem;
}
.bendor-items-list .vendor{
    font-size:0.9rem;
}
.vendor-select-simplebar{
    height:calc(100vh - 310px);
}
.vendor-close{
    position:absolute;
    top:10px;
    right:10px;
    cursor:pointer;
}







input.form-control::placeholder{
    color:#94A3B8;
}
input:disabled, select:disabled{
    color:#CBD5E1;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form-control.is-invalid, .form-select.is-invalid, .was-validated .form-control:invalid, .was-validated .form-select:invalid{
    border-color:#EF4444;
}
.is-invalid{
    color:#EF4444;
}

.swal2-container .swal2-html-container{
    font-size:14px;
    color:#4b5563;
    line-height:1.5;
    margin:10px 0 0;
    padding:0;
}

/* ── antd 전역 토스트(store_message) — Figma 4529-31905: 흰 배경 + 테두리 + 은은한 섀도우 ── */
.ant-message-notice .ant-message-notice-content {
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 2px rgba(17, 24, 39, 0.2);
    border: 1px solid #e5e7eb; /* neutral 200 */
    font-size: 14px;
    font-weight: 600; /* SemiBold */
    color: #5f6870;
}
.ant-message-notice-content .ant-message-custom-content { display: flex; align-items: center; gap: 10px; }
.ant-message-notice-content .anticon { font-size: 16px; margin-inline-end: 0; }
/* 타입별 아이콘 색 (배경/테두리는 흰색 공통 — Figma). 텍스트색/antd 기본이 덮지 않게 !important */
.ant-message-custom-content.ant-message-success .anticon { color: var(--oligo-success, #00a96c) !important; }
.ant-message-custom-content.ant-message-error .anticon { color: #ff3149 !important; }
.ant-message-custom-content.ant-message-warning .anticon { color: #f59e0b !important; }
.ant-message-custom-content.ant-message-info .anticon,
.ant-message-custom-content.ant-message-loading .anticon { color: #6a61f5 !important; }
.cate-delelt{
    color:#94A3B8;
    cursor:pointer;
    background-color:#f2fbfb;
    border-radius:50%;

}
.omission-area{
    max-height:200px;
    overflow:auto;
    padding:10px 0;
}
.items-omission{
    text-align:left;
    gap:0.25rem;
    margin-bottom:0;
    display:flex;
    flex-direction:column;
}
.items-omission li > span{
    font-size:0.82rem;
}
.items-omission li::marker{
    color:#ddd;
}
.vendor-list-simplebar{
    position: relative;
    height: calc(100% - 26.3em);
}

/* .loading-spin(카테고리 로딩 오버레이) → component.css로 이관 */
.jodit-react-container{
    width:100%;
    max-width:100%;
}
.filter-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 10px 10px;
    padding: 16px 20px 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}


@keyframes filterSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.filter-slide-down {
    animation: filterSlideDown 0.2s ease;
}

.filter-chip .badge{
    font-size:0.8rem;
    padding: 3px 10px !important;
    border:1px solid #e7e9eb;
    border-radius:20px;
    display:flex;
    align-items:center;
    gap:0.3rem;
}
.filter-del{
    cursor:pointer;
}
.right-content{
    position:fixed;
    right:0;
    top:0;
    bottom:0;
    z-index:100;
}
.left-content{
    position:fixed;
    left:calc(var(--sidebar-width) + 265px);
    top:0;
    bottom:0;
    z-index:102;
    display:flex;
}
.sidebar-collapsed .left-content{
    left:var(--sidebar-collapsed-width);
}
.left-content-backdrop{
    position:fixed;
    inset:0;
    z-index:101;
    background:rgba(0,0,0,0.35);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
}

.ch-vendor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    transition: background 0.15s;
}
.ch-vendor-item:hover {
    background: #f8fafc;
}
.ch-vendor-item--all {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    /*margin-bottom: 4px;*/
}
.ch-vendor-item__logo {
    width: 64px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.ch-vendor-item__logo-text {
    width: 64px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    flex-shrink: 0;
}
.ch-vendor-item__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}
.ch-vendor-item__vname {
    font-weight: 600;
    color: #1e293b;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
}
.ch-vendor-item__code {
    font-size: 11px;
    color: #94a3b8;
    word-break: break-word;
}
.ch-vendor-item__count {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 12px;
    color: #64748b;
}
.ch-vendor-item__name {
    color: #1e293b;
}



.oligo-cate-display {
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: #374151;
    background: #fff;
    word-break: break-all;
}
.cate-assign-btn {
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 10px;
    color: #6B5AFA;
    background-color: #f0eeff;
    border: 1.5px solid #c4bbfd;
    transition: background 0.15s, border-color 0.15s;
}
.cate-assign-btn:hover:not(:disabled) {
    background-color: #e4dfff;
    border-color: #6B5AFA;
    color: #6B5AFA;
}
.cate-assign-btn:disabled {
    color: #b0b8c8;
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.job-dropdown-trigger {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: border-color 0.15s, background 0.15s;
}
.job-dropdown-trigger:hover {
    border-color: #00B3B3;
    background: #f0fdfd;
}
.job-dropdown-trigger.open {
    border-color: #00B3B3;
    background: #f0fdfd;
}




.job-dropdown-item--selected { background: #f0fdfd !important; }






































/* 채널상품등록 플로팅 열기 버튼 */
.ch-panel-float-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 56px;
    background-color: #00B3B3;
    border: none;
    border-radius: 8px 0 0 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.18);
    z-index: 200;
    transition: background-color 0.15s;
}
.ch-panel-float-btn:hover {
    background-color: #009090;
}

.form-items .sub-items{
    padding-left:0;
    display:flex;
    align-items:center;
}

.form-items .sub-items.column{
    display:block;
}

.form-items .sub-items:not(.column) li{
    margin-bottom: 0 !important;
}


.goods-detail .form-item .form-select:not(.max), .goods-detail .form-item .form-control:not(.max),
.goods-detail .form-item .form-select:not(.category), .goods-detail .form-item .form-control:not(.category){
    width: 450px;
}

.goods-detail .form-item .form-select.max, .goods-detail .form-item .form-control.max{
    width: 800px;
}

/* select → CustomSelect(.csel) 전환: 기존 native select 폭 규칙과 동일하게 */
.goods-detail .form-item .csel:not(.max):not(.category){
    width: 450px;
}
/* CustomSelect 내부 글씨를 인풋과 동일하게: 14px + 굵기 400(csel 기본 500이라 더 굵어 보임) */
.goods-detail .form-item .csel-trigger.csel-sm{
    font-size: 14px;
    font-weight: 400;
    height: 32px;          /* input(32)과 높이 통일 */
    min-height: 32px;
}
/* 카테고리 경로 표시 — 회색 pill 배지 → 깔끔한 chip + 편집 아이콘 */
.goods-detail .goods-cat-chip{
    display: inline-flex;
    align-items: center;
    min-height: 32px;          /* input·select 높이(32)와 통일 */
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;          /* 회색 → 흰색(인풋과 동일) */
    font-size: 14px;           /* 다른 입력요소와 동일 */
    font-weight: 400;          /* 굵기도 동일하게 명시 */
    color: #374151;
    line-height: 1.4;
    word-break: break-all;
}
.goods-detail .goods-cat-edit{
    color: #9ca3af;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s;
}
.goods-detail .goods-cat-edit:hover{ color: var(--oligo-primary); }
/* 채널 카테고리 행 간격 10 (Figma: 행1 30→행2 40) */
.goods-detail .goods-cat-list{
    gap: 10px;
}
/* 채널 카테고리: goods-cat-input = 실제 입력 박스(450, 테두리). 내부 span(텍스트 400 말줄임) + 돋보기 아이콘이 박스 안쪽 */
.goods-detail .goods-cat-input{
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    gap: 6px;                  /* 텍스트 ↔ 돋보기 */
    /* 박스 스타일 (goods-cat-chip에서 이동) */
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.goods-detail .goods-cat-input .goods-cat-chip{
    /* 내부 텍스트: 박스 스타일 제거, 400 초과 시 ... 말줄임 */
    max-width: 400px;
    min-height: 0;
    padding: 0;
    border: none;
    background: transparent;
    white-space: nowrap;       /* 1줄 유지 */
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
}
.goods-detail .goods-cat-input .goods-cat-edit{
    margin-left: auto;         /* 아이콘 박스 오른쪽 안쪽 끝으로 */
}
/* 카테고리 추가 "+" 버튼 (Figma: input 뒤 10px, 30×30, bg neutral/50 + border neutral/300 + plus neutral/400) */
.goods-detail .goods-cat-add{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-left: 10px;         /* Figma: input(450)→button(460) 간격 10 */
    padding: 0;
    border: 1px solid #d1d5db; /* neutral/300 */
    border-radius: 6px;
    background: #f9fafb;        /* neutral/50 */
    color: #9ca3af;            /* neutral/400 (plus) */
    cursor: pointer;
    transition: background 0.15s;
}
.goods-detail .goods-cat-add:hover{ background: #e5e7eb; }
.goods-detail .form-item .csel.max{
    width: 800px;
}
.goods-detail .form-item .repeater .csel{
    width: 100%;
}

/* 날짜(calendar): 템플릿 모달과 동일 커스텀 룩 — 아이콘 좌측 + pill 테두리 */
.goods-detail .form-item .calendar .calendar-icon {
    left: 10px;
    right: auto;
    width: 14px;
    height: 14px;
    color: #9ca3af;
}
.goods-detail .form-item .calendar .form-control {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: none;
    padding: 0 10px 0 30px;   /* 좌측 아이콘 자리 확보 */
    color: #6b7280;
    font-size: 14px;
}

.goods-detail .form-item textarea.form-control{
    /* 고정폭(1000px)은 좁은 폼 영역을 넘어 삐져나옴 → 컨테이너 꽉 채우되 넘치지 않게 */
    width:100% !important;
    max-width:100% !important;
}

.goods-detail .form-item .repeater{
    list-style:none;
    padding-left:0;
    width:100%;
}

.goods-detail .form-item .repeater li{
    display:flex;
    flex-wrap: nowrap;
    gap: 1rem;
    width:100%;
}

.goods-detail .form-item .repeater .form-select, .goods-detail .form-item .repeater .form-control{
    width:100%;
    min-width:0;
}

/* 상품상세 템플릿 미니 모달 (적용 / 속성저장) */
.tmpl-modal .modal-dialog { max-width: 460px; }
.tmpl-modal .modal-content { border: 0; border-radius: 14px; box-shadow: 0 20px 60px rgba(17,24,39,.18); overflow: hidden; }
.tmpl-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid #eef0f3; }
.tmpl-modal__title { font-size: 16px; font-weight: 700; color: #1f2937; }
.tmpl-modal__desc { font-size: 12px; color: #9ca3af; padding: 12px 20px 0; }
.tmpl-modal__body { padding: 12px 20px; max-height: 54vh; overflow-y: auto; }
.tmpl-modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid #eef0f3; }
/* 적용 리스트 행 */
.tmpl-apply-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid #eef0f3; border-radius: 10px; margin-bottom: 8px; transition: border-color .15s, background .15s; }
.tmpl-apply-row:last-child { margin-bottom: 0; }
.tmpl-apply-row:hover { border-color: #6a61f5; background: #f6f5ff; }
.tmpl-apply-row__name { font-size: 14px; color: #374151; font-weight: 500; }
.tmpl-empty { text-align: center; color: #9ca3af; padding: 32px 0; font-size: 13px; }
/* 속성 저장 헤더/행 */
.tmpl-attr-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #f9fafb; border-radius: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #6b7280; }
.tmpl-attr-row { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 8px; }
.tmpl-attr-row:hover { background: #f9fafb; }
.tmpl-attr-row__label { width: 92px; flex-shrink: 0; font-size: 13px; color: #374151; }
/* 적용 모달 표 */
.tmpl-modal--wide .modal-dialog { max-width: 640px; }
.tmpl-apply-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tmpl-apply-table th { color: #9ca3af; font-weight: 600; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid #eef0f3; text-align: center; white-space: nowrap; }
.tmpl-apply-table th:first-child { text-align: left; }
.tmpl-apply-table td { padding: 9px 10px; border-bottom: 1px solid #f3f4f6; color: #374151; vertical-align: middle; }
.tmpl-apply-table tr:hover td { background: #f9fafb; }
.tmpl-apply-table__name { font-weight: 500; }
.tmpl-apply-table .grid-badge { height: 22px; padding: 0 10px; font-size: 12px; }
/* OB01 연동 안내(.ob01-guide*) 스타일은 src/pages/css/OB01.css로 이관 */

/* 상품상세 템플릿 미니 모달 (적용 / 속성저장) */
.tmpl-modal .modal-dialog { max-width: 460px; }
.tmpl-modal .modal-content { border: 0; border-radius: 14px; box-shadow: 0 20px 60px rgba(17,24,39,.18); overflow: hidden; }
.tmpl-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid #eef0f3; }
.tmpl-modal__title { font-size: 16px; font-weight: 700; color: #1f2937; }
.tmpl-modal__desc { font-size: 12px; color: #9ca3af; padding: 12px 20px 0; }
.tmpl-modal__body { padding: 12px 20px; max-height: 54vh; overflow-y: auto; }
.tmpl-modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid #eef0f3; }
/* 적용 리스트 행 */
.tmpl-apply-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid #eef0f3; border-radius: 10px; margin-bottom: 8px; transition: border-color .15s, background .15s; }
.tmpl-apply-row:last-child { margin-bottom: 0; }
.tmpl-apply-row:hover { border-color: #6a61f5; background: #f6f5ff; }
.tmpl-apply-row__name { font-size: 14px; color: #374151; font-weight: 500; }
.tmpl-empty { text-align: center; color: #9ca3af; padding: 32px 0; font-size: 13px; }
/* 속성 저장 헤더/행 */
.tmpl-attr-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #f9fafb; border-radius: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #6b7280; }
.tmpl-attr-row { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 8px; }
.tmpl-attr-row:hover { background: #f9fafb; }
.tmpl-attr-row__label { width: 92px; flex-shrink: 0; font-size: 13px; color: #374151; }
/* 적용 모달 표 */
.tmpl-modal--wide .modal-dialog { max-width: 640px; }
.tmpl-apply-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tmpl-apply-table th { color: #9ca3af; font-weight: 600; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid #eef0f3; text-align: center; white-space: nowrap; }
.tmpl-apply-table th:first-child { text-align: left; }
.tmpl-apply-table td { padding: 9px 10px; border-bottom: 1px solid #f3f4f6; color: #374151; vertical-align: middle; }
.tmpl-apply-table tr:hover td { background: #f9fafb; }
.tmpl-apply-table__name { font-weight: 500; }
.tmpl-apply-table .grid-badge { height: 22px; padding: 0 10px; font-size: 12px; }


















/* ══════════════════════════════════════════════════
   전역 디자인 오버라이드 — 색상(#00B3B3) + Radius
   ══════════════════════════════════════════════════ */

/* ── radio/checkbox checked 색상 ── */
.form-check-input:checked {
    background-color: var(--oligo-primary) !important;
    border-color:     var(--oligo-primary) !important;
}
/* 일부 선택(─) 상태도 같은 보라 — 빠져 있어 '전체' 체크박스가 tabler 기본 파랑으로 보였다 */
.form-check-input[type=checkbox]:indeterminate {
    background-color: var(--oligo-primary) !important;
    border-color:     var(--oligo-primary) !important;
}
/* ── radio/checkbox focus 링 → 보라 ── */
.form-check-input:focus {
    border-color: var(--oligo-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(106, 97, 245, 0.25) !important;
}

/* ── Page 레이아웃 좌측 여백 확보 ── */
.page-header .container-xxl,
.page-body   .container-xxl {
    padding-left:  16px !important;
    padding-right: 16px !important;
}

/* ── 우측 패널 열렸을 때 우측 여백 좌측과 동일하게 ── */
.page-wrapper.full .page-header .container-xxl,
.page-wrapper.full .page-body   .container-xxl {
    padding-right: 26px !important;
}
.page-header {
    padding-top:    18px !important;
    /*padding-bottom: 14px !important;*/
}
.page-header .row.g-2.align-items-center {
    height: 40px;
}
.page-body {
    margin-top: 10px !important;
}

/* ── 카드 border-radius ── */
.card {
    border-radius: 12px !important;
    border: 1px solid #e8edf2 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
}
.card-body {
    padding: 10px 10px !important;
}

/* ── 버튼 border-radius ── */
.btn {
    border-radius: 8px !important;
}
.btn-icon {
    border-radius: 8px !important;
}
.btn-icon-md {
    width: 62px !important;
    height: 31px !important;
    min-height: unset !important;
    line-height: 1 !important;
    padding: 0 !important;
    flex-shrink: 0;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* ── 폼 요소 border-radius ── */
.form-select,
.form-control {
    border-radius: 8px !important;
}

/* ── btn-primary → primary(보라) ── */
.btn-primary {
    background-color: var(--oligo-primary) !important;
    border-color:     var(--oligo-primary) !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--oligo-primary-hover) !important;
    border-color:     var(--oligo-primary-hover) !important;
    color: #fff !important;
}
.btn-primary:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(106,97,245,0.35) !important;
}

/* ── btn-secondary → point(민트) 아웃라인 (Figma 4125-16816) ── */
.btn-secondary {
    background-color: #fff !important;
    border-color:     var(--oligo-point) !important;
    color:            var(--oligo-point) !important;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--oligo-point-bg) !important;
    border-color:     var(--oligo-point) !important;
    color:            var(--oligo-point) !important;
}
.btn-secondary:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(0,179,179,0.25) !important;
}

/* ── btn-outline-primary → primary(보라) ── */
.btn-outline-primary {
    color:        var(--oligo-primary) !important;
    border-color: var(--oligo-primary) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
    background-color: var(--oligo-primary-soft) !important;   /* Figma: 연보라 배경(solid 채움 X) */
    border-color:     var(--oligo-primary) !important;
    color: var(--oligo-primary) !important;
}

/* ── btn-outline-danger → Figma danger (흰 배경 + 핑크 테두리 + 빨강 글자, hover 연핑크 배경) ── */
.btn-outline-danger {
    background-color: #fff !important;
    color:        var(--oligo-danger) !important;
    border-color: var(--oligo-danger-border) !important;
}
.btn-outline-danger:hover,
.btn-outline-danger:active {
    background-color: var(--oligo-danger-bg) !important;
    border-color:     var(--oligo-danger-border) !important;
    color: var(--oligo-danger) !important;
}

/* ── form-select / form-control focus ── */
.form-select:focus,
.form-control:focus {
    border-color: var(--oligo-primary) !important;
    box-shadow:   0 0 0 0.2rem rgba(106,97,245,0.2) !important;
}

/* ── 페이지 헤더 아이콘 (도움말 / 알림) ── */
.page-header-icons {
    flex-shrink: 0;
}
/* 패널 토글 포털: 비었을 때(해당 페이지 아님) 숨겨 우측 여백/gap 제거
   (.d-flex 가 display:flex !important 라 !important 로 이겨야 함) */
#page-header-panel-toggle:empty {
    display: none !important;
}
/* 헤더 우측 아이콘: 우측 끝에 딱 붙임 — 헤더 컨테이너/거터 우측 여백만 0 (본문/그리드는 유지) */
.page-header .container-xxl,
.page-wrapper.full .page-header .container-xxl {
    padding-right: 0 !important;
}
.page-header .row.g-2 {
    margin-right: 0 !important;
}
.page-header-icons {
    padding-right: 0 !important;
}
#page-header-actions {
    min-width: 0;
    flex: 1;
}
.page-header-icon {
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s;
}
.page-header-icon:hover {
    color: #00B3B3;
}
.header-action-btn {
    background: none;
    border: none !important;
    padding: 0 10px;
    color: #6c757d;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
}
.header-action-btn:hover {
    color: #00B3B3 !important;
}
.header-action-btn + .header-action-btn {
    border-left: 1px solid #dee2e6 !important;
}


.page-header-icon-wrap {
    position: relative;
}

/* ── 버튼 테두리 연하게 ── */
.btn-outline-secondary {
    color:        var(--color-slate-500) !important;
    border-color: var(--color-slate-300) !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:active {
    background-color: var(--color-slate-100) !important;
    border-color:     var(--color-slate-300) !important;
    color:            var(--color-slate-700) !important;
}
.btn-light {
    background-color: #fff !important;
    border-color:     #d1d5db !important;
    color:            #6b7280 !important;
}
.btn-light:hover {
    background-color: #f3f4f6 !important;
    border-color:     #d1d5db !important;
    color:            #6b7280 !important;
}
/* ── 헤더 썸네일 hover ── */
.header-img-thumb {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}
.header-img-thumb img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    display: block;
}
.header-img-thumb__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.15s;
}
.header-img-thumb:hover .header-img-thumb__overlay {
    opacity: 1;
}
.header-img-thumb:hover {
    outline: 2px solid #6a61f5;
}

/* 채널 아이템 */
.vendor-list .vendor-item {
    width: 100%;
    padding: 16px 12px 16px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-left: 4px solid transparent !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    transition: all 0.15s;
    cursor: pointer;
    outline: none;
    flex-grow: unset;
}
.vendor-list .vendor-item:hover {
    background: #f8fafc !important;
}
.vendor-list .vendor-item.active,
.vendor-list .vendor-item.active:focus,
.vendor-list .vendor-item.active:hover {
    background: #fff !important;
    color: inherit !important;
    border-left-color: #6B5AFA !important;
}


















































/* ── SA02 환경설정 ── */
.sa02-wrap { padding: 0 4px; }
.sa02-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e9eef3;
    margin-bottom: 24px;
}
.sa02-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 14px;
    color: #6b7684;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s;
}
.sa02-tab:hover { color: #6A61F5; }
.sa02-tab.active { color: #6A61F5; border-bottom-color: #6A61F5; font-weight: 600; }
.sa02-content { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.sa02-section-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9eef3;
    padding: 24px 28px;
}
.sa02-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.sa02-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F6F5FF;
    color: #6A61F5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sa02-section-title { font-size: 16px; font-weight: 600; color: #191f28; line-height: 1.3; }
.sa02-section-subtitle { font-size: 11px; color: #94a3b8; letter-spacing: 0.05em; margin-top: 2px; }
.sa02-fields { display: flex; flex-direction: column; gap: 12px; }
.sa02-field-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.sa02-field-label {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 130px;
    flex-shrink: 0;
    font-size: 13px;
    color: #475569;
}
.sa02-field-icon { color: #94a3b8; flex-shrink: 0; }
.sa02-field-value {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e9eef3;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 13px;
    color: #1e293b;
    min-height: 38px;
}
.sa02-empty { padding: 32px 0; text-align: center; color: #94a3b8; font-size: 14px; }
/* 회원탈퇴 — 카드 아래 왼쪽의 작은 흰 버튼 */
.sa02-withdraw-btn {
    height: 30px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}
.sa02-withdraw-btn:hover { background: #f9fafb; }








.sa02-alarm-list { display: flex; flex-direction: column; gap: 20px; padding: 4px 0 20px; }
.sa02-alarm-row { display: flex; align-items: center; justify-content: space-between; }
.sa02-alarm-label { font-size: 14px; font-weight: 600; color: #1e293b; margin-bottom: 3px; }
.sa02-alarm-desc { font-size: 12px; color: #94a3b8; }
.sa02-alarm-status { display: flex; align-items: center; gap: 10px; }
.sa02-alarm-status-text { font-size: 13px; color: #475569; }
.sa02-toggle { width: 44px; height: 24px; border-radius: 12px; background: #e2e8f0; position: relative; flex-shrink: 0; }
.sa02-toggle.on { background: #6A61F5; }
.sa02-toggle::after { content:''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.2s; }
.sa02-toggle.on::after { left: 23px; }
.sa02-alarm-footer { display: flex; gap: 12px; margin-top: 4px; }
.sa02-alarm-btn-reset { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; font-size: 14px; color: #475569; cursor: pointer; }
.sa02-alarm-btn-save { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border: none; border-radius: 8px; background: #6A61F5; font-size: 14px; color: #fff; font-weight: 600; cursor: pointer; }




.modal-backdrop,
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.35) !important;
    opacity: 1 !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.swal2-container.swal2-backdrop-show{
    z-index:999999;
}








/* ── Notification Panel CSS는 component.css로 이관 ── */














/* ───────────────────────────────────────────
   help-panel  (도움말 패널)
─────────────────────────────────────────── */
.help-side-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    background: var(--bg-surface, #fff);
    border-left: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    z-index: 99;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
    overflow: clip; /* hidden 은 스크롤 컨테이너가 돼서 안쪽 sticky 가 창 스크롤을 못 따라간다 */
}
/* 패널은 #page-wrapper 높이를 따라가서, 문서가 길어 창이 스크롤되는 화면(대시보드 등)에서는
   화면보다 길어진다 → 헤더가 위로 사라지고 하단 영역이 화면 밖으로 밀린다.
   안쪽 묶음을 화면 높이로 잡아 창 스크롤을 따라 붙어 있게 한다. */
.help-side-panel__inner {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

.help-side-panel--open {
    width: min(500px, 100%);
    right: 0;
    border-left: 1px solid var(--border-color, #e5e8eb);
}

/* 넓게 보기 토글 (콘텐츠 영역을 넘지 않도록 100% 상한 → 창이 작아지면 자동 축소) */
.help-side-panel--open.help-side-panel--expanded {
    width: min(920px, 100%);
}

/* 문서 하나 보기 모드(OB01 [연동 매뉴얼], 피그마 5872:35341): 폭 650, 헤더 좌우 30·아이콘 간격 20.
   본문 여백은 매뉴얼 HTML 이 직접 갖는다 — 섹션 사이 회색 구분선을 패널 폭 끝까지 그리려고 body 패딩을 뺀다. */
.help-side-panel--doc.help-side-panel--open:not(.help-side-panel--expanded) {
    width: min(650px, 100%);
}
.help-side-panel--doc.help-side-panel--open { border-left: none; } /* 시안에 좌측 경계선 없음 */
.help-side-panel--doc .help-side-panel__header { padding: 0 30px; }
.help-side-panel--doc .help-side-panel__actions { gap: 20px; }
.help-side-panel--doc .help-side-panel__body { padding: 0; }
.help-side-panel--doc .help-manual-content { font-size: 14px; color: #1f2937; }

.help-side-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 28px;
    border-bottom: 1px solid var(--border-color, #e5e8eb);
    flex-shrink: 0;
    width: 100%;
}

/* 헤더 우측 액션 버튼 그룹 (넓게 보기 · 새 창 · 닫기) */
.help-side-panel__actions {
    display: flex;
    align-items: center;
    gap: 2px;
}
.help-side-panel__act {
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}
.help-side-panel__act:hover:not(:disabled) { background: #f3f4f6; color: #6b7280; }
.help-side-panel__act:disabled { opacity: 0.4; cursor: not-allowed; }

.help-side-panel__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
}

.help-side-panel__close {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: var(--text-muted, #9aa0aa);
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background 0.15s;
}
.help-side-panel__close:hover { background: var(--bg-hover, #f0f0f0); }

.help-side-panel__body {
    flex: 1 1 0;
    overflow-y: auto;
    padding: 20px 28px;
    width: 100%;
}





.help-empty {
    font-size: 13px;
    color: var(--text-muted, #9aa0aa);
    text-align: center;
    margin: 24px 0;
}

.help-manual-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.help-manual-content {
    font-size: 13px;
    color: var(--text-body, #495057);
    line-height: 1.7;
}

.help-manual-content p { margin-bottom: 8px; }
.help-manual-content img { max-width: 100%; border-radius: 6px; cursor: zoom-in; }
.help-manual-content ul, .help-manual-content ol { padding-left: 18px; margin-bottom: 8px; }
.help-manual-content li { margin-bottom: 4px; }

.help-side-panel__back { margin-right: 2px; color: #6b7280; }

/* 화면 안내(투어) 다시보기 카드 — 매뉴얼 본문 위, 읽기 전에 눈에 띄게 */
.help-tour-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #ddd9fb;
    border-radius: 10px;
    background: #f6f5ff; /* primary/soft */
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.help-tour-card:hover { background: #ece9ff; border-color: #c9c3f7; }
.help-tour-card__icon { flex: 0 0 auto; color: #554ce9; font-size: 24px; }
.help-tour-card__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.help-tour-card__title { font-size: 14px; font-weight: 600; color: #554ce9; }
.help-tour-card__desc { font-size: 13px; color: #6b7280; }
.help-tour-card__go {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 8px;
    background: #554ce9;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* 하단 고정 영역 — 목록에서 고른 매뉴얼의 [OO 화면으로 이동]
   버튼은 왼쪽에 글자 폭만큼만 둔다 — 오른쪽 아래에 떠 있는 상담 챗 버튼과 겹치지 않게. */
.help-side-panel__footer {
    display: flex;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 100%;
    padding: 12px 28px;
    border-top: 1px solid var(--border-color, #e5e8eb);
    background: var(--bg-surface, #fff);
}

/* ── 매뉴얼 목록(대시보드에서 열 때 첫 화면) ── */
.help-hub { display: flex; flex-direction: column; gap: 20px; }
.help-hub__search {
    position: relative;
    display: flex;
    align-items: center;
}
.help-hub__search input {
    width: 100%;
    height: 36px;
    padding: 0 32px 0 34px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-body, #495057);
    background: #fff;
    outline: none;
}
.help-hub__search input:focus { border-color: #554ce9; }
.help-hub__search-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
}
.help-hub__search-clear {
    position: absolute;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    color: #9ca3af;
    border-radius: 4px;
    cursor: pointer;
}
.help-hub__search-clear:hover { background: #f3f4f6; color: #6b7280; }
.help-hub__retry {
    display: block;
    margin: 10px auto 0;
    padding: 4px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}
.help-hub__group-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #9aa0aa);
    margin-bottom: 8px;
}
.help-hub__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.help-hub__card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border-color, #e5e8eb);
    border-radius: 8px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.help-hub__card:hover { border-color: #ddd9fb; background: #f6f5ff; }
.help-hub__card-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.help-hub__chips { display: flex; align-items: center; gap: 4px; }
.help-hub__current {
    padding: 1px 8px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}
.help-hub__screen {
    padding: 1px 8px;
    border-radius: 4px;
    background: #f6f5ff;
    color: #554ce9;
    font-size: 12px;
    font-weight: 500;
}
.help-hub__card-title { font-size: 14px; font-weight: 600; color: var(--text-heading); }
.help-hub__card-summary {
    font-size: 13px;
    color: var(--text-body, #6b7280);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
}
.help-hub__card-arrow { flex: 0 0 auto; color: #9ca3af; font-size: 13px; }
.help-hub__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #ddd9fb;
    border-radius: 8px;
    background: #f6f5ff;
    color: #554ce9;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}
.help-hub__go:hover { background: #ece9ff; }

/* 이미지 확대 라이트박스 (본문 이미지 클릭 시) */
.help-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.75);
    cursor: zoom-out;
    animation: help-lightbox-in 0.15s ease-out;
}
@keyframes help-lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.help-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    cursor: default;
}
.help-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}
.help-lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }








/* ───────────────────────────────────────────
   notif-reg-modal  (알림 등록 모달)
─────────────────────────────────────────── */
.notif-reg-modal .modal-dialog { max-width: 980px; }
.notif-reg-modal .modal-content { border-radius: 12px; overflow: hidden; }
.notif-reg-modal .modal-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 16px 24px;
    align-items: center;
}

.notif-reg-modal__icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #e0f7f7;
    display: flex; align-items: center; justify-content: center;
    color: #00b3b3;
    flex-shrink: 0;
}
.notif-reg-modal__title {
    font-size: 17px; font-weight: 700; color: #212529; line-height: 1.2;
}
.notif-reg-modal__subtitle {
    font-size: 11px; color: #adb5bd; letter-spacing: .06em;
}

.notif-reg-modal__body {
    display: flex;
    gap: 0;
    padding: 0;
    min-height: 480px;
}
.notif-reg-modal__left {
    flex: 0 0 380px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
    border-right: 1px solid #e9ecef;
}
.notif-reg-modal__right {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
}

.notif-reg-modal__section-title,
.notif-reg-modal__section-title--user {
    font-size: 13px; font-weight: 700; color: #212529;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px;
}
.notif-reg-modal__section-title span {
    display: inline-block;
    width: 3px; height: 15px;
    background: #00b3b3;
    border-radius: 2px;
}
.notif-reg-modal__section-title--user span {
    display: inline-block;
    width: 3px; height: 15px;
    background: #6B5AFA;
    border-radius: 2px;
}

.notif-reg-modal__grid-wrap { flex: 1 1 0; min-height: 0; }

/* ───────────────────────────────────────────
   inquiry-modal  (1:1 문의 모달 — notif-reg-modal 헤더/컨텐츠 스타일 공유)
─────────────────────────────────────────── */
.inquiry-modal .modal-content { border-radius: 12px; overflow: hidden; }
.inquiry-modal .modal-title { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; color: #1f2937; }
.inquiry-modal .modal-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 16px 24px;
    align-items: center;
}
.inquiry-modal .modal-body { padding: 20px 24px; }
.inquiry-modal .modal-footer { padding: 14px 24px; border-top: 1px solid #e9ecef; }

/* ───────────────────────────────────────────
   withdraw-modal  (회원 탈퇴 — 사유 입력·유의사항·동의). inquiry-modal 위에 얹는다.
─────────────────────────────────────────── */
.withdraw-modal .modal-dialog { max-width: 650px; }
.withdraw-modal .modal-header { padding: 20px 30px; }
.withdraw-modal .modal-body { padding: 20px 30px; display: flex; flex-direction: column; gap: 20px; }
.withdraw-modal .modal-footer { padding: 20px 30px; border-top: 1px solid #e5e7eb; }
.withdraw-modal__lead { font-size: 16px; font-weight: 500; color: #6b7280; }
.withdraw-modal__input {
    width: 100%;
    padding: 11px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    line-height: 18px;
    color: #1f2937;
    resize: none;
}
.withdraw-modal__input::placeholder { color: #9ca3af; }
.withdraw-modal__input:focus { outline: none; border-color: var(--oligo-primary); }
.withdraw-modal__label { font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 6px; }
.withdraw-modal__notice {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #ffebed;
}
.withdraw-modal__notice-icon { font-size: 16px; color: #ff3149; margin-top: 1px; }
.withdraw-modal__notice-title { font-size: 14px; font-weight: 600; letter-spacing: -0.7px; color: #ff3149; margin-bottom: 10px; }
.withdraw-modal__notice ul { margin: 0; padding-left: 18px; font-size: 12px; font-weight: 600; letter-spacing: -0.6px; line-height: 20px; color: #6b7280; }
.withdraw-modal__notice li + li { margin-top: 4px; }
.withdraw-modal__agree { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 500; letter-spacing: -0.7px; color: #6b7280; cursor: pointer; }
.withdraw-modal__agree .form-check-input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; cursor: pointer; }
.withdraw-modal__submit {
    height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #ff3149;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.withdraw-modal__submit:disabled { background: #e5e7eb; color: #9ca3af; cursor: default; }

/* ───────────────────────────────────────────
   inquiry-panel  (1:1 문의 상세 — 우측 패널)
   .right-content 안을 height:100% 로 채운다. .right-content 는
   body.has-notice-banner 규칙(NoticePopup.css)으로 배너 높이만큼 top 이
   내려가므로, 여기서 100vh/자체 fixed 를 쓰지 않아야 배너에 안 가려진다.
─────────────────────────────────────────── */
/* 1:1 문의 상세 — 우측 Offcanvas (OB01 채널 상세와 동일 chrome: csp-head/csp-title/csp-close 재사용) */
.offcanvas.offcanvas-end.inquiry-offcanvas {
    width: 670px;
}
.inquiry-offcanvas .offcanvas-body {
    background: #f7f8fa;
    padding: 18px;
}


































.hide {
    display:none !important;
}

.paging-items{
    display:flex;
    padding-left:0;
    list-style:none;
    margin:0 auto;
    gap:0.35rem;
    align-items:center;
}

.paging-items li {
    padding:0px 9px;
    cursor:pointer;
}

.paging-items li:first-child, .paging-items li:last-child{
    padding:2px;
}

.paging-items li.active{
    font-weight: 500;
    background-color: #00B3B3;
    color: #fff;
    border-radius: 6px;
}

.paging-items li:not(.active):not(.none):hover{
    border-radius: 6px;
    background-color: #D5FFFF;
}

.paging-items li.none{
    cursor:default;
    color:#ccc;
}

.wijmo-grid-wrapper{
    position: relative;
}

.wj-topleft .wj-cell > div {
    display:flex;
    align-items:center;
    justify-content:center;
}

.wj-topleft .TopLeft{
    color:#A8ABAE;
    cursor:pointer;
}

.wijmo-grid-wrapper .settings{
    left:3px;
    top:3px;
    border-radius: 15px;
    background-color:var(--bg-surface, #fff);;
    padding:15px;
    position:absolute;
    z-index:10;
    min-width:290px;
    border:1px solid var(--border-color, #e5e8eb);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    display:flex;
    flex-direction: column;
}

.wijmo-grid-wrapper .settings .settings-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom: 0.5rem;
}

.wijmo-grid-wrapper .settings .header h4{
    margin-bottom:0;
}

.wijmo-grid-wrapper .settings .settings-body{
    margin: 0.5rem 0;
}

.wijmo-grid-wrapper .settings .settings-body label:nont(.className){
    font-size:0.78rem;
    margin-bottom:0.2rem;
}

.wijmo-grid-wrapper .settings .settings-body .column-settings{
    height:250px;
    padding:10px 0 10px 10px;
    background-color:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:5px;
}

.wijmo-grid-wrapper .settings .settings-body .columns-group{
    margin-bottom:0;
    padding-left:0;
    list-style:none;
    margin-right:15px;
    display:flex;
    flex-direction:column;
    gap:0.4rem;
}

.wijmo-grid-wrapper .settings .settings-body .columns-group .item{
    display:flex;
    align-items:center;

}

.wijmo-grid-wrapper .settings .settings-body .item-title{
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.74rem;
    color:#94A3B8;
    margin-bottom:2px;
}

.wijmo-grid-wrapper .settings .settings-body .columns-group .item .field-name{
    flex-grow:1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
    cursor:move;
}

.wijmo-grid-wrapper .settings .settings-body .columns-group .item .form-switch{
    padding-left:0.5rem;
}

.wijmo-grid-wrapper .settings .settings-body .columns-group .item .form-switch .form-check-input{
    width:2.3rem;
}

.wijmo-grid-wrapper .settings .settings-body .columns-group .item .form-switch .form-check-input:checked{
    background-color:#00B3B3;
}

.wijmo-grid-wrapper .settings .settings-body .columns-group .item .lucide-pin{
    color:#999;
}

.wijmo-grid-wrapper .settings .settings-body .columns-group .item .lucide-pin-off{
    color: #ccc;
}



.wijmo-grid-wrapper .settings .settings-footer{
    margin-top:auto;
    display:flex;
    gap:0.5rem;
}

.column_sort .wj-btn.wj-btn-glyph.wj-right.wj-elem-filter{
    margin-right:12px;
}

.range-panel{
    width:500px;
  }
  .cal-wrap{
    display:flex;
    gap:5px;
    justify-content:space-between;
  }
  .range-footer{
    margin-top:12px;
    display:flex;
    justify-content:flex-end;
    gap:8px;
  }

.wijmo-grid-wrapper.auto{
    height:calc(100vh - 260px);
    min-height:260px;
}

.wijmo-grid-wrapper.auto.page{
    height:calc(100vh - 303px);
    min-height:200px;
}

.wijmo-grid-wrapper.auto.chip{
    height:calc(100vh - 297px);
    min-height:200px;
}

.wijmo-grid-wrapper.auto.page.chip{
    height:calc(100vh - 340px);
    min-height:200px;
}

/* ============================================================
   구 oligo-theme.css → style.css 통합 (사이드바 메뉴/유저/드롭다운/검색행/Wijmo폰트)
   맨 아래에 두어 tabler·기본 규칙보다 우선 (기존 로드 순서 보존)
   ============================================================ */
/* ── 사이드바 메뉴 (Figma 반영): 글자색 neutral-500, 아이콘 neutral-400 ── */
#layout-wrapper .navbar-vertical .nav-link:not(.active) {
    color: var(--oligo-neutral-500, #6b7280) !important;
}
#layout-wrapper .navbar-vertical .nav-link:not(.active) .nav-link-icon {
    color: var(--oligo-neutral-400, #9ca3af) !important;
}
/* 섹션 라벨: Figma 14px Regular #9CA3AF */
#layout-wrapper .navbar-nav .nav-section-label {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--oligo-neutral-400, #9ca3af) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 10px !important;
    margin-top: 0 !important;
}
/* 하단 유저 아이콘: 원형 배경(#DFDDFF) + 아이콘(#6A61F5) */
#layout-wrapper .sidebar-footer .sidebar-user-avatar {
    background: var(--oligo-primary-border) !important;
    color: var(--oligo-primary) !important;
}
#layout-wrapper .sidebar-footer .sidebar-user-avatar:hover {
    border-color: var(--oligo-primary) !important;
}
/* job-dropdown-panel 라이트 배경 */
.job-dropdown-panel {
    background: #fff;
    border: 1px solid var(--oligo-neutral-200, #e5e7eb);
}
/* ── 사이드바 메뉴 레이아웃 (Figma 4089-13736) ── */
#layout-wrapper .navbar-nav {
    padding-left: 20px !important;
    padding-right: 20px !important;
    gap: 10px !important;
    margin-top: 0 !important;
    padding-top: 20px !important;
}
#layout-wrapper .navbar-nav .nav-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#layout-wrapper .navbar-nav .nav-section-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#layout-wrapper .navbar-vertical .nav-link {
    gap: 10px !important;
    width: fit-content !important;
    min-width: 117px !important;
    height: 32px !important;
    padding: 4px 10px !important;
    position: relative;
}
#layout-wrapper .navbar-vertical .nav-link .nav-link-title {
    overflow: visible !important;
    text-overflow: clip !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}
#layout-wrapper .navbar-vertical .nav-link:not(.nav-link-dashboard) {
    margin-left: 10px !important;
}
#layout-wrapper .navbar-nav > .nav-item {
    padding-bottom: 10px !important;
}
#layout-wrapper .navbar-vertical .nav-link-chevron {
    position: absolute !important;
    right: 8px !important;
    margin-left: 0 !important;
}
#layout-wrapper .navbar-vertical .nav-link-icon {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0 !important;
}
#layout-wrapper .navbar-vertical .nav-link-icon svg {
    width: 18px !important;
    height: 18px !important;
}
/* ── Wijmo 그리드 폰트 통일 (arial → Pretendard) ── */
.wj-flexgrid,
.wj-flexgrid .wj-cell,
.wj-control,
.wj-control input,
.wj-cell {
    font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Segoe UI', 'Malgun Gothic', 'Noto Sans KR', sans-serif !important;
}

/* ── SA02 구성원 관리 ── */
.sa02-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}
/* 기본(760)과 --wide(1080) 사이. 요금제처럼 한 줄에 이름·설명·금액·버튼이 함께 놓여
   기본 폭에서는 글자가 줄바꿈으로 끊기는 탭에 쓴다. */
.sa02-content--md { max-width: 912px; }

/* 요금제 선택 행. 고를 수 있는 박스라는 것이 선택 여부와 무관하게 먼저 보여야 한다 —
   테두리를 상시로 주는 이유다(투명으로 두면 흰 카드 위에서 경계가 사라진다).
   선택은 '바닥으로 가라앉힌 색 + 진한 테두리 + 옅은 그림자'로 준다. 선택 쪽을 흰색으로 하면
   카드 배경과 같아져서 오히려 안 보인다. */
.plan-row {
    border: 1px solid #e1e6eb;
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.plan-row--clickable { cursor: pointer; }
.plan-row--clickable:hover {
    border-color: #c3cad2;
    background: #fafbfc;
}
.plan-row--active,
.plan-row--clickable.plan-row--active:hover {
    border-color: #7c848d;
    background: #eff2f6;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.12);
}
/* 이용 중이라 목록이 잠긴 상태. 만질 수 없다는 것을 흐림으로 드러낸다. */
.plan-row--dimmed { opacity: 0.55; }
.sa02-content--wide { max-width: 1080px; }
.sa02-member-note {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 14px;
}
.sa02-member-scroll { width: 100%; min-width: 0; overflow-x: auto; }
.sa02-member-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}
.sa02-member-table th {
    padding: 10px 10px;
    border-bottom: 1px solid #e9eef3;
    text-align: left;
    color: #6b7684;
    font-weight: 600;
    white-space: nowrap;
}
.sa02-member-table td {
    padding: 11px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sa02-member-table tr:last-child td { border-bottom: none; }
.sa02-member-table tr.pending { background: #fffbeb; }
.sa02-member-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sa02-member-date { color: #6b7684; font-size: 12px; }
.sa02-member-empty {
    text-align: center;
    color: #99a1ab;
    padding: 28px 10px !important;
    white-space: normal !important;
}
.sa02-member-me {
    flex-shrink: 0;
    padding: 1px 6px;
    border-radius: 8px;
    background: #eef2ff;
    color: #6A61F5;
    font-size: 11px;
    line-height: 1.5;
}
.sa02-member-actions { white-space: nowrap; overflow: visible; }
.sa02-member-actions .btn { padding: 3px 10px; font-size: 12px; white-space: nowrap; }
.sa02-member-actions .btn + .btn { margin-left: 4px; }
.sa02-member-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    margin-top: 2px;
    border-top: 1px solid #e9eef3;
}
.sa02-member-count { font-size: 12px; color: #6b7684; }
.sa02-member-pager-btns { display: flex; align-items: center; gap: 8px; }
.sa02-member-pager-btns .btn { padding: 3px 12px; font-size: 12px; }
.sa02-member-pageno { font-size: 12px; color: #475569; min-width: 48px; text-align: center; }

/* ============================================================
   반응형(≤992) — 사이드 패널(우측 등록/동기화 패널, 좌측 패널)
   데스크톱: 우측 370px 패널이 본문을 밀어냄(.page-wrapper.full margin-right).
   모바일:   본문을 밀지 않고 화면 위에 덮는 오버레이 드로어로 전환.
   ============================================================ */
@media (max-width: 992px) {
    /* 본문을 밀지 않는다 (370px 우측 여백 제거) */
    .page-wrapper.full { margin-right: 0 !important; }
    /* 패널 열림 상태의 우측 여백 보정도 원복 (모바일 공통 16px 유지) */
    .page-wrapper.full .page-header .container-xxl,
    .page-wrapper.full .page-body .container-xxl { padding-right: 16px !important; }

    /* 우측 패널: 화면을 덮는 드로어 (내부 패널의 고정 370px 해제)
       ⚠ #right-content 는 패널이 없을 때도 빈 채로 항상 DOM 에 있다(포탈 타깃).
       :has(*) 로 "내용이 있을 때만" 폭을 준다 — 안 그러면 대시보드처럼
       패널을 안 쓰는 화면에도 우측에 빈 400px 박스가 생긴다. */
    .right-content:has(> *) {
        width: min(100vw, 400px);
        max-width: 100vw;
        /* 1050 = 부트스트랩 모달 backdrop(1050)과 같은 층. 모달 자체는 1055 라
           패널 안에서 연 모달(UP111 '정보비교' 등)이 패널 위로 올라온다.
           1100 을 주면 모달이 패널 뒤로 숨어 아무것도 안 뜬 것처럼 보인다. */
        z-index: 1050; /* 그림자는 두지 않는다(사용자 요청) — 패널 border-left 로만 구분 */
    }
    .right-content > * { width: 100% !important; }

    /* 좌측 패널: 사이드바가 오프캔버스라 좌측 오프셋이 의미 없음 → 화면 왼쪽에 붙임 */
    .left-content,
    .sidebar-collapsed .left-content { left: 0; }
    .left-content > * { max-width: 100vw; }

    /* UP111 하단 floating 푸터: 사이드바/우측패널 폭 기준 오프셋 제거 */
    .up111-footer,
    .page-wrapper:not(.full) .up111-footer { left: 0; right: 0; padding: 0 12px; }
}

/* ============================================================
   중간 폭(993~1439) — 우측 패널을 본문을 밀지 않고 덮게 한다
   데스크톱은 우측 패널이 열리면 본문을 370px 밀어낸다(.page-wrapper.full).
   1600 고정을 걷어낸 뒤로는 그 370px 이 그대로 부담이 된다. 특히 UP111 은
   [사이드바 240][좌 채널 330][폼][우 패널 370] 이라 1100px 에서 폼이 80px,
   993px 에서 0 까지 눌렸다. 이 구간에선 패널을 덮어 폼 폭을 돌려준다.
   (≤992 는 아래쪽 블록이 화면 전체를 덮는 드로어로 따로 처리한다)
   ============================================================ */
@media (min-width: 993px) and (max-width: 1439px) {
    .page-wrapper.full { margin-right: 0 !important; }
    .right-content:has(> *) {
        z-index: 1100; /* 그림자는 두지 않는다(사용자 요청) — 패널 border-left 로만 구분 */
    }
}

/* ============================================================
   EzDeskAI 챗 버튼(.ezdesk-ai-widget-trigger) · 이지데스크 위젯(#ezdesk-chat-root) 자리 비키기
   외부 SDK 가 body 직계로 심는 버튼이라 우리 마크업 밖에 있고, z-index 가
   9999999 라 사실상 모든 것 위에 뜬다. 기본 위치(우하단 25/25)가 화면 우하단
   실행 버튼들과 정면으로 겹쳐서, 겹친 영역 클릭이 전부 챗으로 먹혔다.
   (실측: 우측 패널의 '올리고 상품등록' 버튼과 2295px² 겹침)
   SDK 가 인라인 스타일로 위치를 잡으므로 !important 로 덮는다.
   ============================================================ */

/* 1) 우측 영역이 열린 데스크톱 → 그 왼쪽으로 비킨다.
      ≤992 는 패널이 화면을 거의 다 덮는 오버레이라 비킬 자리가 없다(아래 3에서 숨김).
      우측 영역은 두 종류이고 폭이 제각각이라 각각 잡는다:
        · 본문을 밀어내는 우측 패널 .page-wrapper.full → .right-content 370px
        · 위에 겹쳐 뜨는 오프캔버스 .offcanvas-end → .lg-width 650px / .inquiry-offcanvas 670px
      (오프캔버스도 z-index 1115 라 9999999 인 챗 버튼에 눌린다 — OB01 '추가하기' 와 1445px² 겹쳤다) */
@media (min-width: 993px) {
    body:has(.page-wrapper.full) .ezdesk-ai-widget-trigger {
        right: 395px !important; /* 370 + 기본 여백 25 */
    }
    body:has(.offcanvas.offcanvas-end.show.lg-width) .ezdesk-ai-widget-trigger {
        right: 675px !important; /* 650 + 25 */
    }
    body:has(.offcanvas.offcanvas-end.show.inquiry-offcanvas) .ezdesk-ai-widget-trigger {
        right: 695px !important; /* 670 + 25 */
    }
    /* 이지데스크 위젯은 버튼이 Shadow DOM 안이라 바깥 셀렉터가 닿지 않는다.
       커스텀 프로퍼티는 Shadow 경계를 넘어 상속되므로 값만 넘기고,
       EzdeskChatWidget 이 Shadow 안에 심는 규칙이 이 값을 right 로 쓴다. */
    body:has(.page-wrapper.full) {
        --ezdesk-chat-right: 395px;
    }
    body:has(.offcanvas.offcanvas-end.show.lg-width) {
        --ezdesk-chat-right: 675px;
    }
    body:has(.offcanvas.offcanvas-end.show.inquiry-offcanvas) {
        --ezdesk-chat-right: 695px;
    }
}

/* 2) 모달이 떠 있는 동안은 숨긴다. 모달은 화면 가운데라 비킬 방향이 없고,
      푸터의 확인/실행 버튼을 가린다(가져오기 모달에서 실제로 가렸다).
      react-bootstrap 모달(.show)과 직접 만든 모달(.d-block) 둘 다 잡는다. */
body:has(.modal.show) .ezdesk-ai-widget-trigger,
body:has(.modal.d-block) .ezdesk-ai-widget-trigger,
body:has(.modal.show) #ezdesk-chat-root,
body:has(.modal.d-block) #ezdesk-chat-root {
    display: none !important;
}

/* 3) 비킬 자리가 없는 경우는 숨긴다.
      · 화면을 통째로 덮는 오프캔버스(.full-width)
      · ≤992: 오프캔버스가 100vw 까지 커져 어디로 밀어도 그 위다 */
body:has(.offcanvas.show.full-width) .ezdesk-ai-widget-trigger,
body:has(.offcanvas.show.full-width) #ezdesk-chat-root {
    display: none !important;
}
@media (max-width: 992px) {
    body:has(.offcanvas.show) .ezdesk-ai-widget-trigger,
    body:has(.offcanvas.show) #ezdesk-chat-root {
        display: none !important;
    }
}

/* 4) 온보딩 투어 중에도 숨긴다 — 투어 오버레이 위로 떠서 스포트라이트를 방해한다. */
body.driver-active .ezdesk-ai-widget-trigger,
body.driver-active #ezdesk-chat-root {
    display: none !important;
}
