/* page-line.css —— 「LINE 設定」頁 #line（B2-5a；定稿 design/mockups/salon_line_b2_v1.html 02）
   ⚠ 必須排在 index.html 的 main.css 之後（8-1）。全部限定在 .lset-wrap 之下、class 一律 lset- 前綴
   （顧客頁已有 .ln-ic；全站的 .row / .top / .tag 會滲進來）。色彩一律 token，亮暗各自跟著 [data-theme]。 */
.lset-wrap { max-width: 760px; }
.lset-wrap .lset-lead { margin: 0 0 14px; font-size: 13px; color: var(--lhrm-text-dim); line-height: 1.7; }
.lset-wrap .lset-tabs { display: flex; border-bottom: 1px solid var(--lhrm-border); margin-bottom: 18px; }
.lset-wrap .lset-tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  color: var(--lhrm-text-dim); padding: 10px 14px; font: inherit; font-size: 13px; cursor: pointer;
}
.lset-wrap .lset-tabs button.on { color: var(--lhrm-text); border-bottom-color: var(--lhrm-gold); }
/* textarea 16px：iOS 對 < 16px 的輸入框聚焦會放大整頁且不還原（同 #svDrawer 的理由） */
.lset-wrap textarea {
  display: block; width: 100%; box-sizing: border-box; resize: vertical; min-height: 96px;
  font: inherit; font-size: 16px; line-height: 1.7; padding: 9px 11px;
  color: var(--lhrm-text); background: var(--lhrm-input-bg); border: 1px solid var(--lhrm-border-2); border-radius: 2px;
}
.lset-wrap textarea:focus { outline: none; border-color: var(--lhrm-gold); }
.lset-wrap .lset-n { float: right; margin-left: 8px; color: var(--lhrm-text-faint); }
.lset-wrap .fld { margin-bottom: 18px; }
.lset-wrap .fld > label + .lset-sw { margin-top: 2px; }
.lset-wrap .lset-act { margin: 4px 0 22px; }
.lset-wrap .lset-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.lset-wrap .lset-lbl, .lset-wrap .lset-sub { font-size: 10px; letter-spacing: 2px; color: var(--lhrm-text-faint); }
.lset-wrap .lset-sub { margin: 18px 0 4px; }
.lset-wrap .lset-it { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--lhrm-border); }
.lset-wrap .lset-it.off { opacity: .55; }
.lset-wrap .lset-ord { flex: none; width: 20px; font-size: 12px; color: var(--lhrm-text-faint); }
.lset-wrap .lset-th { flex: none; width: 44px; height: 44px; border-radius: 4px; object-fit: cover; display: block; }
.lset-wrap .lset-th.none {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  border: 1px dashed var(--lhrm-danger); color: var(--lhrm-danger); font-size: 10px;
}
.lset-wrap .lset-g { flex: 1; min-width: 0; }
.lset-wrap .lset-nm { font-size: 13px; color: var(--lhrm-text); overflow-wrap: anywhere; }
.lset-wrap .lset-mt { font-size: 11px; color: var(--lhrm-text-dim); margin-top: 2px; }
.lset-wrap .lset-bt { flex: none; display: flex; gap: 6px; }
.lset-wrap .lset-bt .btn { font-family: var(--lhrm-font-mono); font-size: 12px; line-height: 1.2; padding: 5px 8px; }
.lset-wrap .lset-warn { flex: 0 1 150px; font-size: 11px; line-height: 1.5; color: var(--lhrm-danger); text-align: right; }
.lset-wrap .lset-empty { font-size: 12px; color: var(--lhrm-text-faint); padding: 14px 0; }
.lset-wrap .lset-hint { margin-top: 10px; }
/* 開關：原生 checkbox 藏起來，<i> 畫成軌道（checked → 金） */
.lset-wrap .lset-sw { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lhrm-text); cursor: pointer; }
.lset-wrap .lset-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lset-wrap .lset-sw i { position: relative; width: 34px; height: 18px; border-radius: 9px; background: var(--lhrm-border-2); transition: background .15s; }
.lset-wrap .lset-sw i::after {
  content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--lhrm-bg); transition: left .15s;
}
.lset-wrap .lset-sw input:checked + i { background: var(--lhrm-gold); }
.lset-wrap .lset-sw input:checked + i::after { left: 18px; }
.lset-wrap .lset-sw input:focus-visible + i { outline: 2px solid var(--lhrm-gold-soft); outline-offset: 2px; }
@media (max-width: 760px) {
  .lset-wrap .lset-it { gap: 8px; }
  .lset-wrap .lset-ord { width: 16px; }
  .lset-wrap .lset-bt { gap: 4px; }
  .lset-wrap .lset-bt .btn { padding: 4px 6px; }
  .lset-wrap .lset-warn { flex-basis: 96px; }
}
/* ── 本月優惠（B2 收尾-C）── 狀態標、就地表單。輸入框 16px 同 textarea 的理由（iOS 聚焦放大）；
   date / select 的原生控制項跟著 [data-theme]（color-scheme，不跟 OS），暗色下才不會是一塊白底。 */
