/* =====================================================================
   早下班工具箱 · 公共样式（所有页面共用）
   设计原则：白底 + 细边框 + 系统字体；橙色只用在主按钮、选中和重点数字上。
   页面里只写自己特有的布局，颜色、字体、按钮、卡片、表单一律用这里的。
   ===================================================================== */
:root{
  --bg:#F6F7F9; --surface:#FFFFFF; --surface-2:#F2F4F7; --ink:#101828; --ink-2:#344054; --muted:#667085;
  --line:#E4E7EC; --line-2:#D0D5DD; --brand:#E4572E; --brand-soft:#FDEEE9; --brand-ink:#B93815;
  --ok:#067647; --ok-soft:#ECFDF3; --err:#B42318; --err-soft:#FEF3F2; --warn:#B54708;
  --shadow:0 1px 2px rgba(16,24,40,.05); --shadow-lg:0 20px 48px rgba(16,24,40,.18);
  --radius:12px; --radius-sm:8px; --seg-on-bg:var(--ink); --seg-on-fg:var(--surface);
  --f-body:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --f-mono:ui-monospace,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;
  /* 兼容旧页面里用到的变量名 */
  --paper:var(--bg); --panel:var(--surface); --accent:var(--brand); --accent-soft:var(--brand-soft);
  --deep:var(--ink); --chip:var(--surface-2); --brand-2:var(--brand-soft);
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0E1116; --surface:#161B22; --surface-2:#1F2630; --ink:#E6EDF3; --ink-2:#C9D1D9; --muted:#8B949E;
  --line:#2A313C; --line-2:#3A4350; --brand:#F0714A; --brand-soft:#3A1F17; --brand-ink:#F7A58A;
  --ok:#3FB950; --ok-soft:#12261A; --err:#F85149; --err-soft:#2D1517; --warn:#D29922;
  --shadow:none; --shadow-lg:0 20px 48px rgba(0,0,0,.5); color-scheme:dark; --seg-on-bg:#3A4350; --seg-on-fg:#fff}}
:root[data-theme="dark"]{
  --bg:#0E1116; --surface:#161B22; --surface-2:#1F2630; --ink:#E6EDF3; --ink-2:#C9D1D9; --muted:#8B949E;
  --line:#2A313C; --line-2:#3A4350; --brand:#F0714A; --brand-soft:#3A1F17; --brand-ink:#F7A58A;
  --ok:#3FB950; --ok-soft:#12261A; --err:#F85149; --err-soft:#2D1517; --warn:#D29922;
  --shadow:none; --shadow-lg:0 20px 48px rgba(0,0,0,.5); color-scheme:dark; --seg-on-bg:#3A4350; --seg-on-fg:#fff}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 var(--f-body);-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
a{color:inherit}
img{max-width:100%}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
h1,h2,h3{text-wrap:balance;letter-spacing:-.01em}
.num,.mono{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}
.container{max-width:1120px;margin:0 auto;padding-inline:20px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---------- 顶栏 ---------- */
.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--surface);border-bottom:1px solid var(--line)}
.site-header .in{height:56px;display:flex;align-items:center;gap:24px;max-width:1120px;margin:0 auto;padding-inline:20px}
.site-header.wide .in{max-width:none}
.brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);font-weight:700;font-size:15px;white-space:nowrap}
.brand .mark{width:26px;height:26px;border-radius:7px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:700;flex:none}
.brand .sub{font-weight:500;color:var(--muted);padding-left:10px;margin-left:2px;border-left:1px solid var(--line)}
.nav{display:flex;gap:2px}
.nav a{padding:6px 10px;border-radius:6px;text-decoration:none;color:var(--muted);font-size:14px;font-weight:500}
.nav a:hover{color:var(--ink);background:var(--surface-2)}
.nav a[aria-current="page"]{color:var(--ink)}
.header-actions{margin-left:auto;display:flex;gap:8px;align-items:center;min-width:0}
.header-actions .btn-ghost{color:var(--ink-2)}
.header-actions .btn-ghost[aria-current="page"]{color:var(--ink);background:var(--surface-2)}
@media (max-width:760px){.site-header .nav{display:none}.site-header .in{gap:12px;padding-inline:16px}.brand .sub{display:none}}
/* 手机：顶栏只保留品牌、"我的单据"和账号按钮；介绍页的"免费制作"按钮在首屏里也有 */
@media (max-width:600px){.header-actions .hdr-cta{display:none}}
@media (max-width:420px){.header-actions{gap:6px}.header-actions #planBadge{display:none}.header-actions .btn-ghost{padding:0 8px}.brand{font-size:14px}}

/* ---------- 按钮 ---------- */
button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 14px;border-radius:var(--radius-sm);
  border:1px solid var(--line-2);background:var(--surface);color:var(--ink);font:500 14px/1.2 var(--f-body);text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:var(--shadow)}
button:hover,.btn:hover{background:var(--surface-2)}
button.primary,.btn.primary,.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}
button.primary:hover,.btn.primary:hover,.btn-primary:hover{background:var(--brand);filter:brightness(.94)}
.btn-lg{min-height:44px;padding:0 20px;font-size:15px;border-radius:10px}
.btn-ghost{border-color:transparent;background:transparent;box-shadow:none}
.btn-block{width:100%}
button:disabled,.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed}

/* ---------- 卡片 / 标签 ---------- */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap;border:0;box-shadow:none;min-height:0}
.badge.pro{background:var(--brand-soft);color:var(--brand-ink)}
.tag-pro{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:4px;background:var(--brand-soft);color:var(--brand-ink);font-size:11px;font-weight:600;vertical-align:middle}

/* ---------- 表单 ---------- */
input[type=text],input[type=password],input[type=email],input[type=search],input[type=number],input[type=month],input[type=date],input:not([type]),select,textarea{
  width:100%;min-height:36px;font:inherit;padding:6px 10px;border:1px solid var(--line-2);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink)}
textarea{min-height:72px;resize:vertical;line-height:1.5}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 20%,transparent)}
input[type=checkbox]{accent-color:var(--brand)}
body.apple input[type=checkbox]:not(.switch){accent-color:var(--ink)}   /* 人文与科技：勾选框用深色，橙色只留给主按钮和重点数字 */
label.f{display:block;font-size:12px;font-weight:500;color:var(--ink-2);margin:10px 0 4px}

