.op-manager{max-width:1120px}.op-manager h2{margin-top:0}.op-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.op-form label{display:flex;flex-direction:column;gap:7px}.op-form input,.op-form select,.op-form textarea{width:100%;box-sizing:border-box}.op-form textarea{resize:vertical}.op-period{padding:18px 0;border-bottom:1px solid #dce4e8;display:grid;gap:6px}.op-period small{display:block;color:#526575}.op-period .toolbar{margin:8px 0}.op-check{display:flex;align-items:center;gap:8px}.op-check input{width:auto}.op-note,.op-warning{padding:12px 16px;border-radius:8px;background:#edf5f4;line-height:1.5}.op-warning:empty{display:none}.op-warning{background:#fff5dc;color:#6b4a09}.op-error{color:#a42727;font-weight:600}.op-manager .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.op-manager [data-op-history]{overflow-wrap:anywhere}.op-manager button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:700px){.op-grid{grid-template-columns:1fr}.op-manager .panel{padding:16px}.op-manager .toolbar button{min-height:44px}}

.ics202-form>section{padding:20px 0;border-top:1px solid #dce4e8}.ics202-form h3{margin:0 0 16px}.ics202-form label{margin:12px 0}.ics202-status{display:inline-block;background:#fff5dc;color:#6b4a09;padding:7px 12px;border-radius:6px;font-weight:600}.ics202-objective{padding:16px;margin:12px 0;background:#f6f9f9;border:1px solid #dce4e8;border-radius:8px}.ics202-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}.ics202-form .op-check{flex-direction:row;align-items:center;gap:8px}.ics202-form .op-check input{width:auto}.ics202-form [data-ics-checks]{padding:16px;background:#edf5f4;border-radius:8px;margin-top:16px}@media(max-width:700px){.ics202-attachments{grid-template-columns:1fr}}

.ics203-form>section,.ics203-section{padding:20px 0;border-top:1px solid #dce4e8}.ics203-form label{margin:10px 0}.ics203-position{padding:18px;margin:16px 0;background:#f5f9f8;border:1px solid #dce4e8;border-radius:8px}.ics203-person{padding:14px;margin:12px 0;background:white;border:1px solid #e5ebea;border-radius:7px}.ics203-form .op-check{flex-direction:row;align-items:center;gap:8px}.ics203-form .op-check input{width:auto}.ics203-form [data-203-checks]{padding:16px;background:#edf5f4;border-radius:8px;margin-top:16px}

/* ICS 204 full-page draft sheets */
.ics204-sheet{border:1px solid #c9dadd;border-radius:10px;padding:18px;margin:22px 0}.ics204-sheet h3{margin-top:22px}.ics204-row{border-left:3px solid #c9dadd;padding:12px;margin:12px 0;background:#f8fbfa}.ics204-editor select{max-width:100%}.ics204-editor .toolbar{flex-wrap:wrap}

.ics205-form>section{padding:20px 0;border-top:1px solid #dce4e8}.ics205-channel{border:1px solid #dce4e8;border-radius:8px;background:#f5f9f8;padding:18px;margin:16px 0}.ics205-form label{margin:10px 0}.ics205-form [data-205-checks]{padding:16px;background:#edf5f4;border-radius:8px}

/* ICS 206 and 208 full-page draft editors */
.medical-safety-editor .op-form>section,.medical-safety-editor [data-content]>section{padding:20px 0;border-top:1px solid #dce4e8}.medical-safety-editor label{margin:10px 0}.medical-safety-editor .toolbar{flex-wrap:wrap}.medical-safety-editor [data-ms-checks]{padding:16px;background:#edf5f4;border-radius:8px;margin-top:16px}.medical-safety-editor select{max-width:100%}

.ics205a-editor .op-form>section{padding:20px 0;border-top:1px solid #dce4e8}.ics205a-editor label{margin:10px 0}.ics205a-editor .toolbar{flex-wrap:wrap}.ics205a-editor [data-205a-checks]{padding:16px;background:#edf5f4;border-radius:8px;margin-top:16px}.ics205a-editor select{max-width:100%}

.extended-editor [data-sheet-fields],.extended-editor [data-group]{padding:20px 0;border-top:1px solid #dce4e8}.extended-editor label{margin:10px 0}.extended-editor .toolbar{flex-wrap:wrap}.extended-editor [data-ex-checks]{padding:16px;background:#edf5f4;border-radius:8px;margin-top:16px}.extended-editor [data-totals]{overflow-x:auto}.extended-editor [data-totals] th,.extended-editor [data-totals] td{padding:8px;text-align:left}.extended-editor [data-sheet-select]{max-width:100%}

/* Round 81: ICS editor surfaces only; never alter print/PDF or light mode. */
@media screen {
  html[data-command-theme="dark"] main :is(.ics203-position,.ics205-channel,.ics202-objective,.ics204-sheet,.ics204-row) {
    background:#19262e!important;
    color:#e3edf1!important;
    border-color:#465b66!important;
  }
  html[data-command-theme="dark"] main :is(.ics203-person,.ics202-form [data-ics-checks],.ics203-form [data-203-checks],.ics205-form [data-205-checks],.ics205a-editor [data-205a-checks],.medical-safety-editor [data-ms-checks],.extended-editor [data-ex-checks]) {
    background:#263c47!important;
    color:#e3edf1!important;
    border-color:#465b66!important;
  }
}
