/* 时位四柱｜独立候选版 0.2：只做还原性精修，不重构原视觉体系 */
html{scroll-behavior:smooth}
:root{--shiwei-content:1180px}
body{font-size:15px;line-height:1.65}

/* 页眉：恢复品牌感，不夸张 */
.site-head{height:78px;padding:0 max(24px,50vw - 590px);background:rgba(246,244,239,.96)}
.brand{gap:13px}
.brand-mark,.brand-seal{width:42px!important;height:42px!important;object-fit:contain;flex:none}
.brand strong{font-size:22px;letter-spacing:.16em;line-height:1.15}
.brand small{font-size:12px;letter-spacing:.09em;margin-top:5px}
.site-head nav{gap:30px;font-size:15px}
.edition{padding:8px 12px;font-size:13px;background:rgba(255,254,250,.62)}
.shiwei-build-note{display:none!important}

/* 总宽度保持统一 */
.philosophy-bar,.workspace-shell,.verify-section,.trace-section,.principles{max-width:var(--shiwei-content)}
.philosophy-bar{padding-top:28px;padding-bottom:22px;align-items:center}
.philosophy-bar span{font-size:15px;letter-spacing:.17em}
.philosophy-bar p{font-size:16px;line-height:1.75}
.workspace-shell{padding-bottom:72px}

/* 真太阳时工作台 */
.time-workbench{border-color:rgba(48,47,44,.16);box-shadow:0 22px 58px rgba(68,53,35,.09)}
.workbench-head{padding:34px 36px 30px}
.micro-title{font-size:12px;letter-spacing:.2em}
.workbench-head h1{font-size:34px;margin:9px 0 7px}
.workbench-head p:last-child{font-size:16px;line-height:1.7}
.method-mark{font-size:17px;padding:9px 14px}

