body.quality-mode main>*:not(.control-topbar):not(#qualityPanel){display:none!important}
#qualityPanel{color:#303b3b;max-width:1600px;margin:auto;padding-bottom:24px}
#qualityPanel[hidden]{display:none!important}
.work-sections{display:grid;grid-template-columns:1fr 1fr;gap:9px;position:relative;margin-top:12px}
.work-sections .cash-nav{margin:0;width:100%;padding:12px 8px;font-size:15px;font-weight:700;text-align:center}
.work-sections{align-items:start}.work-sections>button,.work-sections summary.cash-nav{height:48px;min-height:48px;display:flex;align-items:center;justify-content:center}
#openQuality[aria-current]{background:#ffdca8;color:#6f4209;border-color:#ed9b32;box-shadow:inset 3px 0 #f28b00}
#actsMenu>summary{cursor:pointer;list-style:none;box-sizing:border-box;border:1px solid #d5d9d5;border-radius:6px;color:#246582;background:white}
#actsMenu>summary::after{content:' ▾'}
#actsMenu{margin:0;padding:0;border:0;background:transparent}
.sidebar-brand #openCashflow,.sidebar-brand #openDocuments,.sidebar-brand #openQuality,#actsMenu>summary.cash-nav{background:#fff0d9;color:#815315;border:1px solid #f0d3a7;transition:background .15s,border-color .15s}
.sidebar-brand #openCashflow:hover,.sidebar-brand #openDocuments:hover,.sidebar-brand #openQuality:hover,#actsMenu>summary.cash-nav:hover{background:#ffe4bb;border-color:#e9b363}
.sidebar-brand #openQuality[aria-current],#actsMenu[open]>summary.cash-nav{background:#ffdca8;border-color:#ed9b32;color:#6f4209}
.acts-menu-body{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;box-shadow:0 10px 30px #25373330;border:1px solid #d5d9d5;border-radius:9px;padding:14px;z-index:75;font-size:14px;color:#303b3b;max-height:65vh;overflow:auto;text-align:left}
.acts-menu-body section+section{border-top:1px solid #e0e4de;margin-top:12px;padding-top:12px}
.acts-menu-body strong{display:block;font-size:15px;margin-bottom:8px}.acts-menu-body a{display:block;margin:8px 0;color:#246582;text-decoration:underline}.acts-menu-body small{display:block;color:#707b74;line-height:1.4}.acts-menu-body .admin-link{color:#976000}
.q-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:20px 0 22px}.q-heading h2{font-size:34px;margin:8px 0 12px;outline:none}.q-heading p{color:#717b73;margin:0}.q-heading button{flex-shrink:0}
.q-tabs,.q-subtabs,.q-book-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0 24px}.q-tabs button[aria-pressed=true],.q-subtabs button[aria-pressed=true]{background:#303b3b;color:#fff;border-color:#303b3b}.q-tabs>.q-link{margin-left:auto}
.q-link{color:#246582;text-decoration:none;border-bottom:1px solid #b6c9d1;font-weight:600;display:inline-block;padding:4px 0;line-height:1.4}.q-link:hover{color:#004c66;border-color:currentColor}.q-primary-link{background:#303b3b;color:white;border:0;padding:12px 18px;border-radius:7px}.q-primary-link:hover{color:white;background:#465353}
.q-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.q-stat{background:white;border:1px solid #dde1d8;border-radius:10px;padding:21px 22px;display:flex;flex-direction:column;gap:7px}.q-stat strong{font-size:33px;font-weight:650;font-variant-numeric:tabular-nums}.q-stat span{font-weight:650}.q-stat small{color:#747e73;line-height:1.45}.q-stat.q-warm{background:#fff6e7;border-color:#f0d9b6}.q-stat.q-warm strong{color:#9d5a00}
.q-stat.q-cool{background:#eef4f2;border-color:#cfddd8}.q-stat.q-cool strong{color:#396a60}
.q-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 10px}.q-section-heading h3{font-size:21px;margin:0 0 6px}.q-section-heading p{margin:0;color:#66736b;font-size:14px}.q-section-heading .q-link{font-size:13px;flex-shrink:0}
.q-legend{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:12px;color:#637066;margin:14px 0}.q-legend span{display:flex;align-items:center;gap:7px}.q-legend i{height:8px;width:8px;border-radius:50%;flex-shrink:0}.q-dot-good{background:#368050}.q-dot-pending{background:#d48a26}
.q-quick-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 15px}.q-quick-filters button{border-radius:18px;padding:7px 13px;min-height:34px;font-size:13px}.q-quick-filters button[aria-pressed=true]{background:#303b3b;color:white;border-color:#303b3b}.q-report-note{font-size:12px;color:#6f7b73;line-height:1.4}
.q-feature{background:#eaf0eb;border:1px solid #d1ddd2;border-radius:10px;padding:24px;display:flex;gap:24px;justify-content:space-between;align-items:center;margin:24px 0}.q-feature h3{font-size:23px;margin:8px 0}.q-feature p{margin:0;line-height:1.5;color:#617064}.q-feature button{white-space:nowrap}.q-kicker{font-size:11px;font-weight:700;letter-spacing:1px;color:#778172;text-transform:uppercase}
.q-feature{padding:18px 22px;margin:18px 0}.q-feature h3{font-size:21px;margin:6px 0}.q-feature p{font-size:14px}
.q-plan-issues{background:#fff9ee;border-left:3px solid #ec9c27;padding:14px 18px;margin:20px 0}.q-plan-issues summary{cursor:pointer;font-weight:600;color:#8b5a1d}.q-plan-issues li{margin:7px 0}.q-plan-issues .q-link{margin-right:20px}
.q-tools{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:28px 0 18px}.q-tools label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#657165}.q-tools label:first-child{flex:1;min-width:220px}.q-tools input,.q-tools select{border:1px solid #ccd3c8;border-radius:7px;padding:12px;background:white;color:#303b3b;font:inherit;font-size:15px;min-height:44px}.q-tools input{width:100%;box-sizing:border-box}.q-tools #qualityCount{font-size:13px;color:#6f7b6f;min-width:130px;padding-bottom:12px}
.q-grid-head,.q-test-row{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(100px,.65fr) minmax(170px,1fr) minmax(240px,1.4fr) 100px;gap:18px;align-items:center}.q-grid-head{padding:12px 18px;font-size:11px;letter-spacing:.7px;font-weight:700;text-transform:uppercase;color:#768171;background:#e8ece5;border-radius:7px 7px 0 0}.q-test{background:#fff;border:1px solid #dde1d8;border-top:0}.q-test:last-child{border-radius:0 0 8px 8px}.q-test-row{padding:20px 18px}.q-test h3{font-size:16px;line-height:1.35;margin:5px 0}.q-cell{font-size:14px;line-height:1.45}.q-cell strong{font-size:20px}.q-cell small{display:none}.q-statuses{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.q-badge{display:inline-flex;align-items:flex-start;gap:7px;padding:5px 9px;border-radius:5px;font-size:12px;line-height:1.4;font-weight:600;max-width:100%}.q-badge i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;margin-top:5px;background:currentColor}.q-good{background:#e8f3e9;color:#28613d}.q-pending{background:#fff1dd;color:#935a0c}.q-neutral{background:#eef0eb;color:#667162}.q-bad{background:#fbe7e9;color:#922b39}.q-test-row button{padding:9px 8px;font-size:13px}
.q-test-detail{background:#f6f8f4;border-top:1px solid #dde1d8;padding:24px;display:grid;grid-template-columns:2fr 1fr;gap:12px 32px}.q-test-detail[hidden]{display:none}.q-test-detail h4{margin:0 0 7px;font-size:13px}.q-test-detail p{font-size:14px;margin:0 0 18px;line-height:1.6}.q-detail-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.q-subdetail{margin:12px 0}.q-subdetail>summary{cursor:pointer;font-weight:600;font-size:14px;padding:10px 0;color:#246582}.q-test-detail>.q-subdetail{grid-column:1/-1}.q-subdetail li,.q-subdetail p{line-height:1.6;font-size:14px}
.q-notice{background:#fff7e9;border:1px solid #efd8b5;padding:16px 20px;border-radius:7px;line-height:1.6;font-size:14px}.q-notice strong{display:block;color:#895415}
.q-pdf-viewer{display:block;width:100%;height:78vh;min-height:480px;border:1px solid #d6dcd4;border-radius:8px;background:white}.q-pdf-note{font-size:13px;color:#69756d}.q-book-links .q-owner-edit{color:#925700}.q-bad{background:#fff1dd;color:#935a0c}.q-test-actions{display:grid;gap:9px}.q-test-actions a{font-size:12px}.q-pdf-details{margin-top:22px}.q-pdf-details>summary{font-size:17px;padding:15px;cursor:pointer;background:#eaf0eb;border-radius:7px;font-weight:650}.q-core-tests{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.q-core-tests h3{font-size:16px;margin:0 0 8px}
@media(max-width:700px){.q-pdf-viewer{height:65vh;min-height:380px}.q-core-tests{grid-template-columns:1fr}}
@media(max-width:700px){.q-section-heading{align-items:flex-start;flex-direction:column}.q-legend{gap:8px;font-size:11px}.q-section-heading p{font-size:13px}}
.q-lot{background:white;border:1px solid #dae0d5;border-radius:9px;padding:22px;margin:14px 0}.q-lot-head{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}.q-lot-head h3{font-size:18px;line-height:1.5;margin:6px 0}.q-lot-head small{display:block;margin-top:7px;font-size:12px;color:#687363}.q-lot-values{display:flex;gap:22px;flex-wrap:wrap;margin:18px 0;padding:15px 0;border-block:1px solid #e6ebe0;font-size:12px;color:#71796d}.q-lot-values strong{display:block;font-size:18px;margin-top:6px;color:#303b3b}.q-condition{font-size:14px;line-height:1.65;color:#596557}.q-condition strong{color:#855817}
.q-table-wrap{overflow:auto;max-width:100%;margin:12px 0;background:white;border:1px solid #dbe0d5;border-radius:7px}.q-table-wrap table{width:100%;border-collapse:collapse;min-width:820px;font-size:13px}.q-table-wrap th,.q-table-wrap td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #e0e4db;white-space:normal;font-variant-numeric:tabular-nums}.q-table-wrap thead th{background:#e9ede6;color:#5e695b;font-size:11px;font-weight:700;text-transform:uppercase;position:sticky;top:0;z-index:1}.q-table-wrap tbody th{font-weight:600}.q-table-wrap tbody tr:nth-child(even){background:#f8f9f6}.q-table-wrap small{display:block;color:#747d6f;line-height:1.5;margin:6px 0}.q-table-wrap .q-link{font-size:12px}.q-table-wrap td:last-child{min-width:180px}.q-footnote{font-size:12px;color:#747e6e;line-height:1.7;margin-top:30px}.q-empty,.q-loading,.q-error{padding:36px;border:1px solid #dce1d6;border-radius:9px;background:white;text-align:center;line-height:1.7}
@media(min-width:1001px){body.quality-mode aside .sidebar-brand{padding-bottom:14px}}
@media(max-width:1400px){.q-grid-head{display:none}.q-test{border-top:1px solid #dde1d8;margin-bottom:12px;border-radius:8px}.q-test-row{grid-template-columns:1.3fr .8fr 1.4fr 100px}.q-test-row>div:first-child{grid-column:1/-1}.q-cell small{display:block;color:#798372;font-size:11px;margin-bottom:6px}}
@media(max-width:700px){.q-heading{display:block}.q-heading h2{font-size:28px}.q-heading button{margin-top:16px}.q-stats{grid-template-columns:1fr 1fr;gap:10px}.q-stat{padding:16px 14px}.q-stat strong{font-size:27px}.q-stat span{font-size:13px}.q-stat small{font-size:11px}.q-feature{display:block;padding:18px}.q-feature button{white-space:normal;margin-top:18px;width:100%}.q-tabs>.q-link{margin-left:0}.q-tabs{gap:7px}.q-tabs button{font-size:13px;padding:10px}.q-test-row{grid-template-columns:1fr 1fr;gap:15px;padding:18px}.q-statuses{grid-column:1/-1}.q-test-row button{grid-column:1/-1;min-height:40px}.q-test-detail{grid-template-columns:1fr;padding:18px;gap:10px}.q-lot{padding:16px}.q-lot-head{display:block}.q-lot-values{gap:16px}.q-lot-values>span{flex-basis:calc(50% - 16px)}.q-tools{display:grid;grid-template-columns:1fr}.q-tools label:first-child{min-width:0}.q-tools #qualityCount{padding-bottom:0}.q-plan-issues{font-size:13px}.q-book-links{align-items:flex-start;flex-direction:column}.q-table-wrap{max-height:70vh}.q-footnote{font-size:12px}}
