/* Staff workspace: graphite navigation, quiet neutral surfaces, orange attention. */
body.work-page{--ink:#252d3a;--muted:#606b7c;--line:#dce1e8;--brand:#334155;--green:#334155;background:#f3f5f8;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
.work-page .work-sidebar{background:#202936;color:#e8edf4;padding:20px 14px}
.work-page .work-sidebar #work-nav a{color:#dce3ec;font-size:13px;line-height:1.45;padding:8px 11px;min-height:36px;border:1px solid transparent;border-left:3px solid transparent}
.work-page .work-sidebar #work-nav a:hover{background:#303d4e;color:#fff}
.work-page .work-sidebar #work-nav a.active,.work-page .work-sidebar #work-nav a.active:hover{background:#354255!important;color:#fff!important;border-left:3px solid #f2a34d!important;font-weight:600}
.work-page .work-nav-group,.work-page .work-sidebar nav .work-nav-primary{border-color:#3a4554;background:transparent;padding:10px 0 5px;margin-bottom:0}
.work-page .work-nav-group h2,.work-page .work-nav-primary h2{color:#aab7c8;font-size:10px;letter-spacing:.07em;margin-bottom:5px}
.work-page .work-sidebar>p,.work-page .work-site-link{color:#c2ccda}.work-page .work-brand{background:#fff;border:1px solid #dce1e8}
.work-page h1,.work-page h2,.work-page h3,.work-page h4{color:#252d3a;letter-spacing:-.015em}.work-page .work-muted,.work-page .work-table small{color:#606b7c}
.work-page .account-panel,.work-page .work-table-wrap,.work-page .work-top,.work-page .work-summary>div{border-color:#dce1e8}.work-page .work-table th{background:#f6f7f9;color:#535f70}.work-page .work-table td{border-color:#e5e8ee}
.work-page .btn:not(.danger){background:#334155;border-color:#334155;color:#fff}.work-page .btn.outline:not(.danger){background:#fff;color:#334155;border-color:#adb7c5}.work-page .btn:hover:not(:disabled){filter:brightness(.94)}
.work-page a:not(.btn):not(.work-brand):not(.work-sidebar a){color:#344f78}.work-page input,.work-page select,.work-page textarea{border-color:#b9c3d0;color:#252d3a}.work-page :is(input,select,textarea,button,a,summary):focus-visible{outline:3px solid #b96416;outline-offset:3px}
.work-page .work-flow .active{background:#334155;color:#fff;border-color:#334155}.work-page .work-flow span{border-color:#d3dae4}.work-page .work-stage{background:#e8edf3;color:#334155}.work-page .work-summary b{color:#334155}
.work-page form [role=status]:not(:empty){background:#eef2f7;color:#334155;border-color:#77869c}.work-page .release-full summary{color:#344f78}
.work-page .request-toolbar{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:14px;position:relative;z-index:12}.request-toolbar [role=alert]{flex-basis:100%;color:#9c2f19;background:#fff0eb;padding:12px;border-left:3px solid #c24b2c}
.request-actions{position:relative}.request-actions>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:24px;align-items:center;min-height:44px;padding:11px 16px;border:1px solid #334155;border-radius:8px;background:#334155;color:#fff;font-size:14px;font-weight:600}.request-actions>summary::-webkit-details-marker{display:none}
.request-action-list{position:absolute;right:0;top:calc(100% + 6px);width:300px;max-width:calc(100vw - 32px);padding:6px;background:white;border:1px solid #d5dce5;border-radius:10px;box-shadow:0 12px 32px #19233224;display:grid;gap:3px}
.request-action-list>button{font:500 14px/1.45 Inter,"Segoe UI",Arial,sans-serif;text-align:left;cursor:pointer;background:transparent;color:#29374a;border:0;border-radius:5px;min-height:44px;padding:11px 12px;width:100%}.request-action-list>button:hover{background:#edf1f6}.request-action-list>button.request-action-primary{border-left:3px solid #de8733;background:#fff6eb;color:#673b13}.request-action-list>button.request-action-danger{border-top:1px solid #e5e8ee;border-radius:0;color:#a12e26;margin-top:4px}
.request-next-step{background:#fff;border:1px solid #dde2e9;border-left:3px solid #dc8839;border-radius:6px;padding:13px 16px;font-size:14px;line-height:1.6;color:#404e61}.invoice-upload{margin:18px 0;padding:16px;background:#f6f8fb;border:1px dashed #bcc6d4;border-radius:8px}.invoice-upload input[type=file]{max-width:100%;width:100%;font-size:13px}.invoice-upload p{font-size:13px;overflow-wrap:anywhere}.request-price-check{display:flex;align-items:flex-start;gap:10px;margin:20px 0;font-weight:600}.request-price-check input{margin-top:4px}
@media(max-width:850px){.work-page .work-sidebar{padding:14px 16px}.work-page .work-sidebar #work-nav a{min-height:44px}.request-toolbar{justify-content:stretch}.request-actions{width:100%}.request-actions>summary{width:100%}.request-action-list{width:100%}.request-next-step{font-size:13px}}
@media(prefers-reduced-motion:reduce){.work-page *{scroll-behavior:auto!important}}

.work-page .work-sidebar #work-nav-toggle{background:#edf1f6;color:#334155;border-color:#c5cfda}.work-page .order-sku{color:#29374a}.request-action-list>button:disabled{color:#8992a0;background:transparent;cursor:not-allowed}

.request-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 16px}.request-heading>div:first-child{min-width:0}.request-heading h1{overflow-wrap:anywhere}.request-heading .request-toolbar{flex-shrink:0;margin:0}.request-heading .work-muted{margin-bottom:0}@media(max-width:700px){.request-heading{display:block}.request-heading .request-toolbar{margin-top:16px}}

/* Inverse brand treatment: preserve original alpha/letterforms, 70% of prior size. */
.work-page .work-sidebar .work-brand{background:transparent!important;border:0!important;border-radius:0;padding:0!important;width:calc(70% - 12.6px);max-width:100%;min-height:44px;display:flex;align-items:center}
.work-page .work-sidebar .work-brand img{filter:brightness(0) invert(1);width:100%;height:auto;max-height:50.4px;object-fit:contain}
@media(max-width:760px){
 body.work-page:has(#work-view.orders-list-page) .work-sidebar .work-brand,body.work-page:has(#work-view.order-detail-page) .work-sidebar .work-brand{width:115.5px;max-width:55%;min-height:44px}
 body.work-page:has(#work-view.orders-list-page) .work-sidebar .work-brand img,body.work-page:has(#work-view.order-detail-page) .work-sidebar .work-brand img{height:21px;max-height:21px}
}

/* Marking preparation and statistics totals */
.work-page tfoot {font-weight:700;background:#e8edf3;border-top:2px solid #8795a8}
.marking-list {display:grid;gap:16px;margin:20px 0}
.marking-batch {display:grid;gap:6px;color:inherit;text-decoration:none}
.marking-batch:hover {outline:2px solid #c66b16}
.marking-code {display:grid;gap:8px;padding:12px 0;border-bottom:1px solid #d8dee7}
.marking-code code {overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px}
.marking-code button {justify-self:start}
.marking-list textarea {width:100%;font-family:monospace}
.marking-list [role=alert] {color:#9c2f15;font-weight:600}