/* ---------- 页面区块 ---------- */
.section{padding-block:64px}
.section-head{max-width:640px;margin:0 0 28px}
.section-head h2{font-size:26px;line-height:1.3;margin:0 0 8px}
.section-head p{margin:0;color:var(--muted);font-size:15px}
.section-head.center{margin-inline:auto;text-align:center}
.faq details{border-bottom:1px solid var(--line);padding:14px 0}
.faq details:first-child{border-top:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--muted);font-weight:400}
.faq details[open] summary::after{content:"−"}
.faq p{margin:8px 0 0;color:var(--muted);max-width:68ch}

/* ---------- 页脚 ---------- */
.site-footer{border-top:1px solid var(--line);margin-top:48px;padding-block:28px;color:var(--muted);font-size:13px;background:var(--surface)}
.site-footer .in{max-width:1120px;margin:0 auto;padding-inline:20px;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between}
.site-footer nav{display:flex;flex-wrap:wrap;gap:4px 16px}
.site-footer a{color:var(--muted);text-decoration:none}
.site-footer a:hover{color:var(--ink)}
.site-footer.wide .in{max-width:1440px}   /* 工具页：和工具区同宽 */
.site-footer .foot-sub{flex-basis:100%;font-size:12px;color:var(--muted)}
.site-footer .foot-sub:empty{display:none}

/* ---------- 价格小块（首页、介绍页；完整价格只在套餐页） ---------- */
.price-mini{display:flex;gap:20px 32px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:24px 28px}
.price-mini h2{margin:0 0 10px;font-size:20px}
.price-mini h2 span{color:var(--brand-ink);font-variant-numeric:tabular-nums}
.price-mini ul{margin:0;padding:0;list-style:none;display:grid;gap:6px;color:var(--ink-2);font-size:14px}
.price-mini li{display:flex;gap:8px}.price-mini li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--brand);margin-top:8px}
@media (max-width:560px){.price-mini{padding:20px}.price-mini .btn{width:100%}}

/* ---------- 弹窗 / 提示条 ---------- */
.modal{position:fixed;inset:0;background:rgba(16,24,40,.55);display:none;align-items:center;justify-content:center;z-index:50;padding:16px}
.modal.on{display:flex}
.modal .card{max-width:460px;width:100%;padding:24px;box-shadow:var(--shadow-lg);max-height:calc(100vh - 32px);overflow:auto;color:var(--ink)}
.modal h2{margin:0 0 4px;font-size:18px}
.modal ul{padding-left:18px;color:var(--ink-2);margin:12px 0 0}
.msg{font-size:13px;margin-top:8px}.msg.ok{color:var(--ok)}.msg.err{color:var(--err)}
.toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--ink);color:var(--bg);
  padding:9px 14px;border-radius:8px;opacity:0;transition:opacity .2s;pointer-events:none;z-index:60;font-size:13px}
.toast.on{opacity:1}
.modal.on ~ .toast{bottom:auto;top:calc(16px + env(safe-area-inset-top,0px))}

/* ---------- 工具页通用：工具栏、状态小字、提示条、底部操作提示 ---------- */
.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid var(--line);background:var(--surface)}
.toolbar .grp{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.toolbar .sp{flex:1}
@media (max-width:920px){.toolbar{padding:10px 16px}}
.qstat{font-size:12px;color:var(--muted);white-space:nowrap}
.qstat.warn{color:var(--warn)}.qstat.ok{color:var(--ok)}.qstat.err{color:var(--err)}
.stats{display:flex;gap:8px;align-items:center;min-width:0}
.qbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 20px;font-size:13px;background:var(--brand-soft);color:var(--brand-ink);border-bottom:1px solid var(--line)}
.qbar button{min-height:28px;font-size:12px;padding:0 10px}
.samplebar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 20px;font-size:13px;background:var(--surface-2);color:var(--ink-2);border-bottom:1px solid var(--line)}
.samplebar svg{flex:none;color:var(--muted)}
.samplebar button{min-height:28px;font-size:12px;padding:0 10px}
@media (max-width:760px){.qbar,.samplebar{padding:8px 16px}}
.actbar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;gap:10px;align-items:center;max-width:calc(100% - 32px);
  padding:8px 8px 8px 14px;border-radius:10px;background:var(--ink);color:var(--bg);font-size:13px;box-shadow:var(--shadow-lg)}
.actbar button{min-height:30px;font-size:13px;padding:0 10px}
.actbar .x{border:0;background:none;box-shadow:none;color:var(--bg);opacity:.7;width:28px;padding:0}

