
/* v121: shared layout, with actions and saves visually distinct. */
#portalWorkspace .p-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
#portalWorkspace .p-top-right{display:flex;align-items:center;justify-content:flex-end;gap:11px;flex-wrap:wrap}
#portalWorkspace .v121-header-action{background:#1765aa!important;color:#fff!important;font-weight:850!important;border:1px solid #247cbe!important;border-radius:10px!important;min-height:45px!important;padding:11px 20px!important;font-size:14px!important;white-space:nowrap;box-shadow:0 4px 12px #032c521f}
#portalWorkspace .v121-header-action:hover{background:#0b528e!important}
#portalWorkspace .v121-nav-customer{display:flex!important;align-items:center;justify-content:space-between;min-height:45px}
#portalWorkspace .v121-queue{max-width:1250px;margin:0 auto}.v121-queue h1{color:#123b5e;font-size:27px;margin:8px 0 5px}
.v121-queue-summary{color:#60788c;font-size:13px;margin-bottom:24px}
.v121-queue-item{padding:15px 17px;border:1px solid #d7e4ef;border-radius:11px;background:#fff;display:grid;grid-template-columns:125px minmax(230px,1fr) 156px;align-items:center;gap:18px;margin:9px 0;box-shadow:0 2px 7px #1038540a}
.v121-queue-item small{display:block;margin-top:5px;color:#607f94}.v121-queue-item strong{color:#163e5d}
.v121-queue-date{font-variant-numeric:tabular-nums;color:#194c71;font-weight:800;font-size:12px}
.v121-queue-item button{min-width:140px}.v121-queue-empty{padding:23px;border:1px dashed #bfcedb;border-radius:9px;color:#54718a;background:#f5f9fc}
.v121-help{background:#e9f5ec!important;color:#1e704c!important;border:1px solid #b8dec7!important;font-weight:800!important}
#modalbg.v121-order .modal{width:min(1110px,calc(100vw - 70px))!important;max-width:none!important}
#modalbg.v121-order .modal-h{background:linear-gradient(110deg,#103a5e,#1b5986)!important;color:#fff!important;border-bottom:3px solid #d83a4b}
#modalbg.v121-order .modal-h h3,#modalbg.v121-order .modal-h button{color:#fff!important}
#modalbg.v121-order .modal-b{padding:23px 29px}
#modalBody.v121-order-body .v53-hdr small,#modalBody.v121-order-body .v53-hint,#modalBody.v121-order-body .v64-order-allocation-note,#modalBody.v121-order-body .v65-librarylaunch small{display:none!important}
#modalBody.v121-order-body .v53-body{padding:17px 21px}
#modalBody.v121-order-body .v53-hdr{background:linear-gradient(105deg,#103a5e,#1a6694)!important}
#modalBody.v121-order-body .v64-order-allocation{margin-bottom:13px;padding-bottom:12px}
#modalBody.v121-order-body .v64-order-allocation-item{display:flex;gap:12px;align-items:center}
#modalBody.v121-order-body .v64-alloc-controls{margin-left:auto;justify-content:flex-end}
#modalBody.v121-order-body .v65-librarylaunch{padding:11px 13px;gap:15px}
#modalBody.v121-order-body .v53-statusrow{display:flex;align-items:center;gap:12px}
#modalBody.v121-order-body .v53-statusrow select{flex:1;min-width:150px;max-width:340px}
#modalBody.v121-order-body .v53-statusrow button{margin-left:auto}
#modalBody.v121-order-body button.p-button:not(.close){min-width:225px!important;width:225px!important;min-height:39px;white-space:normal;text-align:center;justify-content:center}
#modalBody.v121-order-body button.v121-save{background:#e9edf2!important;color:#344d64!important;border:1px solid #bdccd7!important}
#modalBody.v121-order-body button.v121-done{background:#e3f4ed!important;color:#165d46!important;border:1px solid #b7dfcb!important}
#modalBody.v121-order-body .v121-append{font-size:11px;font-weight:700;color:#346b56;margin-top:5px}
#modalBody.v121-order-body .v121-paper-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center}
#modalBody.v121-order-body .v121-paper-actions #v53PaperSelect{margin-right:auto}
#modalBody.v121-order-body .v121-invoice-row{display:flex;gap:11px;align-items:end;flex-wrap:wrap}
#modalBody.v121-order-body .v121-invoice-row .v53-grid{display:flex;align-items:end;gap:12px;flex:1 1 360px}
#modalBody.v121-order-body .v121-invoice-row .v53-grid label{width:190px;max-width:45%;flex:none}
#modalBody.v121-order-body .v121-invoice-row .v53-actions{margin-left:auto;margin-top:0}
#modalBody.v121-order-body .v121-results-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin:12px 0}
#modalBody.v121-order-body .v121-results-actions button{margin:0!important}
#modalBody.v121-order-body .v121-order-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-top:17px;padding:12px 0 0;border-top:1px solid #dbe6ef}
#modalBody.v121-order-body .v121-order-bottom details{flex:1;min-width:240px}
#modalBody.v121-order-body .v121-order-bottom button{margin-left:auto}
#modalBody.v121-order-body .v53-result small{font-size:11px}
.v121-work-extra[hidden]{display:none!important}.v121-instructor-queues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0 20px}.v121-mini-queue{background:white;border:1px solid #d6e5ef;border-radius:12px;overflow:hidden}.v121-mini-queue header{padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eff6fc}.v121-mini-queue h3{font-size:17px;margin:0;color:#163e60}.v121-mini-queue header button{border:1px solid #c7d9e7;border-radius:9px;padding:7px 10px;background:white;font-weight:800;color:#215982;cursor:pointer}.v121-mini-queue .v121-mini-row{padding:12px 17px;border-top:1px solid #e2eaf1;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:14px}.v121-mini-queue .v121-mini-row strong{display:block;color:#184160}.v121-mini-queue .v121-mini-row small{display:block;color:#59758b;margin-top:4px}.v121-mini-queue .v121-mini-row button{border:1px solid #c5d9eb;background:#e7f2fc;border-radius:7px;font-weight:800;padding:7px 11px;color:#174e77;cursor:pointer}.v121-mini-queue .v121-empty{padding:15px;color:#6a8092;font-size:12px}@media(max-width:780px){.v121-instructor-queues{grid-template-columns:1fr}}
#portalWorkspace .v121-quick-work,.v121-quick-work{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
@media(max-width:760px){#modalbg.v121-order .modal{width:calc(100vw - 16px)!important}#modalbg.v121-order .modal-b{padding:14px!important}#modalBody.v121-order-body button.p-button:not(.close){min-width:150px!important}#modalBody.v121-order-body .v121-invoice-row .v53-grid{flex-wrap:wrap}#modalBody.v121-order-body .v121-invoice-row .v53-grid label{width:100%;max-width:none}.v121-queue-item{grid-template-columns:1fr;gap:10px}#portalWorkspace .p-top-right{max-width:62%}}
