.defect-encyclopedia,.defect-admin{color:#283c34}.defect-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0 27px}.defect-intro h1{font-size:30px;font-weight:600;margin:9px 0}.defect-intro p,.defect-section-heading p,.defect-ask-heading p{color:#7d897d;font-size:14px;line-height:1.7}.defect-intro-stat{display:flex;align-items:center;gap:15px;color:#71846c}.defect-intro-stat strong{font:46px Georgia,serif}.defect-intro-stat span{font-size:12px;line-height:1.8}.defect-tabs{display:flex;gap:27px;border-bottom:1px solid #dfe4d9;margin-bottom:25px}.defect-tabs button{background:none;padding:13px 3px;color:#8b9687;border-bottom:2px solid transparent}.defect-tabs button.active{color:#285444;border-bottom-color:#285444;font-weight:600}.defect-search{display:flex;gap:12px;align-items:center;border:1px solid #dce3d5;border-radius:12px;background:#fffefa;padding:10px 15px;max-width:540px}.defect-search input{background:none;border:0;outline:0;min-width:0;flex:1;color:#354f40;font-size:14px}.defect-search button{background:none;color:#88977e;display:flex}.defect-search button[hidden]{display:none}.defect-filters{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.defect-filters button{border:1px solid #e0e6d9;color:#829178;border-radius:30px;padding:8px 17px;background:transparent;font-size:13px}.defect-filters button.active{color:#fff;background:#315748;border-color:#315748}.defect-count{font-size:13px;color:#78916f;margin:18px 0}.defect-count span{float:right;color:#9da794}.defect-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.defect-card{text-align:left;border:1px solid #e2e6dc;border-radius:17px;padding:23px;background:#fffefa;color:#293c34;transition:transform .2s,border-color .2s;display:flex;flex-direction:column;min-width:0}.defect-card:hover{transform:translateY(-3px);border-color:#a5b699}.defect-card-top{display:flex;align-items:center;justify-content:space-between;color:#87967c;font-size:11px;letter-spacing:.6px}.defect-card-top i{font:26px Georgia,serif;color:#cad3c0}.defect-card h3{font-size:19px;font-weight:600;margin:24px 0 5px}.defect-card>small{color:#8f9b88;font:12px Georgia,serif}.defect-card>p{font-size:13px;line-height:1.8;color:#7f8a7b;margin:15px 0 22px;flex:1}.defect-card-link{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#547750;padding-top:14px;border-top:1px solid #edf0e7}.defect-card-link .icon{width:17px;height:17px}.defect-disclaimer{font-size:12px;color:#919b88;line-height:1.8;padding:25px 0 7px}.defect-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.defect-section-heading h2{font-size:27px;margin:9px 0}.defect-section-heading h3,.defect-ask-heading h3,.defect-local-heading h3{font-size:19px;font-weight:500;margin-bottom:8px}.defect-empty{text-align:center;border:1px dashed #d9e1d0;border-radius:17px;padding:50px 24px;color:#8a987f}.defect-empty h3{font-size:18px;font-weight:500;margin:16px 0 10px;color:#607950}.defect-empty p{font-size:13px;line-height:1.8}.defect-empty .secondary-button{margin:20px auto 0}.defect-empty-icon{display:inline-flex;padding:16px;background:#eaf0e3;border-radius:50%}.defect-local-heading{margin:35px 0 20px}.defect-local-heading p{font-size:13px;color:#8c987f}.defect-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.defect-question-preview,.defect-admin-case{background:#fffefa;border:1px solid #e1e6da;padding:24px;border-radius:16px;min-width:0}.defect-question-preview h3{font-size:19px;margin:15px 0}.defect-preline{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:14px;color:#6d7d64}.defect-status{display:inline-flex;align-items:center;border-radius:5px;font-size:11px;color:#8f8255;background:#f1ede1;padding:5px 9px}.defect-case-meta{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.defect-case-meta span{padding:5px 8px;color:#7c8b70;font-size:12px;background:#f0f3e9;border-radius:5px;overflow-wrap:anywhere}.defect-environment{font-size:13px;color:#8a987f;line-height:1.8;overflow-wrap:anywhere}.defect-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.defect-photo-grid img{width:100%;height:100px;object-fit:cover;border-radius:7px}.defect-case-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e7ebdf;margin-top:18px;padding-top:15px}.defect-case-actions>span{font-size:12px;color:#9ca68f}.defect-ask-heading{margin-bottom:24px}.defect-form fieldset{border:1px solid #dfe5d5;padding:23px;border-radius:14px;margin:0 0 25px;min-width:0;background:#fffefa}.defect-form legend{padding:0 9px;color:#6b845e;font-size:14px}.defect-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.defect-fields label,.defect-solution-label{display:block;font-size:13px;color:#728666;line-height:1.6}.defect-fields input,.defect-fields textarea,.defect-fields select,.defect-solution-label textarea{display:block;width:100%;background:#fcfcf7;border:1px solid #dfe5d6;border-radius:7px;padding:11px 12px;color:#486242;font:14px inherit;margin-top:8px;resize:vertical;box-sizing:border-box}.defect-fields input:focus,.defect-fields textarea:focus,.defect-fields select:focus,.defect-solution-label textarea:focus{outline:2px solid #8fa580;outline-offset:2px}.defect-full{grid-column:1/-1}.defect-upload{position:relative;border:1px dashed #cfdac2;border-radius:10px;display:flex!important;flex-direction:column;align-items:center;gap:8px;padding:25px;background:#f2f5eb;cursor:pointer;overflow:hidden}.defect-upload strong{font-size:14px;font-weight:500}.defect-upload>span{font-size:12px;color:#8f9d80}.defect-upload input{opacity:0;position:absolute;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.defect-upload:focus-within{outline:2px solid #79956a;outline-offset:3px}.defect-fine{font-size:12px;color:#919d85;line-height:1.8;margin:12px 0}.defect-uploaded{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.defect-uploaded>div{position:relative}.defect-uploaded img{width:100px;height:90px;object-fit:cover;border-radius:7px}.defect-uploaded button{position:absolute;right:4px;top:4px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#fffefa;color:#687e59}.defect-uploaded .icon{width:15px;height:15px}.defect-private-fields{background:#f0f3e9!important}.defect-private-fields legend .icon{width:15px;height:15px;vertical-align:middle}.defect-private-fields>p{font-size:12px;line-height:1.8;color:#8c987f;margin-bottom:20px}.defect-form-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px}.defect-form-actions>span{font-size:12px;color:#9da68f}.defect-modal{width:min(800px,94vw)!important;max-width:94vw}.defect-detail h2{font-size:29px;font-weight:500;margin:12px 0 15px}.defect-detail-lead{font-size:16px;line-height:1.8;color:#718166;margin-bottom:25px}.defect-detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}.defect-detail h3{font-size:16px;font-weight:500;margin:13px 0}.defect-detail li{font-size:14px;color:#7d8a73;line-height:1.85;margin-bottom:8px}.defect-detail ul,.defect-detail ol{padding-left:20px}.defect-remedies{background:#eff3e8;border-radius:11px;padding:12px 20px;margin:20px 0}.defect-sources{border-top:1px solid #e0e6d5;margin:22px 0;padding-top:19px;overflow-wrap:anywhere}.defect-sources>strong{font-size:12px;font-weight:500;color:#8fa082}.defect-source{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.8;color:#44705b;margin:10px 0}.defect-source .icon{width:15px;height:15px;flex:none;margin-top:3px}.defect-sources p{font-size:11px;color:#9ca690;line-height:1.8}.defect-admin-notice{background:#f3eee3;border:1px solid #e7dfcc;color:#938557;padding:15px 18px;border-radius:10px;font-size:13px;line-height:1.8;margin:20px 0}.defect-admin-case{margin-bottom:20px}.defect-admin-contact{margin:22px 0;padding:18px;background:#edf2e5;border-radius:10px;color:#607a52}.defect-admin-contact>span{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:13px}.defect-admin-contact .icon{width:17px;height:17px}.defect-admin-contact strong{font-size:14px;font-weight:500}.defect-admin-contact p{font-size:16px;margin:8px 0;overflow-wrap:anywhere}.defect-admin-contact small{font-size:11px;color:#92a17f}.defect-comment-draft{border-top:1px solid #e1e6d6;padding-top:20px;margin-top:25px}.defect-comment-draft p{margin-top:12px}.defect-detail>.primary-button{margin-top:18px}.defect-admin textarea{font-family:inherit}
@media(max-width:1100px){.defect-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.defect-card{padding:20px}.defect-case-grid{grid-template-columns:1fr}}
@media(max-width:650px){.defect-intro{padding-top:14px;gap:12px}.defect-intro h1{font-size:26px}.defect-intro p{font-size:13px}.defect-intro-stat{display:none}.defect-tabs{gap:22px}.defect-tabs button{font-size:13px}.defect-grid{gap:11px}.defect-card{padding:15px}.defect-card h3{font-size:16px;margin-top:17px}.defect-card>small{font-size:11px}.defect-card>p{font-size:12px}.defect-card-top{font-size:10px}.defect-card-top i{font-size:22px}.defect-count span{float:none;display:block;margin-top:6px}.defect-filters{gap:7px}.defect-filters button{padding:7px 11px;font-size:12px}.defect-section-heading{align-items:flex-start;flex-direction:column}.defect-fields,.defect-detail-columns{grid-template-columns:1fr}.defect-form fieldset{padding:18px 14px}.defect-form-actions{align-items:flex-start;flex-direction:column}.defect-form-actions>.primary-button{width:100%;justify-content:center}.defect-question-preview,.defect-admin-case{padding:18px}.defect-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.defect-photo-grid img{height:120px}.defect-case-actions{align-items:flex-start;flex-direction:column}.defect-detail h2{font-size:25px}.defect-upload>span{font-size:11px;text-align:center}.defect-admin-contact{padding:15px}}
@media(prefers-reduced-motion:reduce){.defect-card{transition:none}.defect-card:hover{transform:none}}
.defect-ask-heading,.defect-local-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.defect-draft-actions{display:flex;align-items:center;gap:15px;padding-top:16px;margin-top:16px;border-top:1px dashed #e2e7da}.defect-draft-actions>span{font-size:11px;color:#a0a98f;margin-right:auto}.defect-remove-button{color:#9b765e!important;font-size:12px!important}.defect-admin-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.defect-draft-actions .text-button{font-size:12px}.defect-fields input,.defect-fields textarea,.defect-fields select,.defect-solution-label textarea{font-family:inherit;font-size:14px}
@media(max-width:650px){.defect-ask-heading,.defect-local-heading{align-items:flex-start;flex-direction:column}.defect-draft-actions{gap:11px;flex-wrap:wrap}.defect-draft-actions>span{flex-basis:100%}.defect-ask-heading .secondary-button{font-size:13px}.defect-admin-toolbar{gap:12px}}
/* Match the existing dialog spacing and allow access to the management link on short screens. */
.defect-sop-reference{margin:0 0 24px;border:1px solid #c5cfdf;border-radius:12px;background:#f4f6f8;color:#243956;overflow:hidden}.defect-sop-reference>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:17px 20px;font-size:14px;font-weight:600;list-style:disclosure-closed}.defect-sop-reference>summary:after{content:'+';font-size:20px;line-height:1}.defect-sop-reference[open]>summary:after{content:'−'}.defect-sop-reference>summary>span{font-size:11px;font-weight:400;margin-left:auto;color:#596d86}.defect-sop-reference>div{padding:0 20px 20px}.defect-sop-reference h3{font-size:14px;line-height:1.7;margin:0 0 6px}.defect-sop-reference p{font-size:13px;line-height:1.8;margin:0 0 7px}.defect-sop-reference small{font-size:11px;color:#64788d}.defect-sop-reference section,.defect-sop-reference li{padding:16px 0;border-bottom:1px solid #dce3eb}.defect-sop-reference ol{padding-left:20px;margin:0 0 18px}.defect-sop-reference .defect-source{line-height:1.8;overflow-wrap:anywhere}.defect-sop-reference summary:focus-visible{outline:3px solid #a37f43;outline-offset:-4px}@media(max-width:650px){.defect-sop-reference>summary{padding:14px;flex-wrap:wrap;gap:6px}.defect-sop-reference>summary>span{margin-left:0}.defect-sop-reference>div{padding:0 14px 16px}.defect-sop-reference h3{font-size:13px}}
.defect-example-thumb{display:grid;place-items:center;width:100%;height:175px;overflow:hidden;border-radius:10px;background:#edf0e7;margin-bottom:9px}.defect-example-thumb img{display:block;width:100%;height:100%;object-fit:contain}.defect-example-credit{font-size:10px;color:#89947e;line-height:1.5;margin-bottom:16px}.defect-example-detail{margin:0 0 26px;background:#f2f4ed;border-radius:13px;overflow:hidden}.defect-example-detail>a{display:block;position:relative}.defect-example-detail img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.defect-example-detail>a>span{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:5px;background:#fffef9ed;padding:8px 12px;border-radius:7px;font-size:12px;color:#2c5345}.defect-example-detail .icon{width:14px;height:14px;vertical-align:middle}.defect-example-detail figcaption{padding:16px 19px}.defect-example-detail strong{font-size:13px;font-weight:500}.defect-example-detail p{font-size:12px;color:#78876e;line-height:1.7;margin:6px 0 9px}.defect-example-detail figcaption>a{font-size:12px;color:#355d4b;text-decoration:underline;text-underline-offset:3px}@media(max-width:650px){.defect-example-thumb{height:122px}.defect-example-credit{font-size:10px;min-height:30px;margin-bottom:9px}.defect-example-detail figcaption{padding:13px}.defect-example-detail img{max-height:320px}.defect-card h3{margin-top:13px}}
.defect-detail{padding:38px 34px 30px}.defect-modal .modal-close{z-index:2}.sidebar{overflow-y:auto}.sidebar-bottom{flex-shrink:0}.defect-photo-grid img{object-fit:contain;background:#f2f3ed}.defect-admin .defect-section-heading h2{font-size:23px}@media(max-width:650px){.defect-detail{padding:34px 20px 24px}.admin-toolbar .detail-tabs{gap:15px;flex-wrap:wrap}.defect-detail .defect-question-preview{padding:15px}}
.defect-example-credit>span{display:block;margin-top:3px;color:#96a08d}.defect-example-credit{min-height:34px}.defect-card .defect-example-thumb img{object-fit:contain}
.defect-workbook-reference{border:1px solid #c5cfdf;border-radius:12px;background:#f4f6f8;margin:20px 0;color:#243956;overflow:hidden}.defect-workbook-reference>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;padding:16px 18px;font-size:14px;font-weight:600}.defect-workbook-reference>summary>span{font-size:11px;font-weight:400;color:#596d86}.defect-workbook-reference>summary:after{content:'+'}.defect-workbook-reference[open]>summary:after{content:'−'}.defect-workbook-reference>div{padding:0 18px 18px}.defect-workbook-reference section{padding:12px 0;border-top:1px solid #dce3eb}.defect-workbook-reference small{font-size:11px;color:#64788d}.defect-workbook-reference dl>div{display:grid;grid-template-columns:75px minmax(0,1fr);gap:12px;padding:10px 0;font-size:13px;line-height:1.8}.defect-workbook-reference dd{margin:0;overflow-wrap:anywhere;color:#526379}.defect-workbook-reference dd ul{margin:0;padding-left:18px}.defect-workbook-reference dd li{font-size:13px;color:#526379}.defect-workbook-source{padding:15px 0;border-top:1px dashed #dce3eb;margin-top:12px}.defect-workbook-source strong{font-size:13px;font-weight:500}.defect-workbook-source small{font-size:11px;color:#737f8e}.defect-workbook-reference>summary:focus-visible{outline:3px solid #a37f43;outline-offset:-3px}@media(max-width:650px){.defect-workbook-reference>summary{flex-wrap:wrap;padding:14px}.defect-workbook-reference>div{padding:0 14px 14px}.defect-workbook-reference dl>div{grid-template-columns:1fr;gap:3px}.defect-count span{max-width:100%;line-height:1.8}}

.oak-context-entry{display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid #c5cfdf;background:#eaf0f8;border-radius:14px;padding:18px 22px;margin:20px 0;color:#243956}.oak-context-entry.is-oak{border-left:4px solid #b49357}.oak-context-entry p{font-size:13px;line-height:1.7;margin:7px 0 0}.oak-context-entry button{flex-shrink:0}.oak-sop-guide{margin:24px 0}.oak-scope{font-size:14px;line-height:1.8;color:#263d5b;padding:16px;background:#eaf0f8;border-radius:10px}.oak-guide-jumps{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.oak-guide-jumps a{padding:8px 12px;border:1px solid #c5cfdf;border-radius:8px;color:#243956;background:#f1f5fa;font-size:13px}.oak-sop-guide details{border-bottom:1px solid #dde3e8;padding:14px 0}.oak-sop-guide summary{cursor:pointer;color:#243956;font-weight:600;line-height:1.7}.oak-sop-guide small{display:inline-block;font-size:11px;font-weight:400;color:#737f8e;margin-left:12px}.oak-sop-guide h3{margin-top:26px}.oak-sop-guide dl>div{padding:13px 0;border-bottom:1px solid #e1e6ee;display:grid;grid-template-columns:95px 1fr;gap:12px;font-size:13px;line-height:1.8}.oak-sop-guide dd{margin:0;color:#526379}.oak-sop-guide dt{font-weight:600;color:#253d5a}.oak-check{display:flex;align-items:flex-start;gap:10px;padding:10px 0;font-size:14px;line-height:1.7;color:#405774}.oak-check input{margin-top:5px;accent-color:#233956}.oak-check:has(input:checked) span{color:#6b7e66;text-decoration:line-through}.defect-detail:has(.oak-sop-guide) .defect-example-detail img{max-height:380px;object-fit:contain;background:#f1f0e9}.oak-sop-guide section{scroll-margin-top:20px}@media(max-width:650px){.oak-context-entry{align-items:stretch;flex-direction:column;padding:16px}.oak-context-entry button{justify-content:center}.oak-sop-guide summary small{display:block;margin-left:0}.oak-sop-guide dl>div{grid-template-columns:1fr;gap:4px}.oak-sop-guide h3 small{display:block;margin-left:0}}
