/* [VBT-2 2026-10-19 만포님 확정] /desk/vbt_drawer.css — ECS 본체 [적용배터리] 서랍 모양
 *   공통 구획(VBT_CSS) = WOW pages/order.html 서랍 style 바이트 항등 (패밀리룩 · 기본색 #1a73e8 = ECS 와 같음)
 *   아래 ECS 겹침 순서만 덧씀 — 데스크 창(99972)·보관분(99980)·퀵문자/AI(99980~99981) 위 · 상단 경고 띠(99990)·보안 화면(99999) 아래 */
/*@@VBT_CSS_BEGIN*/
    /* 오른쪽 가장자리 [적용배터리] 탭 + 서랍 — 기본 화면·주문등록 창 공용 · WOW 표준 색(#1a73e8)·버튼·입력 규격 */
    .vbt-tab { position: fixed; right: 0; top: 132px; z-index: 1540; width: 32px; overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 12px; background: #1a73e8; color: #fff; border: none; border-radius: 8px 0 0 8px; box-shadow: -2px 2px 8px rgba(15, 23, 42, 0.18); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
    .vbt-tab:hover { background: #1666d0; }
    .vbt-tab .material-icons { font-size: 18px; width: 18px; height: 18px; overflow: hidden; } /* 아이콘 글꼴을 못 불러와도 탭 폭 유지 */
    .vbt-tab .vbt-tab-txt { writing-mode: vertical-rl; text-orientation: upright; line-height: 1; }
    .vbt-tab.vbt-hide { display: none; }
    .vbt-dr { position: fixed; right: 0; top: 0; bottom: 0; width: 470px; max-width: 96vw; z-index: 1550; background: #fff; border-left: 1px solid #e2e8f0; box-shadow: -8px 0 24px rgba(15, 23, 42, 0.14); display: flex; flex-direction: column; transform: translateX(105%); transition: transform 0.12s ease-out; font-size: 13px; color: #1e293b; box-sizing: border-box; }
    .vbt-dr.vbt-open { transform: translateX(0); }
    .vbt-dr * { box-sizing: border-box; }
    .vbt-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #e2e8f0; }
    .vbt-head h3 { margin: 0; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
    .vbt-head h3 .material-icons { font-size: 20px; width: 20px; overflow: hidden; color: #1a73e8; }
    .vbt-cnt { white-space: nowrap; font-size: 11px; font-weight: 700; color: #64748b; background: #f1f5f9; border-radius: 10px; padding: 1px 8px; }
    .vbt-sp { flex: 1; }
    .vbt-btn { height: 30px; padding: 0 12px; border-radius: 6px; border: 1px solid #cbd5e1; background: #fff; color: #475569; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
    .vbt-btn:hover { background: #f8fafc; }
    .vbt-btn:disabled { opacity: 0.55; cursor: default; }
    .vbt-btn .material-icons { font-size: 16px; }
    .vbt-btn.vbt-pri { background: #1a73e8; border-color: #1a73e8; color: #fff; }
    .vbt-btn.vbt-pri:hover { background: #1666d0; }
    .vbt-btn.vbt-sm { height: 26px; padding: 0 9px; font-size: 11px; }
    .vbt-x { border: none; background: none; color: #64748b; cursor: pointer; padding: 4px; border-radius: 6px; display: flex; }
    .vbt-x:hover { background: #f1f5f9; }
    .vbt-tools { padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid #f1f5f9; background: #f8fafc; }
    .vbt-dr input.vbt-q { height: 36px; padding: 0 10px; font-size: 14px; border: 1px solid #cbd5e1; border-radius: 6px; width: 100%; }
    .vbt-dr input:focus, .vbt-dr select:focus, .vbt-dr textarea:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15); }
    .vbt-row2 { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #475569; }
    .vbt-dr select.vbt-mk { width: auto; height: 28px; padding: 0 6px; font-size: 12px; border: 1px solid #cbd5e1; border-radius: 6px; }
    .vbt-row2 label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; white-space: nowrap; }
    .vbt-row2 input[type="checkbox"] { width: auto; margin: 0; }
    .vbt-hit { margin-left: auto; color: #64748b; white-space: nowrap; }
    .vbt-body { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }
    .vbt-list { flex: 1; min-height: 0; overflow: auto; }
    .vbt-item { border-bottom: 1px solid #f1f5f9; }
    .vbt-line { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; }
    .vbt-line:hover { background: #f8fafc; }
    .vbt-item.vbt-sel > .vbt-line { background: #eff6ff; }
    .vbt-mkc { flex-shrink: 0; min-width: 46px; text-align: center; font-size: 11px; font-weight: 700; color: #475569; background: #f1f5f9; border-radius: 10px; padding: 2px 6px; }
    .vbt-model { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .vbt-bat { flex-shrink: 0; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: #1d4ed8; background: #dbeafe; border-radius: 10px; padding: 2px 9px; font-size: 12px; }
    .vbt-bat.vbt-none { color: #94a3b8; background: #f1f5f9; font-weight: 600; }
    .vbt-memo-dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; }
    .vbt-det { display: none; padding: 2px 12px 10px 12px; background: #fbfdff; }
    .vbt-item.vbt-ex .vbt-det { display: block; }
    .vbt-kv { display: grid; grid-template-columns: 74px 1fr; gap: 4px 8px; font-size: 12px; margin-top: 6px; }
    .vbt-kv .vbt-k { color: #64748b; font-weight: 600; }
    .vbt-kv .vbt-v { color: #1e293b; white-space: pre-wrap; word-break: break-all; }
    .vbt-kv .vbt-v.vbt-memo { background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px; padding: 6px 8px; line-height: 1.55; }
    .vbt-meta { margin-top: 6px; font-size: 11px; color: #94a3b8; }
    .vbt-acts { margin-top: 8px; display: flex; gap: 6px; }
    .vbt-log { margin-top: 8px; border-top: 1px dashed #e2e8f0; padding-top: 6px; font-size: 11px; color: #475569; }
    .vbt-log div { padding: 2px 0; }
    .vbt-log b { color: #1e293b; }
    .vbt-empty { padding: 40px 16px; text-align: center; color: #64748b; line-height: 1.6; }
    .vbt-more { padding: 10px 12px; text-align: center; font-size: 12px; color: #64748b; }
    .vbt-edit { position: absolute; inset: 0; background: #fff; display: none; flex-direction: column; z-index: 2; }
    .vbt-edit.vbt-on { display: flex; }
    .vbt-edit-in { flex: 1; min-height: 0; overflow: auto; padding: 12px; }
    .vbt-edit h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #1e293b; }
    .vbt-f { margin-bottom: 10px; }
    .vbt-f label { display: block; font-size: 12px; font-weight: 700; color: #475569; margin-bottom: 4px; }
    .vbt-dr .vbt-f input, .vbt-dr .vbt-f textarea { width: 100%; font-size: 13px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 7px 9px; font-family: inherit; }
    .vbt-dr .vbt-f textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
    .vbt-dims { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .vbt-dims input { text-align: center; }
    .vbt-msg { font-size: 12px; line-height: 1.5; border-radius: 6px; padding: 7px 9px; margin-bottom: 10px; display: none; white-space: pre-line; }
    .vbt-msg.vbt-on { display: block; }
    .vbt-msg.vbt-err { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
    .vbt-msg.vbt-info { color: #1e40af; background: #eff6ff; border: 1px solid #dbeafe; }
    .vbt-edit-foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid #e2e8f0; background: #f8fafc; }
    .vbt-foot { padding: 6px 12px; border-top: 1px solid #e2e8f0; font-size: 11px; color: #94a3b8; display: flex; gap: 8px; flex-wrap: wrap; }
    .vbt-toast { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(30, 41, 59, 0.95); color: #fff; padding: 7px 14px; border-radius: 8px; font-size: 12px; z-index: 5; pointer-events: none; white-space: nowrap; }
/*@@VBT_CSS_END*/
/* [VBT-2] ECS 겹침 순서 */
.vbt-tab { z-index: 99984; }
.vbt-dr { z-index: 99985; }
