/* Targeted V4.6 components; original home, chat and cost dialog shell remain unchanged. */
#b02-dialog,#b02-report-dialog,#b02-utility-dialog,#cost-drawer{position:fixed;z-index:610}
#v46-modal-scrim{position:fixed;inset:0;z-index:600;background:linear-gradient(115deg,#132b568a,#345b9380);backdrop-filter:blur(8px);animation:costShadeIn .3s ease both}
#v46-modal-scrim[hidden],#v46-review-scrim[hidden]{display:none}
#v46-review-scrim{position:fixed;inset:0;z-index:650;background:#16366338;backdrop-filter:blur(2px)}
#b02-review-launcher{z-index:660!important}
#b02-review-dialog{z-index:670}
#b02-review-current small{display:block;font-size:10px;font-weight:400;opacity:.7;margin-top:4px}
#b02-review-dialog .s2-current{background:linear-gradient(115deg,#d9e8ff,#f1f6ff);box-shadow:inset 3px 0 #2855db}
#b02-review-dialog [hidden]{display:none!important}
#result .document.v46-product{display:flex;flex-direction:column;align-items:stretch;min-width:0}
#result .v46-product h3{font-size:27px;line-height:1.55;margin:14px 0}
#result .v46-product .v46-product-points{display:grid;gap:8px;margin:18px 0;font-size:13px;color:#466891}
#result .v46-product .v46-product-points span{padding:9px 12px;border:1px solid #d6e1f1;border-radius:9px;background:linear-gradient(110deg,#f6faff,#eaf2ff)}
#result .v46-product .doc-total{margin:8px 0 6px}
#result .v46-product .doc-total strong{font-size:38px}
#result .v46-product .v46-product-pay{margin-top:16px;min-height:46px;white-space:normal;line-height:1.7}
#result .v46-product .doc-caption{line-height:1.85;max-width:none}
#b02-dialog .v46-benefits{margin-top:22px;display:grid;gap:14px}
#b02-dialog .v46-benefits p{display:grid;gap:4px;line-height:1.9;color:#4a668b;font-size:12px}
#b02-dialog .v46-benefits b{color:#234c85;font-size:13px}
#b02-dialog .gate-story h2{font-size:32px;line-height:1.5}
#b02-dialog .gate-story[hidden]{display:none!important}
#b02-dialog [data-transaction-container]:has(.gate-story[hidden]){grid-template-columns:1fr;max-width:620px;margin:auto}
#b02-dialog:has(.gate-story[hidden]){width:620px}
#b02-dialog .service-rules{margin:16px 0 10px}
#b02-dialog .service-rules summary{cursor:pointer;font-size:12px;line-height:1.8;color:#365d8d}
#b02-dialog .service-rules p{font-size:11px;line-height:1.85;margin-top:10px}
#b02-dialog .b02-methods{margin-top:14px;gap:10px}
#b02-dialog .b02-methods button{min-height:48px;padding:11px 13px}
#b02-dialog .v46-consent-error,#b02-report-dialog .v46-consent-error{color:#b33432;font-size:12px;line-height:1.8;margin-top:8px}
#b02-dialog .v46-consent-error[hidden]{display:none}
#b02-dialog.v46-contact{width:500px;padding:45px 26px 32px;border-radius:24px;height:auto;min-height:0;overflow:auto}
#b02-dialog.v46-contact p{font-size:17px;line-height:1.9;color:#214d96;text-align:center;margin:0;overflow-wrap:anywhere}
#b02-dialog.v46-contact .b02-close{position:absolute;right:10px;top:10px}
#cost-detail .v46-cost-analysis{margin-top:18px}
#cost-detail .v46-decision,#b02-report-dialog .v46-decision{padding:17px 19px;border:1px solid #c1d5f3;border-radius:13px;background:linear-gradient(115deg,#e3eeff,#f9fcff);margin:14px 0;line-height:1.85;overflow-wrap:anywhere}
#cost-detail .v46-label,#b02-report-dialog .v46-label{color:#54729b;font-size:11px;line-height:1.85;margin:10px 0}
#cost-detail .v46-decision h3,#b02-report-dialog .v46-decision h3{font-size:18px;line-height:1.6;font-weight:650;letter-spacing:-.02em;color:#214d96;margin:6px 0 10px}
#cost-detail .v46-decision p,#b02-report-dialog .v46-decision p{font-size:12px;line-height:1.9;color:#466891;margin-top:8px}
#cost-detail .v46-reasons p,#b02-report-dialog .v46-reasons p{padding-left:10px;border-left:2px solid #9ab9eb}
#cost-detail .v46-details,#b02-report-dialog .v46-details{font-size:12px;line-height:1.9;padding:13px 1px;border-top:1px solid #cbdcf3;overflow-wrap:anywhere}
#cost-detail .v46-details>summary,#b02-report-dialog .v46-details>summary{cursor:pointer;color:#2d5790;font-weight:600;line-height:1.85}
#cost-detail .v46-details p,#b02-report-dialog .v46-details p{margin:9px 0;color:#4c698d}
#cost-detail .v46-fact,#b02-report-dialog .v46-fact{padding:12px 0;border-bottom:1px solid #d2e1f477;font-size:12px}
#cost-detail .v46-fact small,#b02-report-dialog .v46-fact small{font-size:11px;color:#59769c;line-height:1.85}
#b02-report-dialog .v46-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:17px 0}
#b02-report-dialog .v46-summary-grid>div{border:1px solid #c5d7f0;border-radius:11px;padding:14px;background:#ffffffb0;min-width:0}
#b02-report-dialog .v46-summary-grid span{font-size:11px;color:#6380a3;display:block}
#b02-report-dialog .v46-summary-grid strong{font-size:16px;line-height:1.6;color:#234f86;display:block;margin-top:5px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#b02-report-dialog .s2-report-stage>p{font-size:12px;line-height:1.9;color:#466891;margin:12px 0;overflow-wrap:anywhere}
#b02-report-dialog .v46-consume{padding:12px 14px;border-left:3px solid #4277cb;background:#edf4ff;font-size:12px;color:#31578c;line-height:1.9}
#b02-report-dialog .v46-text{white-space:pre-wrap;word-break:break-word;font:12px/1.9 inherit;max-width:100%}
#b02-report-dialog .v46-pdf-preview{width:100%;height:520px;border:1px solid #c1d5ee;border-radius:10px;background:white;margin:14px 0;display:block}
#cost-detail .section-total{white-space:normal;overflow-wrap:anywhere;font-size:19px}
#cost-detail .row-price{white-space:normal;overflow-wrap:anywhere;max-width:185px;line-height:1.65;font-size:13px}
#cost-drawer [data-tab-amount]{font-size:18px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
#eval-view [data-metric].v46-upgraded{font-size:19px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
@media(max-width:700px){
 #b02-dialog .gate-story h2{font-size:25px;line-height:1.6}
 #b02-dialog .v46-benefits{gap:10px;margin-top:16px}
 #b02-dialog .gate-content{padding:27px 20px 20px;gap:12px}
 #b02-dialog .payment-card{margin-top:10px}
 #cost-detail .component-row{grid-template-columns:25px minmax(0,1fr);gap:6px 9px}
 #cost-detail .row-price{grid-column:2;text-align:left;max-width:100%;font-size:13px}
 #cost-detail .section-total{font-size:16px;max-width:60%}
 #cost-drawer [data-tab-amount]{font-size:13px;line-height:1.5}
 #eval-view [data-metric].v46-upgraded{font-size:11px;line-height:1.25;max-width:calc(100% - 43px)}
 #b02-report-dialog .v46-summary-grid{gap:8px}
 #b02-report-dialog .v46-summary-grid>div{padding:10px}
 #b02-report-dialog .v46-summary-grid strong{font-size:14px}
 #b02-dialog.v46-contact{padding:45px 20px 28px}
 #b02-dialog.v46-contact p{font-size:15px}
}
/* Intrinsic short-card height, restored after separating the review top layer. */
#b02-dialog.s2-transaction,#b02-report-dialog.s2-report,#b02-utility-dialog.s2-utility{height:fit-content}
#cost-drawer .cost-tab-cards button>strong[data-tab-amount]{font-size:17px;line-height:1.55;white-space:normal;word-break:normal;overflow-wrap:normal}
#cost-drawer .cost-tab-cards .v46-bound{display:block;white-space:nowrap;font-size:inherit;font-weight:inherit;color:inherit}
@media(max-width:700px){#cost-drawer .cost-tab-cards button>strong[data-tab-amount]{font-size:13px;line-height:1.5}#cost-drawer .cost-tab-cards button{min-height:85px}}
@media(max-width:700px){#b02-review-launcher.v46-corner-control{left:0;bottom:0;width:34px;height:30px;min-width:0;padding:3px;font-size:0;border-radius:0 8px 0 0}#b02-review-launcher.v46-corner-control:after{content:'目录';font-size:10px;line-height:20px}}
