/* 팝업 화면(판매 콘솔 · 회사 콘솔 공용, 대표 지시 2026-11-05). 두 콘솔의 기본 CSS(.card · .field · .check · .btn-ghost)를 그대로 씁니다. */
.pop-top { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.pop-top .help { margin:0; }
.pop-all { display:flex; flex:none; gap:8px; }
.pop-all .btn-ghost { height:34px; padding:0 14px; font-size:13px; }
.pop-card { padding-top:0; padding-bottom:0; }
.pop-card[open] { padding-bottom:24px; }
.pop-head { display:flex; align-items:center; gap:18px; padding:18px 0; cursor:pointer; list-style:none; }
.pop-head::-webkit-details-marker { display:none; }
.pop-head::after { content:''; flex:none; width:9px; height:9px; margin:0 4px 0 6px; border-right:2px solid var(--dim); border-bottom:2px solid var(--dim); transform:rotate(45deg); transition:transform .2s; }
.pop-card[open] > .pop-head { margin-bottom:16px; border-bottom:1px solid var(--line); }
.pop-card[open] > .pop-head::after { transform:rotate(-135deg); }
.pop-head h3 { margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pop-when { margin-right:auto; font-size:12.5px; color:var(--dim); white-space:nowrap; }
.pop-new .pop-head h3 { margin-right:auto; color:var(--accent-ink); }
.pop-off > .pop-head h3 { color:var(--dim); }
.pop-head .check { white-space:nowrap; }
.pop-del { color:var(--danger); }
.pop-body { display:grid; grid-template-columns:150px 1fr; gap:18px 26px; align-items:start; }
.pop-pic b { display:block; margin:0 0 6px; font-size:12.5px; color:var(--sub); }
.pop-pic img, .pop-pic .none { display:block; width:150px; height:150px; border:1px solid var(--line); border-radius:8px; object-fit:contain; background:#f6f7f4; }
.pop-pic .none { display:grid; place-items:center; border-style:dashed; font-size:12px; color:var(--dim); }
.pop-pic .check { margin:8px 0 0; font-size:12.5px; }
.pop-pic input[type=file] { display:block; width:150px; margin-top:8px; font-size:11.5px; color:var(--dim); }
.pop-pic input[type=file]::file-selector-button { margin-right:6px; padding:5px 10px; border:1px solid #d9dcd6; border-radius:999px; background:var(--paper); font:inherit; font-size:11.5px; font-weight:700; color:var(--ink); cursor:pointer; }
.pop-pic input[type=file]::file-selector-button:hover { border-color:var(--accent); color:var(--accent-ink); }
.pop-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px 18px; align-items:start; }
.pop-grid .field { margin:0; }
.pop-half { grid-column:span 2; }
.pop-wide { grid-column:1 / -1; }
.pop-card label small { margin-left:6px; font-weight:400; color:var(--dim); }
.pop-card input[type=date] { width:100%; height:36px; padding:0 10px; font:inherit; font-size:13.5px; color:var(--ink); background:var(--paper); border:1px solid #d9dcd6; border-radius:var(--radius); }
.pop-card input[type=date]:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(18,194,154,.16); }
@media (max-width:1100px) { .pop-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:900px) { .pop-body { grid-template-columns:1fr; } .pop-top { flex-direction:column; } }
