/* biz-b — 안쪽 화면 새 틀(2026-11-20). biz.css 의 토큰(--primary, --navy, --sh, --ease …)을 쓴다. */
[class^="bs-"][hidden], [class*=" bs-"][hidden], .bs-st [hidden], .bs-blk [hidden], .bs-dlg [hidden] { display: none !important; }

/* ── 공통 조각 ─────────────────────────────────────── */
.bs-blk { display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 1fr); gap: 10px 30px; margin: 0 0 14px; padding: 24px 26px;
  border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.bs-blk > header h2 { margin: 2px 0 6px; font-size: 15.5px; color: var(--title); }
.bs-blk > header p { margin: 0; color: var(--sub); font-size: 12.5px; line-height: 1.6; }
.bs-blk-b { min-width: 0; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; border: 0; }
.bs-fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bs-fld.in { margin-top: 10px; }
.bs-l { margin: 0; font-size: 12.5px; font-weight: 750; color: var(--ink); }
.bs-l em, .bs-auth em { font-style: normal; color: var(--red); }
.bs-h { margin: 0; font-size: 12px; line-height: 1.55; color: var(--sub); }
.bs-h.good { color: var(--primary-ink); font-weight: 700; } .bs-h.bad { color: var(--red); font-weight: 700; }
.bs-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bs-2.zip { grid-template-columns: 150px minmax(0, 1fr); }
.bs-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.shell .bs-mini { max-width: 240px; }
.bs-unit { display: flex; align-items: center; gap: 8px; }
.bs-unit input { flex: 1; min-width: 0; text-align: right; }
.bs-unit span { flex: none; color: var(--sub); font-size: 13px; font-weight: 650; }
.bs-unit.sm { max-width: 200px; margin-top: 10px; }
.bs-note { margin: 0; padding: 11px 14px 11px 38px; border-radius: 14px; background: #EEF3F9; color: #2A4566; font-size: 12.5px; line-height: 1.6; position: relative; }
.bs-note::before { content: "i"; position: absolute; left: 13px; top: 11px; width: 17px; height: 17px; border-radius: 50%; background: #2A4566; color: #fff;
  font: 800 11px/17px Georgia, serif; text-align: center; }
.bs-note a { color: var(--primary-ink); font-weight: 750; text-decoration: underline; }

/* 켜고 끄기 */
.bs-sw { position: relative; flex: none; display: inline-block; width: 46px; height: 28px; cursor: pointer; }
.bs-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bs-sw i { position: absolute; inset: 0; border-radius: 999px; background: #CDD3DC; transition: background .35s var(--ease); }
.bs-sw i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 5px rgba(11, 18, 32, .22); transition: transform .35s var(--ease); }
.bs-sw input:checked + i { background: var(--primary); }
.bs-sw input:checked + i::after { transform: translateX(18px); }
.bs-sw input:focus-visible + i { outline: 2px solid var(--primary); outline-offset: 3px; }
.bs-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.bs-blk-b > .bs-line:first-child, .bs-card > .bs-line:first-child { border-top: 0; padding-top: 0; }
.bs-line > div { flex: 1; min-width: 0; }
.bs-line b, .bs-card > b { display: block; font-size: 14px; color: var(--title); }
.bs-line p, .bs-card > p { margin: 3px 0 0; color: var(--sub); font-size: 12.5px; line-height: 1.55; }
.bs-ck { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; cursor: pointer; }
.bs-ck input { width: 17px; height: 17px; accent-color: var(--primary); }
.bs-card { padding: 16px 18px; border-radius: 16px; background: #F7F9FB; box-shadow: inset 0 0 0 1px var(--line); }
.bs-card > .bs-ck { margin-top: 12px; }

/* 알약 고르기 · 보기 방식 · 선택 카드 */
.bs-seg { display: inline-flex; align-self: flex-start; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--chip); }
.bs-seg label { position: relative; cursor: pointer; }
.bs-seg input { position: absolute; opacity: 0; }
.bs-seg span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--sub); transition: background .35s var(--ease), color .35s var(--ease); }
.bs-seg input:checked + span { background: #fff; color: var(--title); box-shadow: 0 2px 8px -3px rgba(11, 18, 32, .25); }
.bs-seg input:focus-visible + span { outline: 2px solid var(--primary); }
.bs-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bs-opts label { position: relative; cursor: pointer; }
.bs-opts input { position: absolute; top: 16px; left: 16px; width: 18px; height: 18px; accent-color: var(--primary); }
.bs-opts span { display: block; height: 100%; padding: 14px 16px 14px 46px; border-radius: 16px; background: #F7F9FB; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .35s var(--ease), background .35s var(--ease); }
.bs-opts b { display: block; font-size: 14px; } .bs-opts small { display: block; margin-top: 3px; color: var(--sub); font-size: 12px; line-height: 1.5; }
.bs-opts input:checked + span { background: var(--primary-weak); box-shadow: inset 0 0 0 1.5px var(--primary); }
.bs-box { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 16px; background: #FAFBFC; box-shadow: inset 0 0 0 1px var(--line); }
.bs-lay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bs-lay label { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 16px; background: #F7F9FB; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s var(--ease), background .35s var(--ease); }
.bs-lay input { position: absolute; opacity: 0; }
.bs-lay label:has(input:checked) { background: var(--primary-weak); box-shadow: inset 0 0 0 1.5px var(--primary); }
.bs-lay label:has(input:focus-visible) { outline: 2px solid var(--primary); }
.bs-lay b { margin-top: 8px; font-size: 13.5px; } .bs-lay small { color: var(--sub); font-size: 11.5px; }
.bs-lay .pic { display: grid; gap: 5px; height: 74px; padding: 9px; border-radius: 11px; background: #fff; }
.bs-lay .pic i { border-radius: 5px; background: #DCE3EA; }
.bs-lay .pic.list { grid-template-rows: repeat(3, 1fr); } .bs-lay .pic.list i { background: linear-gradient(90deg, #C9D4DE 0 22%, transparent 22% 28%, #DCE3EA 28%); }
.bs-lay .pic.image { grid-template-columns: 1fr 1fr; }
.bs-lay .pic.option { grid-template-rows: 1.6fr 1fr 1fr; } .bs-lay .pic.option i:nth-child(n+2) { margin-left: 18%; background: #E7ECF1; }

/* 가게 주소 칸 · 사진 칸 · 색 */
.bs-addr { display: flex; align-items: center; gap: 8px; }
.bs-addr > span { flex: none; color: var(--sub); font-size: 13px; }
.bs-addr input { flex: 1; min-width: 0; }
.bs-addr .btn { flex: none; }
.bs-pics { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.bs-pics > div { display: flex; flex-direction: column; gap: 8px; }
.bs-pic { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 16px; cursor: pointer; text-align: center;
  background: repeating-linear-gradient(135deg, #F5F7F9 0 10px, #EEF1F4 10px 20px); box-shadow: inset 0 0 0 1.5px rgba(11, 18, 32, .1); }
.bs-pic.cover { aspect-ratio: 2 / 1; } .bs-pic.logo { aspect-ratio: 4 / 1.4; }
.bs-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-pic.logo img { object-fit: contain; background: #fff; }
.bs-pic span { position: relative; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 750; color: var(--ink);
  box-shadow: 0 4px 14px -6px rgba(11, 18, 32, .3); }
.bs-pic span small { display: block; font-weight: 600; color: var(--sub); font-size: 11px; }
.bs-pic img:not([hidden]) + span { opacity: 0; transition: opacity .3s var(--ease); } .bs-pic:hover img:not([hidden]) + span { opacity: 1; }
.bs-pic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bs-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.bs-colors label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 14px; cursor: pointer; }
.bs-colors input { position: absolute; opacity: 0; }
.bs-colors span { width: 100%; height: 26px; border-radius: 9px; }
.bs-colors small { font-size: 11.5px; font-weight: 650; color: var(--sub); }
.bs-colors label:has(input:checked) { background: #F2F5F8; box-shadow: inset 0 0 0 1.5px var(--navy); }
.bs-colors label:has(input:checked) small { color: var(--title); }

/* 시간 · 알림 · 단체방 문구 */
.bs-time { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--sub); }
.shell .bs-time select { width: auto; min-width: 92px; }
.bs-at.off .bs-at-body { opacity: .42; pointer-events: none; filter: grayscale(1); }
.bs-evs { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bs-evs + .bs-evs { padding-top: 16px; border-top: 1px dashed rgba(11, 18, 32, .12); }
.bs-ev-at { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--sub); }
.shell .bs-ev-at select { width: auto; height: 34px; padding-top: 0; padding-bottom: 0; }
.bs-phones { display: flex; flex-wrap: wrap; gap: 8px; }
.shell .bs-ph { width: 180px; }
.bs-tok { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bs-tok > span { margin-right: 4px; font-size: 12px; font-weight: 750; color: var(--sub); }
.bs-tok button { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--primary-weak); color: var(--primary-ink); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.bs-tok button::before { content: "{"; opacity: .5; } .bs-tok button::after { content: "}"; opacity: .5; }
.bs-tok button:hover { background: #D5EEE3; }

/* ── 가게 설정 한 항목(settings/_base.html) ───────────────── */
.bs-stnav { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 18px; padding: 8px; border-radius: 24px; background: #fff; box-shadow: var(--sh); }
.bs-stg { flex: none; display: flex; flex-direction: column; gap: 5px; padding: 6px 8px 4px; }
.bs-stg + .bs-stg { padding-left: 14px; border-left: 1px solid var(--line); }
.bs-stg > small { padding-left: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: var(--faint); }
.bs-stg > div { display: flex; gap: 3px; }
.bs-stg a { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease); }
.bs-stg a:hover { background: var(--soft); } .bs-stg a.on { background: var(--primary); color: #fff; }
.bs-st { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.bs-st-form { min-width: 0; }
.bs-save { position: sticky; bottom: 14px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px;
  padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(14, 27, 46, .94); color: #C8D3E0; font-size: 13px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px -16px rgba(11, 18, 32, .55); }
.bs-save > span { display: inline-flex; align-items: center; gap: 7px; } .bs-save b { color: #fff; }
.shell .bs-save .btn.primary { background: var(--primary); box-shadow: none; padding: 0 26px; }
.bs-pv { position: sticky; top: 96px; padding: 12px; border-radius: 26px; background: linear-gradient(160deg, #E8EEF3, #DDE5EC); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.bs-pv-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 4px 6px 10px; color: var(--ink); font-size: 13px; }
.bs-pv-h small { width: 100%; color: var(--sub); font-size: 11.5px; }
.bs-pv iframe { display: block; width: 100%; height: min(640px, calc(100dvh - 200px)); border: 0; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px -14px rgba(11, 18, 32, .35); }
@media (max-width: 1180px) { .bs-st { grid-template-columns: minmax(0, 1fr); } .bs-pv { display: none; } }
@media (max-width: 900px) {
  .bs-blk { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; gap: 14px; border-radius: 20px; }
  .bs-2, .bs-3, .bs-2.zip, .bs-opts, .bs-pics { grid-template-columns: minmax(0, 1fr); }
  .bs-lay { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .bs-lay label { padding: 8px; } .bs-lay small { display: none; }
  .bs-stnav { margin-left: -12px; margin-right: -12px; border-radius: 0; padding: 6px 12px; }
  .bs-save { bottom: 84px; padding-left: 14px; } .bs-save > span { font-size: 12px; } .bs-save .ic { display: none; }
  .bs-addr { flex-wrap: wrap; } .bs-addr > span { width: 100%; }
}

/* ── 작은 공통: 딱지 · 알약 단추 · 판 · 창 ───────────────── */
.bs-pill { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 24px; padding: 0 10px; border-radius: 999px; background: #EEF1F5; color: var(--sub);
  font-size: 11.5px; font-weight: 750; white-space: nowrap; vertical-align: middle; }
.bs-pill.ok { background: var(--primary-weak); color: var(--primary-ink); }
.bs-pill.no { background: #FCEDEA; color: #B23A1E; }
.bs-pill.wait { background: #FFF3E3; color: #A8560B; }
.bs-pill.blue { background: #E9F0FA; color: #24456E; }
.bs-tabs { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 16px; background: #F1F3F6; }
.bs-tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: 12px; background: none; color: var(--sub); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease); }
.bs-tabs button:hover { color: var(--title); } .bs-tabs button.on { background: #fff; color: var(--title); box-shadow: 0 2px 8px -3px rgba(11, 18, 32, .25); }
.bs-panel { padding: 20px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.bs-panel > h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 15px; }
.bs-sh { margin: 26px 2px 10px; font-size: 15px; color: var(--title); }
.bs-lead { margin: -8px 2px 16px; color: var(--sub); font-size: 13.5px; }
.bs-foot { margin: 14px 4px 0; color: var(--faint); font-size: 12px; }
.bs-act { display: flex; justify-content: flex-end; }
.bs-range { position: relative; } .bs-range > summary { list-style: none; cursor: pointer; } .bs-range > summary::-webkit-details-marker { display: none; }
.bs-range.on > summary { background: var(--primary-weak); color: var(--primary-ink); }
.bs-range-p { position: absolute; right: 0; top: calc(100% + 8px); z-index: 25; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px; border-radius: 18px; background: #fff;
  box-shadow: 0 22px 50px -14px rgba(11, 18, 32, .3), 0 0 0 1px rgba(11, 18, 32, .05); }
.shell .bs-range-p input { width: 150px; height: 38px; }
.bs-find-l { display: inline-flex; align-items: center; gap: 7px; margin-right: auto; padding: 0 8px; color: var(--sub); font-size: 13px; }
.bs-find-l b { color: var(--title); }

dialog.bs-dlg { width: min(500px, calc(100vw - 24px)); max-height: 90dvh; padding: 0; border: 0; border-radius: 26px; color: var(--text, #1A2332); background: #fff;
  box-shadow: 0 30px 80px -24px rgba(11, 18, 32, .45); }
dialog.bs-dlg.wide { width: min(620px, calc(100vw - 24px)); }
dialog.bs-dlg[open] { animation: bs-pop .4s var(--ease, ease); }
dialog.bs-dlg::backdrop { background: rgba(14, 27, 46, .42); backdrop-filter: blur(3px); }
@keyframes bs-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.bs-dlg > form { display: flex; flex-direction: column; max-height: 90dvh; }
.bs-dh { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 22px 24px 12px; }
.bs-dh small { display: block; font-size: 11.5px; font-weight: 750; letter-spacing: .04em; color: var(--primary-ink, #0B6B50); }
.bs-dh b { display: block; margin-top: 2px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.bs-dx { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #F1F3F6; color: var(--ink, #3A4556); cursor: pointer; }
.bs-prog { height: 3px; margin: 0 24px; border-radius: 3px; background: #EEF1F4; overflow: hidden; }
.bs-prog i { display: block; width: 50%; height: 100%; background: var(--primary, #0A8F68); transition: width .5s var(--ease, ease); }
.bs-db { display: flex; flex-direction: column; gap: 8px; padding: 16px 24px 8px; overflow-y: auto; }
.bs-db > .bs-l { margin-top: 8px; }
.bs-db > .bs-l:first-child { margin-top: 0; }
.bs-df { display: flex; align-items: center; gap: 8px; padding: 14px 24px 20px; }
.bs-df > span { flex: 1; }
.bs-db .bs-df { padding: 14px 0 12px; }

/* ── 가게 설정 첫 화면(store.html) ─────────────────────── */
.bs-hero { display: flex; align-items: center; gap: 18px; margin: 0 0 14px; padding: 20px 22px; border-radius: 26px; color: #fff;
  background: linear-gradient(120deg, var(--navy), #1D3A5C); box-shadow: var(--sh); }
.bs-hero-mk { flex: none; width: 60px; height: 60px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: rgba(255, 255, 255, .12);
  font-size: 24px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.bs-hero-mk img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bs-hero-t { flex: 1; min-width: 0; } .bs-hero-t > b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.bs-url { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-size: 13px; color: #A9BACD; }
.bs-url a { display: inline-flex; align-items: center; gap: 4px; color: #DCE5EF; } .bs-url a:hover { color: #fff; }
.bs-url button { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.bs-url button:hover { background: rgba(255, 255, 255, .18); }
.bs-open { flex: none; display: flex; gap: 3px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.bs-open button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: #A9BACD;
  font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); }
.bs-open button:not(:disabled):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.bs-open button i { width: 7px; height: 7px; border-radius: 50%; background: #5C7088; }
.bs-open button.on { background: #fff; color: var(--navy); cursor: default; } .bs-open button.on i { background: var(--primary); box-shadow: 0 0 0 3px rgba(10, 143, 104, .2); }
.bs-open button.on.off i { background: #98A2B3; box-shadow: none; }
.bs-todo { margin: 0 0 16px; padding: 16px 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.bs-todo-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bs-todo-h b { font-size: 14.5px; } .bs-todo-h span { color: var(--sub); font-size: 12.5px; font-weight: 650; }
.bs-todo-h i { flex: 1; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--primary) var(--p), #EEF1F4 var(--p)); }
.bs-todo-h button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: pointer; }
.bs-todo-h button:hover { background: var(--soft); color: var(--ink); }
.bs-todo-l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bs-todo-l a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #F7F9FB; color: inherit; transition: background .4s var(--ease); }
.bs-todo-l a:hover { background: #EFF3F6; }
.bs-todo-l .ck { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--sub); box-shadow: inset 0 0 0 1.5px rgba(11, 18, 32, .1); }
.bs-todo-l a.done .ck { background: var(--primary); color: #fff; box-shadow: none; }
.bs-todo-l b { display: block; font-size: 13px; } .bs-todo-l small { display: block; color: var(--sub); font-size: 11.5px; }
.bs-todo-l a.done b { color: var(--sub); text-decoration: line-through; text-decoration-color: rgba(11, 18, 32, .25); }
.bs-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.bs-grp { padding: 8px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.bs-grp h2 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 12px 8px; font-size: 14px; color: var(--title); }
.bs-grp h2 .ic { color: var(--primary); }
.bs-grp a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; color: inherit; transition: background .4s var(--ease); }
.bs-grp a:hover { background: var(--soft); }
.bs-grp a > span { flex: 1; min-width: 0; } .bs-grp a b { display: block; font-size: 13.5px; }
.bs-grp a small { display: block; margin-top: 2px; color: var(--sub); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-grp a > .ic { color: var(--faint); }
.bs-deco { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: #F7F9FB; box-shadow: inset 0 0 0 1px var(--line); }
.bs-deco h2 { margin: 0 0 10px; font-size: 13px; color: var(--sub); }
.bs-deco-l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bs-deco-l > a, .bs-deco-rv { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #fff; color: inherit; box-shadow: 0 1px 2px rgba(11, 18, 32, .05); }
.bs-deco-l > a:hover { box-shadow: 0 1px 2px rgba(11, 18, 32, .05), inset 0 0 0 1.5px var(--primary); }
.bs-deco-l .ic { flex: none; color: var(--primary-ink); }
.bs-deco-l span { flex: 1; min-width: 0; } .bs-deco-l b { display: block; font-size: 13px; } .bs-deco-l small { display: block; color: var(--sub); font-size: 11.5px; }
.bs-deco-rv form { margin: 0; } .bs-deco-rv .btn { padding: 0 10px; }
.bs-del { margin: 18px 4px 0; text-align: right; }
.bs-del button { border: 0; background: none; color: var(--faint); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.bs-del button:hover { color: var(--red); }

/* 가게 목록 · 내 가게들 */
.bs-shops { display: flex; flex-direction: column; gap: 8px; }
.bs-shops.in { gap: 0; }
.bs-shop { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #fff; color: inherit; box-shadow: var(--sh); transition: box-shadow .4s var(--ease); }
.bs-shop:hover { box-shadow: var(--sh), inset 0 0 0 1.5px var(--primary); }
.bs-shops.in .bs-shop { padding: 12px 4px; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
.bs-shops.in .bs-shop:first-child { border-top: 0; padding-top: 0; } .bs-shops.in .bs-shop:hover { box-shadow: none; } .bs-shops.in .bs-shop:hover b { color: var(--primary-ink); }
.bs-shop .mk { flex: none; width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: var(--primary-weak); color: var(--primary-ink); font-weight: 800; font-size: 17px; }
.bs-shop .mk img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bs-shop .tx { flex: 1; min-width: 0; } .bs-shop .tx b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-shop .tx small { display: block; margin-top: 2px; color: var(--sub); font-size: 12px; font-variant-numeric: tabular-nums; }
.bs-shop .go { display: inline-flex; align-items: center; gap: 3px; color: var(--primary-ink); font-size: 12.5px; font-weight: 750; white-space: nowrap; }
.bs-shop > .ic { color: var(--faint); }

/* ── 내 정보(mypage.html) ─────────────────────────── */
.bs-me { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.bs-me-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; }
.bs-me-card { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(150deg, var(--navy), #1D3A5C); box-shadow: var(--sh); }
.bs-me-card .av { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 16px; background: var(--primary); font-size: 20px; font-weight: 800; }
.bs-me-card > b { font-size: 18px; } .bs-me-card > small { margin-top: 2px; color: #9DB0C6; font-size: 12px; font-weight: 700; }
.bs-me-card p { margin: 10px 0 0; color: #C3CFDC; font-size: 12.5px; }
.bs-me-card .n { display: flex; gap: 8px; width: 100%; margin-top: 14px; }
.bs-me-card .n span { flex: 1; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #9DB0C6; font-size: 11.5px; }
.bs-me-card .n b { display: block; color: #fff; font-size: 17px; }
.bs-me-nav { display: flex; flex-direction: column; padding: 6px; border-radius: 20px; background: #fff; box-shadow: var(--sh); }
.bs-me-nav a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-size: 13px; font-weight: 650; }
.bs-me-nav a:hover { background: var(--soft); } .bs-me-nav .ic { color: var(--sub); }
.bs-me-main { min-width: 0; } .bs-me-main > .bs-blk { scroll-margin-top: 96px; }
.shell .bs-zip { width: 130px; flex: none; }
.bs-me-main .bs-fld > input + input { margin-top: 2px; }
.bs-pw { border-radius: 16px; background: #F7F9FB; box-shadow: inset 0 0 0 1px var(--line); }
.bs-pw > summary { display: flex; align-items: center; gap: 8px; padding: 13px 16px; list-style: none; cursor: pointer; font-size: 13.5px; font-weight: 700; }
.bs-pw > summary::-webkit-details-marker { display: none; } .bs-pw > summary .ic:last-child { margin-left: auto; color: var(--sub); }
.bs-pw[open] > summary .ic:last-child { transform: rotate(180deg); }
.bs-pw > form { display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 16px; }
.bs-acct-f { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.bs-acct-f .bs-h { flex: 1; min-width: 200px; }

/* ── 직원 권한 · 알림 기록 · 작업 기록 ─────────────────── */
.bs-mrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh); }
.bs-mrow .av { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #E9F0FA; color: #24456E; font-weight: 800; }
.bs-mrow.off .av { background: #F1F2F5; color: var(--faint); } .bs-mrow.off .tx b { color: var(--sub); }
.bs-mrow .tx { min-width: 0; } .bs-mrow .tx b { display: block; font-size: 14.5px; } .bs-mrow .tx small { display: block; margin-top: 2px; color: var(--sub); font-size: 12px; }
.bs-mrow form { margin: 0; }
.bs-nrow { position: relative; padding: 14px 18px 14px 22px; border-radius: 18px; background: #fff; box-shadow: var(--sh); overflow: hidden; }
.bs-nrow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #B9C4D1; }
.bs-nrow.ch-alimtalk::before { background: #E8B400; } .bs-nrow.ch-kakao_bot::before { background: #6D4AA8; } .bs-nrow.ch-push::before { background: var(--primary); } .bs-nrow.ch-own_channel::before { background: #24456E; }
.bs-nrow-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.bs-nrow-h b { font-size: 14px; } .bs-nrow-h time { margin-left: auto; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.bs-chan { font-size: 11.5px; font-weight: 800; color: var(--sub); letter-spacing: .02em; }
.bs-nrow-b { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; color: var(--sub); font-size: 12.5px; }
.bs-nrow-b .no { color: var(--primary-ink); font-weight: 750; } .bs-nrow-b b { color: var(--title); }
.bs-nrow .say { margin: 8px 0 0; padding: 9px 12px; border-radius: 12px; background: #F7F9FB; font-size: 13px; line-height: 1.55; white-space: pre-line; }
.bs-nrow .why { display: flex; align-items: center; gap: 5px; margin: 8px 0 0; color: #A8560B; font-size: 12px; }
.pl-find + .bs-note { margin-bottom: 12px; }
.bs-tl { margin: 0 0 18px; }
.bs-tl h2 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; padding-left: 4px; font-size: 14px; color: var(--title); }
.bs-tl h2 small { color: var(--faint); font-size: 12px; font-weight: 650; }
.bs-tl ol { margin: 0; padding: 6px 18px; list-style: none; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.bs-tl li { position: relative; display: grid; grid-template-columns: 46px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0 12px 22px; }
.bs-tl li + li { border-top: 1px solid var(--line); }
.bs-tl li::before { content: ""; position: absolute; left: 3px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #3F6FAE; box-shadow: 0 0 0 4px #E9F0FA; }
.bs-tl li.t-green::before { background: var(--primary); box-shadow: 0 0 0 4px var(--primary-weak); }
.bs-tl li.t-red::before { background: #C2401F; box-shadow: 0 0 0 4px #FCEDEA; } .bs-tl li.t-amber::before { background: #C98410; box-shadow: 0 0 0 4px #FFF3E3; }
.bs-tl time { color: var(--sub); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bs-tl li > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.bs-tl li > small { color: var(--sub); font-size: 12px; white-space: nowrap; }
.bs-tag { padding: 3px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 750; background: #E9F0FA; color: #24456E; white-space: nowrap; }
.bs-tag.green { background: var(--primary-weak); color: var(--primary-ink); } .bs-tag.red { background: #FCEDEA; color: #B23A1E; } .bs-tag.amber { background: #FFF3E3; color: #A8560B; }

/* ── 예치금 · 입금 문자 · 서비스 포인트 · 현금영수증 ───────── */
.bs-wal { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.bs-wal-card { padding: 24px; border-radius: 26px; color: #fff; background: linear-gradient(140deg, var(--navy), #18375A 70%, #0D4E43); box-shadow: var(--sh); }
.bs-wal-n { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bs-wal-n span { padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .07); }
.bs-wal-n small { display: block; color: #9DB0C6; font-size: 12px; font-weight: 700; }
.bs-wal-n b { display: block; margin-top: 4px; font-size: 27px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bs-wal-n em { margin-left: 2px; font-style: normal; font-size: 14px; color: #9DB0C6; }
.bs-wal-how { counter-reset: s; display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.bs-wal-how li { counter-increment: s; position: relative; padding-left: 36px; }
.bs-wal-how li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 800; }
.bs-wal-how b { display: block; font-size: 13.5px; } .bs-wal-how span { display: block; margin-top: 1px; color: #B6C4D3; font-size: 12.5px; line-height: 1.5; }
.bs-wal-how span b { display: inline; color: #7FE3BD; }
.bs-wal-card > p { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); color: #9DB0C6; font-size: 12px; }
.bs-wal-f { display: flex; flex-direction: column; gap: 12px; }
.bs-wal-f form { display: flex; flex-direction: column; gap: 12px; }
.bs-wal-f form > .btn { align-self: flex-start; }
.bs-fold { padding: 0; } .bs-fold > summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 750; }
.bs-fold > summary::-webkit-details-marker { display: none; } .bs-fold[open] > summary .ic { transform: rotate(180deg); }
.bs-fold > form { padding: 0 22px 20px; }
.bs-lrow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto 64px; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh); }
.bs-lrow .ic2 { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-weak); color: var(--primary-ink); }
.bs-lrow .ic2.refund { background: #FFF3E3; color: #A8560B; }
.bs-lrow .tx b { display: block; font-size: 14px; } .bs-lrow .tx small { color: var(--sub); font-size: 12px; }
.bs-lrow .amt, .bs-lg .amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bs-lrow .ac { text-align: right; } .bs-lrow form { margin: 0; }
.bs-ledger { border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); padding: 4px 18px; }
.bs-lg { display: grid; grid-template-columns: minmax(0, 1fr) auto 130px 120px; align-items: center; gap: 12px; padding: 13px 0; }
.bs-lg + .bs-lg { border-top: 1px solid var(--line); }
.bs-lg .tx { min-width: 0; } .bs-lg .tx b { font-size: 14px; } .bs-lg .tx small { display: block; color: var(--sub); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-lg time { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.bs-lg .amt { text-align: right; color: var(--primary-ink); } .bs-lg .amt.neg { color: #B23A1E; }
.bs-lg .cur { font-size: 11.5px; font-weight: 750; color: var(--sub); } .bs-lg .cur.point { color: #A8560B; }
.bs-lg.day { grid-template-columns: minmax(0, 1fr) 120px 120px; }
.bs-lg:has(> time:nth-child(2)) { grid-template-columns: minmax(0, 1fr) 130px 120px; }
.bs-dp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.bs-dp.has { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.bs-dp-in { display: flex; flex-direction: column; gap: 14px; }
.bs-dp-in > .btn { align-self: flex-start; }
.bs-steps { counter-reset: s; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink); }
.bs-steps li { counter-increment: s; position: relative; padding-left: 30px; line-height: 20px; }
.bs-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-weak); color: var(--primary-ink); font-size: 11px; font-weight: 800; }
.bs-dp-out { display: flex; flex-direction: column; gap: 10px; }
.bs-dp-out > form { display: flex; flex-direction: column; gap: 10px; }
.bs-dp-row { padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh); }
.bs-dp-row .src { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.bs-dp-row .src b { font-size: 16px; font-variant-numeric: tabular-nums; } .bs-dp-row .src small { width: 100%; color: var(--faint); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-dp-row .cands { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.bs-dp-row .cands label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #F7F9FB; cursor: pointer; font-size: 13px; }
.bs-dp-row .cands label.sure { background: var(--primary-weak); box-shadow: inset 0 0 0 1.5px var(--primary); }
.bs-dp-row .cands input[type=checkbox] { margin-top: 2px; accent-color: var(--primary); }
.bs-dp-row .cands small { color: var(--sub); } .bs-dp-row .cands em { margin-left: 6px; font-style: normal; font-size: 11.5px; font-weight: 750; color: #A8560B; }
.bs-ptbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 14px; padding: 18px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.bs-ptbar small { display: block; color: var(--sub); font-size: 12px; font-weight: 700; }
.bs-ptbar b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--title); }
.bs-ptbar b em { margin-left: 3px; font-style: normal; font-size: 15px; color: var(--sub); }
.bs-ptbar p { flex: 1 1 260px; margin: 0; color: var(--sub); font-size: 12.5px; text-align: right; }
.pl-tabs.bs-in { margin: 0 auto 0 0; padding: 0; }
.bs-pt { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.bs-pt-req { padding: 16px 18px; } .bs-pt-req h2 { font-size: 14px; margin-bottom: 8px; }
.bs-pt-req .r { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.bs-pt-req .r b { display: block; font-variant-numeric: tabular-nums; } .bs-pt-req .r small { color: var(--faint); font-size: 11.5px; }
.bs-crow { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto 140px; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh); }
.bs-crow .kd { width: 48px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #F1F3F6; font-size: 12px; font-weight: 750; color: var(--ink); }
.bs-crow .tx b { display: block; font-variant-numeric: tabular-nums; } .bs-crow .tx small { color: var(--sub); font-size: 12px; }
.bs-crow .amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bs-crow .meta { text-align: right; } .bs-crow .meta small, .bs-crow .meta time { display: block; color: var(--faint); font-size: 11.5px; }

/* ── 공지·소식 · 후기 ─────────────────────────────── */
.bs-cw { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.bs-cw-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bs-posts { padding: 6px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.bs-posts > h2 { display: flex; align-items: center; gap: 6px; margin: 0; padding: 14px 0 8px; font-size: 12.5px; color: var(--sub); }
.bs-post { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.bs-posts > h2 + .bs-post, .bs-posts > .bs-post:first-child { border-top: 0; }
.bs-post .tx { flex: 1; min-width: 0; } .bs-post .h { display: flex; align-items: center; gap: 8px; } .bs-post .h b { font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-post p { margin: 6px 0 0; color: var(--ink); font-size: 13.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.bs-post small { display: block; margin-top: 6px; color: var(--faint); font-size: 12px; } .bs-post small b { color: var(--sub); }
.bs-post > img { flex: none; width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: #EEF1F4; }
.bs-post .ac { flex: none; display: flex; gap: 2px; } .bs-post .ac form { margin: 0; }
.bs-post.off { opacity: .55; }
.bs-rvtop { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 20px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.bs-rvtop .avg { display: flex; flex-direction: column; align-items: flex-start; padding-right: 20px; border-right: 1px solid var(--line); }
.bs-rvtop .avg b { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--title); }
.bs-rvtop .stars { margin-top: 6px; color: #F0A92E; letter-spacing: 2px; } .bs-rvtop .avg small { margin-top: 6px; color: var(--sub); font-size: 12px; }
.bs-rvtop .sw b { font-size: 14.5px; } .bs-rvtop .sw p { margin: 4px 0 12px; color: var(--sub); font-size: 12.5px; line-height: 1.55; } .bs-rvtop form { margin: 0; }
.bs-tg { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 6px; border: 0; border-radius: 999px; background: #EEF1F5; color: var(--sub); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.bs-tg i { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #CDD3DC; }
.bs-tg i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(11, 18, 32, .2); transition: transform .35s var(--ease); }
.bs-tg.on { background: var(--primary-weak); color: var(--primary-ink); } .bs-tg.on i { background: var(--primary); } .bs-tg.on i::after { transform: translateX(18px); }
.bs-stars { flex: none; color: #F0A92E; font-size: 13px; letter-spacing: 1px; } .bs-stars i { font-style: normal; color: #DDE2E8; }

/* ── 사용법(guide.html) ───────────────────────────── */
.bs-gd-q { cursor: text; }
.bs-gd-read { margin: 0 0 18px; min-height: 120px; scroll-margin-top: 110px; }
.bs-gd-hello { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 0; color: var(--sub); text-align: center; }
.bs-gd-hello .ic { color: var(--primary); } .bs-gd-hello b { color: var(--title); font-size: 15px; } .bs-gd-hello p { margin: 0; font-size: 13px; }
.bs-gd-doc h2 { margin: 10px 0 12px; font-size: 20px; }
.bs-gd-doc ol { counter-reset: s; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bs-gd-doc li { counter-increment: s; display: flex; gap: 12px; font-size: 14px; line-height: 1.65; }
.bs-gd-doc li::before { content: counter(s); flex: none; width: 24px; height: 24px; margin-top: 1px; display: grid; place-items: center; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; }
.bs-gd-cat { margin: 0 0 18px; } .bs-gd-cat h2 { display: flex; align-items: baseline; gap: 6px; margin: 0 0 8px 4px; font-size: 14px; } .bs-gd-cat h2 small { color: var(--faint); font-size: 12px; }
.bs-gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bs-gd-d { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--sh); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: box-shadow .4s var(--ease); }
.bs-gd-d b { font-size: 14px; } .bs-gd-d span { color: var(--sub); font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bs-gd-d:hover, .bs-gd-d.on { box-shadow: var(--sh), inset 0 0 0 1.5px var(--primary); }

/* ── 본사 승인 받기(suppliers.html) ─────────────────── */
.bs-hq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 22px; align-items: center; padding: 22px 24px; border-radius: 26px; background: #fff; box-shadow: var(--sh); }
.bs-hq-id { display: flex; align-items: center; gap: 14px; }
.bs-hq-mk { flex: none; width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 26px; font-weight: 800; color: var(--primary); }
.bs-hq-mk img { width: 78%; height: 78%; object-fit: contain; }
.bs-hq-id b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 18px; } .bs-hq-id p { margin: 4px 0 0; color: var(--sub); font-size: 12.5px; line-height: 1.55; }
.bs-hq-ways { counter-reset: s; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0 0 0 22px; list-style: none; border-left: 1px solid var(--line); }
.bs-hq-ways li { counter-increment: s; position: relative; padding-left: 30px; }
.bs-hq-ways li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-weak); color: var(--primary-ink); font-size: 11px; font-weight: 800; }
.bs-hq-ways b { display: block; font-size: 13.5px; } .bs-hq-ways span { display: block; margin-top: 2px; color: var(--sub); font-size: 12px; line-height: 1.55; }
.bs-hq-st { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 170px; } .bs-hq-st .bs-pill { align-self: center; }
.shell .btn.bs-lock { opacity: .5; }

/* ── 좁은 화면: 위 화면들 ─────────────────────────── */
@media (max-width: 1100px) {
  .bs-cw { grid-template-columns: minmax(0, 1fr); } .bs-cw .bs-pv { display: none; }
  .bs-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bs-hq { grid-template-columns: minmax(0, 1fr); } .bs-hq-ways { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); } .bs-hq-st { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .bs-hero { flex-wrap: wrap; padding: 18px; border-radius: 22px; } .bs-open { width: 100%; } .bs-open button { flex: 1; justify-content: center; }
  .bs-todo-l, .bs-deco-l { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bs-deco-rv { grid-column: 1 / -1; }
  .bs-groups { grid-template-columns: minmax(0, 1fr); }
  .bs-shop { padding: 12px 14px; gap: 12px; } .bs-shop .go { display: none; }
  .bs-me { grid-template-columns: minmax(0, 1fr); } .bs-me-side { position: static; }
  .bs-me-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; } .bs-me-nav a { flex: none; }
  .bs-mrow { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 14px; }
  .bs-mrow .av { width: 40px; height: 40px; grid-row: span 2; }
  .bs-mrow > .bs-pill:nth-of-type(1) { grid-column: 2; grid-row: 2; justify-self: start; }
  .bs-mrow > .bs-pill:nth-of-type(2) { grid-column: 3; grid-row: 1; justify-self: end; }
  .bs-mrow form { grid-column: 3; grid-row: 2; justify-self: end; }
  .bs-nrow-h time { width: 100%; margin-left: 0; }
  .bs-tl ol { padding: 4px 14px; } .bs-tl li { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 10px; padding-left: 20px; }
  .bs-tl li > .bs-tag { justify-self: start; } .bs-tl li > b, .bs-tl li > small { grid-column: 2; }
  .bs-wal, .bs-dp.has, .bs-pt { grid-template-columns: minmax(0, 1fr); }
  .bs-wal-card { padding: 18px; border-radius: 22px; } .bs-wal-n b { font-size: 21px; }
  .bs-lrow { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 6px 12px; } .bs-lrow > .bs-pill { grid-column: 2; justify-self: start; } .bs-lrow .ac { grid-column: 3; }
  .bs-ledger { padding: 2px 14px; }
  .bs-lg, .bs-lg:has(> time:nth-child(2)) { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .bs-lg .amt { grid-column: 2; grid-row: 1; } .bs-lg time { grid-column: 1; }
  .bs-lg .cur { grid-column: 1; }
  .bs-lg.day { grid-template-columns: minmax(0, 1fr) auto auto; } .bs-lg.day .amt { grid-row: auto; grid-column: auto; }
  .bs-ptbar p { text-align: left; }
  .bs-crow { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 12px; } .bs-crow .kd { width: 44px; grid-row: span 2; }
  .bs-crow > .bs-pill { grid-column: 2; justify-self: start; } .bs-crow .meta { grid-column: 3; }
  .bs-find-l { width: 100%; margin: 0; padding: 2px 4px; }
  .bs-post { gap: 10px; } .bs-post > img { width: 56px; height: 56px; } .bs-posts { padding: 4px 14px; }
  .bs-post .ac { flex-direction: column; }
  .bs-rvtop { grid-template-columns: minmax(0, 1fr); } .bs-rvtop .avg { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .bs-range-p { left: 0; right: auto; } .shell .bs-range-p input { width: 130px; }
  .bs-hq { padding: 18px; gap: 16px; }
}

/* ── 로그인 · 가게 만들기(p/login · p/join · admin/login) — .shell 밖이라 색을 여기서 정한다 ── */
.bs-auth { --navy: #0E1B2E; --primary: #0A8F68; --primary-weak: #E6F5EF; --primary-ink: #0B6B50; --title: #0B1220; --ink: #3A4556; --sub: #6B7688; --faint: #98A2B3;
  --red: #D9480F; --line: rgba(11, 18, 32, .08); --ease: cubic-bezier(.32, .72, 0, 1);
  display: grid; grid-template-columns: minmax(320px, 40%) minmax(0, 1fr); min-height: 100dvh; background: #F3F5F8; color: #1A2332; letter-spacing: -.01em; }
.bs-auth-side { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 48px clamp(28px, 5vw, 72px);
  color: #fff; background: radial-gradient(700px 420px at 0% 100%, rgba(10, 143, 104, .35), transparent 60%), linear-gradient(160deg, #0E1B2E, #17304F); }
.bs-auth-mk { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 18, 32, .06), 0 14px 30px -14px rgba(0, 0, 0, .5);
  color: var(--primary); font-size: 28px; font-weight: 800; }
.bs-auth-mk img { width: 74%; height: 74%; object-fit: contain; }
.bs-auth-side > b { margin-top: 10px; font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
.bs-auth-side > p { max-width: 380px; margin: 0; color: #B6C4D3; font-size: 14.5px; line-height: 1.65; }
.bs-auth-side ul, .bs-auth-side ol { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.bs-auth-side li { display: flex; align-items: center; gap: 10px; color: #DCE5EF; font-size: 13.5px; }
.bs-auth-side ul .ic { color: #7FE3BD; }
.bs-auth-side ol { counter-reset: s; } .bs-auth-side ol li { counter-increment: s; }
.bs-auth-side ol li::before { content: counter(s); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 800; }
.bs-auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.bs-auth-form { width: min(420px, 100%); display: flex; flex-direction: column; gap: 8px; }
.bs-auth.join .bs-auth-form { width: min(560px, 100%); }
.bs-auth-form h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.035em; color: var(--title); }
.bs-auth-sub { margin: 0 0 18px; color: var(--sub); font-size: 14px; }
.bs-auth-form .bs-l { margin-top: 8px; }
.bs-auth-form input:not([type=checkbox]):not([type=radio]):not([type=file]) { width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: #fff; font: inherit; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(11, 18, 32, .1); transition: box-shadow .3s var(--ease); }
.bs-auth-form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--primary), 0 0 0 4px rgba(10, 143, 104, .12); }
.bs-auth-form input[type=file] { font: inherit; font-size: 13px; max-width: 100%; }
.bs-auth-form .err { margin-bottom: 4px; }
.bs-auth-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; margin-top: 18px; border: 0; border-radius: 999px; background: var(--navy); color: #fff;
  font: inherit; font-size: 15.5px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px -14px rgba(14, 27, 46, .7); transition: transform .4s var(--ease), background .4s var(--ease); }
.bs-auth-go:hover { background: #1B3354; } .bs-auth-go:active { transform: scale(.98); }
.bs-auth-alt { margin: 14px 0 0; text-align: center; color: var(--sub); font-size: 13.5px; }
.bs-auth-alt a { color: var(--primary-ink); font-weight: 800; }
.bs-auth .faint { color: var(--faint); font-weight: 500; }
.bs-jn { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0 0 12px; padding: 18px 20px 20px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 10px 28px -16px rgba(11, 18, 32, .16); }
.bs-jn legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin: 0 0 4px; padding: 0; font-size: 15px; font-weight: 800; color: var(--title); }
.bs-jn legend i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; background: var(--primary); color: #fff; font-style: normal; font-size: 12.5px; }
.bs-jn .bs-2 .bs-l { margin-top: 0; } .bs-jn .bs-2 { margin-top: 6px; }
.bs-jn input + input { margin-top: 2px; }
.bs-auth .bs-zip { width: 130px !important; flex: none; }
.bs-auth .bs-addr input { flex: 1; } .bs-auth .bs-addr .bs-zip { flex: none; }
.bs-auth .btn { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #E9EDF2; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 750; cursor: pointer; }
.bs-auth .bs-ck { align-items: flex-start; margin-top: 4px; line-height: 1.5; } .bs-auth .bs-ck input { margin-top: 2px; flex: none; }
@media (max-width: 900px) {
  .bs-auth { grid-template-columns: minmax(0, 1fr); }
  .bs-auth-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 14px; padding: 24px 20px 34px; }
  .bs-auth-mk { width: 52px; height: 52px; border-radius: 16px; }
  .bs-auth-side > b { margin: 0; font-size: 21px; } .bs-auth-side > p { width: 100%; font-size: 13.5px; }
  .bs-auth-side ul, .bs-auth-side ol { display: none; }
  .bs-auth-main { align-items: flex-start; padding: 0 12px 40px; margin-top: -16px; }
  .bs-auth-form { padding: 22px 18px; border-radius: 24px; background: #F3F5F8; }
  .bs-auth.join .bs-auth-form { padding: 22px 6px 0; }
  .bs-auth-form h1 { font-size: 24px; }
  .bs-jn { padding: 16px; }
}