.lset-wrap .lset-pill {
  display: inline-block; margin-left: 4px; padding: 0 6px; border: 1px solid var(--lhrm-border-2); border-radius: 9px;
  font-size: 10px; line-height: 16px; color: var(--lhrm-text-dim); white-space: nowrap; vertical-align: 1px;
}
.lset-wrap .lset-pill.running { color: var(--c-success); border-color: var(--c-success); }
.lset-wrap .lset-pill.upcoming { color: var(--lhrm-gold-text); border-color: var(--lhrm-gold-soft); }
.lset-wrap .lset-pill.draft { color: var(--lhrm-danger); border-color: var(--lhrm-danger); }
.lset-wrap .lset-form { padding: 6px 0 4px; }
.lset-wrap .lset-form .fld input, .lset-wrap .lset-sel { font: inherit; font-size: 16px; color: var(--lhrm-text); color-scheme: light; }
[data-theme="dark"] .lset-wrap .lset-form .fld input, [data-theme="dark"] .lset-wrap .lset-sel { color-scheme: dark; }
.lset-wrap .lset-sel {
  display: block; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 6px;
  background: var(--lhrm-input-bg); border: 1px solid var(--lhrm-border-2); border-radius: 2px;
}
.lset-wrap .lset-pimg { display: flex; align-items: center; gap: 10px; }
.lset-wrap .lset-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lset-wrap .lset-dates .fld { min-width: 0; }
/* ── 推播用量（B3-D）── 金框警告 / 進度條 / 四欄表。分頁多了一顆：窄螢幕改橫向捲動、不換行 */
.lset-wrap .lset-tabs button { white-space: nowrap; }
@media (max-width: 420px) { .lset-wrap .lset-tabs button { padding: 10px 5px; font-size: 12px; } }   /* v8-6a：第 5 個分頁「店家資訊」，375 仍要一列放下 */
.lset-wrap .lset-qw {
  margin-bottom: 16px; padding: 10px 12px; border: 1px solid var(--lhrm-gold);
  color: var(--lhrm-gold-text); font-size: 13px; line-height: 1.7;
}
.lset-wrap .lset-qn { font-size: 13px; color: var(--lhrm-text-dim); margin: 4px 0 8px; }
.lset-wrap .lset-qn b { font-size: 26px; font-weight: 500; color: var(--lhrm-text); }
.lset-wrap .lset-pb { height: 6px; background: var(--lhrm-border); border-radius: 3px; overflow: hidden; }
.lset-wrap .lset-pb i { display: block; height: 100%; background: var(--lhrm-gold-soft); }
.lset-wrap .lset-pb.warn i { background: var(--lhrm-gold); }
.lset-wrap .lset-ur { display: grid; grid-template-columns: 1fr 44px 64px 44px 44px; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--lhrm-border); font-size: 13px; color: var(--lhrm-text); }
.lset-wrap .lset-ur span + span { text-align: right; }
.lset-wrap .lset-ur.lset-uh { font-size: 10px; letter-spacing: 2px; color: var(--lhrm-text-faint); padding: 6px 0; }
.lset-wrap .lset-ur .bad { color: var(--lhrm-danger); }
.lset-wrap .lset-qn b.lset-qf { font-size: 13px; font-weight: 500; }   /* B3.5：免費回覆行內數字，不吃上一行的 26px */
