/* 🏨 울산 폐업 — wkn-* 카드·상단 레이아웃을 그대로 빌려 쓴다 */
.ul-wrap{padding:16px 18px 40px;max-width:1500px}
.ul-subtabs{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 12px}
.ul-subtabs button{border:1px solid var(--line,#e3e6ea);background:var(--card,#fff);border-radius:999px;padding:6px 14px;cursor:pointer;font:inherit;font-size:.86rem}
.ul-subtabs button.on{background:#7c6450;color:#fff;border-color:#7c6450}
.ul-filter,.ul-bulk{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:8px 0}
.ul-filter input{min-width:200px}.ul-cnt{color:var(--muted,#7a818c);font-size:.84rem}
.ul-bulk{font-size:.84rem;background:var(--chip,#f6f7f9);border-radius:8px;padding:8px 10px}
.ul-scroll{overflow:auto;max-height:68vh;border:1px solid var(--line,#e3e6ea);border-radius:10px}
.ul-t{width:100%;border-collapse:collapse;font-size:.84rem;background:var(--card,#fff)}
.ul-t th,.ul-t td{padding:5px 8px;border-bottom:1px solid var(--line,#eef0f3);vertical-align:middle}
.ul-t th{position:sticky;top:0;background:var(--chip,#f6f7f9);font-size:.74rem;color:var(--muted,#6b7280);text-align:left;white-space:nowrap;z-index:1}
.ul-t .num{text-align:right;white-space:nowrap}.ul-t .b{font-weight:600}.ul-t .c{text-align:center}
.ul-t td.id{font-size:.72rem;color:#948a82;white-space:nowrap}.ul-t td.nm{min-width:170px}.ul-t small{color:#948a82}
.ul-t small.ul-dup{color:#b5551f;font-weight:600}
.ul-led .ul-in,.ul-t .ul-in{background:#fff7e0;border:1px solid #eadfb9;border-radius:6px;padding:4px 6px;font:inherit;font-size:.82rem;width:100%;min-width:70px;box-sizing:border-box}
.ul-led:not(.ul-rep) td:nth-child(6) .ul-in{width:78px}.ul-led:not(.ul-rep) td:nth-child(8) .ul-in{min-width:160px}.ul-led:not(.ul-rep) td:nth-child(11) .ul-in,.ul-led:not(.ul-rep) td:nth-child(12) .ul-in{min-width:130px}
.ul-d.up{color:#2f7d43;font-weight:700}.ul-d.dn{color:#b03a3a;font-weight:700}.ul-d.z{color:#b9bec6}
tr.ul-dupmark td.nm{background:#fff3ea}
.ul-sum{margin:0 0 8px}.ul-sum summary{cursor:pointer;font-size:.86rem;color:#6b5848;margin-bottom:6px}
.ul-note{font-size:.8rem;color:var(--muted,#7a818c);line-height:1.6;margin-top:6px}
.ul-pager{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:10px}
.ul-empty{padding:28px;text-align:center;color:var(--muted,#7a818c);line-height:1.8}
.ul-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:14px;max-width:900px}
.ul-form label{display:flex;flex-direction:column;gap:4px;font-size:.8rem;color:var(--muted,#6b7280)}
.ul-form input{font:inherit;padding:6px 8px;border:1px solid var(--line,#d9dde3);border-radius:6px}
@media(max-width:720px){.ul-wrap{padding:12px 10px 40px}.ul-t{font-size:.78rem}}
.ul-led td:nth-child(2){min-width:96px}.ul-led td:nth-child(3){min-width:120px}.ul-led:not(.ul-rep) td:nth-child(9) .ul-in,.ul-led:not(.ul-rep) td:nth-child(10) .ul-in{min-width:104px}
.ul-drop{border:2px dashed #cdbfae;border-radius:10px;padding:18px;text-align:center;background:#faf7f3;margin-bottom:12px;font-size:.9rem;color:#6b5848}.ul-drop.on{background:#fff3ea;border-color:#b5551f}
.ul-h3{margin:16px 0 6px;font-size:.92rem;color:#6b5848}
.ul-rep td{vertical-align:top}.ul-rep td.nm{min-width:200px;max-width:380px}.ul-rep .ul-in{min-width:110px}

/* 품목 추가 (2026-10-21) */
.ul-added { color: #0f766e; font-weight: 600; }
.ul-gdel { padding: 0 6px; font-size: 11px; }
.ul-addf { display: grid; gap: 8px; }
.ul-addf label { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; font-size: 13px; }
.ul-addf label small { grid-column: 2; color: #6b7280; }
.ul-addf input, .ul-addf select { width: 100%; }

/* 📷 품목 사진 (2026-10-26) */
.ul-evd { white-space: nowrap; }
.ul-evd .ul-in { width: calc(100% - 52px); min-width: 90px; }
.ul-ph { padding: 4px 8px; font-size: 13px; margin-left: 4px; }
.ul-ph.has { background: #eef6ff; border-color: #bcd7ff; color: #1d4ed8; font-weight: 700; }
.ul-ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; max-height: 60vh; overflow: auto; }
.ul-ph-it { position: relative; display: flex; flex-direction: column; gap: 4px; }
.ul-ph-it img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #f4f6fb; }
.ul-ph-it small { color: var(--muted); font-size: 11px; }
.ul-ph-it .ul-ph-del { position: absolute; top: 4px; right: 4px; padding: 2px 7px; background: rgba(255,255,255,.9); }

.ul-loc{min-width:190px;max-width:260px}
