.legal-section{background:#f3f7fb;padding:74px 0 76px;border-top:1px solid #e0e9f1}.legal-version{font-size:11px;color:#61778e;letter-spacing:.06em;border:1px solid #b8cfe2;padding:10px 14px;border-radius:100px;white-space:nowrap}.legal-summary{display:flex;align-items:center;gap:22px;border-radius:20px;background:linear-gradient(115deg,#0b2b4a,#17497a);color:#fff;padding:30px;margin:25px 0 20px;box-shadow:0 15px 38px rgba(13,50,85,.16)}.legal-orb{width:54px;height:54px;border:1px solid #6795be;border-radius:14px;display:grid;place-items:center;font-size:30px;color:#8fe5d7;flex-shrink:0}.legal-summary>div:nth-child(2){flex:1}.legal-summary small{font-size:11px;color:#b6d1e5}.legal-summary h3{font-size:23px;letter-spacing:-.045em;margin:6px 0;color:#fff}.legal-summary p{font-size:12px;line-height:1.7;color:#c9d9e8}.legal-totals{display:flex;flex-direction:column;gap:5px}.legal-count{display:inline-block;min-width:96px;border-radius:6px;padding:6px 10px;font-size:11px;text-align:center;color:#c8d8e8;border:1px solid #55718f}.legal-count.fail{background:#7e2f3f;color:#fff}.legal-count.pass{background:#156b61;color:#fff}.legal-count.conditional{background:#8c601f;color:#fff}.legal-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.legal-empty{grid-column:1/-1;padding:30px;border:1px dashed #a0b1c4;text-align:center;color:#7d91a6;border-radius:12px}.legal-item{background:#fff;border:1px solid #dce5ed;border-left:4px solid #9aabb8;border-radius:13px;padding:21px 21px 18px;box-shadow:0 6px 20px rgba(16,47,75,.035)}.legal-item.pass{border-left-color:#168d6b}.legal-item.fail{border-left-color:#c34152}.legal-item.conditional{border-left-color:#c48b2b}.legal-item-header{display:flex;justify-content:space-between;align-items:start;gap:12px}.legal-item-header small{color:#8a9aaa;font-size:10px;letter-spacing:.07em}.legal-item h3{font-size:17px;color:#152a41;margin-top:4px;letter-spacing:-.03em}.legal-pill{border-radius:30px;white-space:nowrap;padding:6px 10px;font-size:11px;font-weight:800;background:#eef1f4;color:#667887}.legal-pill.pass{color:#11704e;background:#e4f5ec}.legal-pill.fail{color:#a12941;background:#ffeaec}.legal-pill.conditional{color:#986114;background:#fff1d6}.legal-item>p{min-height:52px;margin:13px 0;color:#38526b;font-size:12px;line-height:1.78}.legal-item dl{display:grid;grid-template-columns:70px 1fr;gap:5px 7px;font-size:11px;line-height:1.65;padding-top:13px;border-top:1px solid #eaf0f4}.legal-item dt{font-weight:800;color:#879bab}.legal-item dd{margin:0;color:#415872;word-break:break-word}.legal-official-box{margin-top:24px;background:#fff;border-radius:18px;border:1px solid #d5e0e8;padding:24px}.legal-official-heading{display:flex;justify-content:space-between;gap:12px}.legal-official-heading strong{font-size:17px;color:#0b2e52}.legal-official-heading p{font-size:12px;color:#668093;margin-top:5px}.legal-official-heading>span{white-space:nowrap;font-size:10px;color:#3b6e96;background:#eef5fb;padding:7px;border-radius:6px;height:max-content}.legal-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:22px 0 15px}.legal-fields label{font-size:12px;font-weight:700;color:#36566e;display:flex;flex-direction:column;gap:7px}.legal-fields input,.legal-fields select{background:#f8fbfd;border:1px solid #ccdbe6;border-radius:8px;width:100%;font:inherit;color:#233d54;padding:11px 10px;min-height:42px}.legal-fields .legal-proof-long{grid-column:span 2}.legal-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.legal-recalc{background:#0d4774;color:white;border:0;border-radius:9px;padding:13px 20px;font-size:12px;font-weight:800;cursor:pointer}.legal-actions span{font-size:11px;color:#8c6c3d}.legal-disclaimer{font-size:11px;line-height:1.8;color:#61788c;margin-top:14px}.legal-print-block{border:1px solid #d7e0eb;border-radius:10px;padding:20px;margin:10px 0 20px;background:#f7fbfe}.legal-print-block h3{margin:0 0 5px;font-size:17px}.legal-print-block>p{font-size:11px;color:#789}.legal-print-row{border-top:1px solid #e0e8ef;padding:9px 0;display:grid;grid-template-columns:155px 105px 1fr;gap:8px;font-size:12px;line-height:1.6}.legal-print-row b{color:#114d71}.legal-print-row span{color:#4b6578}@media(max-width:800px){.legal-check-grid{grid-template-columns:1fr}.legal-fields{grid-template-columns:1fr}.legal-fields .legal-proof-long{grid-column:span 1}.legal-summary{flex-wrap:wrap;padding:22px}.legal-totals{flex-direction:row;flex-wrap:wrap}.legal-summary h3{font-size:18px}.legal-version{display:none}.legal-print-row{grid-template-columns:1fr}.legal-item>p{min-height:0}}
@media print {.legal-section{display:none}.legal-print-block{display:block!important;break-inside:avoid}.legal-print-row{break-inside:avoid}}

.source-section{padding:76px 0;background:#f4f8fc;border-top:1px solid #e5edf4}.source-section .section-heading{margin-bottom:24px}.source-summary{background:#e8f1fc;border:1px solid #c5d9f0;border-radius:12px;padding:16px 20px;font-size:14px;font-weight:650;color:#12365b;margin-bottom:17px}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.source-item{background:#fff;border:1px solid #dde8f1;border-radius:14px;overflow:hidden}.source-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px;border-bottom:1px solid #edf2f7}.source-item-head strong{font-size:15px;color:#0f2844}.source-state{font-size:11px;color:#6c7480;background:#edf1f6;padding:6px 9px;border-radius:30px;white-space:nowrap}.source-state.found{background:#e1f4e9;color:#126e46}.source-state.not_detected{background:#f1f5ff;color:#2b5595}.source-state.error,.source-state.partial{background:#fff2df;color:#976013}.source-item-body{padding:14px 18px 18px;font-size:13px;color:#566476}.source-item-body b{color:#112f4f}.source-tiny{font-size:11px;color:#687d91;margin-top:6px}.source-item-body p{font-size:11px;margin:9px 0 0;line-height:1.65;color:#6b7d8f}.source-error{font-size:12px;color:#bc3c31;margin-top:7px}.source-item details{margin-top:9px}.source-item summary{cursor:pointer;color:#235c9e;font-weight:650}.source-item pre{max-height:150px;overflow:auto;padding:10px;border-radius:7px;background:#f6f9fc;font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere}.source-help{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:19px}.source-help>div{background:#fff;border:1px solid #e2eaf2;padding:18px;border-radius:12px}.source-help strong{color:#123350;font-size:13px}.source-help p{margin:7px 0 0;font-size:12px;color:#60758b;line-height:1.6}.source-actions{display:flex;align-items:center;gap:14px;margin-top:20px;flex-wrap:wrap}.source-actions a{font-size:13px;color:#244a86;text-decoration:underline}@media(max-width:760px){.source-grid,.source-help{grid-template-columns:1fr}.source-item-head{align-items:flex-start}}

/* v8.0 cadastral and responsive evidence panel */
.cadastral-card{margin:0 0 22px;padding:24px;border-radius:16px;background:linear-gradient(140deg,#edf5ff,#f8fbff);border:1px solid #ccdff5;box-shadow:0 8px 24px #173f7010}
.cadastral-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.cadastral-head strong{font-size:19px;color:#163755}.cadastral-head p,.road-notice{font-size:12px;line-height:1.8;color:#5e768b}.cadastral-label{font-weight:800;border-radius:60px;background:#fff;color:#2563b0;padding:7px 12px;font-size:11px;white-space:nowrap}.cadastral-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.cadastral-actions button{border:1px solid #98b9df;border-radius:8px;background:#fff;color:#164d83;font-size:12px;padding:10px 14px;font-weight:800}.road-fields{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}.road-fields.road-two{grid-template-columns:1fr 1fr;align-items:center}.road-fields label{font-size:12px;color:#274761;font-weight:800}.road-fields input[type=file],.road-fields input[type=number]{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #cbdbe9;border-radius:9px;background:#fff;font-size:13px}.road-legal{display:flex;align-items:center;gap:9px;line-height:1.6}.road-legal input{width:18px;height:18px;flex-shrink:0}.road-preview{font-size:12px;color:#6d8799;border:1px dashed #a6bfd9;background:#fff;border-radius:10px;padding:14px;min-height:42px}.road-preview img{display:block;max-width:100%;max-height:220px;border-radius:8px;margin-top:10px;object-fit:contain}.road-notice{margin:17px 0 0}.legal-item .legal-pill{white-space:normal;text-align:center}.legal-item.pass .legal-pill{max-width:140px}
@media(max-width:760px){.cadastral-card{padding:18px}.cadastral-head{display:block}.cadastral-label{display:inline-flex;margin-top:10px}.road-fields.road-two{grid-template-columns:1fr}.cadastral-actions button{flex:1}.road-fields input{font-size:16px!important}}
