/* Editor-only layout. These styles are never loaded by native print routes. */
body #act-attachments .attachment-add-form{display:grid;grid-template-columns:minmax(200px,2fr) minmax(155px,1.1fr) minmax(100px,.8fr) minmax(145px,.9fr) minmax(145px,.9fr);gap:10px;align-items:end;margin-bottom:16px}
body #act-attachments .attachment-add-form label{display:grid;gap:4px;font-size:12px;min-width:0;margin:0}
body #act-attachments .attachment-add-form :is(input,select){width:100%;min-width:0;box-sizing:border-box;min-height:36px;padding:7px 9px}
body #act-attachments .attachment-upload{grid-column:1/4}
body #act-attachments .attachment-add-form button{justify-self:start;width:auto;min-height:36px;padding:8px 14px}
body #act-attachments input[type=file]{padding:4px 8px}
body #act-attachments input::file-selector-button{padding:5px 8px}
body #act-attachments .act-file-list{padding-left:22px;margin:12px 0}
body #act-attachments .act-file-list>li{padding:7px 0;border-bottom:1px solid var(--gg-line);font-size:13px}
.attachment-row{display:flex;align-items:center;gap:10px;min-width:0}
.attachment-description{flex:1 1 350px;min-width:0;overflow-wrap:anywhere}
.attachment-file{flex:0 1 200px;min-width:0;overflow-wrap:anywhere}
.attachment-actions{display:flex;gap:6px;align-items:center;flex:0 0 auto}
body #act-attachments .attachment-actions form{margin:0}
body #act-attachments :is(.attachment-actions,.attachment-quality-register) :is(button,.button-link){min-height:32px;padding:6px 9px;font-size:12px;white-space:nowrap}
body #act-attachments .attachment-quality-register{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
body #act-attachments .attachment-quality-register .actions{display:inline-flex;margin:0;gap:6px}
.sp-prepare-row{display:grid;grid-template-columns:minmax(200px,2fr) minmax(145px,1fr) auto;align-items:end;gap:10px}
body #sp-selection .sp-choice{display:flex;align-items:flex-start;gap:10px;padding:10px;margin:0;border-bottom:1px solid var(--gg-line);font-size:13px;cursor:pointer}
body #sp-selection .sp-choice input{width:18px;height:18px;flex:0 0 18px;margin-top:2px}
body #sp-selection .sp-choice a{display:inline-block;margin-left:8px;font-size:12px}
body #sp-selection .sp-choice small{display:block;color:var(--gg-muted)}
.sp-catalog-choices{max-height:340px;overflow:auto;border:1px solid var(--gg-line);border-radius:10px;margin-top:10px}
body #sp-selection .sp-choice[hidden]{display:none}
.sp-full-catalog summary{cursor:pointer;margin-bottom:10px}
.next-works-picker{display:flex;align-items:end;gap:10px;margin:4px 0 16px}
.next-works-picker label{flex:1;min-width:0}.next-works-picker button{flex:0 0 auto}
body .aosr-completion-note.is-complete{background:#edf8f1;border-color:#add5b9}
body .aosr-completion-note.is-complete p{color:#216a3b}
@media(max-width:1150px){body #act-attachments .attachment-add-form{grid-template-columns:repeat(3,minmax(0,1fr))}body #act-attachments .attachment-upload{grid-column:3}.attachment-row{flex-wrap:wrap}.attachment-actions{margin-left:auto}.sp-prepare-row{grid-template-columns:minmax(180px,2fr) minmax(145px,1fr)}.sp-prepare-row button{justify-self:start}}
@media(max-width:650px){body #act-attachments .attachment-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}body #act-attachments .attachment-title,body #act-attachments .attachment-upload{grid-column:1/-1}.attachment-description{flex-basis:100%}.attachment-file{flex:1}.sp-prepare-row{grid-template-columns:1fr}.next-works-picker{align-items:stretch;flex-direction:column}}
