.b-project-panel{border-inline-start:5px solid #427f82;background:linear-gradient(120deg,#f1f8f7,#fff)}
.b-project-panel .card-head,.b-context{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.b-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0}.b-stats>div{background:#fff;border:1px solid #dce6eb;padding:14px;border-radius:14px;display:flex;flex-direction:column;gap:4px}.b-stats strong{font-size:26px;color:#215c60}.b-stats span{font-size:12px;color:#586773}
.b-recent{display:grid;gap:8px}.b-recent article{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px;border-radius:12px;background:white;border:1px solid #e5ebef}.b-recent span,.b-recent small{display:block;color:#626d79;margin-top:4px}
.b-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.b-filters label{margin:0;min-width:0}.b-filters .heading-actions{grid-column:1/-1}.b-form-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.b-source-card{margin:0;min-width:0}.b-source-top{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.b-source-top>div{flex:1;min-width:140px}.b-source-top h2{font-size:20px;margin:6px 0}.b-facade{width:64px;height:64px;flex-shrink:0}.b-facade img{width:100%;height:100%;object-fit:cover;border-radius:12px}.b-select{display:flex;align-items:center;gap:7px;font-size:13px;margin:0}.b-select input{width:20px;height:20px;margin:0}.b-source-info{padding:12px 0;border-bottom:1px solid #e5ebef;overflow-wrap:anywhere}.b-source-info p{margin:5px 0;font-size:13px}.b-source-info strong{color:#5d6b79;margin-inline-end:8px}.b-times{display:grid;gap:8px;margin:14px 0}.b-times>div{display:flex;justify-content:space-between;gap:12px}.b-times dt{font-size:12px;color:#5d6b79}.b-times dd{font-size:12px;margin:0;text-align:end}.b-evidence{display:flex;gap:12px;flex-wrap:wrap;font-size:13px}.b-missing,.b-warning{color:#91531c;font-size:13px}.b-source-card .heading-actions{margin-top:14px}.b-source-card button{font-size:12px;min-height:42px}.b-pagination{display:flex;justify-content:center;align-items:center;gap:18px;padding:20px}.b-selection{position:sticky;bottom:14px;z-index:12;display:flex;align-items:center;gap:12px;padding:16px;background:#163e46;color:#fff;border-radius:16px;box-shadow:0 8px 30px #153f4633}.b-selection>div{flex:1}.b-selection small{display:block;margin-top:5px;color:#d3e4e7}.b-selection button{flex-shrink:0;background:#fff;color:#163e46}.b-selection button.primary{background:#d6f3c2;color:#254c30}.b-selection button:disabled{opacity:.45}.b-context{padding:14px}.b-context p{margin:5px 0;font-size:13px}.b-context a{font-size:13px}
.b-compare-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.b-compare-sources article{border:1px solid #e0e6ed;border-radius:12px;padding:14px;overflow-wrap:anywhere}.b-compare-sources p{margin:6px 0;font-size:13px}.b-matrix-scroll{overflow:auto;max-height:75vh;border:1px solid #dce6eb;border-radius:12px;overscroll-behavior-x:contain}.b-matrix{border-collapse:separate;border-spacing:0;min-width:760px;width:100%;font-size:13px}.b-matrix th,.b-matrix td{padding:14px;min-width:160px;max-width:240px;border-bottom:1px solid #e1e7eb;border-inline-end:1px solid #e1e7eb;text-align:start;vertical-align:top;overflow-wrap:anywhere}.b-matrix th{background:#f3f6f8}.b-matrix thead th{position:sticky;top:0;z-index:3;background:#e8f1f2}.b-matrix tbody th{position:sticky;inset-inline-start:0;z-index:2;min-width:145px}.b-matrix tr[data-b-state=difference] td{background:#fff8ef}.b-matrix tr[data-b-state=incomplete] td{background:#fffdf7}.b-matrix small{display:block;font-size:11px;color:#5b6471;margin-top:6px}.b-matrix [hidden],tr[hidden]{display:none!important}
@media(max-width:1000px){.b-form-list{grid-template-columns:1fr}.b-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.b-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.b-filters label:first-child{grid-column:1/-1}.b-stats{gap:6px}.b-stats>div{padding:11px}.b-stats strong{font-size:23px}.b-stats span{font-size:11px}.b-selection{bottom:calc(76px + env(safe-area-inset-bottom,0px));flex-wrap:wrap;padding:12px;gap:8px}.b-selection>div{flex-basis:100%}.b-selection button{flex:1;min-height:44px}.b-times>div{flex-wrap:wrap}.b-times dd{margin-inline-start:auto}.b-recent article{flex-wrap:wrap}.b-matrix th,.b-matrix td{min-width:150px;padding:10px}.b-matrix tbody th{min-width:115px;max-width:140px}.b-source-top .b-select{min-height:44px}.b-context button,.b-project-panel .card-head button{width:100%}}
@media print{.b-filters,.b-selection,.b-pagination,#b-differences{display:none!important}.b-matrix-scroll{max-height:none;overflow:visible}.b-matrix{min-width:0;font-size:9px}.b-matrix th,.b-matrix td{min-width:0;max-width:none;padding:5px;position:static!important}.b-matrix tr{break-inside:avoid}}

/* Project, category and comparison share one desk; inspection never loses scope. */
.b-desk-filters{border-top:4px solid #427f82}.b-desk-filters select{min-height:48px;max-width:100%}.b-specifications,.b-extra-filters{grid-column:1/-1}.b-category-details{padding:14px 16px;background:#f0f7f5;border:1px solid #d4e5df;border-radius:12px}.b-category-details>strong{font-size:18px}.b-category-details dl{display:flex;flex-wrap:wrap;gap:10px 22px;margin:10px 0 0}.b-category-details dl>div{display:flex;gap:7px}.b-category-details dt{font-size:12px;color:#61716c}.b-category-details dd{margin:0;font-weight:700}.b-category-details p{margin:10px 0 0;font-size:13px;white-space:pre-wrap}.b-extra-filters>summary,.b-source-details>summary{cursor:pointer;font-weight:600;padding:12px 0;min-height:44px}.b-extra-filters>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:8px 0}.b-coverage p{margin:6px 0 0}.b-selection{position:relative;bottom:auto;margin:18px 0;box-shadow:none;flex-wrap:wrap}.b-selection>div{min-width:220px}.b-selection button{font-size:12px;min-height:44px}.b-inline-comparison{margin:20px 0 26px;scroll-margin-top:100px}.b-inline-comparison>.card-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.b-comparison-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:14px 0}.b-comparison-tools>span{font-size:12px;color:#52666c}.b-comparison-tools .check-label{margin:0}.b-list-heading h2{margin-bottom:4px}.b-company-card{margin:0;min-width:0}.b-company-card>.card-head{border-bottom:1px solid #dce6eb;padding-bottom:14px}.b-company-card>.card-head h2{font-size:20px}.b-form-entry{padding:15px 0}.b-form-entry+.b-form-entry{border-top:1px dashed #d4dfe3}.b-form-entry-head{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}.b-form-entry-head>div{flex:1;min-width:150px}.b-form-entry-head strong,.b-form-entry-head span,.b-form-entry-head small{display:block}.b-form-entry-head small{color:#60717c;margin-top:5px}.b-form-entry-head>div>span{font-size:12px;margin-top:5px}.b-form-entry-head .badge{display:inline-flex}.b-form-entry .heading-actions{margin-top:10px}.b-form-entry .heading-actions button{font-size:12px;min-height:42px}.b-form-by{font-size:12px;color:#60717c}.b-source-details{border-top:1px solid #edf1f3}.b-source-photo{display:flex;gap:14px;align-items:center;margin:14px 0}.b-source-photo img{width:84px;height:84px;object-fit:cover;border-radius:10px}.b-source-photo p{font-size:12px;margin:5px 0}.b-source-photo>div{min-width:0}.b-effect{display:block;font-weight:700;margin-bottom:8px}.b-effect-increase{color:#216a4c}.b-effect-decrease{color:#9c3a32}.b-effect-none{color:#3b5b78}.b-effect-unknown,.b-effect-not_applicable{color:#7a672e}.b-matrix td[data-cell-state=invalid]{background:#fff0ed!important}.b-cell-note{white-space:pre-wrap;overflow-wrap:anywhere}.b-matrix thead th:first-child{inset-inline-start:0;z-index:5}.b-matrix thead th button{font-size:11px;min-height:34px;margin-top:7px}.b-matrix tbody th>small{margin-top:0;margin-bottom:6px}.b-matrix td>strong{display:block;font-size:15px}.b-matrix th,.b-matrix td{max-width:260px}.b-matrix-scroll{max-height:76vh}.b-matrix thead th{box-shadow:0 1px 0 #ccdce0}.b-matrix tbody th{box-shadow:-1px 0 0 #dce6eb}
@media(max-width:900px){.b-desk-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.b-desk-filters>label:first-child{grid-column:1/-1}.b-extra-filters>div{grid-template-columns:repeat(2,minmax(0,1fr))}.b-selection>div{flex-basis:100%}}
@media(max-width:640px){.b-desk-filters{grid-template-columns:1fr}.b-desk-filters>label{grid-column:1/-1}.b-category-details{padding:12px}.b-category-details dl{gap:8px 14px}.b-category-details dd{font-size:13px}.b-selection{bottom:auto;gap:8px;padding:12px}.b-selection button{flex:1 1 40%;white-space:normal}.b-inline-comparison{padding:12px}.b-inline-comparison .heading-actions{width:100%}.b-inline-comparison .heading-actions button{flex:1;min-height:44px;font-size:12px}.b-matrix-scroll{max-height:70vh}.b-matrix thead th{min-width:180px}.b-matrix thead th:first-child,.b-matrix tbody th{min-width:115px;max-width:140px}.b-matrix th,.b-matrix td{padding:11px}.b-form-entry-head .b-select{min-height:44px}.b-source-photo{align-items:flex-start}.b-comparison-tools{align-items:flex-start;flex-direction:column}.b-extra-filters>div{gap:8px}}
@media print{.b-desk-filters,.b-list-heading,.b-form-list,.b-coverage,.b-guide,.b-inline-comparison>.card-head .heading-actions,.b-matrix button,.b-comparison-tools{display:none!important}.b-inline-comparison{padding:0;border:0}.b-matrix-scroll{max-height:none;overflow:visible}.b-matrix thead{display:table-header-group}.b-matrix thead th,.b-matrix tbody th{position:static!important;box-shadow:none}.b-matrix th,.b-matrix td{min-width:0;max-width:none}.b-effect{font-size:10px;margin-bottom:3px}}
