/* CLRBD Stage 4 — AI-assisted Legal Health. Scoped to Legal Health UI. */
.health-section{position:relative;overflow:hidden}
.health-section:before{content:"";position:absolute;inset:auto -14rem -18rem auto;width:36rem;height:36rem;border-radius:50%;background:radial-gradient(circle,rgba(181,19,37,.08),transparent 66%);pointer-events:none}
.health-selectors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.health-selectors label{display:grid;gap:7px;font-weight:800;font-size:.79rem;letter-spacing:.01em}
.health-selectors select,.lh-health-search{width:100%;min-height:48px;border:1px solid #d9d3ca;border-radius:12px;background:#fff;color:#111827;padding:0 13px;font:inherit;box-shadow:0 6px 20px rgba(8,23,45,.04)}
.lh-full-link{display:inline-flex;margin-top:16px}
.lh-service-context{padding:18px 18px 16px;border:1px solid #e3ddd4;border-radius:16px;background:linear-gradient(135deg,#fff,#fbf8f2);margin-bottom:13px}
.lh-service-context small{display:block;color:#a71220;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:.7rem}
.lh-service-context h3{margin:.35rem 0 .4rem;font-size:1.25rem;color:#071d35}
.lh-service-context p{margin:0;color:#5a6170;line-height:1.55}
.lh-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.lh-badges span{display:inline-flex;align-items:center;gap:4px;background:#071d35;color:#fff;border-radius:999px;padding:6px 9px;font-size:.67rem;font-weight:800}
.lh-question{border:1px solid #e6e0d8;border-radius:15px;background:#fff;padding:14px 14px 13px;margin:10px 0;box-shadow:0 5px 18px rgba(7,29,53,.035)}
.lh-question legend{display:flex;align-items:flex-start;gap:9px;font-weight:800;color:#071d35;line-height:1.42;padding:0 3px}
.lh-question legend>span{flex:0 0 25px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#f4e6bf;color:#8b6500;font-size:.72rem}
.lh-options{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.lh-options label{position:relative;cursor:pointer}.lh-options input{position:absolute;opacity:0;pointer-events:none}.lh-options span{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border:1px solid #d9d4cc;border-radius:999px;background:#fafafa;font-size:.8rem;font-weight:800;color:#3d4653;transition:.15s ease}.lh-options input:checked+span{border-color:#a71220;background:#a71220;color:#fff;box-shadow:0 5px 16px rgba(167,18,32,.16)}
#health-coverage{margin:0 0 12px;color:#626a76;font-size:.76rem;font-weight:700}
.lh-gate{border:1px solid #d7b356!important;background:linear-gradient(145deg,#fffdf7,#fff)!important;padding:0!important;overflow:hidden}
.lh-gate-head{display:flex;gap:14px;padding:20px;border-bottom:1px solid #ece3cf;background:linear-gradient(135deg,#071d35,#102d4d);color:#fff}.lh-gate-head>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#d6a63a;color:#071d35;font-size:1.1rem;flex:0 0 auto}.lh-gate-head small{font-weight:900;letter-spacing:.13em;color:#efca68}.lh-gate-head h3{margin:.25rem 0 .35rem;color:#fff}.lh-gate-head p{margin:0;color:#e5eaf0;line-height:1.55}
.lh-unlock-form{padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.lh-unlock-form label{display:grid;gap:6px;font-weight:800;font-size:.78rem}.lh-unlock-form input{min-height:48px;border:1px solid #d8d2c8;border-radius:11px;padding:0 12px;font:inherit;background:#fff}.lh-unlock-form button{grid-column:1/-1;justify-content:center}.lh-unlock-form>small{grid-column:1/-1;color:#646c76;line-height:1.5}.lh-unlock-form .form-honeypot{position:absolute!important;left:-9999px!important}
.lh-result{border-width:1px!important;border-style:solid!important;padding:0!important;overflow:hidden;background:#fff!important}.lh-result.tone-green{border-color:#78aa91!important}.lh-result.tone-amber{border-color:#d9a544!important}.lh-result.tone-red{border-color:#c45a65!important}
.lh-result-top{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:21px;background:#071d35;color:#fff}.lh-result-top small{color:#efca68;font-weight:900;letter-spacing:.12em}.lh-result-top h3{color:#fff;margin:.3rem 0}.lh-result-top p{margin:0;color:#d7e0e9}
.lh-score-ring{--score:0;position:relative;width:94px;height:94px;flex:0 0 94px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at center,#071d35 57%,transparent 58%),conic-gradient(#d6a63a calc(var(--score)*1%),rgba(255,255,255,.16) 0);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}.lh-score-ring strong{font-size:1.8rem;line-height:1;color:#fff}.lh-score-ring span{font-size:.7rem;color:#cbd5df;margin-top:3px}
.lh-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-bottom:1px solid #eee7de}.lh-metrics article{padding:14px 10px;text-align:center;border-right:1px solid #eee7de}.lh-metrics article:last-child{border-right:0}.lh-metrics span{display:block;font-size:.69rem;color:#6a717b;font-weight:800;margin-bottom:4px}.lh-metrics b{display:block;color:#071d35;font-size:.9rem}
.lh-result-section{padding:18px 20px;border-bottom:1px solid #eee7de}.lh-result-section h4{margin:0 0 9px;color:#071d35}.lh-result-section ul,.lh-result-section ol{margin:0;padding-left:20px;color:#48515e;line-height:1.65}.lh-result-section.lh-alert{background:#fff6f2}.lh-related{display:flex;gap:8px;flex-wrap:wrap}.lh-related a{display:inline-flex;padding:8px 10px;border-radius:999px;background:#f5f0e8;color:#071d35;font-size:.75rem;font-weight:800;text-decoration:none}
.lh-ai-box{margin:16px 18px;border:1px solid #d6a63a;border-radius:15px;overflow:hidden;background:linear-gradient(145deg,#fffaf0,#fff)}.lh-ai-heading{display:flex;gap:11px;align-items:center;padding:14px 15px;background:#f6ead0}.lh-ai-heading>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#071d35;color:#efc75f}.lh-ai-heading h4{margin:0;color:#071d35}.lh-ai-heading p{margin:2px 0 0;color:#646b75;font-size:.78rem}.lh-ai-content{padding:15px;color:#454e5a;line-height:1.62}.lh-ai-loader{display:inline-block;width:20px;height:20px;border:2px solid #d8d8d8;border-top-color:#a71220;border-radius:50%;animation:lhspin .8s linear infinite}.lh-ai-summary{font-weight:650;color:#071d35}.lh-ai-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lh-ai-content h5{margin:9px 0 5px;color:#071d35}.lh-ai-content ul,.lh-ai-content ol{margin:0;padding-left:18px}.lh-ai-usage{margin-top:12px;padding-top:9px;border-top:1px dashed #ded5c5;color:#7a6e56;font-size:.68rem}.lh-ai-box.ai-off{border-color:#d8d8d8}.lh-ai-box.ai-off .lh-ai-heading{background:#f3f3f3}
.lh-disclaimer{padding:14px 18px;background:#f7f7f7;color:#626a75;font-size:.73rem;line-height:1.55}
.lh-full-page{background:#f5f2ec;min-height:100vh}.lh-page-main{padding:44px 0 76px}.lh-page-hero{padding:54px 0 28px}.lh-page-hero .eyebrow{color:#a71220}.lh-page-hero h1{font-size:clamp(2.1rem,5vw,4rem);line-height:1.04;margin:.4rem 0 .8rem;color:#071d35}.lh-page-hero p{max-width:760px;color:#59616d;line-height:1.7}.lh-page-shell{display:grid;grid-template-columns:minmax(250px,.62fr) minmax(0,1.38fr);gap:24px;align-items:start}.lh-page-intro{position:sticky;top:110px;background:#071d35;color:#fff;border-radius:22px;padding:25px;box-shadow:0 16px 40px rgba(7,29,53,.14)}.lh-page-intro h2{color:#fff;margin:.2rem 0 .8rem}.lh-page-intro p{color:#d4dce4;line-height:1.65}.lh-page-intro ul{padding-left:18px;line-height:1.7;color:#e8edf2}.lh-page-card{background:#fff;border:1px solid #e0d9cf;border-radius:22px;padding:22px;box-shadow:0 16px 40px rgba(7,29,53,.08)}.lh-search-wrap{margin-bottom:13px}.lh-search-wrap label{display:grid;gap:7px;font-size:.77rem;font-weight:900}.lh-search-wrap input{min-height:48px;border:1px solid #d9d3ca;border-radius:12px;padding:0 13px;font:inherit}.lh-page-note{margin-top:12px;padding:12px;border-radius:12px;background:#fff6dc;color:#584a25;font-size:.74rem;line-height:1.55}
@keyframes lhspin{to{transform:rotate(360deg)}}
@media(max-width:900px){.health-selectors{grid-template-columns:1fr}.lh-page-shell{grid-template-columns:1fr}.lh-page-intro{position:static}.lh-metrics{grid-template-columns:1fr 1fr}.lh-metrics article:nth-child(2){border-right:0}.lh-metrics article:nth-child(-n+2){border-bottom:1px solid #eee7de}.lh-ai-grid{grid-template-columns:1fr}}
@media(max-width:600px){.lh-unlock-form{grid-template-columns:1fr}.lh-result-top{align-items:flex-start}.lh-score-ring{width:76px;height:76px;flex-basis:76px}.lh-score-ring strong{font-size:1.45rem}.lh-options{display:grid;grid-template-columns:1fr 1fr}.lh-options span{width:100%;justify-content:center;text-align:center}.lh-page-card{padding:14px}.lh-page-main{padding-top:24px}}
