:root {
  --primary: #2AB894;
  --primary-alt: #1E9A7C;
  --sidebar: #17181c;
  --sidebar-text: #c8cdd8;
  --bg: #f3f1ec;
  --surface: #fff;
  --text: #222;
  --muted: #727272;
  --line: #e6e2da;
  --sidebar-w: 220px;
}
* { box-sizing: border-box; }
html { height: 100%; }
body { margin: 0; font-family: Pretendard, sans-serif; color: var(--text); background: var(--bg); font-size: 14px; }
a { color: inherit; text-decoration: none; }
body.mode-app {
  height: 100%;
  overflow: hidden;
}
.admin-shell {
  display: flex;
  height: 100%;
  width: 100%;
  min-height: 0;
}
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  height: 100%;
  min-height: 0;
  background: var(--sidebar);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
}
.sidebar-brand { flex-shrink: 0; padding: 20px 18px; font-weight: 800; color: #fff; }
.sidebar-brand small { display: block; font-size: 11px; color: var(--sidebar-text); }
.sidebar nav {
  padding: 12px 10px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar nav a { display: block; padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; font-weight: 600; }
.sidebar nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar nav a.active { background: var(--primary); color: #fff; }
.sidebar-foot {
  flex-shrink: 0;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
}
.admin-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.admin-top {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.admin-top h1 { margin: 0; font-size: 18px; }
.admin-top__extra {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.iq-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}
.iq-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.iq-filter:hover { background: #faf9f6; }
.iq-filter.is-on.iq-filter--done {
  background: #e6f8f2;
  border-color: #bfe9d8;
  color: #147a5d;
}
.iq-filter.is-on.iq-filter--open {
  background: #fff4d6;
  border-color: #f0dca0;
  color: #8a6a00;
}
#inquiryList {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
#inquiryList > .lt-empty {
  flex: 1;
  justify-content: center;
}
.iq-flash {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 18px 8px;
}
.iq-flash__card {
  margin: 0;
  padding: 16px 28px;
  border-radius: 14px;
  background: #e6f8f2;
  border: 1px solid #cfeedf;
  color: #147a5d;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .04);
}
.iq-flash__card.is-error {
  background: #fdecea;
  border-color: #f8d0cb;
  color: #c0392b;
}
.lt-empty .iq-flash__card {
  margin-bottom: 10px;
}
.admin-body { padding: 22px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.card { background: #fff; border-radius: 14px; padding: 16px; }
.card b { display: block; font-size: 26px; }
a.card { color: inherit; }
.table-wrap { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(23, 24, 28, .04); overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-size: 12px; color: var(--muted); }
.chk-col { width: 36px; text-align: center; }
.chk-col input { margin: 0 auto; }
.btn { display: inline-flex; align-items: center; border: 0; border-radius: 8px; padding: 8px 12px; font-weight: 700; cursor: pointer; background: var(--primary); color: #fff; }
.btn[hidden] { display: none !important; }
.btn.ghost { background: #f3f1ec; color: #333; }
.btn.danger { background: #c0392b; }
.fld { display: block; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea { width: 100%; max-width: 480px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  max-width: 18px;
  padding: 0;
  margin: 0;
  border: 0;
  accent-color: var(--primary);
}
.fld-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-weight: 700;
  cursor: pointer;
  width: auto;
}
.perm-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 4px;
}
.perm-list .fld-check {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf9f6;
}
.form-ok { color: #147a5d; font-weight: 700; }
.form-error { color: #c0392b; font-weight: 700; }
.readonly-banner {
  background: #fff6e8;
  border: 1px solid #f0d9a8;
  color: #7a5a18;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.55;
}
.badge { display: inline-flex; padding: 3px 8px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.badge-st-pending { background: #fff4d6; color: #8a6a00; }
.badge-st-paid, .badge-st-preparing { background: #e6f8f2; color: #147a5d; }
.badge-st-shipped, .badge-st-delivered { background: #e8f1ff; color: #2456a6; }
.badge-st-cancelled { background: #f3f3f3; color: #777; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; }
.auth-card { width: min(400px, calc(100% - 32px)); background: #fff; border-radius: 16px; padding: 28px; }
.remember-device {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
  font-weight: 500;
}
.remember-device input {
  margin: 2px 0 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  max-width: 16px;
}
.remember-device span { color: var(--text, #1a1d24); }
.remember-device .remember-warn {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff1f0;
  border: 1px solid #f5c2c0;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.hero-sales-preview {
  margin: 14px 0 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf9f6;
  font-size: 13px;
  line-height: 1.6;
}
.hero-sales-preview p { margin: 0; }
.hero-sales-preview p + p { margin-top: 4px; }
.hero-sales-preview b {
  display: inline;
  font-size: 13px;
}
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.toolbar-filter { display: flex; gap: 8px; align-items: center; }
.toolbar-filter select { width: auto; min-width: 140px; }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.site-ui-modal input[type="file"] { max-width: 100%; }
.thumb-sm { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: #f3f1ec; display: block; }
.img-preview { display: block; max-width: 220px; max-height: 220px; object-fit: contain; border-radius: 12px; background: #f3f1ec; margin: 0 0 10px; }
.form-wide input:not([type="checkbox"]):not([type="radio"]),
.form-wide textarea,
.form-wide select { max-width: 100%; }
.fld-row { display: flex; gap: 8px; align-items: stretch; }
.fld-row input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.fld-row select { flex: 1; width: auto; min-width: 0; max-width: none; }
input[data-comma] { text-align: right; }
.fld-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  max-width: 18px;
  flex: 0 0 18px;
}
.upload-dropzone {
  margin-top: 8px;
  padding: 18px 16px;
  border: 2px dashed #cfd5de;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.upload-dropzone:hover,
.upload-dropzone.is-dragover {
  border-color: var(--primary);
  background: #eefaf6;
}
.upload-dropzone__title { margin: 0 0 4px; font-weight: 800; }
.upload-dropzone__hint { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.upload-dropzone__file { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--primary); word-break: break-all; }
.upload-dropzone .img-preview { margin: 0 auto 12px; }
.site-ui-modal .upload-dropzone { margin-top: 14px; }
@media (max-width: 900px) {
  .cards, .grid-2 { grid-template-columns: 1fr 1fr; }
  body.mode-app { height: auto; overflow: auto; }
  .admin-shell { height: auto; min-height: 100vh; flex-direction: column; }
  .sidebar { width: 100%; height: auto; }
  .sidebar nav { overflow: visible; flex: none; }
  .admin-main { overflow: visible; }
}

.ov { max-width: 1180px; }
.ov-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: -4px 0 16px;
}
.ov-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.ov-back::before { content: "←"; }
.ov-back:hover { color: var(--text); }
.ov-toast {
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e6f8f2;
  color: #147a5d;
  font-weight: 800;
  font-size: 13px;
}
.ov-steps {
  list-style: none;
  display: flex;
  margin: 0 0 12px;
  padding: 18px 10px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .04);
}
.ov-steps li {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ov-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 7px;
  left: calc(50% + 12px);
  right: calc(-50% + 12px);
  height: 2px;
  background: #e6e2da;
}
.ov-steps li.is-done:not(:last-child)::after,
.ov-steps li.is-now:not(:last-child)::after { background: var(--primary); }
.ov-steps__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e6e2da;
  box-shadow: 0 0 0 4px #fff;
  position: relative;
  z-index: 1;
}
.ov-steps li.is-done .ov-steps__dot { background: var(--primary); }
.ov-steps li.is-now .ov-steps__dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(42, 184, 148, .28);
}
.ov-steps__label {
  font-size: 12px;
  font-weight: 800;
  color: #9a958c;
  letter-spacing: -.02em;
}
.ov-steps li.is-done .ov-steps__label,
.ov-steps li.is-now .ov-steps__label { color: var(--text); }
.ov-cancelled {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0d4d2;
}
.ov-cancelled strong { display: block; }
.ov-cancelled span { color: var(--muted); font-size: 12px; }
.ov-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.ov-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}
.ov-main, .ov-aside { display: flex; flex-direction: column; gap: 16px; }
.ov-aside { position: sticky; top: 16px; }
.ov-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .04);
}
.ov-card--action {
  background: linear-gradient(180deg, #f3fbf8 0%, #fff 56%);
  border: 1px solid #cfeedf;
}
.ov-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.ov-card__head h2,
.ov-card--action h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -.02em;
}
.ov-card__head span { color: var(--muted); font-size: 12px; font-weight: 700; }
.ov-card__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--primary-alt);
  text-transform: uppercase;
}
.ov-card--action p { margin: 0 0 14px; color: var(--muted); line-height: 1.5; }
.ov-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3f1ec;
  color: #444;
  font-size: 12px;
  font-weight: 800;
}
.ov-items { list-style: none; margin: 0; padding: 0; }
.ov-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.ov-item:first-child { padding-top: 0; border-top: 0; }
.ov-item__thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
}
.ov-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ov-item__name { margin: 0 0 4px; font-weight: 800; }
.ov-item__sub { margin: 0; color: var(--muted); font-size: 12px; }
.ov-item__sum { font-size: 14px; }
.ov-item__reships {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ov-item__reships li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #7a4a12;
}
.ov-item__reship-note { color: var(--muted); font-weight: 600; }
.ov-reship-btn {
  margin-top: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  background: #e24b3d;
  color: #fff;
}
.ov-reship-btn:hover {
  background: #c0392b;
}
.ov-reship-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff6ed;
  border: 1px solid #f3d5b5;
  color: #7a4a12;
}
.ov-reship-banner strong { font-size: 13px; }
.ov-reship-link {
  border: 0;
  background: transparent;
  color: var(--primary-alt);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ol-reship {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 99px;
  background: #fff1e6;
  color: #c05612;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
  vertical-align: middle;
  margin-left: 6px;
}
.ov-rows { display: flex; flex-direction: column; gap: 10px; }
.ov-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.ov-row b { color: var(--text); font-weight: 700; }
.ov-row.is-minus b { color: #c0392b; }
.ov-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #17181c;
  color: #fff;
}
.ov-total span { display: block; font-size: 12px; color: #a8adb8; margin-bottom: 4px; }
.ov-total strong { font-size: 22px; letter-spacing: -.03em; }
.ov-total p { margin: 0; color: #8ee0c6; font-size: 13px; font-weight: 800; }
.ov-tid, .ov-bank { margin: 12px 0 0; color: var(--muted); font-size: 12px; word-break: break-all; }
.ov-bank span { color: #9a958c; }
.ov-toast.is-error { background: #fff2f2; color: #c0392b; }
.ov-pg {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.ov-pg__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.ov-pg__head h3 { margin: 0; font-size: 14px; }
.ov-pg__head span { font-size: 12px; color: var(--muted); font-weight: 700; }
.ov-pg-empty { margin: 0; color: var(--muted); font-size: 13px; }
.ov-pg-tx {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf9f6;
  margin-bottom: 10px;
}
.ov-pg-tx.is-ok { border-color: #cde9df; background: #f4fbf8; }
.ov-pg-tx.is-fail { border-color: #f3c8c4; background: #fff7f6; }
.ov-pg-tx.is-partial { border-color: #f3d5b5; background: #fff8f0; }
.ov-pg-tx.is-cancel { background: #f6f6f6; }
.ov-pg-tx__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.ov-pg-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  background: #eee;
  color: #555;
}
.ov-pg-badge--ok { background: #e6f8f2; color: #147a5d; }
.ov-pg-badge--fail { background: #fde8e6; color: #c0392b; }
.ov-pg-badge--partial { background: #fff1e6; color: #c05612; }
.ov-pg-badge--wait { background: #fff4d6; color: #8a6a00; }
.ov-pg-badge--cancel { background: #f3f3f3; color: #777; }
.ov-pg-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }
.ov-row--wrap { align-items: flex-start; }
.ov-row--wrap b { font-weight: 700; white-space: pre-wrap; word-break: break-word; }
.ov-pg-cancel {
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #e2b4ae;
  border-radius: 12px;
  background: #fffafa;
}
.ov-pg-cancel__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
}
.ov-pg-cancel__head strong { font-size: 13px; }
.ov-pg-cancel__head span { font-size: 12px; color: var(--muted); font-weight: 700; }
.ov-pg-modes {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
}
.ov-pg-modes legend {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 8px;
}
.ov-pg-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  cursor: pointer;
}
.ov-pg-refund { margin-top: 4px; }
.ov-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ov-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #17181c;
  color: #fff;
  font-weight: 800;
}
.ov-who__name { margin: 0 0 2px; font-weight: 800; }
.ov-who__id { margin: 0; font-size: 12px; color: var(--muted); }
.ov-who__id a { color: var(--primary-alt); font-weight: 700; }
.ov-info { display: flex; flex-direction: column; gap: 12px; }
.ov-info__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}
.ov-info__row span { color: var(--muted); font-size: 12px; font-weight: 700; padding-top: 2px; }
.ov-info__row b { font-weight: 700; line-height: 1.45; word-break: keep-all; }
.ov-info__row--addr b { word-break: break-word; }
.ov-copy {
  border: 0;
  background: #f3f1ec;
  color: #333;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.ov-copy:hover { background: #e8e4db; }
.ov-copy.is-done { background: #e6f8f2; color: #147a5d; }
.ov-track {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.ov-track li {
  position: relative;
  padding: 0 0 14px 16px;
  border-left: 2px solid #e6e2da;
}
.ov-track li:last-child { padding-bottom: 0; }
.ov-track time { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.ov-btn-block { width: 100%; justify-content: center; padding: 11px 14px; }
@media (max-width: 980px) {
  .ov-grid { grid-template-columns: 1fr; }
  .ov-aside { position: static; }
}
@media (max-width: 640px) {
  .ov-steps { overflow-x: auto; padding: 16px 8px 14px; }
  .ov-steps__label { font-size: 11px; }
  .ov-item { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .ov-item__thumb { width: 48px; height: 48px; }
  .ov-info__row { grid-template-columns: 64px minmax(0, 1fr); }
  .ov-copy { justify-self: start; }
}

.ol { width: 100%; max-width: none; }
.ol-stats {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.ol-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .04);
  position: relative;
  overflow: hidden;
  min-width: 0;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ol-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #d8d3ca;
}
.ol-stat span {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: -.02em;
}
.ol-stat b {
  font-size: 22px;
  letter-spacing: -.04em;
  line-height: 1;
}
.ol-stat:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(23, 24, 28, .06); }
.ol-stat.is-on {
  border-color: #cfeedf;
  box-shadow: 0 8px 22px rgba(42, 184, 148, .12);
}
.ol-stat.is-on span { color: var(--primary-alt); }
.ol-stat--all::before { background: #17181c; }
.ol-stat--pending::before { background: #e3b341; }
.ol-stat--paid::before, .ol-stat--prep::before { background: var(--primary); }
.ol-stat--ship::before, .ol-stat--done::before { background: #4a7fd4; }
.ol-stat--cancel::before { background: #b0b0b0; }
.ol-stat--pending.is-on { border-color: #f3e2a6; box-shadow: 0 8px 22px rgba(227, 179, 65, .14); }
.ol-stat--pending.is-on span { color: #8a6a00; }
.ol-stat--ship.is-on, .ol-stat--done.is-on { border-color: #d5e4fb; box-shadow: 0 8px 22px rgba(74, 127, 212, .12); }
.ol-stat--ship.is-on span, .ol-stat--done.is-on span { color: #2456a6; }
.ol-stat--cancel.is-on { border-color: #e6e2da; box-shadow: 0 8px 22px rgba(23, 24, 28, .06); }
.ol-stat--cancel.is-on span { color: #777; }
.ol-stat--repeat {
  cursor: default;
}
.ol-stat--repeat::before { background: #c0392b; }
.ol-stat--repeat span { color: #c0392b; }
.ol-stat--repeat b { color: #c0392b; }
.ol-stat--repeat:hover { transform: none; box-shadow: 0 1px 2px rgba(23, 24, 28, .04); }
.ol-stat--repeat em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #c0392b;
  letter-spacing: -.02em;
}
.ol-stats.db-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.db-stats .ol-stat {
  padding: 22px 20px 18px;
  border-radius: 18px;
  gap: 10px;
  min-height: 108px;
  justify-content: center;
}
.db-stats .ol-stat::before { width: 4px; }
.db-stats .ol-stat span { font-size: 13px; }
.db-stats .ol-stat b {
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.db-stats .ol-stat b i {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -.02em;
}
.db-insights { display: flex; flex-direction: column; gap: 14px; margin: 0 0 16px; }
.db-insights__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.db-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .04);
  overflow: hidden;
  min-width: 0;
}
.db-panel__hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
}
.db-panel__hd strong {
  display: block;
  font-size: 15px;
  letter-spacing: -.02em;
}
.db-panel__hd span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.db-panel__link {
  flex-shrink: 0;
  color: var(--primary-alt);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
  padding-top: 2px;
}
.db-panel__link:hover { text-decoration: underline; }
.db-kpi {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 14px 18px 4px;
}
.db-kpi--compact { gap: 14px 20px; padding-top: 12px; }
.db-kpi__item span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.db-kpi__item b {
  font-size: 20px;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.db-kpi__item b i {
  font-style: normal;
  margin-left: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.db-kpi__item--sales b { color: var(--primary-alt); }
.db-kpi__item b.is-live { color: #16a34a; }
.db-panel__bd {
  position: relative;
  height: 220px;
  padding: 8px 14px 4px;
}
.db-panel__bd--hero { height: 280px; }
.db-panel--hero canvas { cursor: pointer; }
.db-panel__cap {
  margin: 0;
  padding: 0 18px 14px;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.45;
}
#db-list { scroll-margin-top: 12px; }
.db-list__pager {
  padding: 4px 18px 18px;
  margin-bottom: 0;
}
.db-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #E53935;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(229, 57, 53, .38);
  cursor: pointer;
  animation: db-top-float 1.8s ease-in-out infinite;
}
.db-top:hover {
  background: #C62828;
  animation-play-state: paused;
}
.db-top[hidden] { display: none !important; }
@keyframes db-top-float {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(229, 57, 53, .34);
  }
  50% {
    transform: translateY(-10px);
    box-shadow: 0 18px 28px rgba(229, 57, 53, .48);
  }
}
@media (prefers-reduced-motion: reduce) {
  .db-top { animation: none; }
}
.mp-card {
  width: min(920px, 96vw) !important;
  min-height: min(640px, 86vh);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
}
.mp-card .site-ui-modal__body {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
}
.mp-who { margin: 0 0 14px; font-size: 15px; font-weight: 800; color: #17181c; }
.mp-amt {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
}
.mp-amt:focus { outline: 2px solid rgba(42, 184, 148, .28); border-color: var(--primary); }
.mp-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.mp-form { margin: 0 0 18px; flex: 0 0 auto; }
.mp-hist {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fafaf8;
  flex: 1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.mp-hist__head { display: flex; align-items: baseline; gap: 8px; padding: 12px 16px 10px; flex: 0 0 auto; }
.mp-hist__head strong { font-size: 14px; letter-spacing: -.02em; }
.mp-hist__head span { color: var(--muted); font-size: 12px; font-weight: 600; }
.mp-hist__empty { margin: 0; padding: 48px 16px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; flex: 1; }
.mp-hist .table-wrap { flex: 1; overflow: auto; min-height: 0; }
.mp-hist table { width: 100%; table-layout: fixed; background: #fff; }
.mp-hist th, .mp-hist td { padding: 11px 14px; vertical-align: middle; font-size: 14px; }
.mp-hist th { font-weight: 800; letter-spacing: -.01em; color: #475569; background: #f4f2ee; border-bottom: 1px solid var(--line); }
.mp-hist td { border-top: 1px solid #eeeae3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-h-when { width: 22%; }
.mp-h-why { width: 42%; }
.mp-h-amt, .mp-h-bal { width: 18%; text-align: right; font-variant-numeric: tabular-nums; }
.mp-amt-plus { color: #147a5d; font-weight: 800; }
.mp-amt-minus { color: #c0392b; font-weight: 800; }
.mp-bal { font-weight: 800; color: #17181c; }
.ol-stat--members::before { background: #4a7fd4; }
.ol-stat--members.is-on { border-color: #d5e4fb; box-shadow: 0 8px 22px rgba(74, 127, 212, .12); }
.ol-stat--members.is-on span { color: #2456a6; }
.ol-stat--sales::before { background: #147a5d; }
.ol-stat--sales.is-on { border-color: #cfeedf; box-shadow: 0 8px 22px rgba(42, 184, 148, .12); }
.ol-stat--sales.is-on span { color: var(--primary-alt); }
.ol-stat--inq::before { background: #e67e22; }
.ol-stat--inq.is-on { border-color: #f8d9b8; box-shadow: 0 8px 22px rgba(230, 126, 34, .14); }
.ol-stat--inq.is-on span { color: #b45a0c; }
.ol-stat--review::before { background: #E09432; }
.ol-stat--review.is-on { border-color: #f3e2a6; box-shadow: 0 8px 22px rgba(224, 148, 50, .14); }
.ol-stat--review.is-on span { color: #8a6a00; }
.ol-stat--counter::before { background: var(--primary); }
.ol-stat--counter b {
  font-size: 16px;
  white-space: nowrap;
}
.ol-stat--counter b i {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  margin: 0 4px;
  font-size: 13px;
}
.ol-stat--ad::before { background: #8b6cc9; }
.lt-head-link {
  margin-left: auto;
  color: var(--primary-alt);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.lt-head-link:hover { text-decoration: underline; }
.lt-head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lt-head-actions .lt-head-link { margin-left: 0; }
.lt-head-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ol-who {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ol-repeat {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 99px;
  background: #fdecea;
  color: #c0392b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.lt-bar, .ol-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
}
.lt-search, .ol-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: min(100%, 360px);
  max-width: 560px;
  position: relative;
}
.lt-search__icon, .ol-search__icon {
  position: absolute;
  left: 12px;
  color: #9a958c;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.lt-search input[type="search"],
.ol-search input[type="search"] {
  flex: 1;
  max-width: none;
  padding-left: 36px;
  padding-right: 36px;
  background: #fff;
  border-color: #e6e2da;
}
.lt-search--wide { max-width: 720px; }
.lt-search select {
  width: auto;
  min-width: 120px;
  max-width: 160px;
  background: #fff;
}
.lt-search--wide input[type="search"] { padding-left: 12px; }
.lt-bar--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.lt-search--filters {
  max-width: none;
  flex-wrap: wrap;
  position: relative;
}
.lt-search--filters select {
  min-width: 108px;
  max-width: 140px;
}
.lt-search--filters input[type="search"] {
  flex: 1 1 220px;
  min-width: 180px;
  padding-left: 12px;
  padding-right: 36px;
}
.lt-search--filters .lt-search__clear {
  position: static;
  flex: 0 0 auto;
}
.lt-date {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.lt-date span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.lt-search input[type="date"],
.ol-search input[type="date"] {
  width: 148px;
  max-width: none;
  flex: 0 0 auto;
  background: #fff;
  border-color: #e6e2da;
}
.lt-search input[type="date"]:focus,
.ol-search input[type="date"]:focus {
  outline: 2px solid rgba(42, 184, 148, .28);
  border-color: var(--primary);
}
.ol-search--filters {
  max-width: none;
  flex-wrap: wrap;
  min-width: 0;
}
.ol-search--filters select {
  width: auto;
  min-width: 108px;
  max-width: 140px;
  background: #fff;
  border-color: #e6e2da;
}
.ol-search--filters select:focus {
  outline: 2px solid rgba(42, 184, 148, .28);
  border-color: var(--primary);
}
.ol-search--filters .ol-search__field {
  position: relative;
  flex: 1 1 220px;
  min-width: 180px;
  display: flex;
  align-items: center;
}
.ol-search--filters input[type="search"] {
  padding-left: 36px;
  padding-right: 36px;
}
.ol-search--filters .ol-search__icon {
  left: 12px;
}
.ol-search--filters .ol-search__clear {
  position: absolute;
  right: 8px;
}
.ol-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.ol-chart-card { margin-bottom: 14px; }
.ms-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ms-preset {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #444;
}
.ms-preset:hover { border-color: var(--primary); color: var(--primary-alt); }
.ms-preset.is-on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.ms-chart-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .04);
  overflow: hidden;
  margin: 0 0 14px;
}
.ms-chart-card__hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 14px 18px 0;
}
.ms-chart-card__hd strong { font-size: 14px; letter-spacing: -.02em; }
.ms-chart-card__hd span { color: var(--muted); font-size: 12px; font-weight: 600; }
.ms-chart-card__bd {
  position: relative;
  height: 280px;
  padding: 8px 14px 4px;
}
.ms-chart-card canvas { cursor: pointer; }
.ms-chart-card--rank .ms-chart-card__bd {
  height: 320px;
}
.pd-hot .ms-chart-card__hd {
  align-items: center;
  gap: 10px;
}
.pd-hot__period {
  display: inline-flex !important;
  align-items: center;
  margin-top: 0 !important;
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 99px;
  background: #f3f1ec;
  border: 1px solid var(--line);
  color: #333 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.pd-hot__filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 18px 4px;
}
.pd-hot__dates {
  flex: 1 1 280px;
  margin: 0;
  min-width: 0;
}
.pd-hot__dates .btn {
  height: 36px;
}
.pd-hot__kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 8px;
}
.pd-hot__kpi-item {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #faf9f6;
}
.pd-hot__kpi-item span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.pd-hot__kpi-item b {
  display: block;
  font-size: 20px;
  letter-spacing: -.04em;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pd-hot__kpi-item b i {
  font-style: normal;
  margin-left: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.pd-hot__kpi-item--qty {
  background: #e6f8f2;
  border-color: #cfeedf;
}
.pd-hot__kpi-item--qty b { color: #147a5d; }
.pd-hot__kpi-item--sales {
  background: #eef2ff;
  border-color: #d9e2ff;
}
.pd-hot__kpi-item--sales b { color: #2456a6; }
.pd-hot__kpi-item--orders {
  background: #fff8e8;
  border-color: #f0e0b8;
}
.pd-hot__kpi-item--orders b { color: #8a6a00; }
.pd-hot__kpi-item--top {
  background: #fdecea;
  border-color: #f8d0cb;
}
.pd-hot__kpi-item--top b {
  font-size: 16px;
  color: #c62828;
}
.pd-hot__bd { height: 280px; }
.pd-hot__empty { padding: 36px 20px; }
.lt-table tr.is-hot td { background: #fff4f0; }
@media (max-width: 980px) {
  .pd-hot__kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-hot__period { margin-left: 0; }
  .pd-hot__filter { padding-left: 14px; padding-right: 14px; }
}
.ms-chart-card__cap {
  margin: 0;
  padding: 0 18px 14px;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.45;
}
@media (max-width: 768px) {
  .ms-chart-card__bd { height: 240px; }
  .ms-chart-card--rank .ms-chart-card__bd { height: 280px; }
  .lt-search input[type="date"],
  .ol-search input[type="date"] { width: 132px; }
}
.lt-search input[type="search"]:focus,
.ol-search input[type="search"]:focus,
.lt-search select:focus {
  outline: 2px solid rgba(42, 184, 148, .28);
  border-color: var(--primary);
}
.lt-search__clear, .ol-search__clear {
  position: absolute;
  right: 76px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3f1ec;
  color: #727272;
  font-size: 16px;
  line-height: 1;
}
.lt-search__clear:hover, .ol-search__clear:hover { background: #e8e4db; color: #222; }
.lt-actions, .ol-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ol-actions .btn { gap: 6px; }
.ol-btn-count {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.22);
  font-size: 11px;
  font-weight: 800;
}
.btn.ghost .ol-btn-count { background: #17181c; color: #fff; }
.ol-flow {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff8e8;
  color: #7a5a18;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.ol-flow b { font-weight: 800; }
.ol-excel-card { width: min(760px, 100%) !important; }
.ol-excel-empty { margin: 12px 0 4px; color: var(--muted); font-size: 13px; text-align: center; }
.ol-excel-table { margin-top: 12px; border: 1px solid var(--line, #ece8e1); border-radius: 12px; overflow: auto; max-height: 52vh; }
.ol-excel-table table { width: 100%; table-layout: fixed; }
.ol-excel-table th, .ol-excel-table td { padding: 10px 10px; font-size: 13px; vertical-align: middle; }
.ol-ex-when { width: 22%; }
.ol-ex-name { width: 38%; }
.ol-ex-cnt { width: 12%; }
.ol-ex-st { width: 14%; }
.ol-ex-act { width: 14%; }
.ol-ex-file {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #17181c;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ol-ex-file:hover { color: var(--primary); text-decoration: underline; }
.ol-flash { margin: 0 0 12px; }
.lt-card, .ol-table-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .04);
  overflow: hidden;
}
.lt-head, .ol-table-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 0;
}
.lt-head strong, .ol-table-head strong { font-size: 14px; letter-spacing: -.02em; }
.lt-head span, .ol-table-head span { color: var(--muted); font-size: 12px; font-weight: 600; }
.lt-table, .ol-table { border-radius: 0; box-shadow: none; }
.lt-table table, .ol-table table {
  width: 100%;
  table-layout: fixed;
}
.lt-table th,
.lt-table td,
.ol-table th,
.ol-table td {
  padding: 10px 10px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lt-table th, .ol-table th { font-weight: 800; letter-spacing: -.01em; }
.lt-table .chk-col { width: 36px; overflow: visible; }
.lt-num { text-align: right; font-variant-numeric: tabular-nums; }
.lt-name { font-weight: 800; }
.lt-muted { color: var(--muted); font-size: 12px; font-weight: 700; }
.lt-when { font-weight: 800; }
.lt-when span { color: var(--muted); font-weight: 600; }
.lt-col-act { overflow: visible; }
.lt-col-act .btn, .lt-col-act .lt-inline { vertical-align: middle; }
.lt-col-act form { display: inline-flex; }
.lt-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lt-inline input:not([type="checkbox"]):not([type="radio"]) {
  width: 88px;
  max-width: 88px;
  padding: 6px 8px;
}
.lt-inline .btn { padding: 6px 10px; }
.lt-thumb { width: 56px; overflow: visible; }
.mb-col-no { width: 7%; font-variant-numeric: tabular-nums; }
.mb-col-name { width: 10%; }
.mb-col-login { width: 12%; }
.mb-col-phone { width: 13%; }
.mb-col-point { width: 10%; }
.mb-col-when { width: 10%; }
.mb-col-st { width: 8%; }
.mb-col-act { width: 20%; }
.pd-col-name { width: 20%; }
.pd-col-price { width: 9%; }
.pd-col-ship { width: 7%; }
.pd-col-point { width: 7%; }
.pd-col-stock { width: 6%; }
.pd-col-sold { width: 7%; }
.pd-col-rate { width: 7%; }
.pd-col-sort { width: 5%; }
.pd-col-st { width: 7%; }
.pd-col-act { width: 14%; }
.rv-col-when { width: 14%; }
.rv-col-rate { width: 14%; }
.rv-col-title { width: 36%; }
.rv-col-who { width: 14%; }
.rv-col-opt { width: 22%; }
.rv-stars {
  display: inline-flex;
  letter-spacing: 1px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}
.rv-stars__on { color: #E09432; }
.rv-stars__off { color: #ddd6cc; }
.rv-row { cursor: pointer; transition: background .12s ease; }
.rv-row:hover { background: #faf9f6; }
.rv-photo-mark {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eef8f4;
  color: var(--primary-alt);
  font-size: 11px;
  font-weight: 800;
  vertical-align: 1px;
}
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.review-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, .5);
}
.review-modal__card {
  position: relative;
  width: min(640px, 100%);
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  overflow: hidden;
}
.review-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-alt));
}
.review-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.review-modal__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.review-modal__meta {
  padding: 12px 18px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.review-modal__meta .rv-stars { margin-left: 8px; vertical-align: -1px; }
.review-modal__scroll {
  padding: 12px 18px 8px;
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.review-modal__body {
  margin: 0;
  color: #222;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.review-modal__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.review-modal__photos:empty { display: none; }
.review-modal__photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  background: #f6f3ee;
}
.review-modal__actions {
  display: flex;
  gap: 10px;
  padding: 16px 18px 18px;
}
.review-modal__actions .btn { flex: 1; }
@media (max-width: 720px) {
  .review-modal__photos { grid-template-columns: minmax(0, 1fr); }
  .review-modal__photos img { height: 200px; }
}
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px 0 18px;
}
.pager__btn,
.pager__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.pager__btn:hover,
.pager__num:hover {
  border-color: var(--primary);
  color: var(--primary-alt);
}
.pager__num.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pager__btn.is-disabled {
  opacity: .4;
  pointer-events: none;
}
.pager__ellipsis {
  color: var(--muted);
  padding: 0 4px;
}
.iq-col-sub { width: 20%; }
.iq-col-who { width: 10%; }
.iq-col-phone { width: 12%; }
.iq-col-st { width: 8%; }
.iq-col-when { width: 10%; }
.iq-col-ans { width: 40%; overflow: visible; }
.iq-col-ans .lt-inline input:not([type="checkbox"]) { width: 100%; max-width: none; flex: 1; }
.iq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px 16px;
}
.iq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px 14px;
  background: #faf9f6;
}
.iq-item.is-done { background: #fff; }
.iq-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.iq-item__title {
  min-width: 0;
  flex: 1;
}
.iq-item__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 0 6px;
}
.iq-item__title-row > input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 16px;
  align-self: center;
  vertical-align: middle;
  accent-color: var(--primary);
}
.iq-item__title-row h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -.02em;
  min-width: 0;
}
.iq-item__title.has-pick .iq-item__meta {
  padding-left: 24px;
}
.iq-item__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  line-height: 1.25;
  min-height: 20px;
}
.iq-item__del {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 3px 8px;
  border: 0;
  border-radius: 99px;
  background: #fdecea;
  color: #c0392b;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.iq-item__del:hover {
  background: #f8d0cb;
}
.iq-item__del[hidden] {
  display: none !important;
}
.iq-item__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.iq-item__msg {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
  font-weight: 500;
  color: #222;
}
.iq-item__ans .fld {
  margin-top: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.iq-item__ans .fld .lt-when {
  font-size: 12px;
  font-weight: 700;
}
.iq-item__ans textarea {
  max-width: none;
  min-height: 96px;
  resize: vertical;
  background: #fff;
}
.iq-item__ans .btn { margin-top: 10px; }
.iq-name {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: var(--primary-alt);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.iq-name:hover { color: var(--primary); }
.iq-orders-card {
  width: min(640px, 96vw) !important;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
}
.iq-orders-card .site-ui-modal__body {
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.iq-orders-who {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: #17181c;
}
.iq-orders-empty p { margin: 24px 0; text-align: center; color: var(--muted); font-weight: 700; }
.iq-orders-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.iq-order {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
}
.iq-order:hover { border-color: var(--primary); background: #f7fffb; }
.iq-order__no { font-weight: 800; letter-spacing: -.02em; }
.iq-order__goods { font-size: 13px; font-weight: 600; color: #333; }
.iq-order__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.rs-card { width: min(420px, 94vw) !important; max-height: 86vh; display: flex; flex-direction: column; }
.rs-card .site-ui-modal__body { overflow: auto; flex: 1; min-height: 0; padding-bottom: 8px; }
.rs-product {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6fbf8;
  font-weight: 800;
}
.rs-reasons {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rs-reasons legend {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
}
.rs-reason {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
}
.rs-card textarea { width: 100%; min-height: 56px; resize: vertical; }
.iq-item__replies {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}
.iq-item__reply-label {
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #1e9a7c;
}
.iq-item__reply-label .lt-when {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.iq-item__reply-body {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4fbf8;
  border: 1px solid #d7f0e8;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
  font-weight: 500;
}
.iq-item__more { margin-top: 2px; }
.iq-item__more.is-open > [data-inquiry-more-open] { display: none; }
.iq-item__more-act {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.iq-item__more-act .btn { margin-top: 0; }
.mg-col-id { width: 16%; }
.mg-col-name { width: 14%; }
.mg-col-phone { width: 16%; }
.mg-col-role { width: 22%; }
.mg-col-st { width: 10%; }
.mg-col-act { width: 22%; overflow: visible; }
.meta-mode { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 8px; }
.meta-mode .fld-check { margin: 0; }
.meta-send-guide li { margin: 0 0 4px; }
.meta-send-grid { margin-bottom: 18px; align-items: start; }
.ms-col-when { width: 10%; }
.ms-col-kind { width: 8%; }
.ms-col-st { width: 8%; }
.ms-col-ev { width: 13%; }
.ms-col-name { width: 16%; }
.ms-col-amt { width: 9%; }
.ms-col-who { width: 10%; }
.ms-col-ip { width: 13%; font-variant-numeric: tabular-nums; font-size: 12px; letter-spacing: -.02em; }
.ms-col-act { width: 9%; overflow: visible; }
.sms-col-when { width: 14%; }
.sms-col-st { width: 10%; }
.sms-col-who { width: 10%; }
.sms-col-amt { width: 10%; }
.sms-col-no { width: 14%; }
.sms-col-txt { width: 42%; }
.db-col-no { width: 28%; }
.db-col-st { width: 18%; }
.db-col-pay { width: 22%; }
.db-col-when { width: 32%; }
.ol-table .chk-col { width: 36px; overflow: visible; }
.ol-col-no { width: 10%; }
.ol-col-goods { width: 15%; }
.ol-col-who { width: 6%; font-weight: 800; }
.ol-col-recv { width: 6%; }
.ol-col-phone { width: 9%; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ol-col-st { width: 7%; }
.ol-col-pay { width: 7%; color: var(--muted); font-size: 12px; font-weight: 700; }
.ol-col-ship { width: 23%; }
.ol-table th.ol-col-ship,
.ol-table td.ol-col-ship {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  min-width: 210px;
}
.ol-num { width: 8%; text-align: right; }
.ol-col-when { width: 8%; font-weight: 800; }
.ol-row { cursor: pointer; transition: background .12s ease; }
.ol-row:hover { background: #faf9f6; }
.ol-row .chk-col,
.ol-row .chk-col * { cursor: default; }
.ol-detail-card {
  width: min(1080px, 96vw) !important;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.ol-detail-card .site-ui-modal__body {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 16px 18px 12px;
}
.ol-detail-card .ov { margin: 0; }
.ol-detail-card .ov-aside { position: static; }
.ol-detail-card .ov-toast { margin: 0 0 12px; }
.ol-ono {
  font-weight: 800;
  letter-spacing: -.02em;
  color: #17181c;
}
.ol-ono:hover { color: var(--primary-alt); }
.ol-goods { color: #333; font-size: 13px; font-weight: 600; }
.ol-goods em { font-style: normal; color: var(--primary-alt); font-weight: 800; }
.ol-goods span { color: var(--muted); font-weight: 700; }
.ol-ship {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  line-height: inherit;
  vertical-align: baseline;
}
.ol-ship-meta {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: baseline;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.ol-ship-co { color: #555; }
.ol-ship-st { color: var(--primary-alt); }
.ol-ship-track {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: inherit;
  color: #17181c;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(23, 24, 28, .28);
}
.ol-ship-track:hover { color: var(--primary-alt); text-decoration-color: currentColor; }
.ol-ship-track--static {
  cursor: default;
  text-decoration: none;
}
.ol-ship-input {
  width: 11.2em;
  min-width: 108px;
  max-width: 132px;
  height: 22px;
  margin: 0;
  padding: 0 6px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: #17181c;
  vertical-align: middle;
}
.ol-ship-input.is-saving { opacity: .65; }
.ol-num strong { font-size: 14px; letter-spacing: -.03em; }
.ol-num span { margin-left: 1px; color: var(--muted); font-size: 12px; font-weight: 700; }
.ol-col-when span { color: var(--muted); font-weight: 600; }
.lt-empty, .ol-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 20px;
}
.lt-empty__mark, .ol-empty__mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 50% 46%, #fff 0 7px, transparent 8px),
    linear-gradient(180deg, #e6f8f2, #d8f0e8);
  box-shadow: inset 0 0 0 2px #cfeedf;
}
.lt-empty__title, .ol-empty__title { margin: 0 0 6px; font-weight: 800; }
.lt-empty__hint, .ol-empty__hint { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.lt-sel, .ol-sel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #17181c;
  color: #fff;
}
.lt-sel[hidden], .ol-sel[hidden] { display: none; }
.lt-sel span, .ol-sel span { font-size: 13px; font-weight: 800; }
.lt-sel-actions, .ol-sel-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lt-sel .btn.danger, .ol-sel .btn.danger { background: #e24b3d; }
@media (max-width: 1100px) {
  .ol-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ol-stats.db-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .db-insights__split { grid-template-columns: 1fr; }
  .db-panel__bd--hero { height: 240px; }
}
@media (max-width: 980px) {
  .ol-stats.db-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ol-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ol-stats.db-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ol-stat { padding: 12px; }
  .ol-stat b { font-size: 18px; }
  .db-stats .ol-stat { min-height: 88px; padding: 16px 14px; }
  .db-stats .ol-stat b { font-size: 24px; }
  .ol-stat--counter b { font-size: 14px; }
  .lt-search, .ol-search { max-width: none; }
  .lt-search__clear, .ol-search__clear { right: 76px; }
  .lt-head { flex-wrap: wrap; }
  .lt-head-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    padding: 0 0 10px;
  }
  .db-top { right: 16px; bottom: 16px; }
}
