/* 셀러윙어드민 — 2026-11-12 테마 리뉴얼: 독일PM정품몰의 파란 종이(공용 색·바탕은 /shared/paper.css)
   화면 배치·버튼 자리는 이지어드민 V3.5 그대로, 모양만 바꿈. 이전 모양은 data/backup/theme-20261112/ */
:root {
  /* 예전 이름 → 새 색 (admin.js 안 인라인 스타일이 쓰는 이름 유지) */
  --strip: var(--blue-d); --title: var(--blue); --text: var(--ink); --muted: #5D6F8F; --line: var(--rule); --head: #E7EEF8; --bg: transparent;
  --red: var(--alert); --teal: #2C8C7A; --navy: var(--blue-d);
  --row-invoice: #FFF6CF; --row-shipped: #E4F4E9;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.45; display: flex; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.strip, .side, .main { position: relative; z-index: 1; }

/* 왼쪽 진한 파란 띠 */
.strip { width: 56px; flex: 0 0 56px; display: flex; flex-direction: column; align-items: center; padding-top: 250px; gap: 16px;
  background: var(--grain-soft), linear-gradient(180deg, #2C58A3 0%, var(--blue-d) 62%, #183667 100%); box-shadow: 1px 0 0 rgba(255, 255, 255, .25) inset; }
.si { width: 56px; height: 46px; display: flex; align-items: center; justify-content: center; color: rgba(228, 237, 250, .72); position: relative; transition: color .2s; }
.si:hover { color: #fff; }
.si svg { width: 23px; height: 23px; }
.si.on { color: var(--blue); }
.si.on::before { content: ''; position: absolute; left: 7px; right: -1px; top: 0; bottom: 0; background: var(--card); border-radius: 23px 0 0 23px; z-index: 0; }
.si.on svg { position: relative; z-index: 1; }

/* 왼쪽 메뉴 */
.side { width: 208px; flex: 0 0 208px; display: flex; flex-direction: column; background: rgba(245, 248, 253, .92); border-right: 1px solid var(--rule); }
.logo { display: flex; align-items: center; gap: 10px; padding: 22px 18px 24px; }
.logo .mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, #4373C4, #2C58A3); box-shadow: 0 8px 16px -8px rgba(31, 66, 126, .8), 0 1px 0 rgba(255, 255, 255, .35) inset;
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1; letter-spacing: -.02em; padding-bottom: 2px; }
.logo .word { font-size: 16px; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; font-weight: 600; }
.logo .word b { color: var(--blue); margin-right: 1px; font-weight: 800; }
.mgroup { margin: 2px 0 12px; }
.mtitle { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 6px; font-size: 14.5px; color: var(--blue-d); font-weight: 700; letter-spacing: -.02em; }
.mtitle::after { content: '–'; color: var(--blue-l); font-weight: 400; }
.mitem { display: block; margin: 1px 10px; padding: 6px 10px 6px 18px; color: #33466A; font-size: 13.5px; border-radius: 10px; transition: background .2s, color .2s; }
.mitem:hover { color: var(--blue); background: rgba(190, 211, 239, .35); }
.mitem.on { color: var(--blue-d); background: rgba(190, 211, 239, .6); font-weight: 600; position: relative; }
.mitem.on::before { content: ''; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--blue); }
.mitem.soon { color: #9AA8C0; }
.mitem.soon:hover { background: none; color: #9AA8C0; }

/* 위 메뉴 줄 */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: transparent; }
.top { display: flex; align-items: center; gap: 14px; margin: 12px 14px 0; padding: 9px 18px 9px 24px; border-radius: var(--r-lg);
  background: rgba(245, 248, 253, .9); box-shadow: var(--shadow-sm); border: 1px solid rgba(255, 255, 255, .7); }
.gnb { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex: 1; flex-wrap: nowrap; min-width: 0; overflow: hidden; }
.gnb li { font-size: 15px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; color: #33466A; padding: 7px 0 9px; white-space: nowrap; position: relative; transition: color .2s; }
.gnb li:hover { color: var(--blue); }
.gnb li.on { color: var(--blue-d); }
.gnb li.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 1px; height: 6px; background: var(--wave) left center / 18px 6px repeat-x; }
.icons { display: flex; gap: 8px; }
.ci { width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 16px -10px rgba(31, 66, 126, .8); transition: transform .25s var(--ease), box-shadow .25s; }
.ci svg { width: 19px; height: 19px; }
.c1 { background: linear-gradient(160deg, #4C7FCB, #3462B2); } .c2 { background: linear-gradient(160deg, #6D95D3, #4C79BF); }
.c3 { background: linear-gradient(160deg, #2C58A3, var(--blue-d)); } .c4 { background: linear-gradient(160deg, #7FA5DD, #5683C8); }
.c5 { background: linear-gradient(160deg, #3D6BB8, #28508F); }
.ci:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 20px -10px rgba(31, 66, 126, .85); }
.ci:active { transform: scale(.95); }
.user { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink); }
@media (max-width: 1500px) { .uname { display: none; } .gnb { gap: 18px; } }
@media (max-width: 1280px) { .gnb { gap: 14px; } .gnb li { font-size: 14px; } .ci { width: 34px; height: 34px; } }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(160deg, #4373C4, #2C58A3); display: grid; place-items: center; overflow: hidden; }
.avatar svg { width: 24px; height: 24px; margin-top: 6px; }
.mode-pill { border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--blue-d);
  background: rgba(190, 211, 239, .55); box-shadow: inset 0 0 0 1.5px rgba(52, 98, 178, .35); }
.mode-pill.send { color: #fff; background: linear-gradient(160deg, #E8596C, #CC3A4F); box-shadow: 0 8px 16px -10px rgba(204, 58, 79, .9); }

/* 본문 */
#view { padding: 16px 14px 24px; overflow: auto; flex: 1; }
.card { background: var(--card); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-sm); margin-bottom: 14px; border: 1px solid rgba(255, 255, 255, .7); }
.ptitle { display: flex; align-items: flex-end; justify-content: space-between; margin: 4px 6px 16px; }
.ptitle h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.ptitle h1 .star { color: var(--blue-l); font-size: 17px; vertical-align: 3px; margin-left: 6px; }
.crumb { color: var(--ink-2); font-size: 13px; }
.crumb span + span::before { content: '›'; margin: 0 9px; color: var(--blue-l); }

.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.bar .grow { flex: 1; }
.bar label { color: var(--ink-2); font-weight: 600; }
.input, .select { height: 32px; border: 1px solid rgba(31, 66, 126, .22); border-radius: var(--r-sm); padding: 3px 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(141, 174, 224, .45); }
.input[readonly] { background: var(--paper-hi); }

/* 버튼: 둥근 알약. 색 이름(빨강=실제로 보냄·삭제, 초록=처리, 파랑=보기)은 예전과 같은 뜻 */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 4px; vertical-align: middle; line-height: 1;
  height: 32px; padding: 0 12px; border: none; border-radius: 999px; cursor: pointer; white-space: nowrap; font-weight: 600; letter-spacing: -.01em;
  color: var(--blue-d); background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1.5px rgba(52, 98, 178, .32);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.b:hover:not(:disabled) { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); transform: translateY(-1px); }
.b:active:not(:disabled) { transform: scale(.97); }
.b:disabled { opacity: .45; cursor: default; }
.b.red { color: var(--alert); box-shadow: inset 0 0 0 1.5px rgba(224, 69, 90, .55); }
.b.red:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--alert); }
.b.teal { color: var(--teal); box-shadow: inset 0 0 0 1.5px rgba(44, 140, 122, .5); }
.b.teal:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--teal); }
.b.blue { color: var(--blue); box-shadow: inset 0 0 0 1.5px rgba(52, 98, 178, .55); }
.b.solid { color: #fff; background: linear-gradient(180deg, #4373C4, #2C58A3); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 16px -10px rgba(31, 66, 126, .8); }
.b.solid:hover:not(:disabled) { background: linear-gradient(180deg, #4A7BCD, #2F5DAB); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 20px -10px rgba(31, 66, 126, .85); }
.b.mini { height: 25px; padding: 0 10px; font-size: 12px; }
.b.next { color: #fff; background: linear-gradient(180deg, #E8596C, #CC3A4F); letter-spacing: .06em; box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 8px 16px -10px rgba(204, 58, 79, .9); }
.b.next:hover:not(:disabled) { background: linear-gradient(180deg, #EC6476, #D04155); box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 12px 20px -10px rgba(204, 58, 79, .95); }
.b.pill { height: 42px; padding: 0 26px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #4373C4, #2C58A3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 22px -10px rgba(31, 66, 126, .75); }
.b.pill:hover:not(:disabled) { background: linear-gradient(180deg, #4A7BCD, #2F5DAB); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 16px 28px -12px rgba(31, 66, 126, .8); }
/* 발주 step 버튼: 지금 단계만 꽉 찬 파랑 */
.steps { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(190, 211, 239, .45); box-shadow: inset 0 0 0 1px rgba(52, 98, 178, .15); }
.step { height: 28px; padding: 0 12px; border: none; background: transparent; border-radius: 999px; font-size: 13px; font-weight: 600; color: #4A5D80; cursor: pointer; transition: background .2s, color .2s; }
.step:hover { color: var(--blue-d); background: rgba(255, 255, 255, .6); }
.step small { font-size: 11px; margin-right: 4px; opacity: .8; }
.step.on { color: #fff; background: linear-gradient(180deg, #4373C4, #2C58A3); box-shadow: 0 6px 12px -8px rgba(31, 66, 126, .9); }

/* 표: 가장 밝은 종이, 줄은 옅게. 송장=노랑·배송=초록·취소=분홍은 예전 뜻 그대로 */
.tw { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: auto; box-shadow: var(--shadow-sm); }
table.t { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 760px; }
.t th { background: var(--head); color: var(--blue-d); font-weight: 700; padding: 10px 8px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule-soft); white-space: nowrap; position: sticky; top: 0; z-index: 1; letter-spacing: -.01em; }
.t th:last-child { border-right: none; }
.t td { padding: 8px; border-bottom: 1px solid var(--rule-soft); border-right: 1px solid rgba(31, 66, 126, .05); text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t td:last-child { border-right: none; }
.t tbody tr:last-child td { border-bottom: none; }
.t td.l { text-align: left; }
.t td.w { white-space: normal; min-width: 180px; text-align: left; }
.t td.num { text-align: right; }
.t tr:hover td { background: #EEF4FC; }
.t tr.invoice td { background: var(--row-invoice); }
.t tr.shipped td { background: var(--row-shipped); }
.t tr.claim td { background: #FCE7EB; }
.t .today { color: var(--blue); font-weight: 600; }
.t .empty { color: var(--muted); padding: 26px; }
.chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 9px 2px 3px; font-size: 12px; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.chip .ico { width: 16px; height: 16px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 9.5px; display: grid; place-items: center; }
.chip .naver { background: #03c75a; } .chip .coupang { background: #e52528; }
.chip .auction { background: #f15a24; } .chip .gmarket { background: #00a650; } .chip .alwayz { background: #7b4dff; }

.tabs { display: flex; gap: 4px; margin-bottom: -1px; position: relative; z-index: 1; }
.tab { padding: 9px 18px; border: 1px solid var(--rule); border-bottom: none; border-radius: 14px 14px 0 0; background: rgba(233, 240, 249, .8); color: #5D6F8F; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.tab + .tab { border-left: 1px solid var(--rule); }
.tab:hover:not(:disabled) { color: var(--blue-d); background: var(--card); }
.tab.on { background: var(--card); color: var(--blue-d); box-shadow: inset 0 3px 0 var(--blue); }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 0 var(--r-md) var(--r-md) var(--r-md); padding: 14px 16px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.filter { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 14px; align-items: center; }
.filter > label { color: var(--ink-2); font-weight: 600; }
.filter .fl { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.filter .side-btn { grid-row: span 2; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; border-left: 1px solid var(--rule); padding-left: 16px; }
.sumline { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 8px 2px; color: var(--ink-2); }
.sumline b { color: var(--alert); font-weight: 700; font-variant-numeric: tabular-nums; }
.hint { color: var(--muted); font-size: 12.5px; margin: 6px 4px 12px; line-height: 1.6; }
.ok { color: var(--good); } .bad { color: var(--alert); } .off { color: #9AA8C0; }
.banner { border-radius: var(--r-md); padding: 11px 16px; margin-bottom: 12px; background: rgba(233, 240, 249, .92); border: 1px solid rgba(52, 98, 178, .22); color: var(--ink); line-height: 1.6; box-shadow: var(--shadow-sm); }
.banner.bad { background: #FDF0F2; border-color: rgba(224, 69, 90, .35); }
.banner.ok { background: #EDF8F2; border-color: rgba(46, 138, 104, .3); }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { position: relative; overflow: hidden; background: var(--card); border-radius: var(--r-lg); padding: 18px 16px 16px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(255, 255, 255, .7); transition: transform .25s var(--ease), box-shadow .25s; }
a.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kpi .k { color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.kpi .v { font-size: 34px; font-weight: 800; letter-spacing: -.04em; margin-top: 2px; font-variant-numeric: tabular-nums; color: var(--ink); }
.kpi.blue .v { color: var(--blue); } .kpi.red .v { color: var(--alert); } .kpi.orange .v { color: var(--warn); } .kpi.purple .v { color: #5A4FB8; }

.editor { display: grid; gap: 4px; min-width: 380px; }
.editor .pick { display: grid; grid-template-columns: minmax(0, 1fr) 64px 26px; gap: 4px; }
.editor input { height: 28px; border: 1px solid rgba(31, 66, 126, .22); border-radius: 8px; padding: 2px 8px; background: #fff; }
.link { background: none; border: none; color: var(--blue); cursor: pointer; padding: 0 4px; font-weight: 600; }
.link:hover { text-decoration: underline; }
.cand { background: #FFF7E8; border: 1px solid #F0D08A; border-radius: var(--r-sm); padding: 9px 13px; margin-bottom: 8px; }
/* step4 합포 후보: 같은 사람 무리마다 번갈아 옅은 보라(이지어드민 DC40 처럼) */
.t.hp tr.grp td { background: #F4F1FB; }
.t.hp tr:hover td { background: #EEF4FC; }
.track { display: flex; gap: 4px; justify-content: center; }
.track input { width: 134px; height: 27px; border: 1px solid rgba(31, 66, 126, .22); border-radius: 8px; padding: 2px 8px; font-variant-numeric: tabular-nums; background: #fff; }
.track input:disabled { background: transparent; border-color: transparent; color: var(--ink); }

/* 창(모달): 열릴 때 살짝 떠오름 — 누른 것에 대한 반응이라 움직임을 둠 */
#modal { position: fixed; inset: 0; background: rgba(21, 40, 73, .32); display: flex; align-items: flex-start; justify-content: center; padding-top: 64px; z-index: 20; }
#modal[hidden] { display: none; }
.mbox { background: var(--card); border-radius: var(--r-xl); width: min(980px, 92vw); max-height: 82vh; overflow: auto; box-shadow: 0 40px 80px -30px rgba(21, 40, 73, .6); border: 1px solid rgba(255, 255, 255, .8); animation: sw-pop .32s var(--ease); }
@keyframes sw-pop { from { transform: translateY(14px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.mhead { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 12px; border-bottom: 1px solid var(--rule); font-size: 17px; letter-spacing: -.03em; color: var(--blue-d); }
.mclose { border: none; background: rgba(190, 211, 239, .5); width: 30px; height: 30px; border-radius: 50%; font-size: 14px; cursor: pointer; color: var(--blue-d); transition: background .2s; }
.mclose:hover { background: var(--sky); }
#mbody { padding: 16px 22px 20px; }
#toast { position: fixed; right: 24px; bottom: 24px; background: var(--blue-d); color: #fff; padding: 11px 18px; border-radius: 16px; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--ease); max-width: 60vw; z-index: 30; box-shadow: 0 18px 36px -16px rgba(21, 40, 73, .7); line-height: 1.5; }
#toast.show { opacity: .97; transform: none; }
#toast.bad { background: #C3364B; }
.loading { padding: 70px 40px; text-align: center; color: var(--ink-2); }
.loading span { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow-sm); font-weight: 600; }
.loading span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--sky); border-top-color: var(--blue); animation: sw-spin .9s linear infinite; }
@keyframes sw-spin { to { transform: rotate(360deg); } }

/* 발주 화면: 판매처 표 보조 글자·최근 발주일 색·발주수량 막대·아래 버튼줄 */
.t small.sub { color: var(--muted); font-size: 11px; }
.t .recent { color: var(--alert); font-weight: 600; }
.t .lk { color: var(--blue); }
.bar.foot { margin-top: 10px; background: var(--card); border: 1px solid var(--rule); padding: 8px 12px; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.pager { color: var(--ink-2); font-size: 12.5px; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 180px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 22px 14px 0; margin-top: 12px; overflow-x: auto; box-shadow: var(--shadow-sm); }
.chart .col { flex: 1 0 60px; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.chart .barv { width: 56%; min-height: 3px; border-radius: 10px 10px 3px 3px; background: linear-gradient(180deg, #7FA5DD, var(--blue)); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset; display: flex; justify-content: center; transform-origin: bottom; animation: sw-grow .7s var(--ease) both; }
@keyframes sw-grow { from { transform: scaleY(0); } }
.chart .barv span { font-size: 11.5px; font-weight: 700; margin-top: -18px; color: var(--blue-d); }
.chart .lab { font-size: 11px; color: var(--ink-2); text-align: center; height: 36px; padding-top: 5px; line-height: 1.25; overflow: hidden; }

/* 상품 매칭 창 (이지어드민 DC30 팝업) */
.mpop { position: fixed; inset: 0; background: rgba(21, 40, 73, .4); z-index: 40; display: flex; align-items: flex-start; justify-content: center; padding-top: 26px; }
.mp-box { background: var(--card); width: min(1120px, 95vw); max-height: 93vh; overflow: auto; border-radius: var(--r-xl); box-shadow: 0 40px 80px -30px rgba(21, 40, 73, .65); padding: 0 18px 16px; border: 1px solid rgba(255, 255, 255, .8); animation: sw-pop .32s var(--ease); }
.mp-head { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0 12px; }
.mp-head b { color: var(--blue-d); font-size: 19px; letter-spacing: -.03em; white-space: nowrap; }
.mp-note { flex: 1; color: var(--alert); font-size: 12px; text-align: center; }
.mp-info { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 10px; font-size: 13px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; }
.mp-info th { background: var(--head); color: var(--blue-d); width: 90px; text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--rule-soft); font-weight: 700; }
.mp-info td { padding: 6px 10px; border-bottom: 1px solid var(--rule-soft); text-align: left; }
.mp-info tr:last-child th, .mp-info tr:last-child td { border-bottom: none; }
.mp-info textarea { width: 100%; border: 1px solid rgba(31, 66, 126, .2); border-radius: 8px; resize: vertical; font: inherit; padding: 4px 8px; }
.mp-opts { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.mp-search .mp-go { padding: 0 24px; }
.mp-res { height: 220px; }
.mp-sel { height: 170px; margin-top: 10px; }
.mp-pg { text-align: right; font-size: 12px; color: var(--ink-2); padding: 4px 2px; }
.mp-foot { margin-top: 10px; }
.boxnote { font-size: 12px; color: var(--ink-2); }
.boxnote b { color: var(--blue); }
.tab:disabled { cursor: default; color: #A6B3C9; }
/* 매칭 창: 상품명·옵션 단어 누르기 */
.mp-kws { line-height: 1.95; }
.mp-kw { cursor: pointer; border-radius: 6px; padding: 1px 3px; transition: background .15s; }
.mp-kw:hover { background: #E3ECF9; color: var(--blue); text-decoration: underline; }
.mp-kw.on { background: #FFE58A; color: #000; }

/* 오배송 막기: 확인필요 비교 상자 · 바꿔 달라는 메모 */
.mp-warn { background: #FFF5E8; border: 1px solid #F0C285; border-radius: var(--r-sm); padding: 11px 14px; margin-bottom: 10px; font-size: 13px; }
.mp-warn b { color: #B4321F; }
.mp-warn table { border-collapse: collapse; margin: 8px 0 4px; width: 100%; }
.mp-warn th, .mp-warn td { border: 1px solid #F0D2A8; padding: 5px 9px; text-align: left; background: #fff; }
.mp-warn th { background: #FDEBD3; white-space: nowrap; }
.mp-warn td.diff { background: #FFE0E0; color: #B00020; font-weight: 700; }
.t td.memo-warn { background: #FFF2E2; color: #A85400; font-weight: 700; }
.mp-prev { margin: 4px 0; } .mp-prev b { color: var(--ink); }

/* 로그인·처음 계정·비밀번호 바꾸기: 거품이 가장 잘 보이는 화면 */
body.auth { display: block; }
.auth-wrap { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 400px; max-width: 100%; background: rgba(245, 248, 253, .9); border-radius: var(--r-xl); box-shadow: 0 40px 80px -36px rgba(21, 40, 73, .55), 0 1px 0 rgba(255, 255, 255, .9) inset; border: 1px solid rgba(255, 255, 255, .85); padding: 34px 34px 28px; animation: sw-pop .5s var(--ease); }
.auth-card .logo { padding: 0 0 22px; }
.auth-card h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.auth-card p.sub { margin: 0 0 18px; color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.auth-card label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 13px 0 6px; }
.auth-card input { width: 100%; height: 44px; border: 1px solid rgba(31, 66, 126, .22); border-radius: var(--r-md); padding: 0 14px; font-size: 15px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.auth-card input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(141, 174, 224, .45); }
.auth-card .go { width: 100%; height: 48px; margin-top: 22px; border: none; border-radius: 999px; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
  background: linear-gradient(180deg, #4373C4, #2C58A3); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 24px -12px rgba(31, 66, 126, .8); transition: transform .25s var(--ease), box-shadow .25s; }
.auth-card .go:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 30px -14px rgba(31, 66, 126, .85); }
.auth-card .go:disabled { opacity: .6; cursor: default; }
.auth-card .err { color: var(--alert); font-size: 13px; min-height: 18px; margin-top: 12px; }
.auth-card .foot { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; border-top: 1px solid var(--rule); padding-top: 13px; }
.logout { height: 28px; padding: 0 12px; border: none; background: rgba(255, 255, 255, .8); border-radius: 999px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); transition: color .2s, box-shadow .2s; }
.logout:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.calm-btn { height: 28px; width: 28px; border: none; border-radius: 50%; background: rgba(255, 255, 255, .8); color: var(--blue); cursor: pointer; box-shadow: inset 0 0 0 1px var(--rule); display: grid; place-items: center; }
.calm-btn svg { width: 15px; height: 15px; }
.calm-btn:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
html.calm .calm-btn { color: #9AA8C0; }
.form-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.form-row input, .form-row select { height: 32px; border: 1px solid rgba(31, 66, 126, .22); border-radius: var(--r-sm); padding: 0 10px; background: #fff; }
.form-row input { width: 150px; }
.pw-form { max-width: 360px; }
.pw-form label { display: block; margin: 12px 0 5px; color: var(--ink-2); font-weight: 600; }
.pw-form input { width: 100%; height: 36px; border: 1px solid rgba(31, 66, 126, .22); border-radius: var(--r-sm); padding: 0 10px; background: #fff; }
code.addr { background: #fff; border: 1px solid rgba(52, 98, 178, .3); border-radius: 8px; padding: 2px 9px; font-size: 14px; user-select: all; color: var(--blue-d); }
.role-owner { color: var(--blue); font-weight: 700; }
.t.users tr.off td { color: #A6B3C9; }

@media print {
  .strip, .side, .top, #toast { display: none !important; }
  .card, .tw, .panel, .banner { box-shadow: none !important; background: #fff !important; }
}

/* 출력차수 불러오기 표: 글자를 줄이지 않고 다 보여 주고, 넓으면 옆으로(2026-11-12 대표). 표 안에서 위아래·옆으로 밀고 머리줄은 고정 */
.tw.wide { max-height: calc(100vh - 300px); }
.t.full { width: max-content; min-width: 100%; }
.t.full th, .t.full td { white-space: nowrap; }
.t.full td { vertical-align: top; }
.tw::-webkit-scrollbar { width: 12px; height: 12px; }
.tw::-webkit-scrollbar-track { background: rgba(190, 211, 239, .35); border-radius: 999px; }
.tw::-webkit-scrollbar-thumb { background: rgba(52, 98, 178, .38); border-radius: 999px; border: 3px solid var(--sheet); }
.tw::-webkit-scrollbar-thumb:hover { background: rgba(52, 98, 178, .6); }
.tw::-webkit-scrollbar-corner { background: transparent; }

/* 신상품등록·상품 수정(이지어드민 C100 처럼 왼쪽 칸 이름 + 오른쪽 입력, 옆에 같은 이름 상품) */
.pform { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.ftable { width: 100%; border-collapse: collapse; }
.ftable th { width: 130px; text-align: left; padding: 9px 12px; background: var(--head); color: var(--blue-d); font-weight: 700; border-bottom: 1px solid var(--rule-soft); white-space: nowrap; }
.ftable td { padding: 7px 12px; border-bottom: 1px solid var(--rule-soft); }
.ftable .need { display: inline-block; font-size: 10.5px; color: #fff; background: var(--alert); border-radius: 4px; padding: 1px 4px; margin-left: 3px; vertical-align: 1px; }
.ftable .num-in { text-align: right; }
@media (max-width: 1100px) { .pform { grid-template-columns: 1fr; } }
/* 송장출력: 표 안 찾기 · 주문 상세 */
.t tr.dim { display: none; }
.odetail th { width: 110px; text-align: left; background: var(--head); color: var(--blue-d); padding: 6px 10px; }
.odetail td { padding: 6px 10px; }

.t tr.found td { background: #FFF3B0 !important; }

/* ── 셀러윙 클라우드: 회원가입·승인 대기·판매처 카드·택배 설정 ── */
.auth-card.wide { width: 620px; }
.auth-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.auth-card label.agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; line-height: 1.5; margin: 12px 0 0; }
.auth-card label.agree input { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.auth-card label.agree a { color: var(--blue-d); text-decoration: underline; }
.auth-card .odetail { width: 100%; margin: 4px 0 0; }
@media (max-width: 560px) { .auth-card .two { grid-template-columns: 1fr; } }
.scard.off { opacity: .86; }
.scard .shead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.scard .shead .grow { flex: 1; }
.sgrid { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; align-items: center; }
.sgrid > label { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.sgrid small.sub, .scard small.sub, .card small.sub { color: var(--muted); font-size: 12px; margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.opts label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.krow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.krow .klab { width: 110px; font-weight: 600; color: var(--ink-2); font-size: 13px; }
.sgrid[hidden], .opts[hidden] { display: none; }
.auth-wrap { flex-direction: column; gap: 16px; }
.svc-foot { max-width: 760px; text-align: center; color: var(--ink-2); font-size: 12px; line-height: 1.7; position: relative; z-index: 1; }
.svc-foot a { color: var(--ink-2); text-decoration: underline; }
.svc-foot .svc-intro { margin: 0 auto 10px; max-width: 560px; font-size: 13px; line-height: 1.6; color: var(--ink); }
