body :is(#postproduction,#pvc) .p2q-panel{margin:12px 0;padding:12px;border:1px solid #cbd9ed;border-radius:8px;background:#f6f9fe;min-width:0}
.p2q-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.p2q-panel-head>div,.p2q-phases,.p2q-phase-tabs,.p2q-save-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.p2q-panel-head strong{color:#2059ad;font-size:14px}.p2q-panel-status{margin:8px 0 0;font-size:12px;line-height:1.6;white-space:pre-wrap}
.p2q-phases{margin-top:8px}.p2q-phase{padding:4px 8px;border-radius:5px;background:#edf0f5;color:#526475;font-size:12px}.p2q-phase--passed{background:#e8f6ee;color:#166534}.p2q-phase--ng{background:#fee8e8;color:#991b1b}.p2q-phase--skipped{background:#fff3d9;color:#854d0e}
body dialog.p2q-dialog{box-sizing:border-box;width:min(1120px,96vw);max-width:96vw;max-height:94vh;padding:18px;border:1px solid #b9c9df;border-radius:10px;overflow:auto;color:#172e49;background:white}
.p2q-dialog::backdrop{background:#13263b99}.p2q-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-18px;background:white;z-index:2;padding:4px 0 12px;border-bottom:1px solid #dbe4ee}.p2q-dialog h2{margin:0;font-size:20px}.p2q-context{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.p2q-error{color:#a11919;font-size:13px;white-space:pre-wrap;line-height:1.6}.p2q-error:empty{display:none}
.p2q-rule{padding:10px 12px;background:#f3f7fc;border:1px solid #dde6f2;font-size:13px;line-height:1.7;border-radius:6px}.p2q-start-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}.p2q-confirm{display:flex;align-items:flex-start;gap:7px;margin:14px 0;font-size:13px;line-height:1.6}.p2q-confirm input{width:17px!important;min-height:0!important;flex:0 0 17px;margin-top:3px}
.p2q-time-fields{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:12px 0}.p2q-time-fields label{min-width:180px;flex:1 1 180px}.p2q-time-fields .btn{margin-bottom:5px}
.p2q-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.p2q-item{min-width:0;border:1px solid #d9e3ef;border-radius:7px;padding:12px;background:#fff}.p2q-item h3{margin:0 0 7px;font-size:15px}.p2q-spec{margin:5px 0;white-space:pre-line;line-height:1.6;font-size:13px}.p2q-method{margin:5px 0 9px;font-size:12px;color:#5a6e86;white-space:pre-line}.p2q-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.p2q-samples label{min-width:0;line-height:1.6}
body .p2q-dialog :is(input:not([type=checkbox]),select,textarea){width:100%;min-width:0;box-sizing:border-box;max-width:100%;font-size:14px}.p2q-check-history{margin:16px 0;border-top:1px solid #dce5ef;padding-top:10px}.p2q-check-history summary{cursor:pointer;font-weight:700}.p2q-check-history article{border-bottom:1px solid #e4eaf2;padding:10px 0;font-size:12px;line-height:1.6}.p2q-check-history p{margin:3px 0;overflow-wrap:anywhere}.p2q-source{font-size:11px;color:#667b93;overflow-wrap:anywhere}.p2q-busy{cursor:wait}.p2q-busy button{pointer-events:none;opacity:.65}
@media(max-width:600px){body dialog.p2q-dialog{width:96vw;max-width:96vw;max-height:96vh;padding:12px}.p2q-dialog header{top:-12px}.p2q-start-fields,.p2q-items{grid-template-columns:minmax(0,1fr)}.p2q-samples{grid-template-columns:minmax(0,1fr);gap:9px}.p2q-samples label{display:flex;align-items:center;gap:12px;margin:0}.p2q-samples :is(input,select){flex:1;min-width:0!important;min-height:44px!important}.p2q-save-actions>*{flex:1 1 100%}.p2q-time-fields label{flex-basis:100%}.p2q-panel-head>div{width:100%}.p2q-panel-head button{flex:1;white-space:normal}}
