/* Scoped to the editable legal document; navigation and other pages keep their design. */
.lbp-terms-page .lbpt-content{background:#f4efe6;color:#29251f}
.lbp-terms-document{max-width:1100px;margin-inline:auto;padding-block:8px 32px;color:#29251f;font-size:16px;line-height:1.75;overflow-wrap:anywhere}
.lbp-terms-document,.lbp-terms-document *{box-sizing:border-box}
.lbp-terms-document p{margin:0 0 16px;color:inherit;font-size:inherit;line-height:inherit;max-width:80ch}
.lbp-terms-document a{color:#704b16;text-decoration:underline;text-underline-offset:3px}
.lbp-terms-document a:hover{color:#36250f}
.lbp-terms-document a:focus-visible{outline:3px solid #a46b13;outline-offset:4px;border-radius:2px}
.lbp-terms-document .lbp-terms-version{font-size:14px;color:#625444;margin-bottom:12px}
.lbp-terms-document .lbp-terms-intro{font-size:17px;line-height:1.8}
.lbp-terms-document .lbp-terms-summary{margin:24px 0;padding:22px 26px;border:1px solid #867049;border-radius:14px;background:#211e18;color:#f7f1e7}
.lbp-terms-document .lbp-terms-kicker{color:#e4c57f;font-size:13px;font-weight:700;letter-spacing:.03em}
.lbp-terms-document .lbp-terms-summary ul{margin:0;padding-left:22px;max-width:85ch;color:inherit}
.lbp-terms-document .lbp-terms-summary li{margin:8px 0;color:inherit;font-size:15px;line-height:1.65}
.lbp-terms-document .lbp-terms-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:22px 0 28px}
.lbp-terms-document .lbp-terms-nav a{display:flex;align-items:center;min-height:46px;padding:10px 14px;border:1px solid #b9aa92;border-radius:8px;background:#fffdf8;color:#4a3519;font-size:14px;font-weight:700;text-decoration:none;line-height:1.4}
.lbp-terms-document .lbp-terms-nav a:hover{background:#eadcc2;text-decoration:underline}
.lbp-terms-document .lbp-terms-section{margin:20px 0;padding:26px 30px;border:1px solid #cfc2ad;border-radius:14px;background:#fffdf8;color:#29251f}
.lbp-terms-document .lbp-terms-section h2{margin:0 0 18px;color:#272116;font-size:clamp(22px,2.1vw,28px);line-height:1.35;scroll-margin-top:120px}
.lbp-terms-document .lbp-terms-section p:last-child{margin-bottom:0}
.lbp-terms-document .lbp-terms-identity{margin:18px 0 24px;padding:18px 20px;background:#efe7d9;border:1px solid #c5b599;border-radius:10px;color:#29251f}
.lbp-terms-identity dl{margin:0}
.lbp-terms-identity dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px;padding:7px 0}
.lbp-terms-identity dt{font-size:14px;font-weight:700}
.lbp-terms-identity dd{margin:0;min-width:0}
.lbp-terms-document .lbp-terms-editor-note{margin:12px 0 0;font-weight:700}
.lbp-terms-document .lbp-terms-warning{padding:16px 18px;border-left:3px solid #9d6426;background:#f0e7d7;border-radius:0 8px 8px 0;font-size:15px;color:#332817}
@media(max-width:700px){
 .lbp-terms-document{font-size:16px;line-height:1.7;padding-block:4px 20px}
 .lbp-terms-document .lbp-terms-intro{font-size:16px}
 .lbp-terms-document .lbp-terms-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .lbp-terms-document .lbp-terms-section{padding:20px 16px;margin-block:14px;border-radius:12px}
 .lbp-terms-document .lbp-terms-section h2{font-size:22px;scroll-margin-top:90px}
 .lbp-terms-document .lbp-terms-summary{padding:18px 16px}
 .lbp-terms-document .lbp-terms-identity{padding:14px}
 .lbp-terms-identity dl>div{grid-template-columns:1fr;gap:0;padding:8px 0}
 .lbp-terms-document .lbp-terms-warning{padding:14px}
}
@media print{
 .lbp-terms-document{max-width:none;font-size:11pt;line-height:1.5;color:#000}
 .lbp-terms-document .lbp-terms-nav{display:none}
 .lbp-terms-document .lbp-terms-section,.lbp-terms-document .lbp-terms-summary,.lbp-terms-document .lbp-terms-identity{background:#fff;color:#000;border-color:#888;box-shadow:none}
 .lbp-terms-document .lbp-terms-section h2{break-after:avoid}
 .lbp-terms-document a{color:#000}
}