/* 工具页：手机端"填写 / 预览"切换 + 底部导出栏（工资条、报价单共用） */
.mtabs{display:none}
.mbar{display:none}
@media (max-width:920px){
  .mtabs{display:flex;position:sticky;top:0;z-index:30;gap:2px;margin:0;padding:8px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
  .mtabs button{flex:1;min-height:34px;border:0;box-shadow:none;background:var(--surface-2);color:var(--muted);font-size:14px;border-radius:8px}
  .mtabs button.on{background:var(--seg-on-bg);color:var(--seg-on-fg);font-weight:600}
  body.m-fill .tool>.stage,body.m-prev .tool>.side{display:none!important}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:35;gap:8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 16px rgba(16,24,40,.06)}
  .mbar button{flex:1;min-height:42px;font-size:14px;padding:0 8px}
  body.has-mbar{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
  body.has-mbar .actbar,body.has-mbar .toast{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}
/* 撤销按钮 */
.undo-btn[disabled]{opacity:.45}
/* 自动填入的输入框：短暂高亮，让用户看到哪里变了 */
@keyframes zx-flash{0%{background:color-mix(in srgb,var(--brand) 24%,var(--surface))}100%{background:var(--surface)}}
.flash{animation:zx-flash 1.4s ease-out}
/* 统一弹窗：标题 17px、说明 13px、右上角关闭、底部按钮靠右（主按钮在最右），与"我的单据"的确认框一致 */
.dlg .card{position:relative}
.dlg .dlg-x{position:absolute;top:12px;right:12px;width:32px;height:32px;min-height:0;padding:0;border:0;background:none;box-shadow:none;color:var(--muted);font-size:20px;line-height:1;border-radius:8px}
.dlg .dlg-x:hover{background:var(--surface-2);color:var(--ink)}
.dlg h2{margin:0 36px 2px 0;font-size:17px}
.dlg .dlg-sub{margin:4px 0 12px;color:var(--ink-2);font-size:13px;line-height:1.65}
.dlg .dlg-acts{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:16px;flex-wrap:wrap}
.dlg .dlg-acts .sp{flex:1}
.dlg .dlg-link{background:none;border:0;box-shadow:none;padding:0 4px;min-height:0;color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:3px}
/* 开关 */
input[type=checkbox].switch{appearance:none;-webkit-appearance:none;width:34px;height:20px;border-radius:999px;background:var(--line-2);position:relative;cursor:pointer;transition:background .15s;flex:none;margin:0;border:0}
input[type=checkbox].switch::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
input[type=checkbox].switch:checked{background:var(--brand)}
input[type=checkbox].switch:checked::after{transform:translateX(14px)}
input[type=checkbox].switch:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* ===== 柔和风格（body.soft）：无边框的浅底输入框、带图标的分区卡片。全站页面都用（admin.html 除外） ===== */
body.soft{--field:var(--surface-2)}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) body.soft{--bg:#F7F5F1;--surface-2:#F4F1EC;--line:#ECE7DF;--line-2:#DDD6CB;--ink:#1F2226;--ink-2:#474C53;--muted:#7C8087;--field:#F5F2EC;--shadow:0 1px 3px rgba(70,50,30,.05)}}
:root[data-theme="light"] body.soft{--bg:#F7F5F1;--surface-2:#F4F1EC;--line:#ECE7DF;--line-2:#DDD6CB;--ink:#1F2226;--ink-2:#474C53;--muted:#7C8087;--field:#F5F2EC;--shadow:0 1px 3px rgba(70,50,30,.05)}
body.soft input[type=text],body.soft input[type=number],body.soft input[type=date],body.soft input[type=month],body.soft input[type=search],body.soft input:not([type]),body.soft select,body.soft textarea{background:var(--field);border-color:transparent;border-radius:10px}
body.soft input[type=text]:hover,body.soft input[type=number]:hover,body.soft input:not([type]):hover,body.soft select:hover,body.soft textarea:hover{border-color:var(--line-2)}
body.soft input:focus,body.soft select:focus,body.soft textarea:focus{background:var(--surface);border-color:var(--brand)}
body.soft .toolbar{background:var(--bg);border-bottom-color:transparent}
body.soft .toolbar button:not(.primary),body.soft .toolbar .btn:not(.primary){border-color:transparent;background:transparent;box-shadow:none;color:var(--ink-2)}
body.soft .toolbar button:not(.primary):hover{background:var(--surface-2);color:var(--ink)}
body.soft .samplebar{background:transparent;border-bottom:0;padding-top:0}
body.soft .card{border-color:var(--line);border-radius:16px}
.sec-h{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.sec-h .ic{width:30px;height:30px;border-radius:9px;background:var(--brand-soft);color:var(--brand-ink);display:grid;place-items:center;flex:none}
.sec-h b{display:block;font-size:15px;font-weight:600;color:var(--ink);line-height:1.3}
.sec-h small{display:block;font-size:12px;color:var(--muted);font-weight:400;line-height:1.4}
/* ===== "人文与科技"风格（body.soft.apple）：中性浅灰底、无边框卡片靠阴影分层、大标题、胶囊按钮、毛玻璃顶栏 ===== */
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) body.apple{--bg:#F5F5F7;--surface-2:#F2F2F4;--line:rgba(0,0,0,.08);--line-2:#D2D2D7;--ink:#1D1D1F;--ink-2:#424245;--muted:#6E6E73;--field:#F2F2F4}}
:root[data-theme="light"] body.apple{--bg:#F5F5F7;--surface-2:#F2F2F4;--line:rgba(0,0,0,.08);--line-2:#D2D2D7;--ink:#1D1D1F;--ink-2:#424245;--muted:#6E6E73;--field:#F2F2F4}
body.apple{letter-spacing:-.003em}
body.apple .site-header{background:color-mix(in srgb,var(--surface) 72%,transparent);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom-color:var(--line)}
body.apple button,body.apple .btn{border-radius:980px}
body.apple .toolbar button.primary{padding:0 18px}
body.apple .card,body.apple .editor fieldset,body.apple .editor .setcard{border:0!important;border-radius:20px!important;box-shadow:0 1px 2px rgba(0,0,0,.03),0 6px 24px rgba(0,0,0,.05)!important}
body.apple .sec-h .ic{background:transparent;color:var(--ink-2);width:22px;height:22px}
body.apple .sec-h b{font-size:17px;letter-spacing:-.01em}
body.apple .sec-h small{font-size:13px}
body.apple .editor label{font-size:12px;color:var(--muted)}
body.apple input[type=text],body.apple input[type=number],body.apple input[type=date],body.apple input:not([type]),body.apple select{border-radius:12px;min-height:40px}
body.apple textarea{border-radius:12px}
body.apple .editor.card{box-shadow:none!important;background:transparent;border-radius:0!important}
body.apple .items .it{border:0;background:var(--field)}
body.apple .items .it input{background:var(--surface)}
body.apple .item-add button{border-style:solid;border-color:transparent;background:var(--field)}
/* ===== 工具页标题栏（工资条、报价单共用）：左边标题 + 示例提示 + 状态，右边操作按钮，合成一行 ===== */
.toolbar.th{max-width:1440px;margin:0 auto;padding:18px 20px 4px;border-bottom:0;background:transparent;gap:10px}
.toolbar .tt{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.tool-title{margin:0;font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.2;color:var(--ink);white-space:nowrap}
body .toolbar.th .samplebar{display:inline-flex;padding:3px 3px 3px 12px;border:0;border-radius:999px;background:var(--surface);box-shadow:0 0 0 1px var(--line);font-size:12px;gap:8px;flex-wrap:nowrap;color:var(--ink-2)}
.toolbar .samplebar button,body.soft .toolbar .samplebar button{gap:0;min-height:24px;padding:0 10px;font-size:12px;border-radius:999px;border:0;background:var(--surface-2);color:var(--ink);box-shadow:none}
.toolbar .samplebar button:hover{background:var(--line)}
@media (max-width:920px){.toolbar.th{padding:12px 16px 6px}.tool-title{font-size:22px}}
@media (max-width:760px){.toolbar.th .tt{flex-basis:100%;gap:8px 10px}.tool-title{font-size:20px}}
/* 标题栏按钮：图标 + 文字的浅底胶囊；撤销只在能撤销时出现 */
body .toolbar.th .grp>button:not(.primary),body .toolbar.th .grp>.more>button{background:var(--surface);color:var(--ink-2);box-shadow:0 0 0 1px var(--line);border-color:transparent}
body .toolbar.th .grp>button:not(.primary):hover,body .toolbar.th .grp>.more>button:hover{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line-2)}
.toolbar.th .grp button .bi{flex:none;opacity:.8}
.toolbar.th .undo-btn[disabled],.toolbar.th .grp:has(> .undo-btn[disabled]:only-child){display:none}
.site-header.wide .hdr-docs{display:none}   /* 工具页：标题栏已有"我的单据"，顶栏不再重复 */
.m-hide{display:inline}
@media (max-width:760px){.m-hide{display:none}
  .toolbar.th .grp button{padding:0 10px}}
/* ===== 日期 / 月份选择（toolbox.js 的 data-pick）：输入框右侧日历按钮 + 弹出日历，各浏览器一致 ===== */
.dp{position:relative;display:block}
.dp input{padding-right:38px!important;font-variant-numeric:tabular-nums}
.dp-btn{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:32px;height:32px;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--muted);border-radius:8px!important}
.dp-btn:hover{color:var(--ink);background:var(--surface-2)!important}
.dp-pop{position:fixed;z-index:80;width:280px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);font-size:13px}
.dp-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.dp-h b{font-size:14px;font-weight:600;color:var(--ink)}
.dp-nav{width:32px;height:32px;min-height:0;padding:0;border:0;background:transparent;box-shadow:none;font-size:20px;line-height:1;color:var(--ink-2);border-radius:999px}
.dp-nav:hover{background:var(--surface-2)}
.dp-g{display:grid;gap:2px}
.dp-g.d{grid-template-columns:repeat(7,1fr)}
.dp-g.m{grid-template-columns:repeat(3,1fr);gap:6px}
.dp-g span{text-align:center;font-size:11px;color:var(--muted);padding:4px 0}
.dp-g button{min-height:34px;padding:0;border:0;background:transparent;box-shadow:none;border-radius:999px;color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums}
.dp-g.m button{min-height:40px;border-radius:10px}
.dp-g button:hover{background:var(--surface-2)}
.dp-g button.now{color:var(--brand-ink);font-weight:600}
.dp-g button.on,.dp-g button.on:hover{background:var(--brand);color:#fff;font-weight:600}
.dp-f{display:flex;justify-content:flex-end;margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
.dp-f button{min-height:30px;padding:0 12px;font-size:12px;border:0;background:var(--surface-2);box-shadow:none;border-radius:999px;color:var(--ink)}
@media print{.dp-pop,.dp-btn{display:none!important}}
/* ===== 首页与介绍页（main.mk）：居中大标题、整幅截图、通栏分区、无边框卡片 ===== */
.mk{padding-bottom:24px}
.mk .hero{display:block;text-align:center;padding:88px 0 96px}
body .mk .hero:has(+ .picks){padding-bottom:0}
.mk .eyebrow{display:block;background:none;padding:0;margin:0 0 14px;font-size:clamp(13px,calc(10px + .4vw),15px);font-weight:600;color:var(--brand-ink);letter-spacing:0;border-radius:0}
.mk .hero h1{font-size:clamp(36px,6vw,64px);line-height:1.08;letter-spacing:-.035em;font-weight:700;margin:0 auto 20px;max-width:14em}
/* 首页首屏：大标题只有产品名 6 个字，小屏也保持比上方小字更宽，层级不倒挂 */
.mk .brand-hero h1{font-size:clamp(48px,7vw,72px)}
.mk .hero .tagline{font-size:clamp(20px,2.6vw,34px);line-height:1.3;letter-spacing:-.02em;font-weight:600;color:var(--ink);margin:-4px auto 18px}
.mk .hero .lead{font-size:clamp(16px,1.6vw,19px);line-height:1.7;color:var(--ink-2);margin:0 auto;max-width:36em}
.mk .hero .cta{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:32px}
.mk .btn-lg{min-height:48px;padding:0 26px;font-size:16px;font-weight:500}
.mk .types{margin:18px 0 0;font-size:13px;color:var(--muted)}
.mk .shot{max-width:1040px;margin:56px auto 0;border:0;border-radius:20px;background:var(--surface);overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.04),0 24px 64px rgba(0,0,0,.12)}
.mk .shot img{display:block;width:100%;height:auto}
/* 通栏分区：白色（深色模式为浅一级）整幅背景 */
.mk .band{background:var(--surface);box-shadow:0 0 0 100vmax var(--surface);clip-path:inset(0 -100vmax)}
.mk .section{padding-block:96px}
.mk .section-head{max-width:720px;margin:0 auto 48px;text-align:center}
.mk .section-head h2{font-size:clamp(28px,4vw,40px);line-height:1.15;letter-spacing:-.025em;font-weight:700;margin:0 0 12px}
.mk .section-head p{font-size:17px;line-height:1.7;color:var(--muted)}
/* 功能卡片：无边框、浅底、大圆角 */
.mk .feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media (max-width:900px){.mk .feats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.mk .feats{grid-template-columns:minmax(0,1fr)}}
.mk .feats .card{padding:28px;border-radius:22px!important;box-shadow:none!important;border:0!important}
.mk .band .feats .card{background:var(--bg)}
.mk .feats h3{margin:0 0 8px;font-size:18px;letter-spacing:-.01em;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mk .feats p{margin:0;color:var(--muted);line-height:1.75;font-size:15px}
.mk .feats .lim{margin-top:10px;font-size:13px}
.mk .feats .no{display:block;font-size:13px;font-weight:600;color:var(--brand-ink);margin-bottom:10px;font-variant-numeric:tabular-nums}
body .mk .card.alt{display:flex;align-items:center;justify-content:space-between;gap:20px 40px;flex-wrap:wrap;margin-top:20px;padding:32px 36px;border:0!important;border-radius:22px!important;box-shadow:0 0 0 2px var(--brand)!important;background:var(--surface)}
.mk .alt>div{flex:1;min-width:260px}
.mk .alt .no{display:block;font-size:13px;font-weight:600;color:var(--brand-ink);margin-bottom:8px}
.mk .alt h3{margin:0 0 8px;font-size:22px;letter-spacing:-.015em}
.mk .alt p{margin:0;color:var(--ink-2);line-height:1.75;font-size:15px;max-width:44em}
@media (max-width:560px){.mk .alt{padding:24px 20px}.mk .alt .btn{width:100%}}
/* 价格：居中的大块 */
.mk .price-mini{flex-direction:column;align-items:center;text-align:center;gap:24px;padding:56px 32px;border-radius:28px!important;border:0!important;box-shadow:none!important;background:var(--surface)}
.mk .price-mini h2{font-size:clamp(26px,3.6vw,36px);letter-spacing:-.025em;font-weight:700;margin:0 0 12px}
.mk .price-mini p{margin:0 auto;color:var(--ink-2);font-size:clamp(15px,1.6vw,17px);line-height:1.7;max-width:36em}
.mk .price-mini ul{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px;font-size:15px}
.mk .price-mini li::before{background:var(--ink-2);width:5px;height:5px;margin-top:10px}
/* 常见问题 */
.mk .faq{max-width:760px;margin-inline:auto}
.mk .faq details{padding:20px 0}
.mk .faq summary{font-size:17px;font-weight:600;align-items:center}
.mk .faq summary::after{font-size:22px;line-height:1;color:var(--muted)}
.mk .faq p{font-size:15px;line-height:1.8;margin-top:10px}
@media (max-width:760px){.mk .hero{padding-top:52px;padding-bottom:64px}.mk .shot{margin-top:36px;border-radius:14px}.mk .section{padding-block:64px}.mk .section-head{margin-bottom:32px}.mk .price-mini{padding:40px 20px}}
/* ===== 正文类页面（main.doc-page）：大标题、白底大圆角正文、宽松行距 ===== */
.doc-page{max-width:860px;margin:0 auto;padding:72px 20px 0}
.doc-page article{background:var(--surface);border-radius:28px;padding:56px 64px 60px;font-size:16px;line-height:1.85;color:var(--ink-2);box-shadow:0 1px 2px rgba(0,0,0,.03),0 6px 24px rgba(0,0,0,.05)}
.doc-page h1{font-size:clamp(32px,5vw,48px);line-height:1.1;letter-spacing:-.035em;font-weight:700;color:var(--ink);margin:0 0 12px}
.doc-page .meta,.doc-page .lead{color:var(--muted);font-size:15px;margin:0 0 28px}
.doc-page .lead{color:var(--ink-2);font-size:17px}
.doc-page h2{font-size:21px;letter-spacing:-.015em;color:var(--ink);margin:44px 0 10px;padding:0;border:0}
.doc-page h3{font-size:17px;color:var(--ink);margin:28px 0 6px}
.doc-page p,.doc-page li{max-width:70ch}
.doc-page ul,.doc-page ol{padding-left:22px}
.doc-page li{margin:4px 0}
.doc-page .hl{background:var(--brand-soft);color:var(--ink);border-radius:14px;padding:14px 18px}
.doc-page table{border-collapse:separate;border-spacing:0;width:100%;font-size:14px;margin:12px 0;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.doc-page th,.doc-page td{border-bottom:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top}
.doc-page tr:last-child th,.doc-page tr:last-child td{border-bottom:0}
.doc-page th{background:var(--surface-2);font-weight:600;color:var(--ink)}
.doc-page td+td,.doc-page th+td,.doc-page th+th{border-left:1px solid var(--line)}
.doc-page article a{color:var(--brand-ink)}
@media (max-width:600px){.doc-page{padding:36px 16px 0}.doc-page article{padding:32px 22px 36px;border-radius:22px;font-size:15px}.doc-page h2{margin-top:32px}}
/* 数据说明分区（首页、工资条介绍页）："导入不上传 / 保存由您决定 / 云端也可加密" */
.mk .priv .card{text-align:left}
.mk .priv .pic{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--ok-soft);color:var(--ok);margin-bottom:16px}
.mk .priv-more{text-align:center;margin:24px 0 0;font-size:14px;color:var(--muted)}
.mk .priv-more a{color:var(--brand-ink)}
/* ===== 订阅方案（pro.html 与首页共用，逻辑在 plans.js）：方案卡片、购买栏、方案对比表 ===== */
.plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:1080px;margin:0 auto}
@media (max-width:1000px){.plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.plans{grid-template-columns:minmax(0,1fr)}}
.plan{position:relative;display:flex;flex-direction:column;gap:6px;text-align:left;padding:20px;border:1px solid var(--line-2);border-radius:var(--radius);background:var(--surface);cursor:pointer;
  font:inherit;color:inherit;min-height:0;white-space:normal;align-items:stretch;justify-content:flex-start;box-shadow:var(--shadow)}
.plan:hover{border-color:var(--muted);background:var(--surface)}
.plan[aria-checked="true"]{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand) inset}
.plan.free{cursor:default}
.plan.off{cursor:default;opacity:.55}.plan.off .radio{visibility:hidden}
.plan .own{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:600;background:var(--surface-2);color:var(--ink-2);width:fit-content}
#buyBtn[aria-disabled="true"]{pointer-events:none;opacity:.5}
.plan .name{font-weight:600;font-size:15px}
.plan .price{font-size:30px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1.2}
.plan .price small{font-size:13px;font-weight:500;color:var(--muted)}
.plan .note{color:var(--muted);font-size:13px}
.plan ul{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:6px;font-size:13px;color:var(--ink-2)}
.plan ul li{display:flex;gap:8px}.plan ul li::before{content:"✓";color:var(--ok);font-weight:700}
.plan .rec{margin-left:6px;vertical-align:1px}
.plan .radio{position:absolute;top:20px;right:20px;width:18px;height:18px;border-radius:50%;border:2px solid var(--line-2)}
.plan[aria-checked="true"] .radio{border-color:var(--brand);background:radial-gradient(var(--brand) 45%,transparent 50%)}
.seg{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);align-self:flex-start;margin-top:2px}
.seg span{padding:3px 10px;border-radius:6px;font-size:12px;color:var(--muted);cursor:pointer;font-variant-numeric:tabular-nums}
.seg span.on{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:var(--shadow)}
.buybar{max-width:1080px;margin:20px auto 0;display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;padding:16px 20px}
.buybar .sum{font-size:15px}.buybar .sum b{font-variant-numeric:tabular-nums}
.buybar .acts{display:flex;gap:10px;flex-wrap:wrap}
#buyMsg{flex-basis:100%;margin:0}
#maxNote{flex-basis:100%;margin:0;font-size:12px;color:var(--muted)}
.cmp{width:100%;border-collapse:collapse;font-size:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:640px}
.cmp th,.cmp td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.cmp thead th{background:var(--surface-2);font-weight:600;font-size:13px;color:var(--ink-2)}
.cmp td:not(:first-child),.cmp th:not(:first-child){width:17%}
.cmp .g td{background:var(--bg);font-weight:600;font-size:13px;color:var(--muted)}
.cmp .y{color:var(--ok);font-weight:600}.cmp .n{color:var(--muted)}
.tbl{overflow-x:auto;border-radius:var(--radius)}
.plans{gap:16px}
.plan{padding:28px 24px;border:0;border-radius:22px;box-shadow:0 1px 2px rgba(0,0,0,.03),0 6px 24px rgba(0,0,0,.05);gap:8px}
.plan:hover{box-shadow:0 0 0 1px var(--line-2),0 6px 24px rgba(0,0,0,.06)}
.plan[aria-checked="true"]{box-shadow:0 0 0 2px var(--brand),0 10px 32px rgba(0,0,0,.08)}
.plan .name{font-size:17px}
.plan .price{font-size:36px;letter-spacing:-.02em;margin-top:4px}
.plan .radio{top:26px;right:22px}
.plan ul{margin-top:14px;gap:8px;font-size:14px}
.seg{border:0;border-radius:999px;padding:3px}
.seg span{border-radius:999px;padding:4px 12px}
.buybar{margin-top:24px;padding:20px 24px;border:0!important;border-radius:22px!important}
.cmp{border:0;border-radius:20px;font-size:15px}
.cmp th,.cmp td{padding:14px 18px}
.cmp thead th{background:var(--surface);font-size:14px;color:var(--ink);border-bottom:1px solid var(--line-2)}
.cmp .g td{background:var(--bg);color:var(--ink-2);font-size:13px;letter-spacing:.02em}
.mk .band .cmp .g td{background:var(--bg)}
.tbl{border-radius:20px;box-shadow:0 0 0 1px var(--line)}
/* 首页：方案对比默认收起 */
.cmp-fold{max-width:1080px;margin:20px auto 0}
.cmp-fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:15px;font-weight:500;color:var(--brand-ink)}
.cmp-fold>summary::-webkit-details-marker{display:none}
.cmp-fold>summary::after{content:"";width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.cmp-fold[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.cmp-fold>summary:hover{text-decoration:underline;text-underline-offset:3px}
.cmp-fold .cmp-note{text-align:center;color:var(--muted);font-size:14px;margin:4px 0 16px}
.cmp-fold .cmp-foot{font-size:13px;color:var(--muted);margin:10px 0 0}
.plans-more{text-align:center;margin:20px 0 0;font-size:14px}
.plans-more a{color:var(--brand-ink);text-decoration:none}.plans-more a:hover{text-decoration:underline}
/* 首页订阅方案在色带里：卡片与购买栏用页面底色，和"四个理由"卡片一致；深色模式阴影看不见，补一圈细边 */
.mk .band .plan,.mk .band .buybar{background:var(--bg)}
.mk .band .plan:hover{background:var(--bg)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .plan:not([aria-checked="true"]){box-shadow:0 0 0 1px var(--line)}
:root:not([data-theme="light"]) .plan:not([aria-checked="true"]):not(.off):not(.free):hover{box-shadow:0 0 0 1px var(--line-2)}
:root:not([data-theme="light"]) .buybar{box-shadow:0 0 0 1px var(--line)}}
:root[data-theme="dark"] .plan:not([aria-checked="true"]){box-shadow:0 0 0 1px var(--line)}
:root[data-theme="dark"] .plan:not([aria-checked="true"]):not(.off):not(.free):hover{box-shadow:0 0 0 1px var(--line-2)}
:root[data-theme="dark"] .buybar{box-shadow:0 0 0 1px var(--line)}
/* 深色 / 浅色切换按钮（toolbox.js 插入顶栏） */
.header-actions .theme-btn{width:34px;height:34px;padding:0;display:inline-grid;place-items:center;flex:none;border:0;background:transparent;box-shadow:none;color:var(--ink-2)}
.header-actions .theme-btn:hover{background:var(--surface-2);color:var(--ink)}
/* 顶栏"产品"二级菜单：鼠标移上去或键盘聚焦时展开；点按（触屏）由 toolbox.js 切换 .open */
.nav{align-items:center}
.nav-dd{position:relative}
.nav .nav-trig{display:inline-flex;align-items:center;gap:4px;height:auto;padding:6px 10px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:var(--muted);font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.nav .nav-trig:hover,.nav-dd:hover .nav-trig,.nav-dd.open .nav-trig{color:var(--ink);background:var(--surface-2)}
.nav-dd.on .nav-trig{color:var(--ink)}
.nav-trig .chev{transition:transform .15s}
.nav-dd:hover .chev,.nav-dd.open .chev{transform:rotate(180deg)}
/* 面板和按钮之间留 10px 透明"桥"，鼠标往下移不会断开 */
.nav-panel{position:absolute;left:-8px;top:100%;padding-top:10px;width:400px;z-index:45;visibility:hidden;opacity:0;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility 0s .15s}
.nav-panel::before{content:"";position:absolute;inset:10px 0 0;border-radius:16px;background:var(--surface);box-shadow:0 0 0 1px var(--line),0 12px 32px rgba(0,0,0,.12);z-index:-1}
.nav-dd:hover .nav-panel,.nav-dd.open .nav-panel{visibility:visible;opacity:1;transform:none;transition:opacity .15s,transform .15s,visibility 0s}
.nav-panel>*{position:relative}
.nav-panel{display:flex;flex-direction:column;gap:2px;padding-left:8px;padding-right:8px;padding-bottom:8px}
.nav-panel .nav-item{display:flex;gap:12px;align-items:flex-start;padding:10px;border-radius:10px;text-decoration:none;color:var(--ink);font-size:14px;margin-top:0}
.nav-panel .nav-item:first-child{margin-top:8px}
.nav-panel a.nav-item:hover,.nav-panel a.nav-item:focus-visible{background:var(--surface-2)}
.nav-panel .nav-item[aria-current="page"] b{color:var(--brand-ink,var(--brand))}
.nav-panel .ni-ic{width:34px;height:34px;flex:none;border-radius:9px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-ink)}
.nav-panel .nav-item.is-soon .ni-ic{background:var(--surface-2);color:var(--muted)}
.nav-panel .ni-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.nav-panel .ni-t b{font-weight:600;font-size:14px;display:flex;align-items:center;gap:6px}
.nav-panel .ni-t small{color:var(--muted);font-size:12.5px;line-height:1.45}
.nav-panel .nav-item.is-soon{cursor:default}
.nav-panel .nav-item.is-soon b{color:var(--ink-2)}
.nav-panel .tag-soon{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:4px;border:1px solid var(--line-2);color:var(--muted);font-size:11px;font-weight:500}
.nav-panel .nav-foot{margin-top:4px;padding:12px 10px 4px;border-top:1px solid var(--line);color:var(--brand);font-size:13px;font-weight:500;text-decoration:none}
.nav-panel .nav-foot:hover{text-decoration:underline}
/* "查看方案与定价"是文字链接：悬停只加下划线，不套顶栏链接的灰底和变色 */
.nav .nav-panel .nav-foot,.nav .nav-panel .nav-foot:hover,.nav .nav-panel .nav-foot:focus-visible{background:transparent;color:var(--brand);border-radius:0}
.nav .nav-panel .nav-foot:hover{text-decoration:underline;text-underline-offset:3px}
/* ===== 字号收紧（第 38 轮）：中文字形比英文显大，照搬苹果的英文字号会显得太大。营销页、文档页整体下调一档；工具页正文不变 ===== */
.mk .hero h1{font-size:clamp(32px,4.6vw,48px)}
.mk .brand-hero h1{font-size:clamp(44px,5.4vw,60px)}
.mk .hero .tagline{font-size:clamp(19px,2vw,26px);margin-bottom:16px}
.mk .hero .lead{font-size:clamp(15px,1.3vw,17px)}
.mk .section-head h2{font-size:clamp(24px,3vw,32px)}
.mk .section-head p{font-size:16px}
.mk .feats h3{font-size:17px}
.mk .alt h3{font-size:20px}
.mk .price-mini h2{font-size:clamp(24px,3vw,30px)}
.mk .price-mini p{font-size:clamp(15px,1.3vw,16px)}
.mk .faq summary{font-size:16px}
.plan .price{font-size:32px}
.doc-page h1{font-size:clamp(28px,3.6vw,36px)}
.doc-page article{font-size:15px}
.doc-page .lead{font-size:16px}
.doc-page h2{font-size:19px}
.doc-page h3{font-size:16px}
.tool-title{font-size:22px}
@media (max-width:920px){.tool-title{font-size:20px}}
@media (max-width:760px){.tool-title{font-size:19px}}
/* 最后一个分区是通栏色带时，和页脚之间不留一条底色缝 */
.mk:has(> .band:last-child){padding-bottom:0}
.mk:has(> .band:last-child) + .site-footer{margin-top:0}
/* 定价方案卡片收紧（第 41 轮）：首页和定价页共用 */
.plans{gap:12px}
.plan{padding:22px 20px;border-radius:18px;gap:6px}
.plan .name{font-size:15px}
.plan .price{font-size:28px;margin-top:2px}
.plan .price small{font-size:12px}
.plan .note{font-size:12.5px}
.plan ul{margin-top:10px;gap:6px;font-size:13px}
.plan .radio{top:22px;right:18px}
.buybar{margin-top:14px;padding:14px 20px;border-radius:18px!important}
.buybar .sum{font-size:14px}
.buybar .btn-lg{min-height:40px;padding:0 20px;font-size:15px}
#buyMsg:empty{display:none}   /* 没有提示时不占一行，购买栏上下对称 */
/* ===== 定价方案：档位标签 + 单张方案卡片（第 42 轮，首页与定价页共用，逻辑在 plans.js） ===== */
.pwrap{max-width:600px;margin:0 auto}
.ptabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;border-radius:16px;background:var(--surface);box-shadow:0 0 0 1px var(--line)}
.ptabs .ptab{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;height:auto;padding:9px 4px;border:0;border-radius:12px;background:transparent;box-shadow:none;color:var(--ink-2);font:inherit;cursor:pointer}
.ptabs .ptab b{font-size:14px;font-weight:600;color:var(--ink);display:inline-flex;align-items:center;gap:4px}
.ptabs .ptab small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-variant-numeric:tabular-nums}
.ptabs .ptab .rec{font-size:10px;font-weight:600;line-height:1;padding:3px 5px;border-radius:999px;background:var(--brand-soft);color:var(--brand-ink)}
.ptabs .ptab:hover{background:var(--surface-2)}
.ptabs .ptab[aria-selected="true"]{background:var(--brand-soft);box-shadow:inset 0 0 0 1.5px var(--brand)}
.ptabs .ptab[aria-selected="true"] b{color:var(--brand-ink)}
.ptabs .ptab.off{cursor:default;opacity:.6}
.ptabs .ptab.off:hover{background:transparent}
.ptabs .ptab .own{font-size:11px}
.pcard{margin-top:12px;padding:26px 26px 24px;border-radius:22px;background:var(--surface);box-shadow:0 0 0 1px var(--line),0 6px 24px rgba(0,0,0,.05)}
.pc-name{margin:0;font-size:24px;font-weight:700;letter-spacing:-.02em;display:flex;align-items:center;gap:8px}
.pc-name .rec{font-size:12px}
.pc-note{margin:4px 0 0;color:var(--muted);font-size:14px}
.popts{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;margin-top:18px}
.popts .popt{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;height:auto;padding:14px 16px;border:1px solid var(--line-2);border-radius:14px;background:transparent;box-shadow:none;color:var(--ink);font:inherit}
.popts button.popt{cursor:pointer}
.popts button.popt:hover{border-color:var(--muted)}
.popts .popt[aria-checked="true"]{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 .5px var(--brand)}
.popts .popt.single{border-style:solid;background:var(--bg)}
.popt .radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--line-2);margin-bottom:8px;flex:none}
.popt[aria-checked="true"] .radio{border:5px solid var(--brand)}
.popt .pp{font-size:24px;font-weight:700;letter-spacing:-.01em;font-variant-numeric:tabular-nums;line-height:1.2}
.popt .pp small{font-size:13px;font-weight:500;color:var(--muted)}
.popt .ps{font-size:13px;color:var(--ink-2)}
.pc-acts{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-top:16px}
.pc-acts #buyBtn{min-height:46px;font-size:16px;font-weight:600;justify-content:center;width:100%}
.pc-acts #buyBtn[aria-disabled="true"]{opacity:.5;pointer-events:none}
.pc-acts .pc-redeem{align-self:center;height:auto;min-height:32px;padding:4px 10px;border:0;background:transparent;box-shadow:none;color:var(--muted);font-size:13px}
.pc-acts .pc-redeem:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px;background:transparent}
.pc-sum{margin:10px 0 0;font-size:13px;color:var(--ink-2);text-align:center}
.pc-max{margin:8px 0 0;font-size:12px;color:var(--muted);line-height:1.6}
.pcard #buyMsg{margin:8px 0 0;font-size:13px;text-align:center}
.pc-div{height:1px;background:var(--line);margin:20px -26px 18px}
.pc-inc{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--ink-2)}
.pc-feats{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:14px;color:var(--ink)}
.pc-feats li{display:flex;gap:10px;line-height:1.5}
.pc-feats li::before{content:"✓";color:var(--ok);font-weight:700;flex:none}
@media (max-width:600px){
  .pcard{padding:20px 18px 18px;border-radius:20px}
  .pc-div{margin:18px -18px 16px}
  .pc-name{font-size:21px}
  .popts{gap:8px}.popts .popt{padding:12px}
  .popt .pp{font-size:20px}
  .ptabs .ptab{padding:8px 2px}.ptabs .ptab b{font-size:13px}.ptabs .ptab small{font-size:11px}
  .ptabs .ptab .rec{display:none}
}
.popts .popt{min-width:0}
.popt .ps2{font-size:12px;color:var(--brand-ink)}
/* 档位切换改为胶囊分段切换（第 43 轮）：浅灰轨道 + 选中项白色浮起，不用边框和橙色底 */
.ptabs{display:flex;gap:2px;width:fit-content;max-width:100%;margin:0 auto;padding:4px;border-radius:999px;background:color-mix(in srgb,var(--ink) 7%,var(--bg));box-shadow:none}
.ptabs .ptab{flex:1 1 0;flex-direction:row;justify-content:center;min-width:76px;height:36px;padding:0 18px;border-radius:999px;transition:background .15s,box-shadow .15s}
.ptabs .ptab b{font-size:14px;font-weight:500;color:var(--ink-2)}
.ptabs .ptab:hover{background:transparent}
.ptabs .ptab:hover b{color:var(--ink)}
.ptabs .ptab[aria-selected="true"]{background:var(--surface);box-shadow:0 1px 3px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.04)}
.ptabs .ptab[aria-selected="true"] b{color:var(--ink);font-weight:600}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .ptabs .ptab[aria-selected="true"]{background:#3A4350;box-shadow:0 1px 3px rgba(0,0,0,.4)}}
:root[data-theme="dark"] .ptabs .ptab[aria-selected="true"]{background:#3A4350;box-shadow:0 1px 3px rgba(0,0,0,.4)}
.ptabs .ptab.off b{color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px}
.ptabs .ptab .own{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}   /* 读屏用，视觉上用置灰表示 */
.pcard{margin-top:16px}
@media (max-width:600px){.ptabs{width:100%}.ptabs .ptab{min-width:0;padding:0 6px;height:34px}.ptabs .ptab b{font-size:13px}}

/* 顶栏 logo：与标签页、桌面图标同一个（深蓝底 18:00 时钟，icons/icon.svg），内联 SVG */
.brand .mark{background:none;overflow:hidden}
.brand .mark svg{display:block;width:26px;height:26px}
/* 首页首屏收紧（第 45 轮）：去掉上方小字，说明只留一句；手机上下留白减少，工具卡片直接露出来 */
.mk .brand-hero{padding-top:72px}
.mk .brand-hero h1{margin-bottom:14px}
.mk .brand-hero .lead{max-width:40em;text-wrap:balance}
@media (max-width:760px){.mk .brand-hero{padding-top:36px}.mk .brand-hero h1{margin-bottom:10px}.mk .brand-hero .tagline{margin-bottom:12px}}
/* 手机上方案对比表：左侧"功能"列固定，左右滑动时始终能看到是哪一行；列宽收窄 */
@media (max-width:600px){
  .cmp{overflow:visible;min-width:500px;font-size:13px;table-layout:fixed}
  .cmp th,.cmp td{padding:11px 10px}
  .cmp td:not(:first-child),.cmp th:not(:first-child){width:96px}
  .cmp tr:not(.g)>th:first-child,.cmp tr:not(.g)>td:first-child{position:sticky;left:0;z-index:1;width:116px;background:var(--surface);box-shadow:1px 0 0 var(--line)}
  .cmp .g td span{position:sticky;left:10px}
}
/* 手机：介绍页功能卡片改为紧凑列表（一个白底容器、分隔线），"功能"分区超过 6 项时先收起，点"展开"看全部 */
@media (max-width:560px){
  .mk .feats:not(.priv){gap:0;border-radius:20px;overflow:hidden;background:var(--surface)}
  .mk .band .feats:not(.priv){background:var(--bg)}
  .mk .feats:not(.priv)>.card{padding:16px 18px;border-radius:0!important;background:transparent;box-shadow:inset 0 -1px 0 var(--line)!important}
  .mk .feats:not(.priv)>.card:last-child{box-shadow:none!important}
  .mk .feats:not(.priv) h3{font-size:15px;margin-bottom:4px}
  .mk .feats:not(.priv) p{font-size:13px;line-height:1.65}
  .mk .feats:not(.priv) .no{margin-bottom:4px}
  .mk .feats.folded>.card:nth-child(n+7){display:none}
  .mk .feats.folded>.card:nth-child(6){box-shadow:none!important}
  .feats-more{display:block;margin:12px auto 0;height:38px;padding:0 18px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);color:var(--ink-2);font:inherit;font-size:14px}
}
@media (min-width:561px){.feats-more{display:none}}
