/* ============================================================
   fenlei.v1.css — 分类择日页样式（s857）
   依据：output/分类择日样稿_三版/版A_素笺正统.html（2026-11-27 站长定稿）
   红线：全局 12.5px 继承；显式字号一律 !important；页内不带水平 --pad
        （页边距由 tab-pane 容器提供）；桌面 860 居中，手机内容柱 358。
   档位色（素笺红吉青凶映射，拍板 #1）：上吉朱砂实底/吉浅朱/可用金褐/慎用石青/排除黛青实底
   ============================================================ */

/* ---------- 内容柱 ---------- */
#zongheArea .fl-wrap{max-width:860px;margin:0 auto;padding:14px 0 30px}
@media (max-width:700px){#zongheArea .fl-wrap{padding:10px 0 24px}}

/* ---------- 卡片 ---------- */
#zongheArea .fl-card{background:#FFFDF9;border:1px solid #E4DCCB;border-radius:12px;padding:14px;margin:0 0 12px;box-shadow:0 2px 8px rgba(92,66,42,.05)}
#zongheArea .fl-card h2{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:16px!important;font-family:var(--serif)!important;font-weight:700;color:#3A3A33}
#zongheArea .fl-card h2 small{font-size:11px!important;color:#8A877D;font-weight:400;margin-left:auto;font-family:inherit!important}

/* ---------- 步骤章 ---------- */
#zongheArea .fl-step{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#8A6A1F;color:#fff;font-size:13px!important;font-family:inherit!important;font-weight:600;flex:none}
#zongheArea .fl-step.fl-step-one{background:#F7E9E5;color:#B03A2E}

/* ---------- 表单 ---------- */
#zongheArea .fl-fgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:700px){#zongheArea .fl-fgrid{grid-template-columns:1fr}}
#zongheArea .fl-fg label{display:block;font-size:12.5px;color:#6E6E64;margin-bottom:6px}
#zongheArea .fl-fg{min-width:0}   /* s864：grid 子项默认 min-width:auto 会被子内容（命造五项 nowrap）撑破视口 */
#zongheArea .fl-help{margin:5px 0 0;color:#6E6E64;font-size:11.5px;line-height:1.55}
#zongheArea .fl-input{width:100%;box-sizing:border-box;border:1px solid #D8D2C4;border-radius:10px;background:#FFFEFB;min-height:44px;padding:8px 12px;font-size:14px!important;color:#40403A;font-family:inherit!important}

/* ---------- 生辰控件三层（TSBirth 约定） ---------- */
#zongheArea .tsb-ctl{display:flex;align-items:center;gap:10px;border:1px solid #D8D2C4;border-radius:10px;background:#FFFEFB;min-height:44px;padding:8px 12px;cursor:pointer}
#zongheArea .tsb-ctl.is-filled{border-color:#C9BFa8}
#zongheArea .tsb-val{font-size:14px!important;color:#40403A}
#zongheArea .tsb-val.is-placeholder{color:#A89A7C}

/* ---------- 分段选择器（版A定稿 v2） ---------- */
#zongheArea .fl-pills{display:grid;gap:0;padding:4px;background:#F5F0E6;border:1px solid #E5DAC6;border-radius:10px}
#zongheArea .fl-pill{min-width:0;min-height:34px;padding:4px 5px;display:flex;align-items:center;justify-content:center;text-align:center;border:0;border-left:1px solid #E0D5C2;background:transparent;color:#55544C;line-height:1.4;white-space:nowrap;cursor:pointer;font-size:12.5px;transition:color .15s ease;font-family:inherit!important}
#zongheArea .fl-pill:first-child{border-left:0}
#zongheArea .fl-pill.on{color:#B03A2E;font-weight:600}
#zongheArea .fl-pills.fl-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
#zongheArea .fl-pills.fl-pair .fl-pill[data-group="time"],#zongheArea .fl-pills.fl-pair .fl-pill[data-group="mode"]{min-height:38px}
#zongheArea .fl-pills.fl-pair .fl-pill:nth-child(3){border-left:0}
#zongheArea .fl-pills.fl-pair .fl-pill:nth-child(n+3){border-top:1px solid #E0D5C2}
/* 开业类型·行业五行：上段类型各跨 7，下段五行各跨 2 */
#zongheArea .fl-pills.fl-combo{grid-template-columns:repeat(14,minmax(0,1fr))}
#zongheArea .fl-pills.fl-combo .fl-pill[data-group="type"]{grid-column:span 7;min-height:40px}
#zongheArea .fl-pills.fl-combo .fl-pill[data-group="ind"]{grid-column:span 2;min-height:34px;font-size:10.5px!important}
#zongheArea .fl-pills.fl-combo .fl-pill:nth-child(3){border-left:0}
#zongheArea .fl-pills.fl-combo .fl-pill:nth-child(n+3){border-top:1px solid #E0D5C2}

/* ---------- 区间日期（TSCalendar.bind 包装原生 input） ---------- */
#zongheArea .fl-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-width:700px){#zongheArea .fl-range{grid-template-columns:1fr}}
#zongheArea .fl-range input{width:100%;box-sizing:border-box;border:1px solid #D8D2C4;border-radius:10px;background:#FFFEFB;min-height:58px;padding:10px 12px;font-size:14px!important;color:#40403A}

/* ---------- 主按钮 ---------- */
#zongheArea .fl-btn{width:100%;min-height:46px;border:0;border-radius:10px;background:#B03A2E;color:#fff;font-size:15px!important;font-weight:600;letter-spacing:6px;cursor:pointer;box-shadow:0 4px 10px rgba(176,58,46,.16);font-family:inherit!important}
#zongheArea .fl-btn:active{transform:translateY(1px)}

/* ---------- 提示条 ---------- */
#zongheArea .fl-banner{border-radius:10px;padding:10px 12px;margin:0 0 12px;font-size:12.5px;line-height:1.7}
#zongheArea .fl-banner.fl-warn{background:#FFF9EE;border:1px solid #ECD7AF;color:#8A5A17}
#zongheArea .fl-banner.fl-ok{background:#F3FAF6;border:1px solid #CDE2D4;color:#377253}

/* ---------- 命造速览（纯文字一行，淡黛青，s862 按版A定稿 10.5px） ---------- */
#zongheArea .fl-chips{margin-top:6px;font-size:10.5px!important;color:#5E7C86;display:flex;flex-wrap:nowrap;overflow:hidden;gap:0;line-height:1.8;max-width:100%;min-width:0}
#zongheArea .fl-chips .fl-chip{white-space:nowrap;border:0;background:none!important;padding:0;font-size:10.5px!important}
#zongheArea .fl-chips .fl-chip+.fl-chip{padding-left:5px;margin-left:0;border-left:1px solid #BCC7CB}
#zongheArea .fl-chips .fl-chip+.fl-chip::before{content:none}

/* ---------- 统计行 ---------- */
#zongheArea .fl-stat{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
#zongheArea .fl-stat .st,#zongheArea .fl-excluded summary{background:#FBF7F1;border:1px solid #E4DCCB;border-radius:9px;padding:6px 10px;font-size:12.5px;color:#5A5A52}
#zongheArea .fl-excluded{margin:0 0 12px}
#zongheArea .fl-excluded summary{width:fit-content;cursor:pointer;color:#8A6A1F}
#zongheArea .fl-excluded .fl-stat{margin:8px 0 0}
#zongheArea .fl-edit-range{display:block;margin:8px auto 0}
#zongheArea .fl-stat .st b{color:#B03A2E;font-size:15px!important}

/* ---------- 候选卡 ---------- */
#zongheArea .fl-cand{display:flex;align-items:center;gap:12px;border:1px solid #E4DCCB;border-radius:11px;background:#FFFDF9;padding:11px 12px;margin:0 0 8px;cursor:pointer}
#zongheArea .fl-cand:hover{border-color:#C9BFA8}
#zongheArea button.fl-cand,#zongheArea button.fl-rike{width:100%;text-align:left;font-family:inherit}
#zongheArea :is(.fl-cand,.fl-rike,.fl-excluded summary,.fl-hour-note summary,.fl-close,.fl-rk-close):focus-visible{outline:2px solid #8A6A1F;outline-offset:2px}
#zongheArea .fl-grade{width:44px;height:44px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-family:var(--serif)!important;font-size:14px!important;font-weight:700;flex:none;writing-mode:vertical-rl;letter-spacing:2px}
#zongheArea .fl-g-上吉{background:#B03A2E;color:#FFF6EF}
#zongheArea .fl-g-吉{background:#F7E9E5;color:#B03A2E;border:1px solid #E7C8C0}
#zongheArea .fl-g-可用{background:#F5EEDC;color:#8A6A1F;border:1px solid #E0D0A6}
#zongheArea .fl-g-慎用{background:#E4EFF2;color:#2E7284;border:1px solid #C2D8DE}
#zongheArea .fl-g-排除{background:#16525F;color:#E8F1F2}
#zongheArea .fl-cand .ci{min-width:0;flex:1}
#zongheArea .fl-cand .cd{font-family:var(--serif)!important;font-size:15px!important;font-weight:700;color:#3A3A33}
#zongheArea .fl-cand .cm{font-size:11.5px!important;color:#8A877D;margin-top:2px}
#zongheArea .fl-cand .cs{font-size:12.5px;color:#6E6E64;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#zongheArea .fl-cand .csc{text-align:center;flex:none;width:52px}
#zongheArea .fl-cand .csc b{display:block;font-size:18px!important;color:#B03A2E}
#zongheArea .fl-cand .csc span{font-size:10px!important;color:#A89A7C}

/* ---------- 详情抽屉 ---------- */
#zongheArea .fl-drawer{position:fixed;inset:0;z-index:1300;display:none}
#zongheArea .fl-drawer.open{display:block}
#zongheArea .fl-drawer .mask{position:absolute;inset:0;background:rgba(40,34,26,.45)}
#zongheArea .fl-drawer .panel{position:absolute;top:0;right:0;height:100%;width:560px;max-width:94vw;background:#FFFEFB;box-shadow:-8px 0 30px rgba(40,34,26,.18);overflow-y:auto;padding:16px;box-sizing:border-box}
@media (max-width:700px){#zongheArea .fl-drawer .panel{width:100vw;max-width:100vw}}
#zongheArea .fl-dh{display:flex;align-items:flex-start;gap:10px;margin:0 0 12px}
#zongheArea .fl-dh .t{font-family:var(--serif)!important;font-size:17px!important;font-weight:700;color:#3A3A33}
#zongheArea .fl-dh .s{font-size:11px!important;color:#8A877D;margin-top:2px}
#zongheArea .fl-close{margin-left:auto;border:1px solid #D8D2C4;background:#FFF;border-radius:8px;min-width:44px;min-height:36px;color:#6E6E64;cursor:pointer}
#zongheArea .fl-sec{border-top:1px dashed #E0D8C6;padding:10px 0}
#zongheArea .fl-sec h3{margin:0 0 8px;font-size:13px!important;color:#8A6A1F;font-family:inherit!important;font-weight:600}
#zongheArea .fl-jd{display:grid;grid-template-columns:1fr 1fr;gap:6px}
@media (max-width:700px){#zongheArea .fl-jd{grid-template-columns:1fr}}
#zongheArea .fl-jd .j{background:#FBF7F1;border:1px solid #E4DCCB;border-radius:8px;padding:7px 9px;font-size:12.5px;color:#5A5A52;line-height:1.6}
#zongheArea .fl-jd .j b{color:#3A3A33}
#zongheArea .fl-four{font-family:var(--serif)!important;font-size:16px!important;color:#B03A2E;letter-spacing:3px;margin:2px 0 6px}

/* ---------- 时辰行 ---------- */
#zongheArea .fl-hour{display:flex;align-items:center;gap:8px;border:1px solid #E8E2DA;border-radius:9px;padding:8px 10px;margin:0 0 6px;background:#FFFDF9}
#zongheArea .fl-hour .hz{font-family:var(--serif)!important;font-size:14px!important;font-weight:700;color:#3A3A33;width:52px;flex:none}
#zongheArea .fl-hour .hg{font-size:12.5px;color:#6E6E64;width:44px;flex:none}
#zongheArea .fl-hour .hn{min-width:0;flex:1;font-size:12px!important;color:#8A877D;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}
#zongheArea .fl-hour .fl-hour-note{white-space:normal;overflow-wrap:anywhere}
#zongheArea .fl-hour-note summary{cursor:pointer;color:#6E6E64}
#zongheArea .fl-hour-note div{margin-top:4px;line-height:1.55}
#zongheArea .fl-v{flex:none;font-size:11px!important;padding:3px 8px;border-radius:7px;border:1px solid transparent}
#zongheArea .fl-v-首选{background:#B03A2E;color:#FFF6EF}
#zongheArea .fl-v-次选{background:#F5EEDC;color:#8A6A1F;border-color:#E0D0A6}
#zongheArea .fl-v-可用{background:#F1EEE6;color:#6E6E64;border-color:#E0DAC8}
#zongheArea .fl-v-慎用{background:#E4EFF2;color:#2E7284;border-color:#C2D8DE}
#zongheArea .fl-v-排除{background:#16525F;color:#E8F1F2}
#zongheArea .fl-hour .use{flex:none;border:1px solid #C9BFA8;background:#FFF;border-radius:8px;min-height:36px;min-width:64px;color:#8A6A1F;cursor:pointer;font-size:12.5px;font-family:inherit!important}
#zongheArea .fl-hour .use[aria-pressed="true"]{background:#B03A2E;border-color:#B03A2E;color:#FFF6EF}
#zongheArea .fl-hour .use:disabled{background:#F3F1EC;border-color:#E5DFD1;color:#706A5F;cursor:not-allowed}

/* ---------- 日课单弹层：版三·素笺雅帖（s858 站长选定 Claude 稿） ---------- */
#zongheArea .fl-modal{position:fixed;inset:0;z-index:1400;display:none;align-items:center;justify-content:center}
#zongheArea .fl-modal.open{display:flex}
#zongheArea .fl-modal .mask{position:absolute;inset:0;background:rgba(40,34,26,.68)}
#zongheArea .fl-modal .box{position:relative;width:390px;max-width:100vw;max-height:100vh;overflow-y:auto;box-sizing:border-box;padding:0 16px 24px;background:linear-gradient(180deg,#3A3631 0%,#2F2C27 100%);border:0;border-radius:0;box-shadow:0 12px 40px rgba(40,34,26,.3)}
#zongheArea .fl-rk-loading{padding:80px 0;color:#FDFAF3;text-align:center;font-size:13px!important}
#zongheArea .fl-rk-error-close{display:block;margin:0 auto 40px;min-height:40px;padding:0 22px;border:1px solid #C9A85C;background:transparent;color:#FDFAF3;border-radius:9px;font-size:13px!important}
#zongheArea .fl-rk-bar{height:52px;display:flex;align-items:center;justify-content:space-between;color:rgba(255,250,240,.88)}
#zongheArea .fl-rk-bar b{font-size:14px!important;font-weight:600;letter-spacing:.08em}
#zongheArea .fl-rk-bar small{font-size:11px!important;color:rgba(255,250,240,.5);margin-left:8px;font-weight:400}
#zongheArea .fl-rk-bar .fl-rk-close{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:rgba(255,250,240,.8);font-size:15px!important;cursor:pointer}

/* 纸面即导出对象：A4 比例 358×506，姓名/按钮一律不入纸
   --rk-sans 照抄 Cloud「字体对比/C_混排」（推荐版）的细黑字族，逐字相同、不增删（s861）：
   不收 -apple-system 与 "Noto Sans SC"——苹果机上拉丁字母与数字也走 PingFang，与 Cloud 交付图一致 */
#zongheArea .fl-rk-paper{--rk-serif:"Noto Serif SC","Source Han Serif SC","Songti SC","STSong","SimSun",serif;--rk-sans:"PingFang SC","Microsoft YaHei",sans-serif;width:358px;height:506px;flex:none;margin:0 auto;background:#FDFAF3;position:relative;box-shadow:0 14px 36px rgba(0,0,0,.38);font-family:var(--rk-serif)!important}
#zongheArea .fl-rk-paper::before{content:"";position:absolute;inset:10px;border:1.2px solid #B03A2E;pointer-events:none}
#zongheArea .fl-rk-paper::after{content:"";position:absolute;inset:13px;border:.6px solid #C9A85C;pointer-events:none}
#zongheArea .fl-rk-paper *{font-family:var(--rk-serif)!important}
#zongheArea .fl-rk-in{position:absolute;inset:13px;padding:13px 18px 10px;display:flex;flex-direction:column}
#zongheArea .fl-rk-mast{text-align:center}
#zongheArea .fl-rk-hall{display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px!important;line-height:1.4;color:#8A6A1F;letter-spacing:.3em;text-indent:.3em}
#zongheArea .fl-rk-hall i{width:1px;height:9px;background:#C9A85C}
#zongheArea .fl-rk-mast h3{font-size:25px!important;line-height:1.2;font-weight:700;color:#2A2C28;letter-spacing:.42em;text-indent:.42em;margin:4px 0 0}
#zongheArea .fl-rk-kick{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:3px;font-size:10px!important;line-height:1.4;color:#16525F;letter-spacing:.4em;text-indent:.4em}
#zongheArea .fl-rk-kick::before,#zongheArea .fl-rk-kick::after{content:"";width:34px;height:.6px;background:#C9A85C}
#zongheArea .fl-rk-lead{margin:9px 0 0;font-size:12px!important;line-height:1.8;color:#4A4A42;text-align:justify}
#zongheArea .fl-rk-lead b,#zongheArea .fl-rk-lead span{font-size:12px!important}
#zongheArea .fl-rk-lead b{color:#B03A2E;font-weight:700}
#zongheArea .fl-rk-paper.long-names .fl-rk-lead{line-height:1.65;font-size:11px!important}
#zongheArea .fl-rk-paper.long-names .fl-rk-lead b,#zongheArea .fl-rk-paper.long-names .fl-rk-lead span{font-size:11px!important}
#zongheArea .fl-rk-pillars{display:flex;margin-top:8px;border-top:.6px solid #E3D3AE;border-bottom:.6px solid #E3D3AE}
#zongheArea .fl-rk-pl{flex:1;display:flex;flex-direction:column;align-items:center;padding:6px 0 5px;position:relative}
#zongheArea .fl-rk-pl+.fl-rk-pl::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:.6px;background:#EDE5D3}
#zongheArea .fl-rk-pl .lb{font-size:10px!important;line-height:1.3;color:#16525F;letter-spacing:.3em;text-indent:.3em}
#zongheArea .fl-rk-pl .gz{font-size:18px!important;line-height:1.35;font-weight:700;color:#2A2C28;letter-spacing:.12em;text-indent:.12em;margin-top:2px}
#zongheArea .fl-rk-pl.day .gz{color:#B03A2E}
#zongheArea .fl-rk-ge-t{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:11px!important;font-weight:700;color:#8A6A1F;letter-spacing:.4em}
#zongheArea .fl-rk-ge-t::after{content:"";flex:1;height:.6px;background:#E3D3AE}
#zongheArea .fl-rk-ge{list-style:none;margin:1px 0 0;padding:0}
#zongheArea .fl-rk-ge li{display:flex;align-items:baseline;gap:8px;line-height:19px;color:#4A4A42;border-bottom:.6px dotted #E6DCC6}
#zongheArea .fl-rk-ge li:last-child{border-bottom:0}
#zongheArea .fl-rk-ge li span{flex:1;min-width:0;white-space:nowrap;font-size:11.5px!important}
#zongheArea .fl-rk-ge li span::before{content:"";display:inline-block;width:3px;height:3px;background:#C9A85C;transform:rotate(45deg);margin:0 8px 2px 1px}
#zongheArea .fl-rk-ge li b{font-size:11px!important;font-weight:400;color:#B03A2E;letter-spacing:.1em}
#zongheArea .fl-rk-ge li b.warn{color:#16525F}
#zongheArea .fl-rk-jy{margin-top:auto;text-align:center}
#zongheArea .fl-rk-jy .r1{font-size:16px!important;line-height:1.4;font-weight:700;color:#B03A2E;letter-spacing:.2em;text-indent:.2em}
#zongheArea .fl-rk-jy .r1 i{font-style:normal;color:#C9A85C;margin:0 .1em;font-size:16px!important}
#zongheArea .fl-rk-jy .r2{font-size:11.5px!important;line-height:1.5;color:#8A6A1F;letter-spacing:.25em;text-indent:.25em}
#zongheArea .fl-rk-care{margin-top:2px;text-align:center;font-size:10px!important;line-height:1.5;color:#8A877C;letter-spacing:.1em}
#zongheArea .fl-rk-sign{margin-top:6px;padding-top:6px;border-top:.6px solid #E3D3AE;display:flex;justify-content:space-between;align-items:flex-end}
#zongheArea .fl-rk-sign .no{font-size:10px!important;line-height:1.6;color:#8A877C;letter-spacing:.02em}
#zongheArea .fl-rk-sign .by{display:flex;align-items:center;gap:8px}
#zongheArea .fl-rk-sign .by div{text-align:right}
#zongheArea .fl-rk-sign .by b{display:block;font-size:12px!important;line-height:1.4;color:#16525F;letter-spacing:.12em;font-weight:700}
#zongheArea .fl-rk-sign .by small{display:block;font-size:10px!important;line-height:1.4;color:#8A877C;letter-spacing:.15em}
#zongheArea .fl-rk-seal{width:33px;height:33px;flex:none;background:#B03A2E;border-radius:2px;padding:3px;opacity:.93;box-shadow:0 0 0 1.5px #FDFAF3,0 0 0 2.4px #B03A2E;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;place-items:center}
#zongheArea .fl-rk-seal i{font-style:normal;font-size:12px!important;line-height:1;font-weight:700;color:#FDF6EA}
/* 宋黑混排：标题/干支/吉语/落款/印章用宋，其余用细黑 */
#zongheArea .fl-rk-paper .fl-rk-hall,#zongheArea .fl-rk-paper .fl-rk-kick,#zongheArea .fl-rk-paper .fl-rk-lead,#zongheArea .fl-rk-paper .fl-rk-lead *,#zongheArea .fl-rk-paper .fl-rk-pl .lb,#zongheArea .fl-rk-paper .fl-rk-ge-t,#zongheArea .fl-rk-paper .fl-rk-ge li,#zongheArea .fl-rk-paper .fl-rk-ge li *,#zongheArea .fl-rk-paper .fl-rk-care,#zongheArea .fl-rk-paper .no,#zongheArea .fl-rk-paper .fl-rk-sign small,#zongheArea .fl-rk-paper .fl-rk-jy .r2{font-family:var(--rk-sans)!important}

/* ===== s859 照抄 Cloud 版三（站长 2026-11-27 令：完全照抄，不另起一派）=====
   版三原稿的字重/行距/对齐在站内被全站通配 !important（12.5px、行距、footer、i）压掉，
   这里用同等强制级别逐项夺回；取值与版三 HTML 逐条对应，核验＝6_回归脚本/s859/parity_probe.py
   宋体字族不收 "CC Serif"：站内该名是丛辰样式内嵌的子集 webfont，会把标题压粗约三成（墨量 0.071 vs 图 0.057），
   Cloud 交付图实为系统宋体回退，故纸面沿用上方 --rk-serif（Noto Serif SC → Songti SC → STSong → SimSun）。 */
#zongheArea .fl-rk-paper{box-shadow:0 14px 36px rgba(0,0,0,.38),0 1px 0 rgba(255,255,255,.4) inset}
/* 细黑：字重 300 */
#zongheArea .fl-rk-paper .fl-rk-hall,#zongheArea .fl-rk-paper .fl-rk-kick,#zongheArea .fl-rk-paper .fl-rk-lead,#zongheArea .fl-rk-paper .fl-rk-lead span,#zongheArea .fl-rk-paper .fl-rk-pl .lb,#zongheArea .fl-rk-paper .fl-rk-ge li span,#zongheArea .fl-rk-paper .fl-rk-ge li b,#zongheArea .fl-rk-paper .fl-rk-care,#zongheArea .fl-rk-paper .fl-rk-sign .no,#zongheArea .fl-rk-paper .fl-rk-sign small,#zongheArea .fl-rk-paper .fl-rk-jy .r2{font-weight:300!important}
/* 红色重点：字重 500 */
#zongheArea .fl-rk-paper .fl-rk-lead b,#zongheArea .fl-rk-paper .fl-rk-lead .nm,#zongheArea .fl-rk-paper .fl-rk-ge-t,#zongheArea .fl-rk-paper .fl-rk-lead #flRkLeadPartner{font-weight:500!important}
#zongheArea .fl-rk-paper .fl-rk-lead .nm{color:#B03A2E!important}          /* 福主姓名朱红，「」留墨色 */
#zongheArea .fl-rk-paper .fl-rk-lead [hidden]{display:none!important}
#zongheArea .fl-rk-mast h3{line-height:1.2!important;font-weight:700!important}
#zongheArea .fl-rk-ge-t{line-height:normal!important}
#zongheArea .fl-rk-ge li{font-size:11.5px!important}
#zongheArea .fl-rk-jy .r1 i{font-weight:700!important}
#zongheArea .fl-rk-seal i{letter-spacing:normal!important}
#zongheArea .fl-rk-seal{position:relative!important}
#zongheArea .fl-rk-seal::before{content:"";position:absolute;inset:2px;border:1px solid #FDFAF3;border-radius:4px}   /* 钤印白色内框 */
#zongheArea .fl-rk-sign{margin:6px 0 0!important;padding:6px 0 0!important;border:0!important;border-top:.6px solid #E3D3AE!important}
#zongheArea .fl-rk-sign .no{text-align:start!important}

/* 存档操作区（不入纸面） */
#zongheArea .fl-rk-ops{margin-top:14px;background:#FFFEFB;border-radius:14px;padding:14px 14px 12px}
#zongheArea .fl-rk-ops *{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif!important}
#zongheArea .fl-rk-ops-hd{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
#zongheArea .fl-rk-ops-hd b{font-size:14px!important;font-weight:600;color:#2A2C28}
#zongheArea .fl-rk-ops-hd small{font-size:11px!important;color:#8A877C}
#zongheArea .fl-rk-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
#zongheArea .fl-rk-f{display:flex;flex-direction:column;justify-content:center;min-height:48px;padding:5px 11px;background:#FAF7F0;border:1px solid #EBE3D1;border-radius:10px}
#zongheArea .fl-rk-f.wide{grid-column:1/-1}
#zongheArea .fl-rk-f label{font-size:10.5px!important;color:#8A877C;line-height:1.3}
#zongheArea .fl-rk-f input{border:0;background:none;outline:none;font-size:14px!important;line-height:1.5;color:#2A2C28;min-width:0;width:100%;padding:0}
#zongheArea .fl-rk-f input::placeholder{color:#BDB7A8;font-size:14px!important}
#zongheArea .fl-rk-f:focus-within{border-color:#C9A85C;background:#FFFEFB}
#zongheArea .fl-rk-btns{display:grid;grid-template-columns:1fr 1.6fr;gap:8px;margin-top:12px}
#zongheArea .fl-rk-btns button{height:46px;border-radius:10px;font-size:14px!important;cursor:pointer;letter-spacing:.15em}
#zongheArea .fl-rk-btns .cancel{border:1px solid #E3D9C6;background:#FFFEFB;color:#4A4A42}
#zongheArea .fl-rk-btns .ok{border:0;background:#B03A2E;color:#FFF8F0;font-weight:600}
#zongheArea .fl-rk-exp{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px;margin-top:6px;color:#8A877C}
#zongheArea .fl-rk-exp,#zongheArea .fl-rk-exp span,#zongheArea .fl-rk-exp i{font-size:11px!important}
#zongheArea .fl-rk-exp button{border:0;background:transparent;color:#16525F;padding:0 2px;min-height:36px;font-size:11px!important;cursor:pointer}
#zongheArea .fl-rk-exp i{color:#D3CBBB;font-style:normal}
@media(min-width:701px){#zongheArea .fl-modal .box{border-radius:14px;max-height:96vh}}
@media(max-width:374px){#zongheArea .fl-rk-paper{zoom:.916}}
@media(max-width:334px){#zongheArea .fl-rk-paper{zoom:.804}}

/* 打印 PDF 走独立纸面窗口（fenlei.v1.js printRikePdf），不在全站下发打印隐藏规则。 */

#zongheArea .fl-hour .use:disabled { opacity:.5; cursor:default; }
#zongheArea .fl-dh :is(.t,.s) { display:block; }
@media(max-width:520px) {
  #zongheArea .fl-hour { display:grid; grid-template-columns:auto auto 1fr auto; gap:6px; }
  #zongheArea .fl-hour .hn { grid-area:2 / 1 / 3 / -1; white-space:normal; text-overflow:clip; }
}

/* ---------- 已存日课 ---------- */
#zongheArea .fl-rike{border:1px solid #E8E2DA;border-radius:10px;padding:9px 11px;margin:0 0 6px;background:#FFFDF9;font-size:12.5px;color:#5A5A52;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#zongheArea .fl-rike .rd{font-family:var(--serif)!important;font-weight:700;color:#3A3A33}
#zongheArea button.fl-rike{cursor:pointer}
#zongheArea button.fl-rike:hover{border-color:#C9BFA8}
#zongheArea .fl-archive-text{margin:0 0 8px;font-size:12.5px;white-space:pre-wrap;overflow-wrap:anywhere}
#zongheArea .fl-empty{color:#A89A7C;font-size:12.5px;text-align:center;padding:14px 0}

/* ---------- toast ---------- */
#flToast{position:fixed;left:50%;bottom:64px;transform:translateX(-50%);z-index:1500;background:#3A3A33;color:#FFF6EF;border-radius:9px;padding:9px 16px;font-size:12.5px;opacity:0;pointer-events:none;transition:opacity .25s}
#flToast.show{opacity:.95}

/* ---------- s890 分项择日新版 overlay（selection-ui 体系；旧 fl-* 基础样式保留供其他分类事项） ---------- */
/* ---------- 开业条件与候选 ---------- */
#flForm[hidden] { display:none !important; }
#flForm, #flOut { scroll-margin-top: 80px; }
#zongheArea .fl-fgrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
#zongheArea .fl-fg { min-width:0; margin:0 0 12px; }
#zongheArea .fl-fg h3, #zongheArea .fl-month h3 { margin:0 0 7px; color:#8A6A1F; font-weight:600; }
#zongheArea .tsb-ctl { width:100%; text-align:left; min-height:54px; }
#zongheArea #flBossCtl { border-color:#ECCFCC; background:#FBEAE8; }
#zongheArea #flBossCtl.is-filled .tsb-val { color:#9A3226; }
#zongheArea .selection-modes.fl-type { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
#zongheArea .selection-modes.fl-ind { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
#zongheArea .fl-btn { width:100%; cursor:pointer; font-size:15px!important; font-family:inherit; letter-spacing:.08em; }
#flTypeNote { margin:0 0 12px; }
#flFeedback:not(:empty) { color:#6B5418; padding:8px 12px; margin:8px 0; background:#FBF3DC; border-radius:6px; }
#flRikeBox { margin-top:14px; }
#flResultsTitle { font:600 18px/1.5 var(--selection-serif)!important; color:var(--selection-ink); }
#flResultsTitle strong { color:var(--selection-red); }
#flReasons ul { list-style:none; padding:0; margin:8px 0 0; }
#flReasons li { display:flex; justify-content:space-between; align-items:baseline; gap:8px; border-top:1px solid #EFE8D8; padding:6px 0; }
#flReasons li b { flex:none; color:var(--selection-gold); }
#zongheArea .fl-view { margin-bottom:12px; }
#zongheArea .fl-calendar { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; text-align:center; }
#zongheArea :is(.fl-week,.fl-day) { display:grid; place-content:center; min-width:0; }
#zongheArea .fl-week { color:var(--selection-gold); min-height:28px; }
#zongheArea .fl-day { min-height:44px; padding:2px; border:1px solid #EEE9DB; border-radius:5px; color:var(--selection-muted); }
#zongheArea button.fl-day { color:inherit; cursor:pointer; }
#zongheArea .fl-day small { font-size:10px!important; }
@media(max-width:560px) {
  #zongheArea .fl-fgrid { grid-template-columns:minmax(0,1fr); gap:0; }
  #zongheArea .selection-modes.fl-ind { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* ---------- 候选卡和档位章 ---------- */
#zongheArea .fl-cand { display:grid; width:100%; gap:5px; text-align:left; color:#2A2C28; cursor:pointer; }
#zongheArea .fl-cand:is(:hover,:focus-visible) { outline:1px solid #B03A2E; outline-offset:1px; }
#zongheArea .fl-cand-head, #zongheArea .fl-cand-time { display:flex; align-items:center; justify-content:space-between; gap:10px; }
#zongheArea .fl-cand-head time { font:600 19px/1.45 var(--selection-serif)!important; }
#zongheArea .fl-cand-time b { color:var(--selection-red); }
#zongheArea .fl-cand-time span { color:var(--selection-muted); }
#zongheArea .fl-cand-reason { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
#zongheArea .fl-cand > .selection-note:empty { display:none; }
#zongheArea .fl-grade { display:inline-flex; width:auto; height:auto; min-height:28px; min-width:38px; padding:3px 6px; align-items:center; justify-content:center; flex:none; border-radius:5px; font:600 13px/1 var(--selection-serif,serif)!important; writing-mode:horizontal-tb; letter-spacing:normal; }
#zongheArea :is(.fl-grade,.fl-day).fl-g-上吉 { background:#B03A2E; color:#FFFEFB; }
#zongheArea :is(.fl-grade,.fl-day).fl-g-吉 { background:#FBEAE8; color:#9A3226; border:1px solid #ECCFCC; }
#zongheArea :is(.fl-grade,.fl-day).fl-g-可用 { background:#FFFEFB; color:#B03A2E; border:1px solid #B03A2E; }
#zongheArea :is(.fl-grade,.fl-day).fl-g-慎用 { background:#FBF3DC; color:#8A6A1F; border:1px dashed #8A6A1F; }
#zongheArea :is(.fl-grade,.fl-day).fl-g-排除 { background:#16525F; color:#FFFEFB; }
