.contract-page {
    --green: #6d3428;
    --green-soft: #eedfd6;
    --lime: #f0c98e;
    --orange: #b94f35;
    background: radial-gradient(circle at 88% 3%, rgba(222, 155, 106, .25), transparent 26rem), var(--paper);
}
.contract-mark { background: #6d3428; }
.product-nav { display: flex; align-items: center; gap: 23px; }
.product-nav a { color: var(--muted); font-size: .8rem; font-weight: 750; text-decoration: none; }
.product-nav a:hover, .product-nav a.active { color: var(--green); }
.product-nav a.active { padding-bottom: 5px; border-bottom: 2px solid var(--orange); }
.contract-hero { display: grid; grid-template-columns: 1.04fr .96fr; gap: 78px; align-items: center; padding: 90px 0 80px; }
.contract-badge span { background: var(--orange); box-shadow: 0 0 0 5px rgba(185,79,53,.12); }
.contract-preview { position: relative; padding: 28px; }
.preview-paper { min-height: 410px; padding: 35px; border: 1px solid rgba(80,45,35,.14); border-radius: 7px; background: #fffdf8; box-shadow: 0 28px 75px rgba(79,47,38,.17); transform: rotate(1.2deg); }
.paper-head { display: flex; justify-content: space-between; margin-bottom: 35px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font-family: Georgia,"Noto Serif SC",serif; font-size: 1.12rem; }
.paper-head b { color: var(--muted); font-family: inherit; font-size: .67rem; font-weight: 500; }
.paper-line { width: 82%; height: 7px; margin: 15px 0; border-radius: 9px; background: #e5dfd3; }
.paper-line.wide { width: 100%; }.paper-line.short { width: 57%; }
.clause { position: relative; margin: 23px -12px; padding: 18px 80px 18px 55px; border-left: 4px solid var(--orange); background: #fbebe4; color: #58453e; font-size: .74rem; line-height: 1.6; }
.clause > span { position: absolute; left: 12px; color: var(--orange); font-weight: 900; }
.clause > b { position: absolute; top: 16px; right: 12px; padding: 3px 6px; border-radius: 4px; color: white; background: var(--orange); font-size: .58rem; }
.clause.warning { border-color: #d89d4b; background: #fff4df; }.clause.warning > span { color: #9b681f; }.clause.warning > b { background: #d89d4b; }
.review-stamp { position: absolute; right: 0; bottom: 2px; display: grid; width: 120px; height: 120px; place-content: center; border: 3px double #a84330; border-radius: 50%; color: #a84330; background: rgba(255,253,248,.92); text-align: center; transform: rotate(-9deg); }
.review-stamp strong { font-family: Georgia,serif; font-size: 2.4rem; line-height: 1; }.review-stamp span { font-size: .67rem; font-weight: 800; }
select { width: 100%; min-height: 60px; padding: 0 18px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; font: inherit; }
.contract-score-card { display: grid; grid-template-columns: 165px 1fr; gap: 30px; align-items: center; padding: 32px; border-radius: 24px; color: white; background: #3b2924; }
.score-ring { display: grid; width: 135px; height: 135px; place-content: center; border: 2px solid rgba(240,201,142,.48); border-radius: 50%; text-align: center; }
.score-ring strong { color: var(--lime); font-family: Georgia,serif; font-size: 2.7rem; line-height: 1; }.score-ring span { margin-top: 7px; color: #d8c8c0; font-size: .6rem; }
.risk-pill { display: inline-block; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; color: #5c2319; background: var(--lime); font-size: .68rem; font-weight: 900; }
.contract-score-card h3 { margin: 0 0 10px; font-family: Georgia,"Noto Serif SC",serif; font-size: 1.38rem; font-weight: 500; line-height: 1.55; }
.contract-score-card p { margin: 0; color: #cbbab3; font-size: .68rem; }
.quality-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,248,.75); }
.quality-strip > div { display: grid; gap: 4px; padding: 14px 16px; text-align: center; }
.quality-strip > div + div { border-left: 1px solid var(--line); }
.quality-strip strong { color: var(--green); font-size: .92rem; }
.quality-strip span { color: var(--muted); font-size: .62rem; }
.quality-warnings { margin-top: 10px; padding: 12px 15px; border-left: 3px solid #d89d4b; border-radius: 8px; color: #805915; background: #fff4df; font-size: .7rem; line-height: 1.6; }
.quality-warnings p { margin: 0; }
.report-block { margin-top: 22px; padding: 28px; border: 1px solid var(--line); border-radius: 21px; background: var(--card); }
.block-title { display: flex; gap: 14px; align-items: center; margin-bottom: 23px; }.block-title > span { color: var(--orange); font-family: Georgia,serif; font-size: 1.6rem; }.block-title p { margin: 0 0 2px; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .1em; }.block-title h3 { margin: 0; font-size: 1rem; }
.risk-list { display: grid; gap: 13px; }
.risk-card { display: grid; grid-template-columns: 72px 1fr; gap: 17px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fcfaf5; }
.severity { align-self: start; padding: 7px 8px; border-radius: 8px; text-align: center; font-size: .7rem; font-weight: 900; }.severity.high { color: #8d2a1c; background: #f6d7cf; }.severity.medium { color: #805915; background: #fae8bd; }.severity.low { color: #386247; background: #dfeadf; }
.risk-content h4 { margin: 0 0 7px; font-size: .91rem; }.risk-category { margin-left: 7px; color: var(--muted); font-size: .65rem; font-weight: 500; }.risk-content p { margin: 7px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.65; }.risk-content blockquote { margin: 9px 0; padding: 10px 12px; border-left: 3px solid #ceb9ae; color: #67534c; background: #f3eee8; font-size: .72rem; }.risk-content .suggestion { color: #542c24; }.risk-content .suggestion::before { content: "建议："; font-weight: 900; }
.contract-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }.compact-block { min-height: 300px; }
.check-list, .question-list { display: grid; gap: 12px; margin: 0; padding-left: 21px; color: var(--muted); font-size: .76rem; line-height: 1.6; }.check-list { padding: 0; list-style: none; }.check-list li::before { margin-right: 8px; color: var(--orange); content: "缺"; font-weight: 900; }
.copy-success { color: var(--orange) !important; }
@media (max-width: 850px) { .contract-hero { grid-template-columns: 1fr; gap: 50px; }.contract-preview { max-width: 620px; }.contract-two-columns { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .contract-hero { padding-top: 48px; }.preview-paper { min-height: 350px; padding: 25px 20px; }.contract-score-card { grid-template-columns: 1fr; }.quality-strip { grid-template-columns: repeat(2, 1fr); }.quality-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.quality-strip > div:nth-child(4) { border-top: 1px solid var(--line); }.risk-card { grid-template-columns: 1fr; }.severity { width: 65px; } }
@media print { .contract-page .site-header, .contract-page .contract-hero, .contract-page .value-strip, .contract-page .contract-review-section, .contract-page .boundaries, .contract-page footer, .contract-page .report-actions { display:none!important; }.contract-page main { width:100%; }.contract-report { display:block!important; padding:0; }.risk-card,.report-block,.contract-score-card { break-inside:avoid; } }
