/* 「方案與月租費」管理員頁(平台管理頁的 #pl-root,public/plan-ui.js)與設定頁的老闆唯讀卡「方案與帳單」(#plan-own-card)。
 * 獨立成檔,只用 .pl- 開頭的 class,不動 app.css。商米舊 WebView 守則同 app.css:橫排用 margin 隔開、不靠 flex gap;
 * 不用 grid、:has()、:is()、min()、clamp()。觸控區一律 >= 44px。 */
.pl, #pl-own-root { min-width: 0; max-width: 980px; margin: 0 auto; }
/* 老闆卡的外框是 flex、內容又有不換行的帳單表:不指定寬度,內容會被撐到比卡片寬(手機上整個設定頁多出橫向捲動);表格只在自己的框(.pl-tw)裡橫向捲 */
#pl-own-root { width: 100%; box-sizing: border-box; }
.pl h2 { margin: 0 0 4px; font-size: 20px; }
.pl-h { margin: 0 0 12px; }
.pl-sub { font-size: 13px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.pl-lead { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.pl-load { padding: 14px 4px; color: var(--muted); font-size: 14.5px; }
.pl-empty { padding: 18px 8px; text-align: center; color: var(--muted); font-size: 14px; }
.pl-msg { margin: 8px 0; padding: 8px 12px; border-radius: 10px; background: #f1f3f6; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.pl-msg[hidden] { display: none !important; }
.pl-msg.ok { background: #e7f5ea; color: #067647; }
.pl-msg.err { background: #fdecea; color: #b42318; }
/* 加購價目存檔失敗時,錯誤指到的那一項標紅框 */
.pr-cat-item.pr-cat-bad { outline: 2px solid #b42318; outline-offset: 3px; border-radius: 10px; }
.pl-note { margin: 6px 0; padding: 6px 10px; border-radius: 8px; background: #fff7ed; border: 1px solid #fdba74; font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.pl-yearly-warn { color: #b42318; font-weight: 700; }
.pl-note.err { background: #fdecea; border-color: #f5b5ae; color: #b42318; }
.pl-note[hidden] { display: none !important; }
.pl-pill { display: inline-block; margin-left: 4px; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; vertical-align: middle; background: #eceff4; color: #4b5563; }
.pl-pill.ok { background: #e7f5ea; color: #067647; }
.pl-pill.warn { background: #fff3bf; color: #b45309; }
.pl-pill.err { background: #fdecea; color: #b42318; }
.pl-pill.mute { background: #eceff4; color: var(--muted); }

/* 頂列與本月帳 */
.pl-top { margin: 0 0 10px; }
.pl-month { display: inline-block; margin: 0 10px 6px 0; font-size: 14px; font-weight: 700; }
/* 方案頁的下拉(月份、篩選):外觀同 settings-kit 的欄位控制項(淺灰框、圓角 8),不用瀏覽器預設的直角內凹框 */
#pl-root select, #pl-own-root select { padding: 0 10px; border: 1px solid var(--line, #e3e6ec); border-radius: 8px; background: var(--panel, #fff); color: inherit; font: inherit; font-size: 14px; }
.pl-month select { min-height: 44px; margin-left: 6px; }
.pl-btn { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; box-sizing: border-box; vertical-align: top; margin-bottom: 6px; }
.pl-kpis { margin: 0 -5px 10px; font-size: 0; }
.pl-kpi { display: inline-block; vertical-align: top; box-sizing: border-box; width: 50%; padding: 0 5px 10px; font-size: 14px; }
.pl-kpi > div { background: #fafbfc; border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0 12px; text-align: center; }
.pl-kpi .pl-kv { border-top: 1px solid var(--line); border-radius: 10px 10px 0 0; padding-top: 10px; font-size: 24px; font-weight: 900; color: var(--primary-text); font-variant-numeric: tabular-nums; }
.pl-kpi .pl-kl { font-size: 13.5px; font-weight: 700; }
.pl-kpi .pl-ks { border-bottom: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-bottom: 10px; font-size: 12.5px; color: var(--muted); }
.pl-kpi.ok .pl-kv { color: #067647; }
.pl-kpi.err .pl-kv { color: #b42318; }
@media (min-width: 720px) { .pl-kpi { width: 25%; } }

/* 分頁 */
.pl-tabs { margin: 4px 0 14px; font-size: 0; }
.pl-tab { display: inline-block; min-height: 44px; margin: 0 4px -1px 0; padding: 0 18px; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; }
.pl-tab.on { background: #fff; border-color: var(--line); color: var(--ink, #1f2430); }

/* 公司卡 */
.pl-co { margin: 0 0 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pl-co-h { margin: 0 0 4px; font-size: 16px; }
.pl-co-line { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.pl-co-sub { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.pl-meters { margin: 8px 0 0; }
.pl-m { margin: 0 0 7px; }
.pl-ml { font-size: 13px; line-height: 1.5; overflow: hidden; }
.pl-ml > span { float: left; color: var(--muted); }
.pl-ml > b { float: right; font-variant-numeric: tabular-nums; }
.pl-ml > b.over { color: #b42318; }
.pl-bar { clear: both; height: 7px; border-radius: 4px; background: #e8ebf0; overflow: hidden; }
.pl-bar > i { display: block; height: 100%; background: #2f9e44; border-radius: 4px; }
.pl-bar.hot > i { background: #f59f00; }
.pl-bar.over > i { background: var(--warn); }
.pl-btns { margin: 8px -4px 0; font-size: 0; }
.pl-btns button, .pl-b, button.sm.pl-b, .pl-btns button.sm { margin: 0 4px 8px; min-height: 44px; font-size: 14px; }
/* 店務模組一行:名稱、目前狀態、動作按鈕 */
.pl-mod { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 8px 0 0; }
.pl-mod-n { min-width: 6em; font-size: 14px; font-weight: 700; }
.pl-mod .pl-pill { margin-left: 0; }
.pl-mod button.pl-b, .pl-mod button.sm.pl-b { margin: 0; min-width: 72px; }

/* 帳本 */
.pl-filter { margin: 0 0 10px; font-size: 0; }
.pl-filter select { display: inline-block; min-height: 44px; margin: 0 8px 8px 0; font-size: 14px; max-width: 100%; }
.pl-row { margin: 0 0 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pl-r-top { overflow: hidden; font-size: 15px; line-height: 1.6; }
.pl-r-n { float: left; font-weight: 800; max-width: 60%; overflow-wrap: anywhere; }
.pl-r-amt { float: right; font-weight: 800; font-variant-numeric: tabular-nums; }

/* 方案設定 */
/* 比較表:一列一個方案;選來編輯的那一列標色。窄螢幕改成一個方案一張小卡 */
.pl-cmp th, .pl-cmp td { vertical-align: middle; font-variant-numeric: tabular-nums; }
.pl-cmp tbody th { font-weight: 400; white-space: nowrap; }
.pl-cmp tr.on th, .pl-cmp tr.on td { background: #fff7ed; }
.pl-cmp td.pl-cmp-act { text-align: right; }
.pl-cmp td.pl-cmp-act button { margin: 0; min-width: 76px; }
/* 欄位多(月費含原價、每家店上限)時,表頭與數值可以換行,整張表放得進卡片寬,最右邊的「編輯」不會被擠到捲動區外;方案名稱與按鈕不換行 */
.pl-tbl.pl-cmp th, .pl-tbl.pl-cmp td { white-space: normal; }
.pl-tbl.pl-cmp tbody th, .pl-tbl.pl-cmp td.pl-cmp-act { white-space: nowrap; }
@media (max-width: 700px) {
  .pl-cmp thead { display: none; }
  .pl-cmp, .pl-cmp tbody, .pl-cmp tr, .pl-cmp th, .pl-cmp td { display: block; width: 100%; box-sizing: border-box; }
  .pl-cmp tr { margin: 0 0 10px; padding: 6px 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .pl-cmp th, .pl-cmp td { padding: 3px 12px; border-bottom: 0; white-space: normal; }
  .pl-cmp td[data-l]::before { content: attr(data-l); display: inline-block; min-width: 96px; margin-right: 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
  .pl-cmp td.pl-cmp-act { text-align: left; padding-top: 6px; }
}
/* 一個方案的編輯區(比較表按「編輯」才出現) */
.pl-plan { margin: 0 0 10px; border: 2px solid #fdba74; border-radius: 12px; background: #fff; }
.pl-plan-h { padding: 10px 14px 4px; font-size: 15.5px; line-height: 1.7; }
.pl-plan-b { padding: 0 14px 12px; }
.pl-more { margin: 6px 0 0; }
.pl-more > summary { min-height: 44px; line-height: 1.5; padding: 10px 0; cursor: pointer; font-size: 14px; font-weight: 700; }
/* 試用與到期、通知字樣、連線上限:收合區,標題後面一句目前的設定 */
.pl-fold { padding: 0 14px; }
.pl-fold > summary { min-height: 44px; padding: 10px 0; cursor: pointer; line-height: 1.6; }
.pl-fold > summary .pl-sec-t { display: inline; margin: 0; }
.pl-fold-b { padding: 0 0 12px; }
.pl-dirty { display: inline-block; vertical-align: middle; margin: 0 8px 8px 4px; padding: 6px 10px; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 13.5px; font-weight: 700; }
.pl-f { display: block; margin: 0 0 10px; }
.pl-f > span:first-child { display: block; margin: 0 0 3px; font-size: 13.5px; font-weight: 700; }
.pl-f input[type="text"], .pl-f input[type="number"], .pl-f input[type="date"], .pl-f select, .pl-f textarea { display: block; width: 100%; box-sizing: border-box; min-height: 44px; font-size: 15px; }
.pl-f textarea { min-height: 70px; }
.pl-2 { font-size: 0; margin: 0 -5px; }
.pl-2 > .pl-f { display: inline-block; vertical-align: top; width: 50%; box-sizing: border-box; padding: 0 5px; font-size: 14px; }
.pl-chk { display: block; margin: 0 0 8px; min-height: 44px; font-size: 14px; line-height: 1.6; }
.pl-chk input { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: -4px; }
.pl-sec { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pl-sec-t { margin: 10px 0 6px; font-size: 14.5px; font-weight: 800; }
.pl-sec > .pl-sec-t:first-child { margin-top: 0; }
.pl-lim { margin: 0 0 6px; font-size: 14px; line-height: 44px; overflow: hidden; }
.pl-lim-l { display: inline-block; vertical-align: middle; width: 40%; line-height: 1.4; overflow-wrap: anywhere; }
.pl-lim .pl-chk { display: inline-block; vertical-align: middle; width: auto; margin: 0 10px 0 0; min-height: 44px; line-height: 44px; }
.pl-lim input[type="number"] { display: inline-block; vertical-align: middle; width: 110px; box-sizing: border-box; min-height: 44px; font-size: 15px; }
.pl-unit { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 13px; color: var(--muted); }
.pl-caps { margin: 10px 0 0; }
.pl-caps > summary { min-height: 44px; line-height: 44px; cursor: pointer; font-size: 14px; font-weight: 700; }
.pl-prev { display: block; margin: 4px 0 0; padding: 6px 10px; border: 1px dashed var(--line); border-radius: 8px; background: #f5f7fb; font-size: 12.5px; line-height: 1.6; color: #4b5563; white-space: pre-wrap; overflow-wrap: anywhere; }
.pl-prev:empty { display: none; }
.pl-save { position: sticky; bottom: 0; padding: 8px 0; background: var(--bg, #f4f5f7); }

/* 老闆唯讀卡 */
#plan-own-card { padding: 14px; }
.pl-own-h { margin: 0 0 6px; font-size: 15px; }
.pl-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pl-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pl-tbl th, .pl-tbl td { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
.pl-tbl th { color: var(--muted); font-weight: 700; }
.pl-ro { margin-top: 10px; }
/* 本期 / 下期 / 上期 授權(服務)期間:窄螢幕一格一列,寬螢幕三格並排(不用 grid,舊 WebView) */
.pl-lic { margin: 10px 0 4px; }
.pl-lic-row { margin: 0 -5px; font-size: 0; }
.pl-lic-cell { display: inline-block; vertical-align: top; box-sizing: border-box; width: 100%; padding: 0 5px 10px; font-size: 14px; }
.pl-lic-in { box-sizing: border-box; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
.pl-lic-cell.cur .pl-lic-in { background: #fff; border-color: var(--primary); }
.pl-lic-k { font-size: 13px; font-weight: 800; color: var(--muted); }
.pl-lic-v { font-size: 14.5px; font-weight: 800; line-height: 1.6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pl-lic-s { font-size: 13px; line-height: 1.7; }
.pl-lic-s .pl-pill { margin-left: 0; margin-right: 6px; }
.pl-lic-no { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
@media (min-width: 600px) { .pl-lic-cell { width: 33.333%; } }
/* 作者樣式的 display 會蓋掉 [hidden](本專案踩過多次) */
#plan-own-card.nav-hidden { display: none !important; }
.pl-plan[hidden], .pl-empty[hidden], .pl-dirty[hidden] { display: none !important; }
/* 方案與帳單卡最上面:期限、到期後會怎樣、怎麼續約(老闆與店長都看得到) */
.pl-st { margin: 6px 0 10px; padding: 10px 14px; border: 1px solid #b7e1c1; border-radius: 12px; background: #f1faf3; font-size: 14px; line-height: 1.7; }
.pl-st.soon { border-color: #fdba74; background: #fff7ed; }
.pl-st-big { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.pl-st-l { margin: 0; padding-left: 20px; }
.pl-st-renew { margin-top: 6px; font-weight: 700; }
#plan-own-card .own-contact { margin-top: 8px; }

/* 設定頁「方案與帳單」:比較方案(老闆與店長)、自助換方案、其他費用(public/plan-ui.js cmpOwnHtml / changeHtml / otherFeesHtml) */
.pl-cmpbox { margin: 10px 0 0; }
.pl-cmpbox > summary { min-height: 44px; line-height: 44px; cursor: pointer; }
.pl-cmpbox > summary .pl-sec-t { display: inline; margin: 0; }
.pl-cmp-own .pl-why { display: inline-block; max-width: 220px; white-space: normal; color: var(--muted); }
.pl-chgbox { margin: 10px 0 0; }
.pl-chg .pl-btns { margin-top: 6px; }
.pl-calc { margin: 8px 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.pl-calc .pl-sec-t { margin-top: 0; }
.pl-calc-f { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* 方案是每家分店一個(2026-10-26):公司卡展開的各分店、設定費表、品牌總覽 */
.pl-stores { margin: 6px 0 0; border-top: 1px dashed var(--line); padding-top: 0; }
.pl-stores > summary { min-height: 44px; line-height: 44px; cursor: pointer; }
.pl-st-row { margin: 6px 0 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.pl-fees .pl-lim-l { min-width: 0; }
#pl-own-brand tr.on th, #pl-own-brand tr.on td { background: #f1f8f2; }
.pl-sale del, .pl-co-line del, .pl-sub del { color: var(--muted); }

/* 負責人「方案與帳單」(2026-10-26 改版):最上面目前方案與月費、並排的方案卡、各段用共用的設定畫面元件(public/settings-kit.css 的 .ks-sec / .ks-list) */
.po-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin: 0 0 4px; }
.po-top-t { flex: 1 1 240px; min-width: 0; margin-right: 12px; }
.po-top .pl-own-h { margin: 2px 0 2px; font-size: 17px; }
.po-fee { flex: none; text-align: right; font-size: 14px; color: var(--muted); }
.po-fee b { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.po-fee .pl-sub { display: block; }
/* 方案卡:寬螢幕三張並排(不用 grid / flex gap,舊 WebView),窄螢幕一張一列 */
.po-plans { margin: 0 -5px; font-size: 0; }
.po-plan { display: inline-block; vertical-align: top; box-sizing: border-box; width: 100%; padding: 0 5px 10px; font-size: 14px; }
.po-plan[data-row-act]:hover { box-shadow: none; border-color: transparent; }
.po-plan-in { box-sizing: border-box; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.po-plan[data-row-act]:hover .po-plan-in { border-color: var(--primary); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.po-plan.on .po-plan-in { border: 2px solid var(--ok, #2f9e44); background: #f6fbf7; }
.po-plan-h { font-size: 16px; }
.po-plan-h b { font-size: 17px; margin-right: 4px; }
.po-price { margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.po-price b { font-size: 26px; line-height: 1.2; }
.po-price span { color: var(--muted); }
.po-was { min-height: 20px; font-size: 13px; color: var(--muted); }
.po-was del { color: var(--muted); }
.po-feat { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid #f0f2f5; }
.po-feat li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px; line-height: 1.5; }
.po-feat li span { flex: none; max-width: 55%; margin-right: 8px; color: var(--muted); }
.po-feat li b { flex: 1; min-width: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.po-act { margin-top: 10px; min-height: 44px; }
.po-act button { width: 100%; min-height: 44px; margin: 0; }
.po-cur { display: block; line-height: 44px; text-align: center; font-weight: 800; color: #1e7b34; }
.po-act .pl-why { display: block; padding-top: 6px; }
@media (min-width: 720px) { .po-plan { width: 33.333%; } }
#pl-own-root .ks-li-s { white-space: nowrap; }
#pl-own-root .ks-li-s small { display: block; font-size: 12px; color: var(--muted); }
#pl-own-root .ks-li-s .pl-pill { margin-left: 4px; }
.po-li.on { background: #f6fbf7; }
#pl-own-root .pl-st { margin-top: 8px; }

/* 方案設定總表與全部功能對照(public/plan-matrix.js):一列一個設定項目、一欄一個方案;表格只在自己的框(.pl-tw)裡橫向捲 */
.pm-tbl th, .pm-tbl td, .pm-feat th, .pm-feat td { vertical-align: middle; }
.pm-tbl tbody th, .pm-feat tbody th { text-align: left; font-weight: 400; min-width: 150px; }
.pm-tbl tbody th small, .pm-feat small { display: block; margin-top: 2px; font-weight: 400; color: var(--muted); font-size: 12px; line-height: 1.4; }
.pm-tbl td { min-width: 104px; }
.pm-tbl input[type=number] { width: 78px; min-height: 44px; }
.pm-tbl input[type=date] { width: 128px; min-height: 44px; }
.pm-sec th { background: #f3f4f6; font-weight: 700; text-align: left; padding: 6px 10px; }
.pm-chk { display: inline-block; margin: 0 8px 4px 0; white-space: nowrap; }
.pm-fee { margin-top: 4px; }
.pm-na { color: #999; }
.pm-u { color: #666; font-size: 12px; }
.pm-ctl { font-size: 12px; color: #555; min-width: 170px; max-width: 240px; white-space: normal; overflow-wrap: anywhere; }
.pm-feat td small { display: block; }
.pm-credit-prev { margin: 8px 0 0; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 8px; background: #fff; color: #111; font-size: 13.5px; line-height: 1.6; }
.pm-credit-prev.err { color: var(--danger, #c0392b); }
.po-year { margin: 0 0 6px; color: #444; font-size: 13.5px; }

/* 負責人「方案與帳單」的推薦碼區(public/plan-ui.js refHtml):碼與複製鈕一列、兩行常駐說明、已成功 / 還可推薦、規則展開看 */
.pl-ref-row { display: flex; align-items: center; flex-wrap: wrap; margin: 2px 0 6px; }
.pl-ref-code { flex: 0 1 auto; min-width: 0; margin: 0 14px 6px 0; font-size: 22px; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.pl-ref-row .pl-b { flex: none; min-height: 44px; margin: 0 0 6px; }
.pl-ref-l { margin: 0 0 8px; padding-left: 20px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.pl-ref-n { margin: 0 0 6px; font-size: 14px; }
.pl-ref-n span { display: inline-block; margin: 0 16px 4px 0; }
.pl-ref-n b { font-size: 17px; font-variant-numeric: tabular-nums; }
.pl-ref-rules { margin: 4px 0 6px; }
.pl-ref-rules > summary { min-height: 44px; line-height: 44px; cursor: pointer; font-weight: 700; }
.pl-ref-rules-in { padding: 0 0 6px; font-size: 13.5px; line-height: 1.7; }
.pl-ref-rules-in ol { margin: 4px 0 6px; padding-left: 22px; }

/* 推薦與收費頁(public/referral-admin-ui.js) */
.rad-line { font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.rad-line .pl-pill { margin-left: 8px; }
.rad-kv { margin: 0 0 8px; line-height: 1.7; overflow-wrap: anywhere; }
.rad-k { display: block; font-weight: 700; color: var(--muted); }
.rad-eq { margin: 0 0 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.rad-eq.bad { background: #fdecea; }
.rad-eq-t { line-height: 1.7; overflow-wrap: anywhere; }
.rad-eq-m { margin: 2px 0 0 4px; }
.rad-pct { display: block; font-variant-numeric: tabular-nums; }
.rad-month { display: block; margin: 0 0 8px; }
.rad-month select { min-height: 44px; margin-left: 6px; }
@media (min-width: 640px) { .rad-kv { overflow: hidden; } .rad-k { float: left; width: 12em; } .rad-kv > span:last-child { display: block; margin-left: 12.5em; } }
.pl-ref-it { margin: 0 0 6px; line-height: 1.7; overflow-wrap: anywhere; }
.pl-ref-it .pl-pill { margin: 0 6px 0 0; }
.pl-ref-meta { display: block; color: var(--muted); font-size: 12.5px; }
/* 重新產生推薦碼:不顯眼的文字連結,跟上面的延長記錄隔開 */
.pl-ref-regen { margin: 24px 0 0; padding-top: 6px; border-top: 1px dashed var(--line); }
button.pl-ref-link { width: auto; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--muted); font-size: 13px; font-weight: 400; text-decoration: underline; cursor: pointer; }
/* 分頁列在窄螢幕放不下時(plan-ui.js tabsHint):右邊緣的箭頭與淡出,看得出還有分頁可以橫滑 */
.pl-tabs[data-more="1"]::after { content: "›"; position: sticky; right: 0; flex: none; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; width: 30px; margin-left: -30px; padding-right: 6px; background: linear-gradient(to right, rgba(255,255,255,0), #fff 65%); color: var(--muted); font-size: 24px; font-weight: 700; pointer-events: none; }
/* 方案卡搬到總部頁時,總部那一區已經有「方案與帳單」標題,卡片自己的標題不重複顯示 */
#hq-plan-slot > #plan-own-card > h3 { display: none; }
/* 加購清單:說明寫的是什麼時候收、收多少,手機上不截斷 */
#pl-own-addon-list .ks-li-t small { white-space: normal; }
