/* Paper report system shared by live report, browser print and PDF export. */
.bic-report{--ink:#263650;--ink2:#52647e;--ink3:#73839b;--line:#dce5f1!important;background:#fff!important;color:var(--ink);font-family:'Microsoft YaHei','PingFang SC',sans-serif!important;border:0!important;border-radius:0!important;padding:0!important;line-height:1.75;max-width:800px;margin:0 auto}
.bic-report .bic-section{margin:24px 0 0!important;padding:0 0 18px!important;box-shadow:none!important;border:0!important;border-bottom:1px solid #e2e9f3!important;border-radius:0!important;background:white!important}
.bic-report .bic-section>div:first-child{margin:0 0 20px!important;padding:12px 18px!important;background:#285ef0!important;color:white!important;border-radius:0!important;font-size:19px!important;line-height:1.5!important;letter-spacing:.1px!important}
.bic-report .bic-section>div:first-child span{font-size:11px!important;color:#d8e6ff!important;letter-spacing:0!important}
.bic-report .bic-section>div:not(:first-child){margin-left:14px;margin-right:14px}
.bic-report .bic-assessment{padding:13px 15px!important;background:#eef5ff!important;border-color:#dbe7f7!important;border-radius:0!important;border-left-width:3px!important}
.bic-report .bic-assessment>div:first-child{font-size:14px!important;line-height:1.8!important}
.bic-report .bic-assessment>div:not(:first-child){font-size:12px!important;line-height:1.9!important}
.bic-report .bic-table-head{border-radius:0!important;background:#e7eefb!important;padding:10px 8px!important;font-size:12px!important}
.bic-report .bic-table-row{padding:14px 4px!important;gap:7px}
.bic-report .bic-table-row>span:first-child,.bic-report .bic-table-head>span:first-child{width:105px!important;font-size:12px!important}
.bic-report .bic-table-row>span:last-child,.bic-report .bic-table-head>span:last-child{width:60px!important}
.bic-report .bic-table-row>span:nth-child(2){min-width:0!important}
.bic-report .bic-table-row b{font-size:11px!important;font-weight:600!important;border-radius:2px!important;min-height:33px!important;padding:5px 3px!important;word-break:normal!important;overflow-wrap:normal!important}
.bic-report .bic-metric-table{border:0!important;border-radius:0!important;padding:0!important}
.bic-report .bic-cover-page{position:relative;box-sizing:border-box;min-height:820px;padding:40px 44px 48px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background-size:cover!important;background-position:center!important;border-radius:0;overflow:hidden}
.bic-cover-brand{display:flex;align-items:center;gap:12px;align-self:flex-start;color:#fff;font-size:24px;font-weight:700;line-height:1.3}.bic-cover-brand img{width:54px;height:54px;border-radius:12px;object-fit:contain}.bic-cover-brand small{font-size:9px;font-weight:400;display:block;letter-spacing:1.8px;margin-top:4px;opacity:.9}
.bic-cover-title{font-size:32px;font-weight:800;letter-spacing:1px;color:white;text-align:center;margin-top:90px;line-height:1.5}
.bic-cover-rule{display:flex;gap:15px;align-items:center;margin:34px 0}.bic-cover-rule i{width:74px;height:1px;background:#c2d6f1}.bic-cover-rule b{width:6px;height:6px;border-radius:50%;background:#0aa9b5}
.bic-cover-subject{width:100%;max-width:520px;background:rgba(255,255,255,.9);padding:24px 30px;border-radius:5px}.bic-cover-subject>div{padding:12px 0!important;font-size:17px!important;border:0!important}.bic-cover-subject b{font-weight:500;color:#164e5a!important;word-break:break-word}.bic-cover-subject span{width:98px!important;color:#63818d!important}.bic-subject-duo{display:flex!important;gap:32px;padding:0!important}.bic-subject-duo>div{padding:0!important;border:0!important;flex:1;font-size:17px!important}.bic-subject-duo>div:last-child span{width:55px!important}
.bic-cover-org{font-size:25px;font-weight:500;color:#183e6a;margin-top:auto;padding-top:70px;text-align:center;line-height:1.5}.bic-cover-research{font-size:12px;color:#eaf2ff;text-align:center;margin-top:15px}.bic-cover-score{font-size:13px;color:#fff;text-align:center;margin-top:14px}.bic-cover-support{font-size:10px;color:#e0eafa;text-align:center;margin-top:20px;max-width:90%;line-height:1.7}
.bic-report .bic-advice-card{border-radius:0!important;background:#f1f6fc!important;padding:16px!important}.bic-report .bic-advice-card>div:first-child{font-size:14px!important}.bic-report .bic-advice-card>div:not(:first-child){font-size:12px!important;line-height:1.9!important;margin-top:4px}.bic-report .disclaimer{border:0!important;border-top:1px solid #dce5f1!important;padding:16px 12px!important;border-radius:0!important;font-size:11px!important;line-height:1.9!important}
.bic-report svg{max-width:100%;display:block;height:auto}.bic-report .bic-section button{font-size:13px!important}
.bic-pdf-stage{position:absolute!important;left:-20000px!important;top:0!important;width:760px!important;pointer-events:none!important;z-index:-1!important}
.bic-pdf-sheet{width:760px;height:1075px;box-sizing:border-box;position:relative;background:white;padding:30px 32px 40px;overflow:hidden;font-family:'Microsoft YaHei',sans-serif;color:#263650}
.bic-pdf-sheet .bic-pdf-body{height:1000px;overflow:visible}.bic-pdf-sheet .bic-report{max-width:none!important;width:100%!important}.bic-pdf-sheet .bic-section{margin-top:0!important;margin-bottom:20px!important}.bic-pdf-sheet .bic-section>div:first-child{font-size:20px!important}.bic-pdf-sheet .bic-cover-page{min-height:1005px;margin:-30px -32px 0;width:760px;padding:42px 50px 55px}.bic-pdf-sheet .bic-cover-title{margin-top:105px;font-size:36px}.bic-pdf-sheet .bic-cover-subject{max-width:530px;padding:25px 35px}.bic-pdf-sheet .bic-cover-org{padding-top:65px;font-size:28px}.bic-pdf-footer{position:absolute;bottom:14px;left:32px;right:32px;border-top:1px solid #e0e7f1;padding-top:7px;display:flex;justify-content:space-between;font-size:10px;color:#8090a8}.bic-pdf-sheet button,.bic-pdf-sheet .bic-export-actions{display:none!important}
#mask-pdf-ready{position:fixed;inset:0;background:#17274788;display:none;align-items:flex-end;justify-content:center;z-index:999999}#mask-pdf-ready.show{display:flex}.bic-share-sheet{width:min(100%,520px);box-sizing:border-box;padding:24px 22px 28px;border-radius:20px 20px 0 0;background:white;color:#263650}.bic-share-sheet h3{margin:0 0 12px;font-size:19px}.bic-share-sheet p{font-size:13px;color:#728198;line-height:1.8}.bic-share-sheet button{display:block;width:100%;padding:13px;border-radius:9px;border:0;margin-top:10px;font:14px 'Microsoft YaHei',sans-serif;background:#edf3fd;color:#3d608c}.bic-share-sheet button:first-of-type{background:#2860ec;color:white}
@media(max-width:540px){.bic-report .bic-section{margin-top:20px!important}.bic-report .bic-section>div:first-child{padding:11px 12px!important;font-size:16px!important}.bic-report .bic-section>div:first-child span{display:block;font-size:9px!important;margin-top:2px}.bic-report .bic-section>div:not(:first-child){margin-left:8px;margin-right:8px}.bic-report .bic-cover-page{min-height:590px;padding:26px 22px 30px}.bic-cover-title{font-size:25px;margin-top:58px}.bic-cover-brand{font-size:20px}.bic-cover-brand img{width:43px;height:43px}.bic-cover-subject{padding:20px 18px}.bic-cover-subject>div,.bic-subject-duo>div{font-size:14px!important}.bic-cover-subject span{width:75px!important}.bic-cover-org{font-size:21px;padding-top:45px}.bic-cover-research{font-size:11px}.bic-cover-support{font-size:9px}.bic-report .bic-table-row{gap:4px;padding:12px 0!important}.bic-report .bic-table-row>span:first-child,.bic-report .bic-table-head>span:first-child{width:76px!important;font-size:11px!important}.bic-report .bic-table-row>span:last-child,.bic-report .bic-table-head>span:last-child{width:45px!important;font-size:12px!important}.bic-report .bic-table-row b{font-size:9px!important;min-height:36px!important;padding:5px 2px!important}.bic-report .bic-advice>div[style*="grid-template-columns"]{grid-template-columns:1fr!important}.bic-report .bic-assessment{padding:10px!important}}
@media print{@page{size:A4;margin:10mm}.bic-report{max-width:none!important}.bic-report .bic-cover-page{min-height:260mm;break-after:page}.bic-report .bic-section{break-inside:auto;box-shadow:none!important}.bic-report .bic-section>div:first-child{break-after:avoid}.bic-report .bic-table-row,.bic-report .bic-table-head,.bic-report .spec-panel,.bic-report .bic-advice-card,.bic-report svg{break-inside:avoid}.bic-report p{orphans:3;widows:3}.bic-report button,#mask-pdf-ready{display:none!important}}
/* The exported document always uses A4 layout, including on a narrow phone. */
.bic-pdf-stage .bic-pdf-sheet .bic-cover-page{min-height:1075px!important;height:1075px!important;margin:-30px -32px 0!important;width:760px!important;padding:42px 50px 55px!important}
.bic-pdf-stage .bic-cover-title{font-size:36px!important;margin-top:105px!important}.bic-pdf-stage .bic-cover-brand{font-size:24px!important}.bic-pdf-stage .bic-cover-brand img{width:54px!important;height:54px!important}.bic-pdf-stage .bic-cover-subject{max-width:530px!important;padding:25px 35px!important}.bic-pdf-stage .bic-cover-subject>div,.bic-pdf-stage .bic-subject-duo>div{font-size:17px!important}.bic-pdf-stage .bic-cover-subject span{width:98px!important}.bic-pdf-stage .bic-cover-org{padding-top:65px!important;font-size:28px!important}.bic-pdf-stage .bic-cover-research{font-size:12px!important}.bic-pdf-stage .bic-cover-support{font-size:10px!important}
.bic-pdf-stage .bic-report .bic-section{margin-top:0!important}.bic-pdf-stage .bic-report .bic-section>div:first-child{padding:12px 18px!important;font-size:20px!important}.bic-pdf-stage .bic-report .bic-section>div:first-child span{display:inline!important;font-size:11px!important}.bic-pdf-stage .bic-report .bic-section>div:not(:first-child){margin-left:14px!important;margin-right:14px!important}.bic-pdf-stage .bic-report .bic-table-row{padding:14px 4px!important;gap:7px!important}.bic-pdf-stage .bic-report .bic-table-row>span:first-child,.bic-pdf-stage .bic-report .bic-table-head>span:first-child{width:105px!important;font-size:12px!important}.bic-pdf-stage .bic-report .bic-table-row>span:last-child,.bic-pdf-stage .bic-report .bic-table-head>span:last-child{width:60px!important;font-size:12px!important}.bic-pdf-stage .bic-report .bic-table-row b{font-size:11px!important;min-height:33px!important;padding:5px 3px!important}.bic-pdf-stage .bic-report .bic-advice>div[style*="grid-template-columns"]{grid-template-columns:1fr 1fr!important}.bic-pdf-stage .bic-report .bic-assessment{padding:13px 15px!important}.bic-pdf-stage .bic-section .bic-pdf-copytext{font-size:12px!important}
/* Flow report content into the available page space without reducing text size. */
.bic-pdf-stage .bic-report .bic-section{margin-bottom:14px!important;padding-bottom:12px!important}
.bic-pdf-stage .bic-report .bic-section>div:first-child{margin-bottom:14px!important}
.bic-pdf-stage .bic-flow-unit{display:flow-root}
.bic-pdf-stage .bic-flow-unit>div[style*="grid-template-columns"]{grid-template-columns:1fr 1fr!important}
.bic-pdf-stage .bic-flow-unit>div.bic-advice-wide{grid-template-columns:1fr!important}
.bic-pdf-stage .spec3d-sheet{width:auto}
.bic-pdf-stage .spec-caption span{display:inline!important;font-size:11px!important}
/* Complete indicator groups share a page; use measured chart widths to keep the pairs compact. */
.bic-pdf-stage .bic-report .bic-section{margin-bottom:10px!important;padding-bottom:8px!important}
.bic-pdf-stage .bic-report .bic-section>div:first-child{padding:10px 18px!important;margin-bottom:10px!important}
.bic-pdf-stage .bic-topic-sleep>div[style*="grid-template-columns"]{max-width:544px;margin-left:auto!important;margin-right:auto!important}
.bic-pdf-stage .bic-topic-alpha>svg,.bic-pdf-stage .bic-topic-alpha>img{width:424px!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
.bic-pdf-stage .bic-advice-health{align-items:start}
.bic-pdf-stage .bic-advice-health>.bic-advice-card:nth-child(2){grid-column:2;grid-row:1 / span 2;height:100%;box-sizing:border-box}
.bic-pdf-stage .bic-advice-health>.bic-advice-card:nth-child(3){grid-column:1;grid-row:2}
.bic-pdf-stage .bic-report .bic-advice-card{padding:12px!important}
.bic-pdf-stage .bic-report .bic-advice-card>div:not(:first-child){line-height:1.7!important}
