:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#26332c;background:#f6f6f0;font-size:15px;line-height:1.5;--green:#294d3d;--muted:#69736a;--line:#dcdfd5;--gold:#dfcf83}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}a{color:var(--green)}button{cursor:pointer;border:1px solid var(--green);border-radius:6px;background:var(--green);color:#fff;padding:10px 17px;font-weight:600}button:hover{filter:brightness(1.12)}button:disabled{opacity:.5;cursor:default}.secondary,.quiet{background:transparent;color:var(--green);border-color:var(--line)}.danger{background:#873e31;border-color:#873e31}.small{font-size:12px;padding:6px 10px}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#20392d;color:#eff1e7;padding:35px 23px;display:flex;flex-direction:column}.brand{display:flex;gap:14px;align-items:center;text-decoration:none;color:#f4f3e9;font:38px Georgia,serif;line-height:1}.brand-mark{background:#d9cd89;color:#20392d;padding:10px 11px 8px;border-radius:7px;font-size:35px}.brand-sub{font:9px Segoe UI,sans-serif;display:block;letter-spacing:4px;margin-top:8px}.sidebar-label{font-size:10px;letter-spacing:1.8px;color:#a5b7a9;margin-top:55px;margin-bottom:12px}nav a{display:block;color:#d4dfd4;text-decoration:none;padding:12px;border-radius:6px;margin:4px 0;font-size:14px}nav a.active{background:#3a5344;color:#fff}nav a:hover{background:#304939}.sidebar-bottom{margin-top:auto;font-size:12px;color:#bfcdbf}.sidebar-bottom p{font-size:11px;line-height:1.8}.sidebar-bottom label{display:block;margin-top:20px}.sidebar-bottom select{font-size:12px;color:#fff;background:#304939;border:1px solid #526657;width:100%;padding:8px;margin-top:5px}.sidebar-bottom .quiet{color:#d4dfd4;border-color:#526657}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b9cd8e;margin-right:7px}.shell{margin-left:230px}header{height:77px;padding:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);background:#fafaf6}.demo-pill{font-size:9px;letter-spacing:1.4px;border:1px solid #d6d9c7;padding:6px 10px;border-radius:30px}main{max-width:1400px;margin:auto;padding:43px 44px 65px;min-height:calc(100vh - 130px)}h1,h2,h3,p{margin-top:0}h1{font:46px/1.15 Georgia,serif;letter-spacing:-1.3px;margin-bottom:16px}h2{font:28px/1.2 Georgia,serif;margin-bottom:15px}h3{font-size:17px;font-weight:600;line-height:1.4}h4{margin-bottom:8px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#62704f;margin-bottom:15px}.lead{color:var(--muted);max-width:650px;font-size:15px;line-height:1.8}.hero{display:grid;grid-template-columns:1fr 255px;gap:35px;align-items:center;margin-bottom:37px}.hero-note{background:#ebeede;border:1px solid #d8dec4;padding:24px;border-radius:8px}.hero-note strong{font:36px Georgia,serif;display:block;margin-bottom:10px}.hero-note p{font-size:12px;color:#52614d;margin:0}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:26px 0}.toolbar h2{margin:0;font-size:24px}.search{max-width:330px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:25px}.product-card{display:flex;flex-direction:column;min-height:305px}.product-card h3{font:24px/1.3 Georgia,serif;margin-top:19px;max-width:390px}.product-card .description{font-size:13px;color:var(--muted);line-height:1.8}.product-footer{display:flex;justify-content:space-between;align-items:center;padding-top:20px;margin-top:auto;border-top:1px solid #edf0e8}.price{font-size:23px;font-weight:600}.price small{display:block;font-size:10px;color:var(--muted);font-weight:400}.badge{display:inline-block;background:#edf1e5;color:#526243;border-radius:4px;padding:4px 8px;font-size:10px;font-weight:600;letter-spacing:.4px;margin-right:5px}.badge.warn{background:#fbefd6;color:#775f2f}.badge.error{background:#f8e3df;color:#873e31}.muted{color:var(--muted);font-size:13px}.hint{color:var(--muted);font-size:12px}.metadata{display:flex;flex-wrap:wrap;gap:15px;font-size:11px;color:#6c776a;margin:14px 0}.columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,1fr);gap:24px}.stack>*+*{margin-top:22px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}.section-title h1{margin:0}.section-title h2{margin:0}.panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:23px}.notice{background:#eff1e5;border-left:3px solid #a4ad7a;padding:15px 18px;margin:18px 0;color:#52614c;font-size:13px}.notice.warn{background:#fbf1df;border-color:#d8b66c;color:#776337}.steps{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}.steps span{font-size:11px;border:1px solid var(--line);padding:8px 12px;border-radius:5px;background:#fff}.steps span.done{background:#e8eeda;color:#466141}label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}input,textarea,select{border:1px solid #cfd5c8;border-radius:5px;background:#fff;color:#26332c;padding:10px;width:100%;min-width:0}textarea{resize:vertical;min-height:100px;font-size:13px;line-height:1.6}input[type=checkbox]{width:auto;accent-color:var(--green);margin-right:8px}.field{margin-bottom:16px}.row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.row>*{flex:1}.row .no-grow{flex:0 0 auto}.check{display:flex;align-items:flex-start;gap:5px;font-weight:400;font-size:12px;margin-bottom:10px}.check input{margin-top:4px}.uses{display:grid;grid-template-columns:1fr 1fr;gap:6px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}.source-text{white-space:pre-wrap;background:#f7f8f2;border:1px solid #e2e5d9;border-radius:5px;padding:18px;max-height:330px;overflow:auto;font:14px/1.9 Georgia,serif}.record{padding:18px 0;border-top:1px solid var(--line)}.record:first-child{border-top:0;padding-top:0}.record:last-child{padding-bottom:0}.record h3{margin-bottom:5px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);font-weight:600}th,td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}td:first-child,th:first-child{padding-left:0}code{font-size:11px;word-break:break-all}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.stat{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px}.stat span{display:block;color:var(--muted);font-size:11px}.stat strong{font-size:28px;font-weight:500;display:block;margin-top:8px}details{margin:12px 0;font-size:13px}summary{cursor:pointer;color:var(--green);font-weight:600;margin-bottom:8px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f5ee;padding:15px;border-radius:5px;font-size:11px;max-height:320px;overflow:auto}dialog{border:1px solid var(--line);border-radius:12px;padding:35px;max-width:730px;width:calc(100% - 40px);max-height:90vh;color:#26332c}dialog::backdrop{background:#12251ba8}.close{float:right;padding:0 8px;background:none;color:var(--muted);border:0;font-size:25px}#toast{position:fixed;bottom:25px;right:30px;background:#20392d;color:#fff;padding:16px 22px;border-radius:8px;max-width:500px;box-shadow:0 10px 40px #0003;font-size:13px;z-index:10}#toast.error{background:#803c30}footer{padding:20px 44px;color:#818b7d;font-size:10px;border-top:1px solid var(--line)}.empty{padding:38px;text-align:center;color:var(--muted)}.sample{border-left:2px solid #a5b28a;padding-left:18px;font:16px/1.8 Georgia,serif}.link-button{background:none;color:var(--green);border:0;padding:0;text-decoration:underline;text-align:left}.spaced{margin-top:25px}
@media(min-width:1500px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.sidebar{width:195px;padding:25px 16px}.shell{margin-left:195px}main{padding:30px 25px}.hero{grid-template-columns:1fr}.hero-note{display:none}.columns{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}h1{font-size:38px}}
@media(max-width:650px){.sidebar{position:relative;width:auto;padding:18px}.brand{font-size:27px}.brand-mark{font-size:24px}.sidebar-label,.sidebar-bottom p,.status-dot,.sidebar-bottom>label{display:none}.sidebar-bottom{margin-top:12px;display:flex;gap:12px;align-items:center}.sidebar-bottom select{max-width:230px;margin:0}nav{display:flex;flex-wrap:wrap;margin-top:10px}nav a{font-size:12px;padding:7px 10px}.shell{margin:0}header{padding:0 20px;height:55px}.grid{grid-template-columns:1fr}main{padding:26px 18px}.section-title{align-items:flex-start}.toolbar{flex-wrap:wrap}.stat strong{font-size:23px}.demo-pill{font-size:8px}.row{align-items:stretch}.row>*{flex-basis:100%}}
.workbench{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.3fr);gap:24px;align-items:start}.source-pane{position:sticky;top:20px}.source-pane .source-text{max-height:55vh;margin-top:16px}.judgment-section{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.judgment-block{border:1px solid var(--line);border-radius:6px;padding:18px;margin:12px 0;background:#fbfcf8}.judgment-block label{margin-bottom:14px}.judgment-block textarea{min-height:70px}.evidence-row{border-left:3px solid #afbf9a;margin:18px 0;padding-left:14px}.workbench hr{border:0;border-top:1px solid var(--line);margin:25px 0}.workbench input[data-context]{margin-bottom:15px}@media(max-width:1050px){.workbench{grid-template-columns:1fr}.source-pane{position:static}.source-pane .source-text{max-height:300px}}

.review-steps{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:0 0 16px}.review-steps button{font-size:13px;padding:12px;text-align:left}.review-steps [aria-current="step"]{background:var(--green,#1f3b2e);color:white}.highlight-actions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.highlight-actions p{flex-basis:100%;margin:0}.highlight-actions button{flex:1 1 135px}.label-section{border-top:1px solid var(--line);padding:16px 0}.label-section summary{font-weight:600;font-size:17px}.guide-actions{justify-content:space-between}.guide-actions button{flex:0 1 auto}[data-review-step][hidden]{display:none}#practice-form label{display:block;margin-bottom:18px}#practice-preview details{margin:12px 0}#review-save-status{margin-top:16px}

#reading-text{width:100%;min-height:280px;resize:vertical;line-height:1.65;white-space:pre-wrap}.source-pane .highlight-actions .small{font-size:12px;padding:8px}

#eligibility-organization { display: block; margin-top: 8px; }
#nav { overflow-y: auto; min-height: 80px; margin-bottom: 16px; }
.sidebar-label { margin-top: 25px; }
.sidebar-bottom { flex-shrink: 0; }
fieldset { border: 1px solid var(--line); border-radius: 6px; margin: 20px 0; padding: 18px; }
legend { font-weight: 600; }

/* ClauseHub identity: scalable legal monogram, compact wordmark. */
.brand{gap:10px;font-size:26px;letter-spacing:-.8px;white-space:nowrap}.brand-mark{display:block;flex:0 0 44px;width:44px;height:44px;padding:0;border-radius:10px;background:none}.brand-sub{font-size:7px;letter-spacing:1.5px;margin-top:7px}.brand:focus-visible{outline:2px solid #d9cd89;outline-offset:6px;border-radius:8px}

.ai-workspace{grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr)}.ai-workspace>section{min-width:0}.ai-workspace blockquote{margin:16px 0;padding-left:16px;border-left:3px solid #d9cd89;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:850px){.ai-workspace{grid-template-columns:1fr}}
