:root {
  --brand: #0068B6;
  --brand-dark: #004E86;
  --ink: #2C2C2C;
  --ink-logo: #111111;
  --line: #111111;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --muted: #6b7c90;
  --border: #e5eaf0;
  --card-gap: 26px;
}
* { box-sizing: border-box; }
html, body, select, input, textarea, button { margin: 0; font: 12px 'Nanum Gothic', NanumGothic, 'Malgun Gothic', 'dotum', sans-serif; color: #666; }
html, body { padding: 0; background: var(--bg); }
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
#wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.b2b-main { flex: 1; width: 100%; margin: 0; padding: 20px 16px 48px; }
.b2b-header { position: relative; z-index: 40; background: #fff; border-bottom: 1px solid #eee; overflow: visible; }
.b2b-header__mobilebar { display: none; background: var(--brand); color: #fff; align-items: center; justify-content: space-between; padding: 8px 10px; min-height: 52px; box-sizing: border-box; }
.b2b-header__mlogo { display: flex; align-items: center; gap: 8px; color: #fff; }
.b2b-header__mlogo img { height: 26px; width: auto; max-width: 168px; }
.b2b-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: #F8FAFC;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.b2b-header__toggle:hover { border-color: #D1D5DB; background: #EEF2F6; }
.b2b-header__toggle:active { transform: scale(.97); background: #E8EDF3; }
.b2b-header__toggle .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #2C2C2C;
  border-radius: 50%;
}
.b2b-header__toggle[aria-expanded='true'] { background: #EEF2F6; border-color: #D1D5DB; }
#b2b_side_menu_backdrop,
#b2b_side_menu { display: none; }
.logo_zone { width: 100%; margin: 0; position: relative; height: 115px; padding: 0 16px; display: flex; align-items: flex-start; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding-top: 0; }
.logo img { display: block; margin-top: 42px; height: 28px; width: auto; max-width: 210px; }
.b2b-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: 0.04em; padding: 2px 7px; border-radius: 4px; }
.logo .b2b-badge { margin-top: 42px; }
.b2b-header__mlogo .b2b-badge { background: #fff; color: var(--brand); }
.pc-auth-float { margin-left: auto; display: flex; gap: 8px; align-items: center; font-size: 12px; flex-shrink: 0; padding-top: 42px; }
.pc-auth-float a { border: 1px solid var(--line); padding: 0 14px; height: 38px; line-height: 38px; border-radius: 12px; font-weight: 700; font-size: 13px; box-sizing: border-box; }
.pc-auth-float a.mypage_btn { background: var(--brand); color: #fff; border-color: var(--brand); }
.pc-auth-float .who { color: var(--muted); margin-right: 6px; }
.b2b-nav {
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  background: #F3F4F6;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #dde1e7;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  overflow: visible;
}
.b2b-nav__links {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}
.b2b-nav a { padding: 0 18px; height: 42px; line-height: 42px; font-size: 13px; font-weight: 700; color: #333; border-bottom: 3px solid transparent; }
.b2b-nav a.is-on, .b2b-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); background: #fff; }
.b2b-header__mtools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.b2b-manual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 0 0 0 8px;
  flex-shrink: 0;
  z-index: 20;
}
.b2b-manual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
}
.b2b-manual:hover { background: var(--brand-dark); }
.b2b-manual__tip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1400;
  padding: 8px 12px;
  border-radius: 6px;
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}
.b2b-manual__tip[hidden] { display: none !important; }
.b2b-manual__tip::before {
  content: '';
  position: absolute;
  top: -4px;
  right: 18px;
  width: 8px;
  height: 8px;
  background: #1f2937;
  transform: rotate(45deg);
}
.b2b-manual-wrap--mobile {
  margin-left: 0;
  padding: 0;
}
.b2b-manual-wrap--mobile .b2b-manual {
  background: #fff;
  color: var(--brand);
}
.b2b-manual-wrap--mobile .b2b-manual:hover { background: #E8F4FC; }
.b2b-manual-wrap--mobile .b2b-manual__tip { right: 0; }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 18px;
  min-height: 30px;
  flex-wrap: wrap;
}
.page-head h1 { margin: 0; padding-top: 11px; font-size: 16px; line-height: 1.2; color: #333; }
.page-head p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: var(--card-gap); }
.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: flex-end;
}
.form-row { display: flex; flex-direction: column; gap: 6px; width: 260px; max-width: 100%; }
.form-row.full { flex: 0 0 100%; width: 100%; max-width: 100%; }
.form-row label { font-size: 12px; font-weight: 700; }
.form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.form-row select, .form-row textarea {
  height: 36px; border: 1px solid #d8e0ea; border-radius: 8px; padding: 0 10px; font-size: 12px;
  width: 100%; max-width: 260px; box-sizing: border-box;
}
.form-row.full input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.form-row.full select { max-width: 360px; }
.form-row--agree { width: 100%; max-width: 100%; }
.form-row--agree .agree-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 700;
  line-height: 1.5;
  max-width: 360px;
  cursor: pointer;
}
.form-row--agree input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid #c8d3df;
  border-radius: 3px;
  accent-color: #0068B6;
  cursor: pointer;
}
.form-row--agree .agree-label span {
  flex: 1 1 auto;
  min-width: 0;
}
.form-row textarea { height: 90px; padding: 10px 12px; max-width: 560px; }
.form-row.full.thumb-field { max-width: 100%; }
.form-row.full.thumb-field .upload-dropzone { max-width: 440px; }
.form-row.full.thumb-field input,
.form-row.full.thumb-field select { max-width: 360px; }
.schedule-datetime-line {
  display: flex;
  align-items: flex-end;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  gap: 10px 12px;
  flex-wrap: wrap;
}
.schedule-datetime-block { flex: 1 1 220px; width: auto; min-width: 220px; max-width: 320px; }
.schedule-datetime-block .lbl {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}
.schedule-datetime-line .tilde {
  flex: 0 0 auto;
  padding-bottom: 10px;
  color: #94a3b8;
  font-weight: 800;
  font-size: 16px;
}
.schedule-datetime-line .tilde--sale {
  color: #cbd5e1;
}
.sched-period {
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
}
.schedule-inline-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.sched-prod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 8px;
}
.sched-prod-head h3 { margin: 0; }
.schedule-inline-row input[name=broadcast_date],
.schedule-inline-row input[name=broadcast_end_date],
.schedule-inline-row input[name=sale_end_date] {
  width: 132px;
  min-width: 132px;
  max-width: 132px;
  flex: 0 0 132px;
  height: 38px;
  text-align: center;
  letter-spacing: 0.4px;
  cursor: pointer;
  background: #fff;
}
.schedule-inline-row select[name=broadcast_hour],
.schedule-inline-row select[name=broadcast_end_hour],
.schedule-inline-row select[name=sale_end_hour] {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  flex: 0 0 88px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid #c8d3df;
  border-radius: 8px;
  font-size: 13px;
  box-sizing: border-box;
  background: #fff;
}
.schedule-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.5;
}
#productPickWrap[hidden],
#dtFields[hidden],
#whHint[hidden],
#prodEmptyRow[hidden],
tr.js-prod[hidden] { display: none !important; }
.already-on { color: var(--muted); font-size: 11px; font-weight: 700; }
#ui-datepicker-div { z-index: 100280 !important; }
.hint { font-size: 12px; color: var(--muted); }
.wh-name-warn {
  margin: 2px 0 0;
  max-width: 560px;
  font-size: 12px;
  font-weight: 800;
  color: #0068B6;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; }
.btn[hidden] { display: none !important; }
.form-row > .btn { align-self: flex-start; width: auto; }
.btn.ghost { background: #fff; color: var(--brand); }
.btn.gray { background: #f5f5f5; color: #333; border-color: #ddd; }
.btn.sm { min-height: 32px; padding: 0 10px; font-size: 12px; border-radius: 6px; }
.sched-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.sched-end-form { display: inline; margin: 0; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row form { margin: 0; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th, table.data td { border-bottom: 1px solid #eef2f6; padding: 10px 8px; text-align: left; white-space: nowrap; }
table.data th { background: #f8fafc; font-size: 12px; }
table.data td.wrap { white-space: normal; }
table.data tr:hover > td {
  background: rgba(0, 104, 182, 0.05);
}
table.data tr.is-clickable { cursor: pointer; }
table.data tr.is-clickable:hover > td,
table.data tr.is-clickable:focus > td {
  background: rgba(0, 104, 182, 0.05);
}
table.data tr.is-clickable:focus { outline: none; }
.thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; background: #f3f4f6; }
.thumb--empty { display: inline-block; }
.sched-modal {
  position: fixed;
  inset: 0;
  z-index: 100250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.sched-modal.is-open { display: flex; }
.sched-modal[hidden] { display: none !important; }
.sched-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.55);
}
.sched-modal__card {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}
.sched-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 13px;
  background: #0068B6;
  flex-shrink: 0;
}
.sched-modal__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.sched-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.sched-modal__close:active { background: rgba(255, 255, 255, 0.45); }
.sched-modal__body {
  padding: 16px 14px 8px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.sched-modal__meta {
  margin: 0 0 12px;
  color: #334b63;
  font-weight: 700;
  line-height: 1.5;
}
.sched-modal__body table.data td strong { color: var(--brand); }
.sched-detail-cards { display: none; }
.sched-item-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
}
.sched-item-card:last-child { border-bottom: 0; }
.sched-item-card .thumb { flex-shrink: 0; }
.sched-item-card__name { font-weight: 800; color: #222; line-height: 1.4; word-break: break-word; }
.sched-item-card__meta { margin-top: 4px; color: var(--muted); }
.sched-item-card__qty { margin-top: 6px; font-weight: 700; }
.sched-item-card__qty em { font-style: normal; color: var(--brand); }
.sched-modal__actions {
  display: flex;
  gap: 8px;
  padding: 8px 14px 14px;
  flex-shrink: 0;
}
.sched-modal__btn {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 7px;
  padding: 12px 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #0068B6;
  color: #fff;
}
.sched-modal__btn--ghost {
  background: #fff2f2;
  color: #004E86;
}
.sched-modal__card--edit { width: min(100%, 480px); }
.sched-modal__card--edit .schedule-datetime-line {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.sched-modal__card--edit .schedule-datetime-line .tilde { display: none; }
.sched-modal__card--edit .schedule-inline-row { width: 100%; }
.sched-modal__card--edit .schedule-inline-row input[name=broadcast_date],
.sched-modal__card--edit .schedule-inline-row input[name=broadcast_end_date],
.sched-modal__card--edit .schedule-inline-row input[name=sale_end_date] {
  flex: 1 1 auto;
  max-width: none;
  width: auto;
}
.sched-edit-form { display: flex; flex-direction: column; min-height: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.filters label { font-size: 12px; font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.filters input, .filters select { height: 38px; border: 1px solid #d8e0ea; border-radius: 8px; padding: 0 10px; max-width: 240px; }
.filters input[data-datepicker] {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  text-align: center;
  letter-spacing: 0.4px;
  cursor: pointer;
  background: #fff;
}
.product-search-field { flex: 1 1 220px; min-width: 200px; }
.product-search-field input {
  width: 100%;
  max-width: none;
  ime-mode: active;
}
.po-history-search {
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: center;
}
.po-history-search__right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
.po-history-search .product-search-field {
  flex: 0 0 400px;
  width: 400px;
  min-width: 400px;
  max-width: 400px;
  margin: 0;
}
.po-history-search .product-search-field input {
  width: 400px;
  max-width: 400px;
}
.po-history-table th {
  text-align: center;
}
.po-history-table th.po-num,
.po-history-table td.po-num {
  text-align: right;
}
.po-history-table th.po-num {
  text-align: center;
}
.po-history-table th.po-dl,
.po-history-table td.po-dl {
  text-align: center;
  width: 128px;
  min-width: 128px;
  white-space: nowrap;
}
.po-history-table td.po-dl .btn {
  margin: 0 auto;
}
body.products .b2b-main { padding-bottom: 140px; }
#idx_sell_floating {
  position: fixed;
  right: 10px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(17, 17, 17, .22);
}
#idx_sell_floating #idx_search_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0068B6 0%, #004E86 100%);
  color: #fff;
  border: 1px solid rgba(0, 104, 182, .28);
  cursor: pointer;
  padding: 0;
  align-self: flex-end;
}
#idx_sell_floating #idx_clear_selection_button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 116px;
  height: 36px;
  padding: 0 12px 0 8px;
  border: 1px solid rgba(0, 104, 182, .22);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7f7 0%, #ffe8e7 100%);
  color: #004E86;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
}
#idx_sell_floating #idx_clear_selection_button .ico {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  background: #0068B6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 5px 10px rgba(0, 104, 182, .26);
  flex-shrink: 0;
}
#idx_sell_floating #idx_clear_selection_button .ico .mark {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  transform: rotate(-28deg);
}
#idx_sell_floating #idx_clear_selection_button .ico .mark:before {
  content: '';
  position: absolute;
  left: 1px;
  top: 2px;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
}
#idx_sell_floating #idx_clear_selection_button .ico .mark:after {
  content: '';
  position: absolute;
  right: 0;
  top: 1px;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #fff;
  transform: rotate(18deg);
}
#idx_sell_floating #idx_clear_selection_button .txt {
  line-height: 1;
  letter-spacing: -0.02em;
  color: #004E86;
}
#idx_sell_floating #idx_bulk_sell_button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px 8px 8px;
  border: 0;
  border-radius: 12px;
  background: #0068B6;
  color: #fff;
  cursor: pointer;
}
#idx_sell_floating #idx_bulk_sell_button .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .22);
  flex-shrink: 0;
}
#idx_sell_floating #idx_bulk_sell_button .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
#idx_sell_floating #idx_bulk_sell_button .txt strong { font-size: 12px; font-weight: bold; color: #fff; }
#idx_sell_floating #idx_bulk_sell_button .txt em { font-size: 10px; font-style: normal; color: rgba(255, 255, 255, .8); }
#idx_sell_floating #idx_bulk_sell_button .txt em b { color: #fff; font-weight: bold; }
#idx_sell_floating #idx_bulk_sell_button.active { background: #004E86; }
.sales-filters select[name="order_state"] { min-width: 120px; max-width: 140px; }
.sales-filters select[name="schedule_idx"] { min-width: 180px; max-width: 260px; }
.sales-filters__q { flex: 1 1 240px; min-width: 220px; }
.sales-filters__q input { width: 100%; max-width: none; }
.sales-chart { margin-bottom: var(--card-gap); }
.sales-chart__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.sales-chart__kpi .lbl { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.sales-chart__kpi strong { display: block; margin-top: 4px; font-size: 22px; color: var(--brand); letter-spacing: -0.03em; }
.sales-chart__kpi strong em { font-style: normal; font-size: 12px; font-weight: 700; color: #94a3b8; margin-left: 3px; }
.sales-chart__kpi.is-muted strong { font-size: 13px; color: #334155; }
.sales-chart__legend { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.sales-chart__legend .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.sales-chart__legend .dot.amt { background: var(--brand); }
.sales-chart__legend .dot.qty { background: #2563eb; }
.sales-chart__plot {
  position: relative;
  height: 260px;
  min-height: 220px;
  padding: 8px 8px 4px;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}
.sales-chart__plot canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
.sales-chart__cap { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.sales-chart__tip {
  position: fixed;
  z-index: 1400;
  min-width: 360px;
  max-width: min(560px, calc(100vw - 16px));
  padding: 10px 12px;
  background: rgba(17, 17, 17, 0.94);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.28);
  transform: translateZ(0);
  transition: opacity 0.2s linear, left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sales-chart__tip.is-flip {
  transition: opacity 0.2s linear;
}
.sales-chart__tip-title { font-weight: 800; margin: 0 0 6px; }
.sales-chart__tip-row { margin: 0; white-space: nowrap; }
.sales-chart__tip-wh { margin: 4px 0 0; padding: 0; list-style: none; }
.sales-chart__tip-wh li { margin: 0; white-space: nowrap; }
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 4px;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-weight: 700;
  box-sizing: border-box;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .is-off { color: #94a3b8; }
.pager__meta { border: 0; background: transparent; color: var(--muted); min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: var(--card-gap); }
.deliver-form { margin-top: 10px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.stat .lbl { font-size: 12px; color: var(--muted); }
.stat .val { font-size: 20px; font-weight: 800; color: var(--brand); margin-top: 4px; }
.upload-dropzone { border: 2px dashed #d0d7e2; border-radius: 12px; padding: 18px; text-align: center; background: #fafbfc; }
.upload-dropzone.is-dragover { border-color: var(--brand); background: #E8F4FC; }
.upload-dropzone__title { margin: 0 0 6px; font-weight: 800; }
.upload-dropzone__hint { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.track-upload { display: flex; flex-direction: column; gap: 12px; }
.track-upload .upload-dropzone { width: 100%; text-align: left; }
.track-upload__actions { display: flex; justify-content: flex-end; }
.img-preview { max-width: 160px; max-height: 160px; margin: 8px auto; display: block; border-radius: 8px; }
.img-preview[hidden] { display: none !important; }
.thumb-field { position: relative; }
.thumb-preview-slot { margin-top: 10px; text-align: center; min-height: 0; }
.thumb-preview-slot .upload-dropzone__file { margin: 6px 0 0; color: var(--muted); word-break: break-all; }
.thumb-preview-slot [data-thumb-clear] { margin-top: 8px; }
.thumb-preview-slot [data-thumb-clear][hidden] { display: none !important; }
.thumb-cell { white-space: normal; }
.thumb-cell .thumb { display: block; margin-bottom: 6px; }
.thumb-del-form { margin: 0; }
.file-input-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
}
.mobile-capture { display: none; gap: 8px; justify-content: center; margin-top: 8px; }
.mobile-capture__hit {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}
.mobile-capture__file {
  position: absolute;
  left: -2px;
  top: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  opacity: 0;
  font-size: 32px;
  cursor: pointer;
}
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shop-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.shop-card img { width: 100%; height: 180px; object-fit: cover; background: #f3f4f6; }
.shop-card .body { padding: 12px; }
.shop-card .wh { font-size: 11px; color: var(--muted); }
.shop-card .name { font-weight: 800; margin: 4px 0; font-size: 12px; }
.shop-card .price { color: var(--brand); font-weight: 800; font-size: 14px; }
.auth-box { max-width: 420px; margin: 24px auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; width: 100%; }
.auth-box h1 { margin: 0 0 6px; font-size: 16px; }
.join-box {
  --join-form-width: 1020px;
  max-width: var(--join-form-width);
  margin: 24px auto;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border: 1px solid #dbe3ef;
  box-shadow: 0 14px 28px rgba(26, 48, 84, 0.08);
  padding: 34px 40px;
  border-radius: 14px;
  width: 100%;
  box-sizing: border-box;
}
.join-box h1 { margin: 0 0 22px; font-size: 16px; color: #333; }
.join-box .hint { margin: 0 0 18px; }
.join-flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #f0c8c6;
  border-radius: 10px;
  background: #E8F4FC;
  color: #004E86;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.join-form-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 18px;
}
.join-form-table th {
  width: 21%;
  font-weight: 700;
  color: #334864;
  text-align: right;
  padding: 0 36px 0 0;
  vertical-align: middle;
  font-size: 13px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.join-form-table th .req { color: #0068B6; font-weight: 800; margin-right: 2px; }
.join-form-table td { text-align: left; vertical-align: top; padding: 0 0 2px; }
.join-form-table input[type="text"],
.join-form-table input[type="password"],
.join-form-table input[type="email"],
.join-form-table input[type="tel"] {
  width: 70%;
  max-width: none;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cfdceb;
  border-radius: 10px;
  background: #fff;
  color: #2e4059;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.join-form-table input[type="text"]:focus,
.join-form-table input[type="password"]:focus,
.join-form-table input[type="email"]:focus,
.join-form-table input[type="tel"]:focus {
  outline: none;
  border-color: #8daee0;
  box-shadow: 0 0 0 3px rgba(62, 124, 211, 0.15);
}
.join-form-table input[readonly] {
  background: #f5f8fc;
  color: #6a7f99;
}
.join-form-table .addr-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 70%;
}
.join-form-table .addr-inline input[name="zonecode"] {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}
.join-form-table .btn-addr {
  min-width: 100px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #0068B6;
  background: linear-gradient(to bottom, #0068B6 0%, #004E86 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.join-form-table .btn-addr:hover { filter: brightness(1.08); }
.join-form-table .btn-addr:disabled { opacity: 0.55; cursor: default; }
.join-form-table tr[hidden] { display: none !important; }
.join-form-table .hp-inline input[type="tel"],
.join-form-table .hp-inline input[type="text"] {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}
.join-hp-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7c90;
}
.join-hp-hint.is-ok { color: #0b7a3b; font-weight: 700; }
.join-hp-hint.is-err { color: #B4231F; font-weight: 700; }
.join-terms-agree-wrap,
.join-submit-wrap {
  width: calc((100% - 21%) * 0.7);
  margin: 10px 0 0 21%;
  box-sizing: border-box;
}
.join-terms-agree-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #2f4868;
  cursor: pointer;
  line-height: 1.5;
}
.join-terms-agree-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: #0068B6;
  cursor: pointer;
}
.join-terms-agree-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.join-terms-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  flex: 0 0 auto;
}
.join-terms-view:hover { background: var(--brand-dark); }
.b2b-postcode__body.join-terms-body {
  overflow: auto;
  padding: 16px 18px 20px;
}
.join-terms-body pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font: 12px 'Nanum Gothic', NanumGothic, 'Malgun Gothic', sans-serif;
  color: #333;
  line-height: 1.7;
}
.join-submit-wrap { margin-top: 14px; }
.join-submit-wrap .btn {
  width: 100%;
  height: 46px;
  min-height: 46px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #0068B6 0%, #004E86 100%);
  border: 1px solid #b20038;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.b2b-postcode {
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.b2b-postcode[hidden] { display: none !important; }
.b2b-postcode__backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.6;
}
.b2b-postcode__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(980px, calc(100vw - 40px));
  height: min(760px, calc(100vh - 80px));
  max-width: 96vw;
  max-height: calc(100vh - 40px);
  background: #fff;
  border: 2px solid #0068B6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  box-sizing: border-box;
}
.b2b-postcode__head {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-bottom: 1px solid #e1e1e1;
  background: #fff;
}
.b2b-postcode__head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #333;
}
.b2b-postcode__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
.b2b-postcode__body iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  background: #fff;
  box-sizing: border-box;
}
.b2b-postcode__foot {
  flex: 0 0 auto;
  padding: 12px 14px 14px;
  border-top: 1px solid #e1e1e1;
  background: #fff;
  text-align: center;
}
.b2b-postcode__close {
  min-width: 92px;
  height: 34px;
  padding: 0 18px;
  border: 1px solid #c2c8d2;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.b2b-postcode__close:hover {
  border-color: #8f98a5;
  background: #f8f9fb;
}
.hero h1 { font-size: 16px; }
.b2b-footer { background: #111; color: #ddd; padding: 28px 16px; font-size: 12px; line-height: 1.7; }
.b2b-footer ul { width: 100%; margin: 0; padding: 0; list-style: none; }
.b2b-footer li:first-child { color: #fff; font-weight: 800; margin-bottom: 8px; }
.hero { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin-bottom: var(--card-gap); }
.hero h1 { margin: 0 0 8px; }
.hero .b2b-badge { vertical-align: middle; }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.detail-box { display: none; margin-top: 10px; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.detail-box.is-open { display: block; }
.sales-cards { display: none; }
.sale-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin-bottom: var(--card-gap);
  transition: background-color .12s ease;
}
.sale-card:hover {
  background: rgba(0, 104, 182, 0.05);
}
.sale-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sale-card__state {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #f3f4f6;
  color: #4b5563;
}
.sale-card__state.is-p { background: #E8F4FC; color: var(--brand); }
.sale-card__state.is-g { background: #fff7ed; color: #c2410c; }
.sale-card__state.is-s { background: #eff6ff; color: #1d4ed8; }
.sale-card__state.is-d { background: #ecfdf5; color: #047857; }
.sale-card__state.is-c { background: #f3f4f6; color: #6b7280; }
.sale-card__date { color: var(--muted); font-size: 11px; }
.sale-card__product { font-size: 14px; font-weight: 800; color: #222; line-height: 1.4; word-break: break-word; }
.sale-card__meta { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.sale-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 10px; }
.sale-card__no { color: #64748b; font-size: 11px; word-break: break-all; }
.sale-card__sum { color: var(--brand); font-weight: 800; font-size: 15px; white-space: nowrap; }
.sale-card__sum em { font-style: normal; color: #64748b; font-size: 12px; font-weight: 700; margin-right: 6px; }
.sale-card__actions { margin-top: 10px; }
.sale-card__actions .btn { min-height: 36px; width: 100%; }
.sale-card .detail-box { margin-top: 10px; }
.track-log { font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
#salesDetailModal { padding: 16px; }
#salesDetailModal .sd-modal-card {
  width: min(960px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#salesDetailModal .site-ui-modal__head {
  flex-shrink: 0;
}
#salesDetailModal .site-ui-modal__body {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px 16px 16px;
  text-align: left;
}
#salesDetailModal .site-ui-modal__title {
  font-size: 14px;
  letter-spacing: -0.02em;
}
#salesDetailModal .site-ui-modal__actions {
  flex-shrink: 0;
  padding: 10px 16px 14px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.sd { color: #2c2c2c; }
.sd-track {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px 12px;
  margin-bottom: 14px;
}
.sd-track__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.sd-track__head h2 { margin: 0 0 4px; font-size: 14px; color: #111; }
.sd-track__sub { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.5; }
.sd-track__sub .sd-copy { margin-left: 6px; vertical-align: middle; }
.sd-track__loading,
.sd-track__empty { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.sd-track__notice {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
}
.sd-track-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
}
.sd-track-list li {
  position: relative;
  padding: 0 0 12px 16px;
  border-left: 2px solid #e5eaf0;
}
.sd-track-list li:last-child { padding-bottom: 0; }
.sd-track-list li.is-now { border-left-color: var(--brand); }
.sd-track-list time { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.sd-track-list span { font-size: 12px; font-weight: 700; color: #333; line-height: 1.45; }
.sd-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}
.sd-chip.is-p { background: #E8F4FC; color: var(--brand); }
.sd-chip.is-g { background: #fff7ed; color: #c2410c; }
.sd-chip.is-s { background: #eff6ff; color: #1d4ed8; }
.sd-chip.is-d { background: #ecfdf5; color: #047857; }
.sd-chip.is-c { background: #f3f4f6; color: #6b7280; }
.sd-chip.is-remote { background: #fff7ed; color: #c2410c; }
.sd-cancelled {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
}
.sd-steps {
  display: flex;
  list-style: none;
  margin: 0 0 12px;
  padding: 10px 4px 4px;
  gap: 0;
}
.sd-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.sd-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 7px;
  left: calc(50% + 10px);
  right: calc(-50% + 10px);
  height: 2px;
  background: #e5eaf0;
}
.sd-steps li.is-done:not(:last-child)::after,
.sd-steps li.is-now:not(:last-child)::after { background: var(--brand); }
.sd-steps__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e5eaf0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e5eaf0;
  z-index: 1;
}
.sd-steps li.is-done .sd-steps__dot,
.sd-steps li.is-now .sd-steps__dot {
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}
.sd-steps li.is-now .sd-steps__dot { box-shadow: 0 0 0 3px rgba(0, 104, 182, .18); }
.sd-steps__label { font-size: 11px; font-weight: 800; color: #94a3b8; }
.sd-steps li.is-done .sd-steps__label,
.sd-steps li.is-now .sd-steps__label { color: #111; }
.sd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.sd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 12px;
  align-items: start;
}
.sd-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.sd-card:last-child { margin-bottom: 0; }
.sd-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.sd-card__head h2 { margin: 0; font-size: 13px; color: #111; }
.sd-card__head span { color: var(--muted); font-size: 12px; font-weight: 700; }
.sd-card--action p { margin: 0 0 12px; color: var(--muted); line-height: 1.5; }
.sd-card--action .btn { width: 100%; }
.sd-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.sd-item__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}
.sd-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-item__name { margin: 0 0 4px; font-weight: 800; color: #111; line-height: 1.4; word-break: break-word; }
.sd-item__sub,
.sd-item__wh { margin: 0; color: var(--muted); font-size: 12px; }
.sd-item__sum { font-size: 14px; color: #111; white-space: nowrap; }
.sd-rows { display: flex; flex-direction: column; gap: 8px; }
.sd-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.sd-row b { color: #222; font-weight: 700; text-align: right; }
.sd-row.is-minus b { color: var(--brand); }
.sd-row--wrap { align-items: flex-start; }
.sd-row--wrap b { font-weight: 700; word-break: break-word; white-space: pre-wrap; }
.sd-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
}
.sd-total span { display: block; font-size: 11px; color: #a8adb8; margin-bottom: 4px; }
.sd-total strong { font-size: 18px; letter-spacing: -.03em; }
.sd-total p { margin: 0; color: #fca5a5; font-size: 12px; font-weight: 800; }
.sd-pg { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.sd-pg__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.sd-pg__head h3 { margin: 0; font-size: 13px; color: #111; }
.sd-pg__head span { font-size: 11px; color: var(--muted); font-weight: 700; }
.sd-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; word-break: break-all; }
.sd-info { display: flex; flex-direction: column; gap: 10px; }
.sd-info__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}
.sd-info__row span { color: var(--muted); font-size: 12px; font-weight: 700; padding-top: 2px; }
.sd-info__row b { font-weight: 700; line-height: 1.45; word-break: keep-all; color: #222; }
.sd-info__row--addr b { word-break: break-word; }
.sd-copy {
  border: 0;
  background: #f3f4f6;
  color: #333;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.sd-copy:hover { background: #e8edf3; }
.sd-copy.is-done { background: #ecfdf5; color: #047857; }
html.is-modal-open, html.is-modal-open body {
  overflow: hidden;
  overscroll-behavior: none;
  scrollbar-gutter: stable;
}
html:has(body.home) {
  height: auto;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body.home {
  height: auto;
  overflow: visible;
}
body.home #wrapper {
  height: auto;
  min-height: 100%;
  overflow: visible;
}
body.home .b2b-main {
  flex: 1 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.b2b-guide {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px 10px;
  margin-top: 19px;
  margin-bottom: var(--card-gap);
}
.b2b-guide__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 2px 6px 8px;
}
.b2b-guide__head h2 { margin: 0; font-size: 14px; color: #1a2535; }
.b2b-guide__head p { margin: 0; color: var(--brand); font-size: 12px; font-weight: 700; }
.b2b-guide__row {
  position: relative;
  display: block;
}
.b2b-guide__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.42);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  appearance: none;
  -webkit-appearance: none;
  animation: b2b-guide-arrow-pulse 1.8s ease-in-out infinite;
}
.b2b-guide__arrow[data-guide-prev] { left: 10px; }
.b2b-guide__arrow[data-guide-next] { right: 10px; }
.b2b-guide__arrow:hover,
.b2b-guide__arrow:focus {
  animation: none;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
}
@keyframes b2b-guide-arrow-pulse {
  0%, 100% {
    background: rgba(17, 17, 17, 0.28);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  }
  50% {
    background: rgba(17, 17, 17, 0.78);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
  }
}
@media (prefers-reduced-motion: reduce) {
  .b2b-guide__arrow { animation: none; }
}
.b2b-guide__viewport { overflow: hidden; width: 100%; min-width: 0; }
.b2b-guide__track {
  display: flex;
  gap: 12px;
  transition: transform .35s ease;
  will-change: transform;
}
.b2b-guide__card {
  position: relative;
  min-width: 0;
  height: 400px;
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  overflow: hidden;
  background: #e8edf3;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}
.b2b-guide__photo {
  margin: 0;
  position: absolute;
  inset: 0;
  background: #e8edf3;
  overflow: hidden;
}
.b2b-guide__photo img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.18);
  transform-origin: center 20%;
  transition: transform .6s ease;
}
.b2b-guide__card[data-focus="fit"] .b2b-guide__photo img {
  object-fit: cover;
  object-position: center center;
  transform: none;
}
@media (min-width: 901px) {
  .b2b-guide__photo img {
    transform: scale(1.06);
    object-position: center 24%;
    transform-origin: center 24%;
  }
}
@media (hover: hover) {
  .b2b-guide__card:hover .b2b-guide__photo img {
    transform: scale(1.24);
  }
  .b2b-guide__card[data-focus="fit"]:hover .b2b-guide__photo img {
    transform: scale(1.08);
  }
}
@media (hover: hover) and (min-width: 901px) {
  .b2b-guide__card:hover .b2b-guide__photo img {
    transform: scale(1.12);
  }
  .b2b-guide__card[data-focus="fit"]:hover .b2b-guide__photo img {
    transform: scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .b2b-guide__photo img { transition: none; }
}
.b2b-guide__num {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #0068B6;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
}
.b2b-guide__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 14px 12px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, .55) 55%, rgba(17, 17, 17, .78) 100%);
  color: #fff;
}
.b2b-guide__copy strong {
  display: block;
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.b2b-guide__copy p { margin: 0 0 4px; color: #f3f4f6; line-height: 1.5; }
.b2b-guide__note { color: #d7dde6 !important; }
.b2b-guide__copy a { color: #ffd4d2; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.b2b-guide__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 2px;
}
.b2b-guide__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d7dee7;
  cursor: pointer;
}
.b2b-guide__dot.is-on { background: var(--brand); }
.b2b-cal {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.b2b-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 8px;
  flex-shrink: 0;
}
.b2b-cal__hint {
  margin: 0 14px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #64748b;
}
.b2b-cal__pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 14px 10px;
  padding: 10px 12px;
  border: 1px solid #f3c6c4;
  border-radius: 8px;
  background: #E8F4FC;
  color: #7f1d1d;
  font-size: 12px;
  font-weight: 700;
}
.b2b-cal__pick[hidden],
.b2b-cal__hint[hidden] { display: none !important; }
.b2b-cal__pick p { margin: 0; }
.b2b-cal__head h1 { margin: 0; font-size: 16px; color: #222; }
.b2b-cal__nav { display: flex; align-items: center; gap: 8px; }
.b2b-cal__nav strong { min-width: 108px; text-align: center; font-size: 14px; color: #1a2535; }
.b2b-cal__navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.b2b-cal__navbtn:hover { border-color: var(--brand); color: var(--brand); }
.b2b-cal__dow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 0;
  flex-shrink: 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.b2b-cal__dow span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #64748b;
  padding: 13px 0;
  border-right: 1px solid #eef2f6;
  box-sizing: border-box;
}
.b2b-cal__dow span:last-child { border-right: 0; }
.b2b-cal__dow .is-sun { background: var(--brand); color: #fff; }
.b2b-cal__dow .is-sat { background: #2563eb; color: #fff; }
.b2b-cal__body {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.b2b-cal__week {
  position: relative;
  flex: 0 0 auto;
  min-height: 150px;
  height: auto;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #eef2f6;
  background-image: linear-gradient(
    to right,
    color-mix(in srgb, var(--brand) 6%, #fff) 0 calc(100% / 7),
    transparent calc(100% / 7) calc(600% / 7),
    color-mix(in srgb, #2563eb 6%, #fff) calc(600% / 7) 100%
  );
}
.b2b-cal__days {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: 42px;
  flex-shrink: 0;
}
.b2b-cal__day {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 4px 5px 3px;
  border: 0;
  border-right: 1px solid #f1f5f9;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #334155;
  appearance: none;
  -webkit-appearance: none;
}
.b2b-cal__day:last-child { border-right: 0; }
.b2b-cal__day.is-out { color: #cbd5e1; background: #fafbfc; }
.b2b-cal__day.is-sun,
.b2b-cal__day.is-out.is-sun { background: color-mix(in srgb, var(--brand) 6%, #fff); }
.b2b-cal__day.is-sat,
.b2b-cal__day.is-out.is-sat { background: color-mix(in srgb, #2563eb 6%, #fff); }
.b2b-cal__day.is-sun .b2b-cal__num { color: var(--brand); }
.b2b-cal__day.is-sat .b2b-cal__num { color: #2563eb; }
.b2b-cal__day.is-out.is-sun .b2b-cal__num,
.b2b-cal__day.is-out.is-sat .b2b-cal__num,
.b2b-cal__day.is-out.is-holiday .b2b-cal__num { opacity: .45; }
.b2b-cal__day.is-today .b2b-cal__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
}
.b2b-cal__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1.2;
}
.b2b-cal__lunar-inline { display: none; }
.b2b-cal__note {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: #64748b;
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.b2b-cal__day.is-holiday .b2b-cal__num { color: var(--brand); }
.b2b-cal__day.is-holiday .b2b-cal__note { color: var(--brand); }
.b2b-cal__day.is-out .b2b-cal__note { color: #cbd5e1; }
.b2b-cal__day.is-pick-range:not(.is-sun):not(.is-sat) {
  background: color-mix(in srgb, var(--brand) 14%, #fff);
}
.b2b-cal__day.is-sun.is-pick-range {
  background: color-mix(in srgb, var(--brand) 22%, #fff);
}
.b2b-cal__day.is-sat.is-pick-range {
  background: color-mix(in srgb, #2563eb 22%, #fff);
}
.b2b-cal__day.is-pick-start,
.b2b-cal__day.is-pick-end {
  box-shadow: inset 0 0 0 2px var(--brand);
}
.b2b-cal__day.is-past {
  cursor: default;
}
.b2b-cal__day.is-past .b2b-cal__num,
.b2b-cal__day.is-past .b2b-cal__note,
.b2b-cal__day.is-past .b2b-cal__lunar-inline {
  opacity: .4;
}
.b2b-cal.is-picking .b2b-cal__day { cursor: pointer; }
.b2b-cal.is-picking .b2b-cal__day.is-past { cursor: default; }
.b2b-cal__cell-notes { display: none; }
.b2b-cal__bars {
  position: relative;
  flex: 1 1 auto;
  min-height: calc(var(--lanes, 1) * 22px + 8px);
  z-index: 2;
  cursor: pointer;
}
.b2b-cal__bar {
  position: absolute;
  height: 20px;
  margin: 0;
  padding: 0 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .12);
  pointer-events: auto;
  box-sizing: border-box;
}
.b2b-cal__bar-name {
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  min-width: 0;
}
.b2b-cal__bar-wh {
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  opacity: .95;
}
.b2b-cal__bar-wh::before {
  content: '·';
  margin-right: 5px;
  opacity: .75;
}
.b2b-cal__bar-time { font-weight: 700; opacity: .92; flex-shrink: 0; }
.b2b-cal__bar--sale {
  z-index: 1;
  justify-content: flex-end;
  box-shadow: none;
}
.b2b-cal__bar--live { z-index: 2; }
.b2b-cal__bar-end {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.b2b-cal__bar-end--onlive { opacity: .92; font-weight: 700; }
.b2b-cal__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: -2px 14px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}
.b2b-cal__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.b2b-cal__legend-swatch {
  display: inline-block;
  width: 22px;
  height: 10px;
  border-radius: 4px;
}
.b2b-cal__legend-swatch--live { background: #0068B6; }
.b2b-cal__legend-swatch--sale { background: rgba(0, 104, 182, 0.2); }
.b2b-cal-day {
  position: fixed;
  inset: 0;
  z-index: 100250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.b2b-cal-day.is-open { display: flex; }
.b2b-cal-day[hidden] { display: none !important; }
.b2b-cal-day__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.55);
}
.b2b-cal-day__card {
  position: relative;
  width: min(100%, 420px);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}
.b2b-cal-day__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #0068B6;
  flex-shrink: 0;
}
.b2b-cal-day__title { margin: 0; font-size: 15px; font-weight: 800; color: #fff; }
.b2b-cal-day__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.b2b-cal-day__body { padding: 8px 14px; overflow: auto; }
.b2b-cal-day__empty { margin: 16px 0; text-align: center; color: var(--muted); }
.b2b-cal-day__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
}
.b2b-cal-day__item:last-child { border-bottom: 0; }
.b2b-cal-day__swatch {
  width: 10px;
  height: 36px;
  border-radius: 4px;
  flex-shrink: 0;
}
.b2b-cal-day__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.b2b-cal-day__meta strong { color: #1a2535; }
.b2b-cal-day__meta em { font-style: normal; color: var(--muted); font-weight: 700; }
.b2b-cal-day__actions { padding: 8px 14px 14px; }
.b2b-cal-day__ok {
  width: 100%;
  border: none;
  border-radius: 7px;
  padding: 12px 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #0068B6;
  color: #fff;
}

@media (min-width: 901px) {
  .b2b-header { border-bottom: none; }
  .logo_zone { padding: 0 32px; }
  .b2b-nav { padding: 0 32px 0 14px; }
  .b2b-main { padding: 24px 32px 56px; }
  .b2b-footer { padding: 28px 32px; }
  .b2b-manual-wrap--mobile { display: none !important; }
}

@media (max-width: 900px) {
  .join-box { padding: 20px 16px; border-radius: 10px; }
  .b2b-header { position: sticky; top: 0; z-index: 1300; }
  .b2b-header__mobilebar { display: flex; }
  .logo_zone { display: none; }
  .logo, .pc-auth-float { display: none; }
  .b2b-nav { display: none !important; }
  .b2b-main { padding: 14px 16px 40px; }
  .b2b-guide { padding: 6px 6px 8px; margin-top: 11px; margin-bottom: var(--card-gap); }
  .b2b-guide__head p { display: none; }
  .b2b-guide__card { height: 300px; }
  .b2b-guide__copy { padding: 20px 12px 12px; }
  .b2b-guide__copy strong { font-size: 15px; }
  .b2b-guide__arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .b2b-guide__arrow[data-guide-prev] { left: 8px; }
  .b2b-guide__arrow[data-guide-next] { right: 8px; }
  .b2b-cal__head { padding: 8px 10px 6px; }
  .b2b-cal__head h1 { font-size: 15px; }
  .b2b-cal__bar { font-size: 10px; padding: 0 5px; }
  .b2b-cal__bar--live .b2b-cal__bar-name,
  .b2b-cal__bar--live .b2b-cal__bar-wh { display: none; }
  .b2b-cal__week { min-height: 150px; }
  .b2b-cal__note { display: none; }
  .b2b-cal__days { min-height: 24px; }
  .b2b-cal__day {
    min-height: 24px;
    padding: 4px 1px 0 2px;
    gap: 2px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .b2b-cal__lunar-inline {
    display: inline;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    color: #64748b;
    letter-spacing: -0.02em;
  }
  .b2b-cal__day.is-holiday .b2b-cal__lunar-inline { color: var(--brand); }
  .b2b-cal__day.is-out .b2b-cal__lunar-inline { color: #cbd5e1; }
  .b2b-cal__cell-notes {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    pointer-events: none;
  }
  .b2b-cal__cell-note {
    min-width: 0;
    padding: 0 2px 4px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    color: #64748b;
    text-align: left;
    word-break: keep-all;
  }
  .b2b-cal__cell-note:empty { padding: 0; }
  .b2b-cal__cell-tag { display: block; }
  .b2b-cal__cell-note.is-holiday,
  .b2b-cal__cell-note.is-holiday .b2b-cal__cell-tag { color: var(--brand); }
  .b2b-cal__cell-note.is-out { color: #cbd5e1; }
  .page-head { margin: 0 0 14px; }
  #b2b_side_menu_backdrop {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1200;
  }
  #b2b_side_menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    right: 10px;
    width: 188px;
    max-width: calc(100vw - 20px);
    height: auto;
    max-height: calc(100vh - 72px);
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    overflow-y: auto;
    z-index: 1201;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    transition: transform .18s ease, opacity .18s ease;
  }
  #b2b_side_menu.open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  #b2b_side_menu .menu_head { display: none; }
  #b2b_side_menu .menu_list {
    list-style: none;
    margin: 0;
    padding: 8px;
  }
  #b2b_side_menu .menu_list li { margin: 0 0 6px; }
  #b2b_side_menu .menu_list li:last-child { margin-bottom: 0; }
  #b2b_side_menu .menu_list a {
    display: block;
    padding: 10px 12px;
    border: 1px solid #dbe5f1;
    border-radius: 10px;
    background: #fff;
    color: #2c4767;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    text-align: left;
  }
  #b2b_side_menu .menu_list a:hover { background: #f5f9ff; border-color: #c6d8eb; }
  #b2b_side_menu .menu_list a.is-on {
    color: var(--brand);
    border-color: #f0c8c6;
    background: #E8F4FC;
  }
  .sales-table-pc { display: none; }
  .sales-cards { display: block; }
  #salesDetailModal { padding: 0; align-items: stretch; }
  #salesDetailModal .sd-modal-card {
    width: 100%;
    max-width: none;
    max-height: none;
    height: 100%;
    border-radius: 0;
  }
  #salesDetailModal .site-ui-modal__actions {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .sd-grid { grid-template-columns: 1fr; }
  .sd-item { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .sd-item__thumb { width: 48px; height: 48px; }
  .sd-info__row { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .sd-steps { overflow-x: auto; padding: 8px 0 4px; }
  .sched-detail-table { display: none; }
  .sched-detail-cards { display: block; }
  .sched-modal { padding: 12px; align-items: flex-end; }
  .sched-modal__card { width: 100%; max-height: calc(100vh - 24px); border-radius: 12px 12px 0 0; }
  .form-grid, .shop-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--card-gap);
  }
  .stat-grid .stat {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 12px 10px;
    text-align: center;
  }
  .stat-grid .stat:nth-child(even) { border-left: 1px solid var(--border); }
  .stat-grid .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat-grid .val { font-size: 18px; }
  .sales-chart__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-chart__kpi strong { font-size: 18px; }
  .sales-chart__plot {
    height: 200px;
    min-height: 180px;
    padding: 4px 2px 0;
    border: 0;
  }
  .sales-chart__cap { display: none; }
  .sales-chart__tip { min-width: 0; font-size: 11px; padding: 8px 10px; }
  #idx_sell_floating { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .sales-filters { flex-direction: column; align-items: stretch; }
  .sales-filters__q { flex: none; min-width: 0; }
  .sales-filters label, .sales-filters input, .sales-filters select { max-width: none; width: 100%; }
  .sales-filters input[data-datepicker] { width: 100%; max-width: none; min-width: 0; }
  .sales-filters .btn { width: 100%; }
  .pager { justify-content: flex-start; }
  .upload-dropzone { display: none; }
  .upload-dropzone[data-keep-visible] { display: block; }
  .mobile-capture { display: flex; }
  .img-preview { max-width: min(220px, 70vw); max-height: 220px; }
  .shop-card img { height: 140px; }
}
@media (max-width: 640px) {
  .join-form-table,
  .join-form-table tbody,
  .join-form-table tr,
  .join-form-table th,
  .join-form-table td { display: block; width: 100%; }
  .join-form-table { border-spacing: 0; }
  .join-form-table tr + tr { margin-top: 16px; }
  .join-form-table th {
    text-align: left;
    padding: 0 0 8px;
    white-space: normal;
    height: auto;
  }
  .join-form-table input[type="text"],
  .join-form-table input[type="password"],
  .join-form-table input[type="email"],
  .join-form-table input[type="tel"],
  .join-form-table .addr-inline,
  .join-terms-agree-wrap,
  .join-submit-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
  .join-form-table .addr-inline input[name="zonecode"] {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
  }
  .b2b-postcode { padding: 8px; }
  .b2b-postcode__dialog { max-width: 100%; max-height: calc(100vh - 16px); }
  .form-grid, .shop-grid { grid-template-columns: 1fr; }
  .form-row, .form-row.full { width: 100%; }
  .form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
  .form-row select,
  .form-row.full input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
  .form-row.full select { max-width: 100%; }
  .form-row--agree .agree-label { max-width: 100%; }
  .schedule-datetime-line { flex-wrap: wrap; }
  .schedule-datetime-line .tilde { display: none; }
  .schedule-inline-row { flex-wrap: wrap; }
  .schedule-inline-row input[name=broadcast_date],
  .schedule-inline-row input[name=broadcast_end_date],
  .schedule-inline-row input[name=sale_end_date],
  .schedule-inline-row select[name=broadcast_hour],
  .schedule-inline-row select[name=broadcast_end_hour],
  .schedule-inline-row select[name=sale_end_hour] {
    max-width: 100%;
    flex: 1 1 46%;
    min-width: 0;
    height: 40px;
  }
}
