/* Component-level inspection cards inside the quality workflow */
.quality-component-area{margin-top:16px;padding-top:15px;border-top:2px solid #d5e6e3}.quality-component-area>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.quality-component-area>header h3{margin:0;color:#10233a;font-size:1.05rem}.quality-component-area>header p{margin:4px 0 0;color:#687d89;font-size:.76rem}.quality-component-count{padding:6px 9px;border-radius:999px;background:#0f827e;color:#fff;font-size:.7rem;font-weight:900}.quality-component-list{display:grid;gap:12px;margin-top:12px}.quality-component-inspection{overflow:hidden;border:1px solid #d5e2e5;border-radius:15px;background:#fff}.quality-component-inspection.blocked{border-color:#edb8a8}.quality-component-inspection.complete{border-color:#a9d6c9}.quality-component-inspection>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 14px;background:#f5f9f9}.quality-component-inspection>header h4{margin:0;color:#10233a;font-size:.95rem}.quality-component-inspection>header p{margin:4px 0 0;color:#657b88;font-size:.72rem}.quality-component-inspection>header span{display:inline-flex;padding:5px 8px;border-radius:999px;background:#e8f5f2;color:#0c6e68;font-size:.68rem;font-weight:900}.quality-component-inspection.blocked>header span{background:#fff0ea;color:#9a412b}.quality-component-master{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;padding:11px 14px;border-top:1px solid #e2eaec;border-bottom:1px solid #e2eaec}.quality-component-master div{padding:8px;border-radius:9px;background:#f5f8f9}.quality-component-master small,.quality-component-master strong{display:block}.quality-component-master small{color:#748691;font-size:.6rem;font-weight:900;text-transform:uppercase}.quality-component-master strong{margin-top:3px;font-size:.74rem;overflow-wrap:anywhere}.quality-component-section{padding:13px 14px}.quality-component-section+ .quality-component-section{border-top:1px solid #e0e8ea}.quality-component-section h5{margin:0 0 10px;font-size:.86rem}.quality-component-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.quality-component-field{display:grid;gap:5px}.quality-component-field.span-3{grid-column:1/-1}.quality-component-field>span{color:#536c79;font-size:.69rem;font-weight:900}.quality-component-field input,.quality-component-field textarea,.quality-component-field select{width:100%;padding:9px 10px;border:1px solid #c9d8dc;border-radius:9px;background:#fff;color:#10233a}.quality-component-field textarea{min-height:80px;resize:vertical}.quality-component-field .quality-boolean span{min-height:38px;font-size:.73rem}.quality-component-alert{margin:0 14px 12px;padding:9px 10px;border-radius:10px;background:#fff4df;color:#72571c;font-size:.7rem;font-weight:700}.quality-component-alert.danger{background:#fff0ea;color:#9a4029}.quality-component-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.quality-component-save-state{color:#647a87;font-size:.72rem}.quality-component-missing{padding:15px;border:1px dashed #c6d7da;border-radius:13px;background:#fff;color:#5d7481}.quality-component-missing strong,.quality-component-missing span{display:block}.quality-component-missing span{margin-top:5px;font-size:.75rem;line-height:1.45}
@media(max-width:1050px){.quality-component-master{grid-template-columns:repeat(3,minmax(0,1fr))}.quality-component-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.quality-component-field.span-3{grid-column:1/-1}}
@media(max-width:680px){.quality-component-area>header,.quality-component-inspection>header,.quality-component-actions{flex-direction:column;align-items:stretch}.quality-component-master,.quality-component-fields{grid-template-columns:1fr}.quality-component-field.span-3{grid-column:auto}}