.input-strip{gap:18px 16px;padding:26px 36px 28px;background:rgba(233,225,210,.58)}
.input-strip label>span{font-size:13px;margin-bottom:8px;letter-spacing:.06em}
.input-strip input,.input-strip button{height:48px;font-size:16px;background:#fffefa;border-color:#cfc6b8;padding-inline:14px}
.input-strip button [data-slot="select-value"]{font-size:16px}

/* 时间换算区：取消突兀色块，统一为纸张色 + 朱砂线 */
.conversion-flow{gap:13px;padding:34px 30px 30px;align-items:stretch}
.time-step{min-width:150px;padding:14px 18px}
.time-step span,.final-time span{font-size:12px}
.time-step strong{font-size:21px;margin:8px 0 5px}
.time-step small{font-size:11px}
.final-time{min-width:190px;padding:14px 20px;background:#f3ede3;color:var(--ink);border:1px solid #d5cabb;border-left:3px solid var(--red);display:flex;flex-wrap:wrap;align-content:center}
.final-time span{color:#6f675c;width:100%}
.final-time strong{font-size:31px;color:var(--ink);margin-top:4px}
.final-time em{font-size:15px;color:var(--red);align-self:flex-end;margin-bottom:4px}
.formula-note,.boundary-note{font-size:13px;margin:0 36px 24px;padding-top:18px}

/* 节气区：信息不再像脚注 */
.solar-terms-panel{margin:0 36px 26px}
.terms-head{padding:20px 20px}
.terms-head span{font-size:11px}
.terms-head strong{font-size:21px;margin-top:6px}
.terms-head small{font-size:12px;line-height:1.65}
.terms-strip article{padding:18px 16px;min-width:130px}
.terms-strip i{width:25px;height:25px;font-size:11px}
.terms-strip strong{font-size:19px;margin:11px 0 8px}
.terms-strip span{font-size:12px}
.terms-strip small{font-size:11px;line-height:1.5}
.jie-distance{padding:15px 20px;font-size:12px}
.calculation-proof{margin-inline:36px}
.calculation-proof strong{font-size:13px}
.calculation-proof span{font-size:18px}
.calculation-proof small{font-size:12px;line-height:1.7}

/* 命盘与岁运：提高可读性，结构不变 */
.chart-section{padding-top:70px;padding-bottom:72px}
.section-heading h2{font-size:38px}
.chart-summary span{font-size:12px;padding:7px 11px}
.row-labels span{font-size:12px;padding-left:16px}
.pillar-label{font-size:12px}
.chart-grid article>span:not(.pillar-label){font-size:13px}
.chart-tools button,.chart-tools a{font-size:14px;padding:13px 20px}
.chart-tools span{font-size:12px}
.five-panel{padding:31px;gap:38px}
.five-title h3{font-size:25px}
.strength-badge span,.strength-badge small{font-size:12px}
.strength-badge strong{font-size:18px}
.strength-factors span,.prototype-note{font-size:12px;line-height:1.72}
.fortune-head{padding:28px 30px}
.fortune-head h3{font-size:27px}
.fortune-method span,.fortune-method small{font-size:12px}
.fortune-method strong{font-size:19px}
.fortune-basis{font-size:12px;padding:14px 30px}
.layer-label span{font-size:11px}
.layer-content{padding:16px}
.luck-strip button,.year-strip button,.month-strip button{padding:11px}

/* 验盘、溯源、服务区的小字统一抬高 */
.verify-section{padding-top:78px;padding-bottom:78px}
.verify-heading h2,.trace-head h2{font-size:38px}
.verify-heading>div>p:last-child,.trace-head>p,.service-head>p:last-child{font-size:14px;line-height:1.85}
.verification-list p{font-size:14px}
.answer-buttons button{font-size:12px;height:32px}
.service-grid article>span,.classic-grid article>span{font-size:11px}
.service-grid p,.principles p,.classic-grid p{font-size:13px;line-height:1.78}
.service-grid button{font-size:12px}

/* 人工精批区 */
.master-reading{gap:62px;padding-top:76px;padding-bottom:76px}
.reading-intro h2{font-size:38px}
.reading-intro>p:not(.micro-title){font-size:14px;line-height:1.95}
.scholar-card span{font-size:11px}
.scholar-card strong{font-size:19px}
.scholar-card p{font-size:13px;line-height:1.8}
.price-row>div>span,.price-row>div>small{font-size:11px}
.price-row>p{font-size:14px;line-height:1.88}
.deliverables strong{font-size:14px}
.deliverables small{font-size:12px;line-height:1.65}
.service-boundary{font-size:12px;line-height:1.75}
.purchase-entry{padding:19px 21px}
.purchase-entry strong{font-size:15px}
.purchase-entry small{font-size:12px;line-height:1.6}
.purchase-entry button{font-size:12px;height:38px}

/* 刚毅坚卓：色块不再铺满屏，左右与主页面严格对齐 */
.legacy-plan{max-width:var(--shiwei-content);margin:72px auto;padding:48px 50px;grid-template-columns:.72fr 1.28fr;gap:60px}
.legacy-title>span{font-size:11px}
.legacy-title h2{font-size:38px;margin:9px 0 15px}
.dedication{font-size:18px}
.legacy-title small{font-size:12px;line-height:1.7}
.legacy-copy>p{font-size:14px;line-height:1.95}
.discounts span{font-size:11px}
.discounts strong{font-size:22px}
.discounts p{font-size:12px;line-height:1.7}
.proof-note{font-size:11px;line-height:1.75}

/* 原则区保持同宽 */
.principles{margin-top:72px;margin-bottom:72px}
.principles>div{padding:30px}
.principles strong{font-size:19px}

/* 《日者索隐》结构解读：与主页面同宽，不再横贯整屏 */
.report-band{max-width:var(--shiwei-content);margin:0 auto 72px;padding:46px 50px;grid-template-columns:1fr auto}
.report-band h2{font-size:30px}
.report-band>div>p:not(.micro-title){font-size:14px;line-height:1.85}
.report-items{font-size:13px;gap:10px 18px}
.report-band button{height:46px;font-size:13px;padding-inline:18px}

footer{font-size:12px;padding-top:28px;padding-bottom:28px}
footer span{font-size:16px}

/* 独立版交互辅助 */
.shiwei-notice{max-width:var(--shiwei-content);margin:10px auto 0;padding:11px 15px;border:1px solid rgba(139,74,61,.23);background:#fffaf2;border-radius:2px;font-size:13px;line-height:1.7;color:#675646}
.shiwei-notice[hidden]{display:none}
.shiwei-notice.error{border-color:rgba(166,63,52,.35);background:#fff5f4;color:#7c2d26}
.shiwei-notice button{margin-left:8px;padding:4px 10px;border:1px solid currentColor;border-radius:2px;background:transparent;cursor:pointer}
.shiwei-menu{position:fixed;z-index:9999;min-width:200px;max-width:min(440px,92vw);max-height:350px;overflow:auto;background:#fffefa;border:1px solid rgba(70,55,35,.18);border-radius:2px;box-shadow:0 16px 44px rgba(0,0,0,.16);padding:6px}
.shiwei-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:10px 11px;border-radius:1px;font-size:14px;cursor:pointer;color:#2f2b27}
.shiwei-menu button:hover,.shiwei-menu button.active{background:#f1ebe1}
.shiwei-menu .menu-note{padding:8px 10px;font-size:12px;color:#81786d;border-top:1px solid #eee6dc;margin-top:4px}
#terms-strip article.current-term{outline:0;box-shadow:inset 0 3px var(--red)}
.answer-buttons button.is-chosen{background:#3f352d!important;color:#fff!important;border-color:#3f352d!important}
.shiwei-disabled{opacity:.55;cursor:not-allowed!important}

@media(max-width:850px){
 .site-head{height:70px}.brand strong{font-size:20px}.brand small{font-size:11px}
 .input-strip,.commercial-inputs{grid-template-columns:1fr 1fr}
 .legacy-plan,.report-band{margin-inline:24px}
 .legacy-plan{grid-template-columns:1fr;gap:32px;padding:42px 34px}
}
@media(max-width:560px){
 .site-head{padding-inline:16px}.brand-mark,.brand-seal{width:38px!important;height:38px!important}
 .brand strong{font-size:18px}.brand small,.edition{display:none}
 .philosophy-bar{padding-inline:18px}.philosophy-bar p{font-size:14px}
 .workspace-shell{padding-inline:14px}.workbench-head{padding:25px 22px}.workbench-head h1{font-size:29px}.workbench-head p:last-child{font-size:14px}
 .input-strip,.commercial-inputs{grid-template-columns:1fr;padding:20px 22px}.input-strip input,.input-strip button{height:46px}
 .conversion-flow{padding:26px 22px}.formula-note,.boundary-note,.solar-terms-panel,.calculation-proof{margin-inline:22px}
 .legacy-plan,.report-band{margin:48px 16px;padding:34px 24px}
 .legacy-title h2{font-size:32px}.report-band{grid-template-columns:1fr}
}
