/* B6 page templates: dashboard latest PO card and shipment-number presentation. */
/* B6 RC2: original user-supplied port photograph, real optical detail (2048×1350 source).
   Desktop/mobile WebP crops are NEVER digitally upscaled. Scoped specifically to dashboard hero. */
body.ms-luxury .page-dashboard .operation-hero {
 /* The original port photograph covers the complete hero; overlay remains readable in RTL. */
 background-image:linear-gradient(270deg,rgba(27,18,12,.91) 0%,rgba(27,18,12,.78) 33%,rgba(27,18,12,.26) 69%,rgba(27,18,12,.07) 100%),url('ms-port-photo-b6-desktop.webp')!important;
 background-repeat:no-repeat!important;
 background-size:cover!important;
 background-position:center 51%!important;
 image-rendering:auto!important;
}
@media(max-width:740px){
 body.ms-luxury .page-dashboard .operation-hero {
  background-image:linear-gradient(270deg,rgba(27,18,12,.87),rgba(27,18,12,.62) 55%,rgba(27,18,12,.40)),url('ms-port-photo-b6-mobile.webp')!important;
  background-position:center 53%!important;
 }
}
body.ms-luxury .page-dashboard .b6-po-panel {
 min-width:0;padding:16px!important;display:flex;flex-direction:column;gap:10px;
 overflow:hidden;background:#fffdfa;
}
body.ms-luxury .page-dashboard .b6-po-heading {margin:0;align-items:flex-start;}
body.ms-luxury .page-dashboard .b6-po-heading h3 {font-size:18px;}
body.ms-luxury .page-dashboard .b6-po-heading-actions {display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
body.ms-luxury .page-dashboard .b6-po-heading-actions a {white-space:nowrap;font-size:13px;}
body.ms-luxury .page-dashboard .b6-po-feed {
 display:grid;gap:7px;max-height:370px;overflow-y:auto;overflow-x:hidden;
 padding:2px 4px 3px;scrollbar-width:thin;scrollbar-color:#b88743 #f5eada;
 overscroll-behavior:contain;
}
body.ms-luxury .page-dashboard .b6-po-item {
 position:relative;display:grid;grid-template-columns:7px minmax(0,1fr) 14px;
 column-gap:10px;align-items:center;min-height:60px;
 padding:10px 11px;border:1px solid #ddc7a5;border-radius:10px;
 background:linear-gradient(105deg,#fffefa,#fcf5ea);
 color:#3f2a19!important;text-decoration:none!important;box-shadow:none;
 transition:background .12s,border-color .12s;
}
body.ms-luxury .page-dashboard .b6-po-item:hover,
body.ms-luxury .page-dashboard .b6-po-item:focus-visible {
 background:#f5e6cb!important;border-color:#b78542!important;
}
body.ms-luxury .page-dashboard .b6-po-indicator {
 width:7px;height:7px;display:block;align-self:start;margin-top:9px;border-radius:50%;
 background:#b5823a;box-shadow:0 0 0 3px #f1dfbf;
}
body.ms-luxury .page-dashboard .b6-po-info {display:grid;gap:7px;min-width:0;}
body.ms-luxury .page-dashboard .b6-po-title {display:flex;gap:8px;justify-content:space-between;align-items:baseline;min-width:0;}
body.ms-luxury .page-dashboard .b6-po-title strong {font-size:15px;line-height:1.4;color:#392519;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
body.ms-luxury .page-dashboard .b6-po-status {
 flex:0 0 auto;font-size:12px;font-weight:800;color:#805017;
 padding:3px 9px;border:1px solid #e7c895;border-radius:999px;background:#f8edd8;
}
body.ms-luxury .page-dashboard .b6-po-status[data-state="sent"] {color:#235879;border-color:#bbd6e5;background:#ebf5fa;}
body.ms-luxury .page-dashboard .b6-po-status[data-state="completed"] {color:#236447;border-color:#b7d9c2;background:#eaf6ed;}
body.ms-luxury .page-dashboard .b6-po-status[data-state="cancelled"] {color:#864646;border-color:#e6c1c1;background:#fbeeee;}
body.ms-luxury .page-dashboard .b6-po-bottom {display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:0;}
body.ms-luxury .page-dashboard .b6-po-supplier{max-width:70%;min-width:0;display:inline-flex;align-items:center;overflow:hidden;}
body.ms-luxury .page-dashboard .b6-po-supplier .supplier-badge {
 display:inline-flex!important;min-height:25px!important;max-width:100%!important;
 padding:2px 6px!important;font-size:11px!important;gap:5px;border-radius:7px!important;
}
body.ms-luxury .page-dashboard .b6-po-supplier .supplier-logo-frame{width:23px;height:20px;border-radius:4px;flex:0 0 auto;}
body.ms-luxury .page-dashboard .b6-po-supplier .supplier-logo-b4{width:21px;height:17px;object-fit:contain;}
body.ms-luxury .page-dashboard .b6-po-supplier .supplier-badge-text{font-size:12px!important;overflow:hidden;text-overflow:ellipsis;max-width:105px;white-space:nowrap;}
body.ms-luxury .page-dashboard .b6-po-date {direction:ltr;unicode-bidi:isolate;font-size:12px;color:#78654f;white-space:nowrap;font-variant-numeric:tabular-nums;}
body.ms-luxury .page-dashboard .b6-po-arrow{color:#9a743e;font-weight:800;}
/* Semantic special cell. The numeric identifier remains part of the same sortable/sticky column. */
body.ms-luxury .page-list .shipments-list-table td.b6-shipment-id-cell {min-width:112px;text-align:center;}
body.ms-luxury .page-list .shipments-list-table .b6-shipment-id {
 display:inline-flex;direction:ltr;align-items:baseline;justify-content:center;gap:2px;
 max-width:100%;white-space:nowrap;text-decoration:none!important;
 padding:2px 6px;border-radius:7px;
 color:#653e14!important;
}
body.ms-luxury .page-list .shipments-list-table .b6-shipment-digits {
 font-size:clamp(20px,1.5vw,23px)!important;line-height:1.4;font-weight:900!important;
 letter-spacing:.25px;font-variant-numeric:tabular-nums;color:#664016;
}
body.ms-luxury .page-list .shipments-list-table .b6-shipment-variant {font-size:14px;font-weight:700;}
body.ms-luxury .page-list .shipments-list-table .b6-shipment-id:hover {background:#f1d9ae;color:#432713!important;}
body.ms-luxury .page-list .shipments-list-table .b6-shipment-id:focus-visible {background:#f0d8aa!important;}
body.ms-luxury .page-list .shipments-list-table tbody tr:has(.bulk-list-checkbox:checked) .b6-shipment-digits {color:#3e2a19;}
@media(max-width:800px){
 body.ms-luxury .page-dashboard .b6-po-item{grid-template-columns:7px minmax(0,1fr) 12px;min-height:62px;padding:8px;}
 body.ms-luxury .page-dashboard .b6-po-title{flex-wrap:wrap;gap:3px 8px;}
 body.ms-luxury .page-dashboard .b6-po-bottom{flex-wrap:wrap;}
 body.ms-luxury .page-dashboard .b6-po-feed{max-height:400px;}
 body.ms-luxury .page-list .shipments-list-table .b6-shipment-digits{font-size:20px!important;}
}
@media print{body.ms-luxury .page-dashboard .b6-po-feed{overflow:visible;max-height:none;}body.ms-luxury .page-dashboard .b6-po-item{break-inside:avoid;}}



/* Shipment header information chips v1.0 — replaces full-width mode panels.
   Same data and role gates; hover for precise pointers, native disclosure on touch. */
body.ms-luxury .page-view .shipment-heading-row {
  --shipment-chip-height:36px;
  --shipment-chip-padding:13px;
  --shipment-chip-font-size:14px;
  --shipment-chip-radius:999px;
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 13px;min-width:0;
}
body.ms-luxury .page-view .shipment-heading-row .b5-shipment-title {
  flex:0 1 auto;min-width:0;margin:0 0 2px;
}
body.ms-luxury .page-view .ms-shipment-info-chips {
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;
}
body.ms-luxury .page-view .ms-shipment-info-chip {position:relative;min-width:0;color:#69471f;}
body.ms-luxury .page-view .ms-shipment-info-chip>summary {
  display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;
  gap:6px;max-width:100%;height:var(--shipment-chip-height,36px);
  min-height:var(--shipment-chip-height,36px);
  padding-block:0;padding-inline:var(--shipment-chip-padding,13px);
  border-radius:var(--shipment-chip-radius,999px);border:1px solid #d8bc8c;
  background:#f7e9d0;color:#60401f;
  font-size:var(--shipment-chip-font-size,14px);font-weight:750;line-height:1.2;
  cursor:pointer;white-space:nowrap;list-style:none;user-select:none;
  transition:background .12s ease,border-color .12s ease;
}
body.ms-luxury .page-view .ms-shipment-info-chip>summary::-webkit-details-marker{display:none;}
body.ms-luxury .page-view .ms-shipment-info-chip.automatic>summary {
  background:#e8f0e7;border-color:#b9cfb9;color:#33563a;
}
body.ms-luxury .page-view .ms-shipment-info-chip>summary:hover,
body.ms-luxury .page-view .ms-shipment-info-chip[open]>summary {border-color:#ba873b;background:#f0ddb9;}
body.ms-luxury .page-view .ms-shipment-info-chip.automatic>summary:hover,
body.ms-luxury .page-view .ms-shipment-info-chip.automatic[open]>summary {
  background:#dcead9;border-color:#8fb599;
}
body.ms-luxury .page-view .ms-shipment-info-chip>summary:focus-visible {
  outline:2px solid #a77528;outline-offset:2px;
}
body.ms-luxury .page-view .ms-shipment-chip-dot {
  width:6px;height:6px;flex:none;border-radius:50%;background:#a97c36;
}
body.ms-luxury .page-view .ms-shipment-info-chip.automatic .ms-shipment-chip-dot {background:#5c9469;}
body.ms-luxury .page-view .ms-shipment-chip-arrow {display:inline-flex;align-items:center;justify-content:center;width:12px;flex:none;font-size:13px;line-height:1;opacity:.75;margin-inline-start:2px;}
body.ms-luxury .page-view .ms-shipment-chip-detail {
  position:absolute;z-index:45;inset-inline-start:0;top:calc(100% + 7px);
  width:max-content;max-width:min(330px,calc(100vw - 40px));min-width:220px;
  padding:13px 15px;border:1px solid #d9bc8c;border-radius:12px;
  background:#fffaf1;color:#443019;box-shadow:0 12px 29px rgba(60,36,11,.17);
  white-space:normal;text-align:start;
}
body.ms-luxury .page-view .ms-shipment-chip-detail strong {display:block;font-size:14px;line-height:1.5;color:#493017;}
body.ms-luxury .page-view .ms-shipment-chip-detail p {margin:6px 0;font-size:13px;line-height:1.7;color:#685239;}
body.ms-luxury .page-view .ms-shipment-chip-detail .ms-shipment-chip-extra {color:#78572b;}
body.ms-luxury .page-view .ms-shipment-chip-version {
  display:inline-block;margin-top:5px;border:1px solid #dec89e;border-radius:99px;
  padding:2px 8px;font-size:11px;font-weight:700;color:#68461e;
}
body.ms-luxury .page-view .ms-shipment-chip-link {display:inline-block;margin-inline-start:9px;font-size:12px;color:#82511b;text-decoration:underline;}
@media (hover:none), (pointer:coarse) {
  body.ms-luxury .page-view .ms-shipment-info-chip[open] {flex-basis:100%;}
  body.ms-luxury .page-view .ms-shipment-chip-detail {
    position:static;inset:auto;max-width:100%;min-width:0;width:100%;
    margin-top:6px;box-shadow:none;
  }
}
@media (max-width:620px) {
  body.ms-luxury .page-view .shipment-heading-row {align-items:flex-start;gap:9px;}
  body.ms-luxury .page-view .ms-shipment-info-chips {width:100%;gap:7px;}
}
@media print {
  body.ms-luxury .page-view .ms-shipment-chip-detail {position:static;box-shadow:none;}
}

/* Shipment header: identity always occupies its own row above the action toolbar.
   Action groups never migrate next to the shipment number on wide displays. */
body.ms-luxury .page-view .shipment-pagehead {
  display:flex;flex-direction:column;align-items:stretch;justify-content:initial;
  gap:11px;margin-bottom:14px;min-width:0;
}
body.ms-luxury .page-view .shipment-header-identity{min-width:0;width:100%;}
body.ms-luxury .page-view .shipment-header-identity .b5-shipment-title{margin:0 0 5px;}
body.ms-luxury .page-view .shipment-action-bar{
  display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;
  width:100%;min-width:0;position:relative;
  border:1px solid #e2cfaf;border-radius:12px;padding:9px 11px;
  background:linear-gradient(130deg,#fffdf9,#fbf3e7);
}
body.ms-luxury .page-view .shipment-actions-primary{
  display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0;
}
body.ms-luxury .page-view .shipment-action-bar .btn {white-space:nowrap;}
body.ms-luxury .page-view .shipment-actions-more{position:relative;margin-inline-start:auto;flex:0 0 auto;}
body.ms-luxury .page-view .shipment-actions-more>summary{
  display:inline-flex;gap:7px;align-items:center;justify-content:center;
  cursor:pointer;list-style:none;user-select:none;margin:0;
  background:#f1dfbc;color:#604019;border-color:#caa064;
}
body.ms-luxury .page-view .shipment-actions-more>summary::-webkit-details-marker{display:none;}
body.ms-luxury .page-view .shipment-actions-more[open]>summary{background:#e8ca95;}
body.ms-luxury .page-view .shipment-actions-more-menu{
  position:absolute;z-index:30;inset-inline-end:0;top:calc(100% + 7px);
  display:flex;flex-direction:column;gap:7px;min-width:235px;
  padding:11px;border:1px solid #d1b486;border-radius:12px;
  background:#fffaf1;box-shadow:0 14px 30px rgba(50,29,8,.16);
}
body.ms-luxury .page-view .shipment-actions-more-menu>.btn,
body.ms-luxury .page-view .shipment-actions-more-menu form,
body.ms-luxury .page-view .shipment-actions-more-menu form .btn{
  width:100%;text-align:center;justify-content:center;margin:0;
}
@media(max-width:900px){
  body.ms-luxury .page-view .shipment-action-bar{gap:8px;padding:9px;}
  body.ms-luxury .page-view .shipment-actions-primary{width:100%;}
  body.ms-luxury .page-view .shipment-actions-more{margin-inline-start:0;}
}
@media(max-width:460px){
  body.ms-luxury .page-view .shipment-action-bar .btn{white-space:normal;}
  body.ms-luxury .page-view .shipment-actions-more-menu{min-width:min(250px,calc(100vw - 60px));}
}
@media print{body.ms-luxury .page-view .shipment-action-bar,body.ms-luxury .page-view .ms-workspace-tabs{display:none!important;}}

/* Shipment Workspace Tabs v1.0 — Excel-like open shipment navigation.
   Maintained in the canonical page stylesheet, separate from section tabs. */
body.ms-luxury .page-view .ms-workspace-tabs {
  position:relative;min-width:0;margin:0 0 16px;
  border:1px solid #ddc6a2;border-radius:13px 13px 9px 9px;
  background:linear-gradient(135deg,#fffdf9 0%,#f6ecdb 100%);
  color:#49311c;box-shadow:0 4px 17px rgba(70,43,16,.045);
}
body.ms-luxury .page-view .ms-workspace-tabs-bar{
  display:flex;align-items:stretch;gap:7px;min-height:48px;padding:6px 8px 0;min-width:0;
}
body.ms-luxury .page-view .ms-workspace-tabs-label{
  display:inline-flex;align-items:center;white-space:nowrap;padding:0 7px 6px;
  font-size:12px;font-weight:700;color:#856641;
}
body.ms-luxury .page-view .ms-workspace-open-list{
  display:flex;align-items:stretch;gap:5px;flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;
  scrollbar-width:thin;scrollbar-color:#d5b787 transparent;direction:rtl;
}
body.ms-luxury .page-view .ms-workspace-tab-item{
  display:inline-flex;align-items:center;flex:0 0 auto;min-width:0;max-width:195px;
  border:1px solid #decaab;border-bottom-color:#cca66f;border-radius:10px 10px 0 0;
  background:#f1e5d3;color:#64482b;transition:background .12s ease;
}
body.ms-luxury .page-view .ms-workspace-tab-item:hover{background:#eaddc7;}
body.ms-luxury .page-view .ms-workspace-tab-item.is-current{
  background:#fffdf8;border-color:#c99c53;border-bottom:3px solid #b9832e;
  color:#3b2515;font-weight:800;
}
body.ms-luxury .page-view .ms-workspace-tab-item>a{
  display:inline-flex;align-items:center;min-width:0;padding:9px 9px 8px;
  color:inherit;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:inherit;
}
body.ms-luxury .page-view .ms-workspace-tab-close{
  border:0;background:transparent;color:#8d7050;min-width:28px;min-height:34px;
  padding:0 4px;cursor:pointer;font-size:18px;border-radius:8px;
}
body.ms-luxury .page-view .ms-workspace-tab-close:hover,
body.ms-luxury .page-view .ms-workspace-tab-close:focus-visible{background:#ead1aa;color:#422b16;}
body.ms-luxury .page-view .ms-workspace-single{padding:8px 13px;color:#5e411e;white-space:nowrap;}
body.ms-luxury .page-view .ms-workspace-add,
body.ms-luxury .page-view .ms-workspace-list-link{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  margin-bottom:6px;min-height:36px;padding:0 11px;border:1px solid #cda66c;
  border-radius:9px;background:#f7e4c0;color:#56371a;
  text-decoration:none;font-size:13px;font-weight:800;cursor:pointer;
}
body.ms-luxury .page-view .ms-workspace-add{font-size:22px;width:37px;padding:0;}
body.ms-luxury .page-view .ms-workspace-add[aria-expanded="true"]{background:#deb46c;}
body.ms-luxury .page-view .ms-workspace-picker{
  padding:12px;border-top:1px solid #e2cbac;background:#fffaf2;border-radius:0 0 10px 10px;
}
body.ms-luxury .page-view .ms-workspace-picker[hidden],
body.ms-luxury .page-view .ms-workspace-unsaved[hidden]{display:none!important;}
body.ms-luxury .page-view .ms-workspace-picker label{display:block;font-weight:700;margin-bottom:7px;color:#634225;}
body.ms-luxury .page-view .ms-workspace-search-row{display:flex;gap:7px;}
body.ms-luxury .page-view .ms-workspace-picker input{
  flex:1;min-width:0;width:100%;padding:10px 12px;background:#fff;color:#3c2719;
  border:1px solid #d8bc91;border-radius:9px;font-size:15px;
}
body.ms-luxury .page-view .ms-workspace-picker button,
body.ms-luxury .page-view .ms-workspace-unsaved button{
  border:1px solid #d4b17a;border-radius:8px;padding:9px 13px;
  background:#f3e1c4;color:#5a3b19;cursor:pointer;font-weight:700;
}
body.ms-luxury .page-view .ms-workspace-picker input:focus-visible,
body.ms-luxury .page-view .ms-workspace-tabs button:focus-visible,
body.ms-luxury .page-view .ms-workspace-tabs a:focus-visible{
  outline:2px solid #b67c26;outline-offset:2px;
}
body.ms-luxury .page-view .ms-workspace-results{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:7px;margin-top:10px;
}
body.ms-luxury .page-view .ms-workspace-result{
  display:flex;flex-direction:column;align-items:flex-start;min-width:0;
  border:1px solid #e2caaa;border-radius:9px;padding:10px 12px;
  background:#fffdf8;color:#48301b;text-align:start;cursor:pointer;
}
body.ms-luxury .page-view .ms-workspace-result:hover{background:#f0e0c9;}
body.ms-luxury .page-view .ms-workspace-result small{color:#846948;font-size:12px;margin-top:3px;}
body.ms-luxury .page-view .ms-workspace-empty{margin:8px 0;color:#735637;}
body.ms-luxury .page-view .ms-workspace-unsaved{
  display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:10px 12px;
  border-top:1px solid #d3ad6c;background:#fff2da;color:#543719;
}
@media(max-width:720px){
  body.ms-luxury .page-view .ms-workspace-tabs-label{display:none;}
  body.ms-luxury .page-view .ms-workspace-tabs-bar{gap:5px;padding-inline:5px;}
  body.ms-luxury .page-view .ms-workspace-list-link{font-size:12px;padding:0 7px;}
  body.ms-luxury .page-view .ms-workspace-tab-item{max-width:140px;}
  body.ms-luxury .page-view .ms-workspace-tab-item>a{font-size:12px;padding-inline:7px;}
  body.ms-luxury .page-view .ms-workspace-results{grid-template-columns:1fr;}
}
@media print{body.ms-luxury .page-view .ms-workspace-tabs{display:none!important;}}

/* Shipment Register / Unified Toolbar v1.0.0 — native list controls, one compact work surface. */
body.ms-luxury .page-list .register-unified-toolbar {
  display:flex;align-items:center;gap:9px;min-width:0;position:relative;
  margin:0 0 9px;padding:8px 10px;border:1px solid #dfc39c;border-radius:12px;
  background:#fff9ef;box-shadow:0 2px 11px #6d46100b;z-index:20;
}
body.ms-luxury .page-list .register-toolbar-filters {
  display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:7px;flex-wrap:nowrap;
  padding:0;margin:0;border:0;background:transparent;box-shadow:none;
}
body.ms-luxury .page-list .register-toolbar-filters :is(input,select) {
  height:38px;min-height:38px;min-width:0;margin:0;border-radius:8px;
  border:1px solid #d7bea0;background:#fffdfa;color:#4b3020;font-size:13px;
}
body.ms-luxury .page-list .register-toolbar-filters input[type=search] {
  flex:1 1 240px;width:100%;min-width:155px;max-width:none;text-align:right;
}
body.ms-luxury .page-list .register-toolbar-filters select {flex:0 1 120px;width:auto;max-width:135px;padding-inline:8px;}
body.ms-luxury .page-list .register-toolbar-filters select[name=supplier] {flex-basis:140px;max-width:160px;}
body.ms-luxury .page-list .register-toolbar-filters select[name=ops] {flex-basis:112px;}
body.ms-luxury .page-list .register-toolbar-search {height:38px;flex:none;white-space:nowrap;padding-inline:14px;}
body.ms-luxury .page-list .register-unified-toolbar .register-toolbar-bulk {display:flex;align-items:center;flex-wrap:nowrap;gap:7px;flex:0 0 auto;min-width:0;margin:0;padding:0 0 0 9px;border:0;border-inline-start:1px solid #dec5a2;border-radius:0;background:transparent!important;box-shadow:none;color:#704b22!important;}
body.ms-luxury .page-list .register-unified-toolbar .bulk-list-actions {display:flex;flex:0 0 auto;width:auto;flex-wrap:nowrap;gap:0;}
body.ms-luxury .page-list .register-toolbar-selected {font-size:12px;font-weight:700;color:#704b22;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.ms-luxury .page-list #bulk-list-submit {height:38px;min-width:96px;white-space:nowrap;}
body.ms-luxury .page-list #bulk-list-submit:disabled {opacity:.5;cursor:not-allowed;}
body.ms-luxury .page-list .register-toolbar-more {flex:none;position:relative;z-index:21;}
body.ms-luxury .page-list .register-toolbar-more-toggle {display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 13px;list-style:none;white-space:nowrap;cursor:pointer;color:#644018;background:#f6e7cd;border:1px solid #cda56d;border-radius:8px;}
body.ms-luxury .page-list .register-toolbar-more-toggle::-webkit-details-marker {display:none;}
body.ms-luxury .page-list .register-toolbar-more[open] .register-toolbar-more-toggle {background:#ead09f;border-color:#b9873e;}
body.ms-luxury .page-list .register-toolbar-more-panel {
  position:absolute;inset-inline-end:0;top:calc(100% + 9px);width:min(310px,calc(100vw - 34px));
  display:flex;flex-direction:column;gap:9px;padding:12px;background:#fffaf1;
  border:1px solid #ceb083;border-radius:12px;box-shadow:0 12px 25px #3c281c33;color:#3a291b;
}
body.ms-luxury .page-list .register-toolbar-more:not([open]) .register-toolbar-more-panel {display:none;}
body.ms-luxury .page-list .register-toolbar-more-panel > .btn {display:block;min-height:34px;text-align:center;background:#fff5e6;border:1px solid #dac3a5;}
body.ms-luxury .page-list .register-toolbar-more-panel .shipment-fit-toolbar {
  display:grid;gap:8px;margin:0;padding:9px 0 0;border:0;border-top:1px solid #e5d2b8;
  border-radius:0;background:transparent;box-shadow:none;
}
body.ms-luxury .page-list .register-toolbar-more-panel .shipment-fit-help {display:grid;gap:3px;}
body.ms-luxury .page-list .register-toolbar-more-panel .shipment-fit-help strong {color:#674424;font-size:13px;}
body.ms-luxury .page-list .register-toolbar-more-panel .shipment-fit-help span {color:#856b51;font-size:12px;line-height:1.35;}
body.ms-luxury .page-list .register-toolbar-more-panel .shipment-fit-buttons {display:grid;grid-template-columns:1fr 1fr;gap:7px;}
body.ms-luxury .page-list .register-toolbar-more-panel .shipment-fit-btn {min-height:35px;border-color:#d3b68e;background:#fff4df;color:#5b3b19;}
body.ms-luxury .page-list .register-toolbar-more-panel .shipment-fit-btn[aria-pressed=true] {background:#dcb56f;color:#3b2716;border-color:#aa7731;box-shadow:inset 0 -2px #996922;}
@media(max-width:1000px) {
 body.ms-luxury .page-list .register-unified-toolbar {flex-wrap:wrap;gap:7px;}
 body.ms-luxury .page-list .register-toolbar-filters {width:100%;flex:1 0 100%;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:3px;scrollbar-width:thin;}
 body.ms-luxury .page-list .register-toolbar-filters input[type=search] {flex:1 0 170px;min-width:170px;}
 body.ms-luxury .page-list .register-toolbar-filters select {flex:0 0 112px;}
 body.ms-luxury .page-list .register-unified-toolbar .register-toolbar-bulk {margin-inline-start:auto;padding-inline-start:0;border-inline-start:0;}
}
@media(max-width:580px) {
 body.ms-luxury .page-list .register-unified-toolbar {padding:8px;}
 body.ms-luxury .page-list .register-toolbar-filters {gap:6px;}
 body.ms-luxury .page-list .register-toolbar-filters :is(input,select) {height:36px;min-height:36px;font-size:12px;}
 body.ms-luxury .page-list .register-toolbar-search {height:36px;padding-inline:11px;}
 body.ms-luxury .page-list .register-toolbar-selected {max-width:120px;font-size:11px;}
 body.ms-luxury .page-list #bulk-list-submit,body.ms-luxury .page-list .register-toolbar-more-toggle {height:36px;}
}
@media print {body.ms-luxury .page-list .register-unified-toolbar {display:none!important;}}

/* MS Shipments Warehouse Legacy Review v2.0.1 — native Luxury B6 page.
 * Follows existing page-incoming_goods cards, controls, Tajawal and warm-ivory palette.
 * All styling belongs to the original luxury-pages-b6.css source file.
 * No imported design-system scope, added theme variables, or backend changes. */
body.ms-luxury .page-legacy_review {max-width:none;}
body.ms-luxury .page-legacy_review #ms-legacy-review {
  width:100%;min-width:0;margin:0 auto 16px;
  display:grid;gap:13px;color:var(--ink);font-family:var(--font);
  background:transparent;direction:rtl;color-scheme:light;
}
body.ms-luxury .page-legacy_review #ms-legacy-review * {box-sizing:border-box;}
body.ms-luxury .page-legacy_review #ms-legacy-review :is(h1,h2,p) {font-family:var(--font);letter-spacing:normal;}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-heading {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:12px;margin:0 0 1px;padding:2px 0 3px;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-heading h1 {
  font-size:var(--ty-page-title,24px);font-weight:800;line-height:1.4;margin:2px 0 4px;
  color:#34291d;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-heading p {
  margin:0;font-size:var(--ty-body,15px);line-height:1.55;color:var(--mut);
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-eyebrow {
  color:#af8850;font-size:12px;letter-spacing:1.1px;font-weight:750;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-lock {
  font-size:13px;font-weight:700;color:#705740;background:#f8ecd6;
  border:1px solid #d7bb91;border-radius:9px;padding:8px 12px;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-tabs {
  display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-tabs a {
  display:inline-flex;justify-content:center;align-items:center;
  min-height:36px;padding:8px 12px;border-radius:9px;
  border:1px solid rgba(155,130,93,.27);
  color:#654522;background:rgba(255,253,249,.82);
  font-size:14px;font-weight:700;text-decoration:none;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-tabs a:hover {border-color:#b08c58;background:#f8ecd6;}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-tabs a[aria-current="page"] {
  background:linear-gradient(110deg,#775222,#a87c3f);border-color:#b08c58;color:#fff;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-metrics {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-metric {
  display:flex;flex-direction:column;gap:5px;min-width:0;
  padding:14px 16px;border:1px solid rgba(178,138,79,.24);
  border-radius:12px;background:linear-gradient(135deg,#fffaf3,#f4ebde);
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-metric>span {
  font-size:var(--ty-label,13px);font-weight:700;color:#705740;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-metric strong {
  font-size:var(--ty-metric,23px);font-weight:800;line-height:1.1;
  color:#3e291b;font-variant-numeric:tabular-nums;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-metric small {font-size:12px;color:#776452;}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-panel {
  min-width:0;margin:0;padding:15px 16px;border:1px solid rgba(160,127,75,.25);
  border-radius:13px;background:rgba(255,253,249,.95);
  box-shadow:0 5px 18px rgba(64,43,20,.055);
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-panel h2 {
  color:#36261a;font-size:var(--ty-section-title,18px);line-height:1.4;
  font-weight:750;margin:0;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-panel p {
  font-size:var(--ty-body,15px);line-height:1.65;margin:7px 0 0;color:#705b47;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-actions {
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;
}
/* Reuse the application's real .btn and .btn.primary primitives. */
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-button {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;font-family:var(--font);font-size:var(--ty-control,14px);
  font-weight:700;text-decoration:none;white-space:normal;text-align:center;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-filters,
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-review-form {
  display:flex;align-items:end;flex-wrap:wrap;gap:9px 10px;
}
body.ms-luxury .page-legacy_review #ms-legacy-review label {
  display:flex;flex-direction:column;gap:5px;min-width:150px;
  flex:1 1 170px;font-size:var(--ty-label,13px);font-weight:650;color:#705743;
}
body.ms-luxury .page-legacy_review #ms-legacy-review :is(input:not([type=hidden]),select,textarea) {
  width:100%;max-width:100%;min-width:0;min-height:39px;
  border:1px solid #cfbea8;border-radius:8px;padding:8px 10px;
  color:#30271e;background:#fffefa;font-family:var(--font);
  font-size:var(--ty-control,14px);
}
body.ms-luxury .page-legacy_review #ms-legacy-review :is(input,select,textarea):focus-visible {
  outline:2px solid #ab8247;outline-offset:1px;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-count {
  color:#796c5f;font-size:13px;margin:0;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-record {
  display:grid;gap:0;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-record-head {
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;
  gap:10px;margin-bottom:11px;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-record-head h2 {
  margin:3px 0 0;overflow-wrap:anywhere;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-chip {
  display:inline-flex;align-items:center;padding:5px 10px;
  border:1px solid #d8bc8c;background:#f7e9d0;border-radius:999px;
  color:#60401f;font-size:12px;font-weight:700;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-chip-alert {
  color:#864646;border-color:#e6c1c1;background:#fbeeee;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-record-data {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 15px;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-record-data>span {
  display:flex;flex-direction:column;gap:3px;min-width:0;
  color:#796c5f;font-size:var(--ty-label,13px);overflow-wrap:anywhere;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-record-data b {
  color:#39281d;font-size:var(--ty-body,15px);font-weight:750;
}
body.ms-luxury .page-legacy_review #ms-legacy-review p.mslr-warning {
  color:#9b382f;font-size:14px;line-height:1.55;margin:10px 0 0;
}
body.ms-luxury .page-legacy_review #ms-legacy-review p.mslr-note {
  color:#796c5f;font-size:13px;line-height:1.55;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-inline {
  border-top:1px solid var(--line);padding-top:9px;margin-top:13px;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-inline>summary {
  cursor:pointer;color:var(--brand);font-size:14px;font-weight:750;padding:5px 0;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-review-form {margin-top:10px;}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-wide {flex-basis:100%;}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-mini {
  display:flex;flex:1;flex-wrap:wrap;align-items:end;gap:9px;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-mini label {min-width:200px;}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-pagination {
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;
  gap:12px;margin:3px 0;font-size:14px;color:#705b47;
}
body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-footnote {
  margin:0;padding-top:12px;border-top:1px solid var(--line);
  color:#796c5f;font-size:13px;line-height:1.6;
}
@media(max-width:900px){
  body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-record-data{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-tabs a{flex:1;}
  body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-lock{width:100%;}
}
@media(max-width:390px){
  body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-metrics,
  body.ms-luxury .page-legacy_review #ms-legacy-review .mslr-record-data{grid-template-columns:minmax(0,1fr);}
}
