/* 라이브 커머스(2026-11-04) — 스케줄표·호스트 설정 */ .erp-page:has(> .lv) { box-sizing: border-box; } /* 공용 .erp-page 는 폭 100% + 안쪽 여백이라 그대로면 화면보다 넓어진다 */ .lv { display: flex; flex-direction: column; gap: 14px; min-width: 0; } .lv *, .lv-dlg *, .lv-dlg *::before, .lv-dlg *::after { box-sizing: border-box; } .lv-dlg [hidden] { display: none !important; } .lv-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .lv-gap { flex: 1 1 auto; } .lv-month { margin: 0 6px; font-size: 18px; font-weight: 600; white-space: nowrap; } .lv-note { margin: 0; padding: 10px 14px; border-radius: 8px; background: #eef6ff; color: #0b4a8b; border: 1px solid #cfe3fb; font-size: 13px; } .lv-table td { vertical-align: middle; overflow-wrap: anywhere; } .lv-table th { white-space: nowrap; } .lv-table tr.lv-off td { color: var(--color-midtone-gray, #666); } .lv-r { text-align: right; } .lv-table th.lv-r { text-align: right; } .lv-num { font-variant-numeric: tabular-nums; } .lv-nowrap { white-space: nowrap; } .lv-sub { margin: 0; font-size: 12px; color: var(--color-midtone-gray, #666); } .lv-actions { white-space: nowrap; text-align: right; } .lv-thumbs { display: flex; flex-wrap: wrap; gap: 4px; } .lv-thumbs img { display: block; width: 44px; height: 44px; object-fit: cover; border-radius: 6px; border: 1px solid var(--color-subtle-ash, #e5e5e5); } /* 공용 .erp-table 은 640px 아래에서 제목 줄을 숨기고 카드로 바뀐다 — 칸 이름을 칸마다 보여 준다 */ @media (max-width: 640px) { .lv-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 400; color: var(--color-midtone-gray, #666); text-align: left; } .lv-table td.lv-r { text-align: left; } } .lv-views { display: inline-flex; gap: 4px; margin-left: 10px; } .lv-lang { display: inline-flex; padding: 2px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 999px; background: #fff; } .lv-lang button { min-width: 40px; padding: 4px 10px; border: 0; border-radius: 999px; background: none; font-size: 12px; font-weight: 600; color: #4b5563; cursor: pointer; } .lv-lang button.is-active { background: #111; color: #fff; } /* 영문 화면은 받은 화면처럼 대문자 */ .lv[lang="en"] .lv-kpi span, .lv[lang="en"] .lv-card-nums span, .lv[lang="en"] .lv-cal thead .lv-cal-time, .lv[lang="en"] .lv-cal tfoot .lv-cal-time, .lv[lang="en"] .lv-total dt { text-transform: uppercase; } /* ── 달력 보기 ── */ .lv-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; } .lv-kpi { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 10px; background: #fff; } .lv-kpi span { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--color-midtone-gray, #666); } .lv-kpi b { font-size: 18px; font-variant-numeric: tabular-nums; } .lv-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 12px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 10px; background: #fff; } .lv-jump-label { margin-right: 4px; font-size: 13px; font-weight: 600; color: #4b5563; } .lv-jump-day { min-width: 28px; height: 28px; padding: 0 4px; border: 1px solid transparent; border-radius: 6px; background: #f1f3f6; color: #1f2937; font-size: 13px; font-weight: 600; cursor: pointer; } .lv-jump-day:hover { background: #e2e6ec; } .lv-jump-day.is-weekend { background: #fff6dc; border-color: #f3e2ae; color: #8a4b08; } .lv-jump-day.is-today { outline: 2px solid #111; outline-offset: -2px; } .lv-tip { margin: 0; padding: 8px 12px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 10px; background: #f6f8fb; font-size: 13px; color: #374151; } /* 표 + 오른쪽 달력(공용 erp-datepop 서식) */ .lv-cal-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; } .lv-side-cal { box-sizing: border-box; padding: 12px; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; font-size: 13px; } @media (max-width: 1100px) { .lv-cal-row { grid-template-columns: minmax(0, 1fr); } .lv-side-cal { max-width: 340px; } } .lv-cal-wrap { overflow: auto; max-height: calc(100vh - 150px); border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; } .lv-cal { border-collapse: separate; border-spacing: 0; min-width: max-content; } .lv-cal th, .lv-cal td { border-right: 1px solid #e3e6eb; border-bottom: 1px solid #e3e6eb; } .lv-cal thead th { position: sticky; top: 0; z-index: 2; width: 182px; min-width: 182px; padding: 8px 6px; background: #e4e8ee; text-align: center; font-weight: 700; } .lv-cal thead th.is-weekend { background: #f5efd3; color: #7a5c00; } .lv-cal thead th.is-today { box-shadow: inset 0 -3px 0 #111; } .lv-cal-weekday { font-size: 13px; letter-spacing: .03em; } .lv-cal-count { display: inline-block; min-width: 18px; padding: 0 4px; margin-left: 2px; border: 1px solid #cfd4dc; border-radius: 4px; background: #fff; color: #374151; font-size: 11px; font-weight: 600; } .lv-cal-date { margin-top: 2px; font-size: 11px; font-weight: 600; color: #6b7280; } .lv-cal .lv-cal-time { position: sticky; left: 0; z-index: 1; width: 132px; min-width: 132px; padding: 8px; background: #f6f7f9; text-align: center; font-size: 13px; font-weight: 700; white-space: nowrap; } .lv-cal thead .lv-cal-time { z-index: 3; background: #d9dee6; } .lv-cal .lv-cal-time small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; color: #6b7280; } .lv-cell { min-height: 100px; padding: 4px; vertical-align: top; background: #fff; } .lv-cell.is-weekend { background: #fffdf3; } .lv-cell.is-drop { background: #e8f1ff; box-shadow: inset 0 0 0 2px #3b82f6; } .lv-cell-add { display: block; width: 100%; min-height: 88px; border: 1px dashed #d8dce3; border-radius: 6px; background: transparent; color: #b0b6c0; font-size: 16px; cursor: pointer; } .lv-cell-add:hover, .lv-cell-add:focus-visible { border-color: #6b7280; color: #374151; } .lv-card { margin-bottom: 4px; border: 1.5px solid #1f2937; border-radius: 6px; background: #fff; overflow: hidden; } .lv-card-head { display: flex; align-items: center; gap: 4px; padding: 3px 6px; border-bottom: 1px solid #1f2937; cursor: grab; } .lv-card-head:active { cursor: grabbing; } .lv-card-name small { display: block; overflow: hidden; text-overflow: ellipsis; text-transform: none; font-size: 10px; font-weight: 600; letter-spacing: 0; } .lv-card-grip { font-size: 12px; color: #374151; } .lv-card-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: .03em; color: #111; } .lv-card-edit { padding: 0 2px; border: 0; background: none; color: #374151; font-size: 13px; cursor: pointer; } .lv-card-nums { display: grid; grid-template-columns: 1fr 1fr; } .lv-card-nums div { display: flex; flex-direction: column; text-align: center; } .lv-card-nums div + div { border-left: 1px solid #e3e6eb; } .lv-card-nums span { padding: 2px 0; background: #f6f7f9; font-size: 10px; font-weight: 600; color: #4b5563; } .lv-card-nums b { padding: 3px 0; font-size: 14px; font-variant-numeric: tabular-nums; } .lv-card-foot { display: flex; justify-content: space-between; gap: 4px; padding: 2px 6px; border-top: 1px solid #e3e6eb; background: #f6f7f9; font-size: 10.5px; font-weight: 600; color: #4b5563; } .lv-card-foot b { color: #8a2c0d; } .lv-card-foot a { color: #1d4f91; } .lv-cal tfoot th, .lv-cal tfoot td { position: sticky; bottom: 0; z-index: 2; padding: 8px; background: #101a33; color: #fff; border-color: #2a3550; } .lv-cal tfoot .lv-cal-time { z-index: 3; background: #101a33; font-size: 12px; } .lv-total { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: 11px; font-weight: 600; } .lv-total div { display: flex; justify-content: space-between; gap: 6px; } .lv-total dt { color: #aab3c5; } .lv-total dd { margin: 0; font-variant-numeric: tabular-nums; color: #fbbf72; white-space: nowrap; } .lv-total dd.is-sales { color: #6ee7a8; } .lv-total-edit { padding: 0 2px; border: 0; background: none; color: #cbd5e1; font-size: 11px; cursor: pointer; } .lv-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 12px; } .lv-dlg::backdrop { background: rgba(0, 0, 0, .35); } .lv-dlg form { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; } .lv-dlg h3 { margin: 0; font-size: 17px; font-weight: 600; } .lv-field { display: flex; flex: 1 1 0; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; font-weight: 500; } .lv-field .erp-input, .lv-field .erp-select { width: 100%; min-width: 0; font-weight: 400; } .lv-field textarea { resize: vertical; } .lv-row { display: flex; flex-wrap: wrap; gap: 10px; } .lv-row .lv-field { flex-basis: 140px; } .lv-check { display: flex; align-items: center; gap: 6px; font-size: 13px; } .lv-saved { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; } .lv-saved li { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .lv-saved a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lv-msg { margin: 0; padding: 9px 12px; border-radius: 8px; background: #fbe9e6; color: #a1261b; border: 1px solid #efc6bf; font-size: 13px; } .lv-foot { display: flex; justify-content: flex-end; gap: 8px; }