/* 4.7.WS8.R5.C6.R4 — single shared action/icon and visual hierarchy owner.
   Loaded last. Icons are local decorative masks on the original control;
   no DOM replacement, textContent changes, requests, listeners or observers.
   Selection tabs, record links and native SVG controls opt out of icon metadata. */
/* 4.7B.5.C4.G1: passive page theme constants from the accepted Alerts reference.
   Only explicit page aliases consume these; semantic control tokens stay separate. */
:root{
  --mv-page-border:#a8bdd0;--mv-page-divider:#d3e0ea;
  --mv-page-header-bg:#d6e5f1;--mv-page-soft-bg:#f7fafc;
  --mv-page-ink:#19354d;--mv-page-muted:#526779;--mv-page-heading-ink:#123f64;
  --mv-page-font-family:"Segoe UI",Arial,sans-serif;
  --mv-page-padding:10px;--mv-page-header-padding:7px 9px;
  --mv-page-toolbar-padding:8px 9px;--mv-page-gap:8px;
  --mv-page-row-gap:4px;--mv-page-radius:2px;
}
:root{
  --mv-title-bg:#0f4c81;--mv-title-text:#fff;
  --mv-section-heading-bg:#d5e4f1;--mv-heading-text:#153d60;--mv-section-bg:#f3f6f9;
  --mv-action-primary-bg:#0f4c81;--mv-action-success-bg:#087f5b;
  --mv-action-warning-bg:#a64b00;--mv-action-utility-bg:#405a77;--mv-action-danger-bg:#b42318;
  --mv-action-text:#fff;--mv-control-height:36px;--mv-touch-target:44px;
  --mv-alert-action-bg:#0f6674;--mv-alert-action-hover-bg:#e2f2f4;--mv-alert-action-hover-text:#0b4650;
  --mv-field-bg:#fff;--mv-field-readonly-bg:#e4eaf0;--mv-focus-color:#1565a6;
  --mv-ui-shadow:none;
  --mv-control-shadow:inset 0 1px 0 rgb(255 255 255 / .20),inset 0 -1px 0 rgb(0 0 0 / .14),0 1px 2px rgb(15 35 55 / .28);
}
@media screen{
  body.mv-theme-scope{background:var(--mv-app-bg,#e4eaf0);}
  body.mv-theme-scope>.container,body.mv-theme-scope>#posProtectedShell>.container{background:var(--mv-app-bg,#e4eaf0);}
  /* Explicit command hooks may also be used outside a feature/theme scope. */
  :is(.mv-control,button.mv-action-primary,button.mv-action-success,button.mv-action-warning,
    button.mv-action-utility,button.mv-action-danger,button[data-mv-tone]){
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;
    flex:0 1 auto;min-height:var(--mv-control-height);height:auto;max-width:100%;
    padding:7px 10px;border:1px solid transparent;border-radius:var(--mv-surface-radius,2px);
    font-family:inherit;font-size:.875rem;font-weight:700;line-height:1.25;
    white-space:normal;overflow-wrap:normal;word-break:normal;text-align:center;
    text-decoration:none;text-shadow:none;box-shadow:none;transform:none;
    -webkit-appearance:none;appearance:none;touch-action:manipulation;
    -webkit-text-fill-color:currentColor;cursor:pointer;
    transition:background-color 90ms ease,color 90ms ease,filter 90ms ease,box-shadow 90ms ease;
  }
  :is(.mv-control,.btn){--mv-control-bg:var(--mv-action-primary-bg);--mv-control-hover-bg:#e1effb;--mv-control-hover-text:#0c416f;}
  :is(.mv-action-primary,[data-mv-tone="primary"]){--mv-control-bg:var(--mv-action-primary-bg);}
  :is(.mv-action-success,[data-mv-tone="success"]){--mv-control-bg:var(--mv-action-success-bg);--mv-control-hover-bg:#e0f4ea;--mv-control-hover-text:#075c43;}
  :is(.mv-action-warning,[data-mv-tone="warning"]){--mv-control-bg:var(--mv-action-warning-bg);--mv-control-hover-bg:#fff0d7;--mv-control-hover-text:#773800;}
  :is(.mv-action-utility,[data-mv-tone="utility"],[data-mv-tone="neutral"]){--mv-control-bg:var(--mv-action-utility-bg);--mv-control-hover-bg:#e5edf7;--mv-control-hover-text:#294666;}
  :is(.mv-action-danger,[data-mv-tone="danger"]){--mv-control-bg:var(--mv-action-danger-bg);--mv-control-hover-bg:#fce6e3;--mv-control-hover-text:#8f1c13;}
  /* Alerts and their primary Review/Open actions share a stable information
     palette. Availability and issue details remain owned by the alert runtime. */
  :is(#workspaceAlertsBtn,.mv-shell-alert-action-btn--primary){
    --mv-control-bg:var(--mv-alert-action-bg);
    --mv-control-hover-bg:var(--mv-alert-action-hover-bg);
    --mv-control-hover-text:var(--mv-alert-action-hover-text);
  }
  #workspaceAlertsBtn .mv-shell-alert-count{
    background:#fff;color:var(--mv-alert-action-bg);-webkit-text-fill-color:currentColor;
  }
  #appConfirmModal.mv-ws8-exit-confirm :is(#appConfirmCancelBtn,#appConfirmOkBtn){
    min-height:44px;padding:7px 10px;font-size:.875rem;line-height:1.25;
  }
  :root :is(.mv-control,button.mv-action-primary,button.mv-action-success,button.mv-action-warning,
    button.mv-action-utility,button.mv-action-danger,button[data-mv-tone]):not(:disabled):not([aria-disabled="true"]){
    background:var(--mv-control-bg)!important;border-style:solid!important;border-width:1px!important;
    border-color:rgb(255 255 255 / .46) rgb(0 0 0 / .28) rgb(0 0 0 / .40) rgb(255 255 255 / .24)!important;
    color:var(--mv-action-text)!important;-webkit-text-fill-color:currentColor!important;
    box-shadow:var(--mv-control-shadow);transform:none;
  }
  :root :is(.mv-control,.btn):is(:disabled,[aria-disabled="true"]){
    background:#d5dee7!important;border-color:#93a3b3!important;color:#46576a!important;
    -webkit-text-fill-color:currentColor!important;opacity:1;cursor:not-allowed;
    box-shadow:none!important;filter:none!important;transform:none!important;
  }
  :is(.mv-control,.btn)[aria-busy="true"]{cursor:progress;}
  :is(.mv-control,.btn):not(:disabled):not([aria-disabled="true"]):active{
    box-shadow:inset 0 2px 3px rgb(0 0 0 / .24)!important;filter:brightness(.84);transform:none;
  }
  :is(.mv-control,.btn):focus-visible{
    outline:2px solid var(--mv-focus-color);outline-offset:3px;
    box-shadow:0 0 0 2px #fff,var(--mv-control-shadow)!important;
  }
  :is(.mv-control,.btn,[data-mv-icon])[hidden]{display:none!important;}
  .mv-control--short{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;flex-shrink:0;}
  .mv-control--icon{width:var(--mv-control-height);min-width:var(--mv-control-height);padding:7px;flex:none;}
  .mv-action-group{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;min-width:0;}
  .mv-action-group[hidden]{display:none!important;}
  .mv-action-group>:is(.btn,.mv-control){flex:0 1 auto;width:auto;max-width:100%;}
  /* Explicit lists/toolbars keep the original native controls and handlers. */
  #fetchSourceModal .mv-dialog-heading{padding-inline-end:56px!important;}
  .mv-source-choice-list.mv-action-group{align-items:stretch;}
  .mv-source-choice-list.mv-action-group>.mv-control{
    width:100%;justify-content:flex-start;text-align:left;white-space:normal!important;
    overflow-wrap:anywhere;min-height:44px;
  }
  .mv-setup-header{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;}
  .mv-setup-header>:first-child{flex:1 1 16rem;min-width:0;}
  .mv-setup-toolbar.mv-action-group{
    flex:0 0 auto;flex-wrap:nowrap;gap:6px;margin-inline-start:auto;max-width:100%;
  }
  .mv-setup-toolbar.mv-action-group>.mv-control--icon{
    position:relative;flex:0 0 var(--mv-control-height);width:var(--mv-control-height);
    min-width:var(--mv-control-height);min-height:var(--mv-control-height);padding:7px;overflow:visible;
  }
  .mv-setup-toolbar .mv-control-label{
    display:none;position:absolute;z-index:6;top:calc(100% + 5px);right:0;
    width:max-content;max-width:min(220px,calc(100vw - 48px));padding:5px 8px;
    background:#fff;color:#153d60;-webkit-text-fill-color:#153d60;
    border:1px solid #8ba6bf;border-radius:2px;box-shadow:0 2px 4px rgb(15 35 55 / .20);
    font-size:.8125rem;line-height:1.3;font-weight:700;white-space:normal;text-align:left;
    pointer-events:none;
  }
  .mv-setup-toolbar>.mv-control:first-child .mv-control-label{right:auto;left:0;}
  .mv-setup-toolbar>.mv-control:focus-visible .mv-control-label{display:block;}
  /* The generated box is empty and cannot become part of an accessible name. */
  :is(button,a)[data-mv-icon]::before{
    content:"";position:static;display:inline-block;flex:0 0 17px;
    width:17px;height:17px;min-width:17px;min-height:17px;
    inset:auto;opacity:1;transform:none;box-shadow:none;pointer-events:none;
    background:currentColor;
    -webkit-mask:var(--mv-icon) center / contain no-repeat;
    mask:var(--mv-icon) center / contain no-repeat;
  }
  :is(button,a)[data-mv-icon]::after{content:none;}
  /* R8: labeled Clear/Reset controls speak for themselves. Icon-only controls
     keep their mask, title and accessible name; no runtime decoration pass. */
  :is(button,a):is([data-mv-icon="filter-clear"],[data-mv-icon="filter-reset"]):not(.mv-control--icon)::before{
    content:none;display:none;
  }
  :is(.mv-title-band,.mv-section-heading,.mv-section-body,.mv-record-surface){
    min-width:0;border-color:var(--mv-border-color,#aab9c8);border-radius:var(--mv-surface-radius,2px);box-shadow:none;
  }
  .mv-title-band{background:var(--mv-title-bg)!important;color:var(--mv-title-text)!important;}
  /* Primary commands use a separate blue fill and edge inside navy headers. */
  :root :is(.mv-title-band,.mv-contact-dialog-header,.mv-address-dialog-header,
    .customer-detail-header,.customer-editor-header,.inventory-item-detail-header,
    .inventory-editor-header,.inventory-stock-form-header,.inventory-transfer-modal-head,
    .movement-history-modal-head,.movement-detail-modal-head,.inventory-company-report-head,.overlay-header)
    :is(.mv-control.mv-action-primary,button[data-mv-tone="primary"]):not(:disabled):not([aria-disabled="true"]){
    --mv-control-bg:#1b639b;border-color:#a9c5df!important;
  }
  .mv-title-band :is(h1,h2,h3,h4,p,small,.inventory-location-modal-subtitle,.inventory-freeze-lookup-title,.inventory-freeze-lookup-subtitle,.inventory-reconciliation-history-subtitle,.inventory-repair-receipt-title){color:inherit!important;text-shadow:none;}
  /* Explicit static dialog titles: screen-only; original print rules remain. */
  .mv-dialog-heading{
    padding:10px 12px!important;margin:0 0 12px!important;
    font-size:1.2rem!important;line-height:1.3!important;font-weight:800!important;
    text-shadow:none!important;overflow-wrap:anywhere;min-width:0;
  }
  .mv-dialog-heading-row{flex-wrap:wrap;gap:10px;}
  .mv-dialog-heading-row .mv-dialog-heading-inline{
    margin:0!important;font-size:1.2rem!important;line-height:1.3!important;
    font-weight:800!important;text-shadow:none!important;color:inherit!important;
    overflow-wrap:anywhere;min-width:0;
  }
  .mv-dialog-heading-row>.mv-action-group{flex:0 1 auto;width:auto;max-width:100%;}
  :is(#custDetTitle,#usrDetTitle).mv-dialog-heading{padding-inline-end:56px!important;}
  .mv-section-heading{background:var(--mv-section-heading-bg)!important;color:var(--mv-heading-text)!important;}
  .mv-section-body{background:var(--mv-section-bg)!important;}
  .mv-record-surface{background:var(--mv-surface-bg,#fff)!important;}
}
@media screen and (hover:hover) and (pointer:fine){
  /* Inverted semantic hover is visible without moving or enlarging controls. */
  :root :is(.mv-control,button.mv-action-primary,button.mv-action-success,button.mv-action-warning,
    button.mv-action-utility,button.mv-action-danger,button[data-mv-tone]):not(:disabled):not([aria-disabled="true"]):not(:active):hover{
    background:var(--mv-control-hover-bg)!important;color:var(--mv-control-hover-text)!important;
    -webkit-text-fill-color:currentColor!important;border-color:var(--mv-control-hover-text)!important;
    filter:none;transform:none;box-shadow:var(--mv-control-shadow);
  }
  .mv-setup-toolbar>.mv-control:hover .mv-control-label{display:block;}
}
@media screen and (any-pointer:coarse),screen and (max-width:600px){
  :root{--mv-control-height:var(--mv-touch-target);}
  :is(.mv-control,button.mv-action-primary,button.mv-action-success,button.mv-action-warning,
    button.mv-action-utility,button.mv-action-danger,button[data-mv-tone]){min-height:var(--mv-touch-target);min-width:var(--mv-touch-target);}
  .mv-control--icon{width:var(--mv-touch-target);}
}
@media screen and (max-width:260px){
  .mv-setup-toolbar.mv-action-group{flex-shrink:1;overflow-x:auto;padding:3px;}
}
@media screen and (prefers-reduced-motion:reduce){
  :is(.mv-control,.btn),:is(.mv-control,.btn)::before{transition:none!important;animation:none!important;}
}
@media screen and (forced-colors:active){
  :root :is(.mv-control,.btn){forced-color-adjust:auto;border:1px solid ButtonText!important;}
  :is(.mv-control,.btn):focus-visible{outline:3px solid Highlight;}
  :is(button,a)[data-mv-icon]::before{forced-color-adjust:none;background:currentColor;}
}

/* Small decorative vector catalog; one attribute selects one local icon. */
[data-mv-icon="print"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V3h12v6M6 18H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-2M6 14h12v7H6z'/%3E%3Cpath d='M17 12h1'/%3E%3C/svg%3E");}
[data-mv-icon="edit"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 4 5 5M4 20l5-1L20 8a2.2 2.2 0 0 0-5-5L4 14z'/%3E%3C/svg%3E");}
[data-mv-icon="save"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3h13l4 4v14H3V3zM7 3v6h9V3M7 21v-8h10v8'/%3E%3C/svg%3E");}
[data-mv-icon="add"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E");}
[data-mv-icon="refresh"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5M19 12a7 7 0 0 0-12-5L4 10M5 12a7 7 0 0 0 12 5l3-3'/%3E%3C/svg%3E");}
[data-mv-icon="close"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 5 14 14M19 5 5 19'/%3E%3C/svg%3E");}
[data-mv-icon="archive"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8v12h16V8M3 3h18v5H3zM9 12h6'/%3E%3C/svg%3E");}
[data-mv-icon="restore"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5v6h6M4 11a8 8 0 1 1 1 6'/%3E%3C/svg%3E");}
[data-mv-icon="void"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");}
[data-mv-icon="delete"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7M14 10v7'/%3E%3C/svg%3E");}
[data-mv-icon="filter-reset"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16l-6 7v8l-4 2V11zM3 16a4 4 0 0 0 5 5M3 16v4M3 16h4'/%3E%3C/svg%3E");}
[data-mv-icon="select-all"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='m7 12 3 3 7-7'/%3E%3C/svg%3E");}
/* R8: legacy filter-clear metadata now draws a clear/eraser symbol. */
[data-mv-icon="filter-clear"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 3 5 5a2 2 0 0 1 0 3l-9 9H7l-4-4a2 2 0 0 1 0-3l10-10a2 2 0 0 1 3 0zM8 8l8 8M12 20h9'/%3E%3C/svg%3E");}
[data-mv-icon="lock"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V6a4 4 0 0 1 8 0v4M12 14v3'/%3E%3C/svg%3E");}
[data-mv-icon="unlock"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V6a4 4 0 0 1 8 0M12 14v3'/%3E%3C/svg%3E");}
[data-mv-icon="search"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E");}
[data-mv-icon="back"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m13 4-8 8 8 8M5 12h16'/%3E%3C/svg%3E");}
[data-mv-icon="next"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 4 8 8-8 8M19 12H3'/%3E%3C/svg%3E");}
[data-mv-icon="view"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");}
[data-mv-icon="download"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v5h16v-5'/%3E%3C/svg%3E");}
[data-mv-icon="upload"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3m-5 5 5-5 5 5M4 16v5h16v-5'/%3E%3C/svg%3E");}
[data-mv-icon="check"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E");}
[data-mv-icon="info"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E");}
[data-mv-icon="logout"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3H3v18h6M9 12h12m-5-5 5 5-5 5'/%3E%3C/svg%3E");}
[data-mv-icon="user"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E");}
[data-mv-icon="settings"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 3-1 3-3 1 1 3-2 2 2 2-1 3 3 1 1 3h6l1-3 3-1-1-3 2-2-2-2 1-3-3-1-1-3z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");}
[data-mv-icon="cart"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h3l3 12h11l3-9H6'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E");}
[data-mv-icon="hold"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4v16M16 4v16'/%3E%3C/svg%3E");}
[data-mv-icon="play"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 3 14 9-14 9z'/%3E%3C/svg%3E");}
[data-mv-icon="send"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4zM11 13 22 2'/%3E%3C/svg%3E");}
[data-mv-icon="copy"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='13' height='13' rx='2'/%3E%3Cpath d='M16 8V3H3v13h5'/%3E%3C/svg%3E");}
[data-mv-icon="expand"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");}
[data-mv-icon="collapse"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 15 7-7 7 7'/%3E%3C/svg%3E");}
[data-mv-icon="filter"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-7 8v7l-4 2V12z'/%3E%3C/svg%3E");}
[data-mv-icon="chart"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18M7 16v-5M12 16V6M17 16v-8'/%3E%3C/svg%3E");}
[data-mv-icon="link"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 7 3-3a5 5 0 0 1 7 7l-3 3M14 17l-3 3a5 5 0 0 1-7-7l3-3M8 16l8-8'/%3E%3C/svg%3E");}
[data-mv-icon="database"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v14c0 4 18 4 18 0V5M3 12c0 4 18 4 18 0'/%3E%3C/svg%3E");}

/* P4: every application sign-out path shares the existing orange command role. */
:root :is(.logout-btn,[data-mv-app-exit="true"]){
  --mv-control-bg:var(--mv-action-warning-bg);--mv-control-hover-bg:#fff0d7;--mv-control-hover-text:#773800;
  background:var(--mv-action-warning-bg);color:#fff;
}
@media (hover:hover){:root :is(.logout-btn,[data-mv-app-exit="true"]):hover:not(:disabled){background:#fff0d7;color:#773800;}}
:root :is(.logout-btn,[data-mv-app-exit="true"]):active:not(:disabled){background:#873d00;color:#fff;}
/* Legacy confirmation filters must not alter the shared sign-out color. */
@media screen and (hover:hover) and (pointer:fine){
  :root :is(.logout-btn,[data-mv-app-exit="true"],[data-mv-icon="logout"]):not(:disabled):not([aria-disabled="true"]):hover:not(:active){filter:none!important;}
}

/* P4.C1.R1: explicit Close/Cancel owners share the existing sign-out palette.
   Metadata changes presentation only; native handlers, icons and sizing remain. */
:root [data-mv-dismiss="true"]{
  --mv-control-bg:var(--mv-action-warning-bg)!important;
  --mv-control-hover-bg:#fff0d7!important;--mv-control-hover-text:#773800!important;
}
@media screen{
  :root [data-mv-dismiss="true"]:not(:disabled):not([aria-disabled="true"]){
    background:var(--mv-control-bg)!important;color:var(--mv-action-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  :root [data-mv-dismiss="true"]:not(:disabled):not([aria-disabled="true"]):active{
    filter:brightness(.84)!important;
  }
}
@media screen and (hover:hover) and (pointer:fine){
  :root [data-mv-dismiss="true"]:not(:disabled):not([aria-disabled="true"]):not(:active):hover{
    background:var(--mv-control-hover-bg)!important;color:var(--mv-control-hover-text)!important;
    border-color:var(--mv-control-hover-text)!important;filter:none!important;
  }
}
@media screen and (forced-colors:active){
  :root [data-mv-dismiss="true"]:not(:disabled):not([aria-disabled="true"]){
    forced-color-adjust:auto;background:ButtonFace!important;color:ButtonText!important;
    border-color:ButtonText!important;filter:none!important;
  }
}

.mv-refresh-notice{flex:none;margin:0;padding:6px 10px;color:#773800;background:#fff0d7;overflow-wrap:anywhere;}
.mv-refresh-notice[hidden]{display:none!important;}

/* P4.C1: app-rendered directory options, including Safari/iOS. */
.mv-directory-status{min-width:0;max-width:100%;}
.mv-directory-status .mv-directory-status-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:8px 10px;
  white-space:nowrap;touch-action:manipulation;
}
.mv-directory-status-label{min-width:0;overflow:hidden;text-overflow:ellipsis;}
.mv-directory-status-caret{
  flex:0 0 7px;width:7px;height:7px;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);
}
.mv-directory-status-list{
  position:fixed;z-index:9050;box-sizing:border-box;margin:0;padding:0;
  border:1px solid var(--mv-border-color,#aab9c8);border-radius:var(--mv-surface-radius,2px);
  background:var(--mv-surface-bg,#fff);color:var(--primary,#17324d);font:inherit;
  box-shadow:0 5px 14px rgb(15 35 55 / .24);overflow-x:hidden;overflow-y:auto;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;
}
.mv-directory-status-list[hidden]{display:none!important;}
.mv-directory-status-list:focus{outline:2px solid var(--accent,#0f4c81);outline-offset:1px;}
.mv-directory-status-option{
  display:flex;align-items:center;box-sizing:border-box;min-height:44px;padding:9px 12px;
  cursor:pointer;white-space:nowrap;font-size:.9rem;line-height:1.25;user-select:none;
}
.mv-directory-status-option[aria-selected="true"]{background:var(--mv-action-primary-bg,#0f4c81);color:var(--mv-action-text,#fff);font-weight:700;}
.mv-directory-status-option[data-active="true"]{box-shadow:inset 0 0 0 2px var(--accent,#0f4c81);}
@media(hover:hover){.mv-directory-status-option:hover{background:#e1effb;color:#0c416f;}}

/* Desktop reading hierarchy: use native regular/semibold/bold weights instead
   of the extra-heavy weights on compact screen text. Font family, size, line
   height and numeric alignment remain with their existing owners. Touch-first
   devices and printed documents retain the established typography. */
@media screen and (hover:hover) and (pointer:fine){
  :root body :is(.mv-control,.btn,.mv-shell-nav-btn,.mv-quick-link,.mv-shell-menu-link,
    .mv-ws8-category-trigger,.mv-ws8-category-scroll,.mv-ws8-mobile-dashboard,
    .mv-ws8-functions-button,.mv-ws8-shortcut-button,.mv-ws8-shortcut-toggle,
    .mv-ws8-menu-item,.mv-ws8-tab,.mv-ws8-picker,.mv-ws8-picker-option,
    .mv-workspace-tab,[data-mv-workspace-tab],.mv-directory-toggle,
    .mv-directory-status-option,.mv-shell-field,.mv-shell-field-label,
    .mv-shell-field-value,.mv-shell-alert-count,.mv-dashboard-card-kicker,
    .mv-dashboard-mini-pill,.mv-setup-toolbar .mv-control-label){font-weight:600;}
  :root body :is(.mv-ws8-tab[aria-selected="true"],
    .mv-ws8-category-trigger[aria-current="page"],
    .mv-ws8-category-trigger[aria-expanded="true"],
    .mv-directory-status-option[aria-selected="true"]){font-weight:700;}
  :root body :is(.form-group,.customer-editor-field,.mv-contact-form,.mv-address-form)>label,
  :root body :is(.customer-list-label,.customer-list-sort label,
    .customer-ledger-search-label,.customer-ar-section-search-label,
    .inventory-list-search-label,.inventory-item-detail-label,.movement-detail-label,
    .mv-contact-assigned-roles-label,.mv-contact-card-fields dt,
    .mv-contact-detail-grid dt,.mv-address-detail-row dt){font-weight:600;}
  :root body :is(.mv-dashboard-title,.mv-dashboard-card-title,
    .mv-dashboard-section-title-main,.mv-shell-alert-title,.mv-shell-alert-item-title,
    .mv-shell-menu-title,.mv-shell-reports-title,.mv-shell-report-entry-title,
    .mv-ws8-menu-heading,.mv-ws8-functions-menu-header,
    .inventory-page-title,.inventory-workspace-card-title,.acc-summary,
    .customer-list-sort-button,.inventory-sort-button),
  :root body :is(.calc-table,.admin-table,.data-table,.inventory-table,.movement-table) thead th,
  :root body :is(.mv-title-band,.customer-detail-header,.customer-editor-header,
    .inventory-item-detail-header,.inventory-editor-header) :is(h1,h2,h3,h4){font-weight:700;}
  /* These two existing title owners already use !important. */
  :root body .mv-dialog-heading,
  :root body .mv-dialog-heading-row .mv-dialog-heading-inline{font-weight:700!important;}
  :root body :is(.mv-dashboard-subtitle,.mv-dashboard-note,.mv-dashboard-card-meta,
    .mv-dashboard-price-values,.mv-dashboard-section-title-sub,
    .mv-shell-alert-item-meta,.mv-shell-menu-subtitle,.mv-shell-report-entry-detail,
    .inventory-framework-subtitle,.inventory-workspace-card-text,
    .inventory-list-search-help){font-weight:400;}
  :root body .mv-directory-frame .mv-directory-search .mv-directory-search-input{font-weight:400;}
}


/* C8.C4.R1: explicit exit/discard roles. Keep the established workspace-entry
   X palette above intact; safe confirmation cancellation retains work. */
:root :is([data-mv-dismiss="true"],[data-mv-app-exit="true"],.logout-btn,[data-mv-exit-role="danger"]):not(.mv-ws8-tab-close):not(.mv-ws8-picker-close){
  --mv-control-bg:var(--mv-action-danger-bg)!important;
  --mv-control-hover-bg:#8f1c13!important;--mv-control-hover-text:#fff!important;
}
:root [data-mv-exit-role="safe"]:not(.mv-ws8-tab-close):not(.mv-ws8-picker-close){
  --mv-control-bg:var(--mv-action-primary-bg)!important;
  --mv-control-hover-bg:#0c416f!important;--mv-control-hover-text:#fff!important;
}
@media screen{
  :root :is([data-mv-dismiss="true"],[data-mv-app-exit="true"],.logout-btn,[data-mv-exit-role]):not(.mv-ws8-tab-close):not(.mv-ws8-picker-close):not(:disabled):not([aria-disabled="true"]){
    background:var(--mv-control-bg)!important;color:var(--mv-action-text)!important;
    -webkit-text-fill-color:currentColor!important;
  }
  #appShell #workspaceLogoutBtn{padding:3px 8px;gap:6px;}
}
@media screen and (hover:hover) and (pointer:fine){
  :root :is([data-mv-dismiss="true"],[data-mv-app-exit="true"],.logout-btn,[data-mv-exit-role]):not(.mv-ws8-tab-close):not(.mv-ws8-picker-close):not(:disabled):not([aria-disabled="true"]):not(:active):hover{
    background:var(--mv-control-hover-bg)!important;color:var(--mv-control-hover-text)!important;
    border-color:var(--mv-control-hover-bg)!important;filter:none!important;
  }
}
@media screen and (forced-colors:active){
  :root :is([data-mv-dismiss="true"],[data-mv-app-exit="true"],.logout-btn,[data-mv-exit-role]):not(.mv-ws8-tab-close):not(.mv-ws8-picker-close):not(:disabled):not([aria-disabled="true"]),
  :root :is([data-mv-dismiss="true"],[data-mv-app-exit="true"],.logout-btn,[data-mv-exit-role]):not(.mv-ws8-tab-close):not(.mv-ws8-picker-close):not(:disabled):not([aria-disabled="true"]):not(:active):hover{
    forced-color-adjust:auto;background:ButtonFace!important;color:ButtonText!important;
    border-color:ButtonText!important;filter:none!important;
  }
}

/* C8.C4.R2: the header opens the existing exit confirmation; confirmed
   close/discard actions retain the danger palette. Native icon metadata
   survives busy/unlock text updates without another image request. */
#appShell #workspaceLogoutBtn{
  --mv-control-bg:var(--mv-action-primary-bg)!important;
  --mv-control-hover-bg:#FEE2E2!important;--mv-control-hover-text:#991B1B!important;
}
/* R6: a visible desktop Exit cue; keep native touch/focus/forced-color behavior. */
@media screen and (hover:hover) and (pointer:fine) and (forced-colors:none){
  #appShell #workspaceLogoutBtn:not(:disabled):not([aria-disabled="true"]):not(:active):hover{
    border-color:#B42318!important;
  }
}
[data-mv-icon="exit-door"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M5 2h14v20h-5v-2h3V4h-3v18L5 20V2zm5 10v3h2v-3h-2z'/%3E%3C/svg%3E");}

/* 4.7B.5.C4.G2: explicit directory consumers of the accepted Alerts theme.
   Keep all native owners, state rules and non-directory presentation intact. */
/* Contacts directory; editor/detail overlays remain separate siblings. */
@media screen{
:root body #ContactsOverlay>.mv-directory-frame{padding:var(--mv-page-padding,10px);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;background:#fff;color:var(--mv-page-ink,#19354d);font:14px/1.4 var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);text-align:left;}
:root body #ContactsOverlay>.mv-directory-frame>.mv-contacts-directory-header{gap:var(--mv-page-gap,8px);padding:var(--mv-page-header-padding,7px 9px);margin:0 0 var(--mv-page-gap,8px);border-bottom:1px solid var(--mv-page-border,#a8bdd0);background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;box-shadow:none;}
:root body #ContactsOverlay>.mv-directory-frame>.mv-contacts-directory-header h2{margin:0;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.4;color:inherit!important;text-shadow:none;letter-spacing:normal;}
:root body #ContactsOverlay>.mv-directory-frame>.mv-contacts-directory-tools{gap:var(--mv-page-gap,8px);padding:var(--mv-page-toolbar-padding,8px 9px);margin:0 0 var(--mv-page-gap,8px);border:0;border-bottom:1px solid var(--mv-page-divider,#d3e0ea);border-radius:0;background:var(--mv-page-soft-bg,#f7fafc);}
:root body #ContactsOverlay>.mv-directory-frame #ContactTableFrame{margin:0;}
:root body #ContactsOverlay>.mv-directory-frame #ContactTableFrame{border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px);background:#fff;}
:root body #ContactsOverlay>.mv-directory-frame .admin-table thead{background:var(--mv-page-header-bg,#d6e5f1);box-shadow:none;}
:root body #ContactsOverlay>.mv-directory-frame .admin-table thead th{background:var(--mv-page-header-bg,#d6e5f1);color:var(--mv-page-heading-ink,#123f64);border-bottom-color:var(--mv-page-border,#a8bdd0);font-size:12px;font-weight:500;box-shadow:none;}
:root body #ContactsOverlay>.mv-directory-frame .admin-table tbody td{padding:4px 8px;border-bottom-color:var(--mv-page-divider,#d3e0ea);font-size:13px;line-height:1.35;}
:root body #ContactsOverlay>.mv-directory-frame :is(.mv-control,.btn):not(.mv-directory-search-clear){font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:13px!important;font-weight:500;line-height:1.3;}
:root body #ContactsOverlay>.mv-directory-frame #ContactSearch{font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:13px;font-weight:400;line-height:1.3;}
:root body #ContactsOverlay>.mv-directory-frame #ContactSearch:not(:disabled):not([readonly]):not([aria-invalid="true"]):not(:focus){border-color:var(--mv-page-border,#a8bdd0);color:var(--mv-page-ink,#19354d);background:#fff;box-shadow:none;}
:root body #ContactsOverlay>.mv-directory-frame .mv-directory-status-trigger{--mv-control-bg:#fff!important;--mv-action-text:var(--mv-page-ink,#19354d);--mv-control-hover-bg:#eaf1f7;--mv-control-hover-text:var(--mv-page-ink,#19354d);--mv-control-shadow:none;}
:root body #ContactsOverlay>.mv-directory-frame .mv-directory-status-trigger:not(:disabled):not([aria-disabled="true"]){border-color:var(--mv-page-border,#a8bdd0)!important;}
:root body #ContactsOverlay>.mv-directory-frame .mv-contact-sort:not(.customer-list-sort-button--active):not(.inventory-sort-button--active){font-family:inherit;font-size:inherit;font-weight:500;}
:root body #ContactsOverlay>.mv-directory-frame #ContactListSummary{color:var(--mv-page-muted,#526779);font-size:12px;line-height:1.4;}
:root body #ContactsOverlay>.mv-directory-frame>.mv-contacts-paging{padding:var(--mv-page-toolbar-padding,8px 9px);border-top:1px solid var(--mv-page-divider,#d3e0ea);background:var(--mv-page-soft-bg,#f7fafc);}
}
/* Customer directory; the frame excludes records, editors and financial dialogs. */
@media screen{
:root body .mv-customer-root .mv-directory-frame{padding:var(--mv-page-padding,10px);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;background:#fff;color:var(--mv-page-ink,#19354d);font:14px/1.4 var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);text-align:left;}
:root body .mv-customer-root .mv-directory-frame>.header-bar{gap:var(--mv-page-gap,8px);padding:var(--mv-page-header-padding,7px 9px);margin:0 0 var(--mv-page-gap,8px);border-bottom:1px solid var(--mv-page-border,#a8bdd0);background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;box-shadow:none;}
:root body .mv-customer-root .mv-directory-frame>.header-bar h2{margin:0;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.4;color:inherit!important;text-shadow:none;letter-spacing:normal;}
:root body .mv-customer-root .mv-directory-frame>.customer-list-toolbar{gap:var(--mv-page-gap,8px);padding:var(--mv-page-toolbar-padding,8px 9px);margin:0 0 var(--mv-page-gap,8px);border:0;border-bottom:1px solid var(--mv-page-divider,#d3e0ea);border-radius:0;background:var(--mv-page-soft-bg,#f7fafc);}
:root body .mv-customer-root .mv-directory-frame>.customer-list-frame{border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px);background:#fff;}
:root body .mv-customer-root .mv-directory-frame>.customer-list-frame>.data-table thead{background:var(--mv-page-header-bg,#d6e5f1);box-shadow:none;}
:root body .mv-customer-root .mv-directory-frame>.customer-list-frame>.data-table thead th{background:var(--mv-page-header-bg,#d6e5f1);color:var(--mv-page-heading-ink,#123f64);border-bottom-color:var(--mv-page-border,#a8bdd0);font-size:12px;font-weight:500;box-shadow:none;}
:root body .mv-customer-root .mv-directory-frame>.customer-list-frame>.data-table tbody td{padding:4px 8px;border-bottom-color:var(--mv-page-divider,#d3e0ea);font-size:13px;line-height:1.35;}
:root body .mv-customer-root .mv-directory-frame :is(.mv-control,.btn):not(.mv-directory-search-clear){font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:13px!important;font-weight:500;line-height:1.3;}
:root body .mv-customer-root .mv-directory-frame .customer-list-search{font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:13px;font-weight:400;line-height:1.3;}
:root body .mv-customer-root .mv-directory-frame .customer-list-search:not(:disabled):not([readonly]):not([aria-invalid="true"]):not(:focus){border-color:var(--mv-page-border,#a8bdd0);color:var(--mv-page-ink,#19354d);background:#fff;box-shadow:none;}
:root body .mv-customer-root .mv-directory-frame .mv-directory-status-trigger{--mv-control-bg:#fff!important;--mv-action-text:var(--mv-page-ink,#19354d);--mv-control-hover-bg:#eaf1f7;--mv-control-hover-text:var(--mv-page-ink,#19354d);--mv-control-shadow:none;}
:root body .mv-customer-root .mv-directory-frame .mv-directory-status-trigger:not(:disabled):not([aria-disabled="true"]){border-color:var(--mv-page-border,#a8bdd0)!important;}
:root body .mv-customer-root .mv-directory-frame .customer-list-sort-button:not(.customer-list-sort-button--active):not(.inventory-sort-button--active){font-family:inherit;font-size:inherit;font-weight:500;}
:root body .mv-customer-root .mv-directory-frame :is(.customer-list-summary,.customer-list-detail-hint,.customer-company-line){color:var(--mv-page-muted,#526779);}
}
/* Inventory directory; scope type and table rules to Items, preserving other panels. */
@media screen{
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame{padding:var(--mv-page-padding,10px);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;background:#fff;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame>.inventory-db-header{gap:var(--mv-page-gap,8px);padding:var(--mv-page-header-padding,7px 9px);margin:0 0 var(--mv-page-gap,8px);border-bottom:1px solid var(--mv-page-border,#a8bdd0);background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;box-shadow:none;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame>.inventory-db-header .inventory-page-title{margin:0;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.4;color:inherit!important;text-shadow:none;letter-spacing:normal;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items{color:var(--mv-page-ink,#19354d);font:14px/1.4 var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);text-align:left;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items>.inventory-directory-toolbar{gap:var(--mv-page-gap,8px);padding:var(--mv-page-toolbar-padding,8px 9px);margin:0 0 var(--mv-page-gap,8px);border:0;border-bottom:1px solid var(--mv-page-divider,#d3e0ea);border-radius:0;background:var(--mv-page-soft-bg,#f7fafc);}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items>.inventory-list-frame{border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px);background:#fff;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items>.inventory-list-frame>.inventory-table thead{background:var(--mv-page-header-bg,#d6e5f1);box-shadow:none;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items>.inventory-list-frame>.inventory-table thead th{background:var(--mv-page-header-bg,#d6e5f1);color:var(--mv-page-heading-ink,#123f64);border-bottom-color:var(--mv-page-border,#a8bdd0);font-size:12px;font-weight:500;box-shadow:none;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items>.inventory-list-frame>.inventory-table tbody td{padding:4px 8px;border-bottom-color:var(--mv-page-divider,#d3e0ea);font-size:13px;line-height:1.35;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items :is(.mv-control,.btn):not(.mv-directory-search-clear){font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:13px!important;font-weight:500;line-height:1.3;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .inventory-list-search-input{font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:13px;font-weight:400;line-height:1.3;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .inventory-list-search-input:not(:disabled):not([readonly]):not([aria-invalid="true"]):not(:focus){border-color:var(--mv-page-border,#a8bdd0);color:var(--mv-page-ink,#19354d);background:#fff;box-shadow:none;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .mv-directory-status-trigger{--mv-control-bg:#fff!important;--mv-action-text:var(--mv-page-ink,#19354d);--mv-control-hover-bg:#eaf1f7;--mv-control-hover-text:var(--mv-page-ink,#19354d);--mv-control-shadow:none;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .mv-directory-status-trigger:not(:disabled):not([aria-disabled="true"]){border-color:var(--mv-page-border,#a8bdd0)!important;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .inventory-sort-button:not(.customer-list-sort-button--active):not(.inventory-sort-button--active){font-family:inherit;font-size:inherit;font-weight:500;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame>.inventory-db-header :is(.mv-control,.btn){font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:13px;font-weight:500;line-height:1.3;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .inventory-list-search-help{color:var(--mv-page-muted,#526779);}
}
/* Style the existing owned listboxes without moving them into a scroll frame. */
@media screen{
:root body .mv-directory-status-list:is([id*="ContactStatusFilter-control-"],[id*="customerDirectoryStatus-control-"],[id*="inventoryDirectoryStatus-control-"]){border-color:var(--mv-page-border,#a8bdd0);color:var(--mv-page-ink,#19354d);font:14px/1.4 var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);}
:root body .mv-directory-status-list:is([id*="ContactStatusFilter-control-"],[id*="customerDirectoryStatus-control-"],[id*="inventoryDirectoryStatus-control-"]) .mv-directory-status-option{font-size:13px;}
}
@media screen and (any-pointer:coarse),screen and (max-width:600px){
:root body #ContactsOverlay>.mv-directory-frame #ContactSearch{font-size:16px;}
:root body #ContactsOverlay>.mv-directory-frame .mv-directory-status .mv-directory-status-trigger{font-size:16px!important;}
:root body #ContactsOverlay>.mv-directory-frame .mv-contact-sort{min-height:44px;}
:root body .mv-customer-root .mv-directory-frame .customer-list-search{font-size:16px;}
:root body .mv-customer-root .mv-directory-frame .mv-directory-status .mv-directory-status-trigger{font-size:16px!important;}
:root body .mv-customer-root .mv-directory-frame .customer-list-sort-button{min-height:44px;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .inventory-list-search-input{font-size:16px;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .mv-directory-status .mv-directory-status-trigger{font-size:16px!important;}
:root body [data-mv-inventory-root]>.inventory-db-shell.mv-directory-frame .inventory-workspace-panel--items .inventory-sort-button{min-height:44px;}
}

/* 4.7B.5.C4.G3: explicit record/editor consumers of the accepted Alerts theme.
   Native controls, validation/status colors, compact Call Log rows, layout,
   visibility, focus, scroll, print and protected operation owners are retained.
   No legacy token is redefined. System forced colors keep the existing rules. */
@media screen and (forced-colors:none){
/* Ordinary Contact editor; phone/address fields keep their native rules. */
:root body #ContactFormOverlay.mv-contacts-editor>.modal-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body #ContactFormOverlay.mv-contacts-editor .mv-contacts-editor-header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px);
}
:root body #ContactFormOverlay.mv-contacts-editor #ContactFormTitle{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #ContactFormOverlay.mv-contacts-editor #ContactIdDisplay{
  color:var(--mv-page-muted,#526779);
}
:root body #ContactFormOverlay.mv-contacts-editor :is(.mv-contacts-editor-scroll,.mv-contacts-editor-actions){
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
/* Customer record and editor; financial/approval dialogs stay separate. */
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"])>:is(.customer-detail-modal-content,.customer-editor-modal-content){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"]) :is(.customer-detail-header,.customer-editor-header){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px);
}
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"]) :is(.customer-detail-header,.customer-editor-header) h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body .mv-customer-root .customer-detail-header .customer-detail-subtitle{
  color:var(--mv-page-muted,#526779);
}
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"])>:is(.customer-detail-modal-content,.customer-editor-modal-content) :is(.customer-detail-body,.customer-editor-scroll,.customer-editor-actions,.customer-acc-body){
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"])>:is(.customer-detail-modal-content,.customer-editor-modal-content) :is(.customer-panel-card,.customer-canonical-section,.customer-editor-section){
  background:#fff;border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px);
}
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"])>:is(.customer-detail-modal-content,.customer-editor-modal-content) :is(.customer-accordion>summary,.customer-canonical-section-header,.customer-editor-section-heading){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"])>:is(.customer-detail-modal-content,.customer-editor-modal-content) :is(.customer-accordion>summary,.customer-canonical-section-header,.customer-editor-section-heading) :is(h4,h5){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"])>:is(.customer-detail-modal-content,.customer-editor-modal-content) :is(.customer-accordion>summary,.customer-canonical-section-header,.customer-editor-section-heading) :is(p,.customer-acc-caret){
  color:var(--mv-page-muted,#526779);
}
:root body .mv-customer-root :is(#customerDetailModal,[data-mv-local-id="customerDetailModal"],#addModal,[data-mv-local-id="addModal"])>:is(.customer-detail-modal-content,.customer-editor-modal-content) :is(.summary-stat,.profile-pill,.customer-activity-item){
  border-color:var(--mv-page-divider,#d3e0ea);
}
/* Customer relationships; inactive/assigned cards and all state badges retain their palettes. */
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-section,.mv-address-section,.mv-contact-dialog,.mv-address-dialog){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-dialog-header,.mv-address-dialog-header){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px);
}
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-dialog-header,.mv-address-dialog-header) h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-dialog-header,.mv-address-dialog-header) p{
  color:var(--mv-page-muted,#526779);
}
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-section-header,.mv-address-section-header){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-section-header,.mv-address-section-header) h4{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-section-header,.mv-address-section-header) p{
  color:var(--mv-page-muted,#526779);
}
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-dialog-body,.mv-address-dialog-body,.mv-contact-dialog-footer,.mv-address-dialog-footer){
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body :is(.mv-customer-root,.mv-contact-overlay.mv-theme-scope,.mv-address-overlay.mv-theme-scope) :is(.mv-contact-card:not(.mv-contact-card--inactive),.mv-contact-role-card:not(.mv-contact-role-card--inactive):not(.mv-contact-role-card--assigned),.mv-address-card:not(.mv-address-card--inactive),.mv-address-detail-section){
  background:#fff;border-color:var(--mv-page-divider,#d3e0ea);border-radius:var(--mv-page-radius,2px);
}
/* Call Log: keep row heights, columns, 4px card gaps and all picker/control states. */
:root body .mv-customer-root .mv-call-log{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body .mv-customer-root .mv-call-log .mv-call-heading{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body .mv-customer-root .mv-call-log .mv-call-heading h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body .mv-customer-root .mv-call-log .mv-call-filters{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body .mv-customer-root .mv-call-log .mv-call-card:not(.mv-call-selected){
  border-color:var(--mv-page-divider,#d3e0ea);background:#fff;
}
:root body .mv-customer-root .mv-call-log .mv-call-details{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body .mv-customer-root .mv-call-log .mv-call-editor{
  background:#fff;border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px);
}
:root body .mv-customer-root .mv-call-log .mv-call-editor-title{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body .mv-customer-root .mv-call-log .mv-call-editor-title{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-weight:500;
}
:root body .mv-customer-root .mv-call-log .mv-call-editor-actions{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body .mv-customer-root .mv-call-log :is(.mv-call-facts,.mv-call-line,.mv-call-cell){
  border-color:var(--mv-page-divider,#d3e0ea);
}
:root body .mv-call-calendar{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);border-color:var(--mv-page-border,#a8bdd0);
}
:root body .mv-call-calendar .mv-call-calendar-heading{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
/* Inventory record/editor/stock/movement/transfer allowlist; Reports and Repair remain outside. */
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"])>.modal-content{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) :is(.inventory-item-detail-header,.inventory-editor-header,.inventory-stock-form-header,.movement-history-modal-head,.movement-detail-modal-head,.inventory-transfer-modal-head){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px);
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) :is(.inventory-item-detail-header,.inventory-editor-header,.inventory-stock-form-header,.movement-history-modal-head,.movement-detail-modal-head,.inventory-transfer-modal-head) h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) .inventory-transfer-modal-head :is(#transferDetailSubtitle,[data-mv-local-id="transferDetailSubtitle"]){
  color:var(--mv-page-muted,#526779)!important;
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) :is(.inventory-item-detail-body,.inventory-editor-top,.inventory-editor-scroll,.inventory-dialog-actions){
  background:var(--mv-page-soft-bg,#f7fafc)!important;border-color:var(--mv-page-divider,#d3e0ea);
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) :is(.inventory-item-detail-field,.movement-detail-field:not(.inventory-transfer-correction)){
  background:#fff;border-color:var(--mv-page-divider,#d3e0ea);border-radius:var(--mv-page-radius,2px)!important;
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) :is(.inventory-item-detail-label,.movement-detail-field:not(.inventory-transfer-correction)>.movement-detail-label){
  color:var(--mv-page-muted,#526779);font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) .movement-filter-grid{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) .movement-table-wrap{
  background:#fff;border-color:var(--mv-page-border,#a8bdd0);
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) .movement-table thead th{
  background:var(--mv-page-header-bg,#d6e5f1);color:var(--mv-page-heading-ink,#123f64);border-color:var(--mv-page-divider,#d3e0ea);font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-inventory-root] :is(#inventoryItemDetailModal,[data-mv-local-id="inventoryItemDetailModal"],#addModal,[data-mv-local-id="addModal"],#inventoryBalancesModal,[data-mv-local-id="inventoryBalancesModal"],#inventoryReceiveModal,[data-mv-local-id="inventoryReceiveModal"],#inventoryTransferModal,[data-mv-local-id="inventoryTransferModal"],#inventoryAdjustModal,[data-mv-local-id="inventoryAdjustModal"],#movementHistoryModal,[data-mv-local-id="movementHistoryModal"],#movementDetailModal,[data-mv-local-id="movementDetailModal"],#transferHistoryModal,[data-mv-local-id="transferHistoryModal"],#transferDetailModal,[data-mv-local-id="transferDetailModal"]) .movement-table tbody td{
  border-color:var(--mv-page-divider,#d3e0ea);
}
}

/* 4.7B.5.C4.G4: separately bounded operational consumers of the Alerts theme.
   Preserve native actions, state palettes, totals, protected owners, layout,
   Workspace scrolling, 44px touch rules and print. No legacy token overrides. */
@media screen and (forced-colors:none){
/* G4.1 Pricing and History. Metal, source, saved and value colors stay native. */
:root body #appShell #dailyPriceCenter{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body #appShell #dailyPriceCenter #dailyPriceCenterBody{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body #appShell #dailyPriceCenter :is(#estimateMainCard,#customKaratsMainCard,.mv-daily-price-table){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body #appShell #dailyPriceCenter :is(#dailyPriceCenterToggle,#estimateAccordionBtn):not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):not([data-busy]):not(:hover):not(:active):not(:focus):not(:focus-visible){
  background:var(--mv-page-header-bg,#d6e5f1);color:var(--mv-page-heading-ink,#123f64);
}
:root body #historyOverlay>.overlay-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body #historyOverlay>.overlay-card>.overlay-header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body #historyOverlay .overlay-header>h2.hide-on-print{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #historyOverlay .mv-history-filter-panel{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body #historyOverlay .history-table :is(th,td){
  border-color:var(--mv-page-divider,#d3e0ea);
}
:root body #historyOverlay .history-table th{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#historyEditModal,#grcTicksHelperModal)>.modal-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body :is(#historyEditModal,#grcTicksHelperModal)>.modal-card>h3.mv-title-band{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body :is(#historyEditModal,#grcTicksHelperModal)>.modal-card>h3.mv-title-band{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
/* G4.2 Reports and Help. Secured maintenance/recovery reports are excluded. */
:root body #workspaceReportsOverlay>.mv-shell-reports-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body #workspaceReportsOverlay .mv-shell-reports-head{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body #workspaceReportsOverlay .mv-shell-reports-title{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-inventory-root] :is(#inventoryReportsShell,[data-mv-local-id="inventoryReportsShell"]){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-inventory-root] :is(#inventoryReportsShell,[data-mv-local-id="inventoryReportsShell"])>.inventory-reports-head{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body [data-mv-inventory-root] :is(#inventoryReportsShell,[data-mv-local-id="inventoryReportsShell"]) .inventory-reports-title{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-inventory-root] :is(#inventoryReportsShell,[data-mv-local-id="inventoryReportsShell"])>.inventory-reports-body{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body [data-mv-inventory-root] :is(#inventoryReportsShell,[data-mv-local-id="inventoryReportsShell"]) :is(.inventory-reports-scope-card,.inventory-report-filters-card){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-inventory-root] :is(#inventoryReportsShell,[data-mv-local-id="inventoryReportsShell"]) .inventory-report-filters-head{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body [data-mv-inventory-root] :is(#inventoryReportsShell,[data-mv-local-id="inventoryReportsShell"]) :is(.inventory-reports-scope-title,.inventory-report-filters-title){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-inventory-root] :is(#inventoryCompanyReportOverlay,[data-mv-local-id="inventoryCompanyReportOverlay"])>.inventory-company-report-content{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-inventory-root] :is(#inventoryCompanyReportOverlay,[data-mv-local-id="inventoryCompanyReportOverlay"]) .inventory-company-report-head{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body [data-mv-inventory-root] :is(#inventoryCompanyReportOverlay,[data-mv-local-id="inventoryCompanyReportOverlay"]) .inventory-company-report-head h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #helpModal>.modal-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body #helpModal .help-header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body #helpModal .help-header>h3.mv-title-band{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body #helpModal .help-header>h3.mv-title-band{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #helpModal .help-body>h4{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #helpModal .help-footer{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body #helpSupportModal>.modal-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body #helpSupportModal>.modal-card>h3.mv-title-band{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body #helpSupportModal>.modal-card>h3.mv-title-band{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
/* G4.3 POS. Totals, stock/hold status, prices and transaction controls stay native. */
:root body [data-mv-transaction-root="pos"]>.container{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body :is([data-mv-transaction-root="pos"],[data-mv-transaction-root="pos_invoice"])>.container>.header-bar{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:4px 9px!important;
}
:root body :is([data-mv-transaction-root="pos"],[data-mv-transaction-root="pos_invoice"])>.container>.header-bar>h2,
:root body :is([data-mv-transaction-root="pos"],[data-mv-transaction-root="pos_invoice"])>.container>.header-bar>.pos-draft-heading>h2{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);margin:0;font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-transaction-root="pos"] .pos-grid>.panel{
  background:var(--mv-surface-bg,#fff)!important;border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="pos"] .pos-grid>.panel>h3.mv-section-heading{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body [data-mv-transaction-root="pos"] .pos-grid>.panel>h3.mv-section-heading{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-transaction-root="pos"] :is(#cartTable,[data-tx-id="cartTable"]) :is(th,td){
  border-color:var(--mv-page-divider,#d3e0ea);
}
:root body [data-mv-transaction-root="pos"] :is(#cartTable,[data-tx-id="cartTable"]) th{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body [data-mv-transaction-root="pos"] :is(:is(#posCustomerDetailModal,[data-tx-id="posCustomerDetailModal"]),:is(#posItemDetailModal,[data-tx-id="posItemDetailModal"]),:is(#posSaleCompleteModal,[data-tx-id="posSaleCompleteModal"]),:is(#posLocationPickModal,[data-tx-id="posLocationPickModal"]),:is(#posHoldDetailModal,[data-tx-id="posHoldDetailModal"]))>.modal-content{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="pos"] :is(:is(#posCustomerDetailModal,[data-tx-id="posCustomerDetailModal"]) .customer-detail-header,:is(#posItemDetailModal,[data-tx-id="posItemDetailModal"]) .pos-item-detail-header,:is(#posHoldDetailModal,[data-tx-id="posHoldDetailModal"])>.modal-content>.mv-title-band){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body [data-mv-transaction-root="pos"] :is(:is(#posCustomerDetailTitle,[data-tx-id="posCustomerDetailTitle"]),:is(#posItemDetailTitle,[data-tx-id="posItemDetailTitle"]),:is(#posHoldDetailTitle,[data-tx-id="posHoldDetailTitle"]),:is(#posLocationPickTitle,[data-tx-id="posLocationPickTitle"]),:is(#posSaleCompleteTitle,[data-tx-id="posSaleCompleteTitle"])){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);margin:0;font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-transaction-root="pos"] :is(#posSaleCompleteTitle,[data-tx-id="posSaleCompleteTitle"]){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body [data-mv-transaction-root="pos"] :is(#posLocationPickModal,[data-tx-id="posLocationPickModal"])>.modal-content>div:first-child{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body [data-mv-transaction-root="pos"] :is(:is(#posCustomerDetailBody,[data-tx-id="posCustomerDetailBody"])>.customer-detail-grid>.customer-panel-card,:is(#posCustomerDetailBody,[data-tx-id="posCustomerDetailBody"])>.customer-panel-card,:is(#posItemDetailBody,[data-tx-id="posItemDetailBody"]) .pos-item-detail-section){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="pos"] :is(:is(#posCustomerDetailBody,[data-tx-id="posCustomerDetailBody"]) .customer-panel-card>h4,:is(#posItemDetailBody,[data-tx-id="posItemDetailBody"]) .pos-item-detail-section h4){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-transaction-root="pos"] :is(#posItemDetailBody,[data-tx-id="posItemDetailBody"]) .pos-item-detail-field{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
/* G4.4 BUY. Active options, totals, delete confirmation and printed content stay native. */
:root body [data-mv-transaction-root="buy"] :is(:is(#BuyOverlay,[data-tx-id="BuyOverlay"]),:is(#BuySelectOverlay,[data-tx-id="BuySelectOverlay"]),:is(#SellerPickerOverlay,[data-tx-id="SellerPickerOverlay"]),:is(#PurchaseHistoryOverlay,[data-tx-id="PurchaseHistoryOverlay"]),:is(#PurchaseEditOverlay,[data-tx-id="PurchaseEditOverlay"]))>.buy-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="buy"] :is(:is(#BuyOverlay,[data-tx-id="BuyOverlay"]),:is(#BuySelectOverlay,[data-tx-id="BuySelectOverlay"]),:is(#SellerPickerOverlay,[data-tx-id="SellerPickerOverlay"]),:is(#PurchaseHistoryOverlay,[data-tx-id="PurchaseHistoryOverlay"]),:is(#PurchaseEditOverlay,[data-tx-id="PurchaseEditOverlay"]))>.buy-card>.overlay-header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body [data-mv-transaction-root="buy"] :is(:is(#BuyOverlay,[data-tx-id="BuyOverlay"]),:is(#BuySelectOverlay,[data-tx-id="BuySelectOverlay"]),:is(#SellerPickerOverlay,[data-tx-id="SellerPickerOverlay"]),:is(#PurchaseHistoryOverlay,[data-tx-id="PurchaseHistoryOverlay"]),:is(#PurchaseEditOverlay,[data-tx-id="PurchaseEditOverlay"]))>.buy-card>.overlay-header>h2{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);margin:0;font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-transaction-root="buy"] :is(:is(#BuyOverlay,[data-tx-id="BuyOverlay"]),:is(#BuySelectOverlay,[data-tx-id="BuySelectOverlay"]),:is(#SellerPickerOverlay,[data-tx-id="SellerPickerOverlay"]),:is(#PurchaseHistoryOverlay,[data-tx-id="PurchaseHistoryOverlay"]),:is(#PurchaseEditOverlay,[data-tx-id="PurchaseEditOverlay"])) .buy-actions{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-divider,#d3e0ea);
}
:root body [data-mv-transaction-root="buy"] :is(:is(#BuyOverlay,[data-tx-id="BuyOverlay"]),:is(#PurchaseEditOverlay,[data-tx-id="PurchaseEditOverlay"])) :is(.buy-section,.buy-cart){
  background:var(--mv-surface-bg,#fff)!important;border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="buy"] :is(:is(#BuyOverlay,[data-tx-id="BuyOverlay"]),:is(#PurchaseEditOverlay,[data-tx-id="PurchaseEditOverlay"])) :is(.buy-section>h3,.buy-cart-head){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body [data-mv-transaction-root="buy"] :is(:is(#BuyOverlay,[data-tx-id="BuyOverlay"]),:is(#PurchaseEditOverlay,[data-tx-id="PurchaseEditOverlay"])) :is(.buy-section>h3,.buy-cart-title){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body [data-mv-transaction-root="buy"] :is(:is(#BuyOverlay,[data-tx-id="BuyOverlay"]),:is(#PurchaseEditOverlay,[data-tx-id="PurchaseEditOverlay"])) :is(.buy-cart-row,.buy-seller-box){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="buy"] :is(#SellerPickerOverlay,[data-tx-id="SellerPickerOverlay"]) .seller-card:not(.seller-row-active){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="buy"] :is(#PurchaseHistoryOverlay,[data-tx-id="PurchaseHistoryOverlay"]) .ph-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="buy"] :is(#PurchasePrintOverlay,[data-tx-id="PurchasePrintOverlay"])>.buy-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body [data-mv-transaction-root="buy"] :is(#PurchasePrintOverlay,[data-tx-id="PurchasePrintOverlay"]) .purchase-print-header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body [data-mv-transaction-root="buy"] :is(#PurchasePrintOverlay,[data-tx-id="PurchasePrintOverlay"]) :is(#PurchasePrintTitle,[data-tx-id="PurchasePrintTitle"]){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);margin:0;font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
}

/* 4.7B.5.C4.G5: isolated protected Setup presentation.
   Native controls, authorization, lock/error/busy palettes, focus, layout,
   scroll, recovery stages and print retain their existing owners. */
@media screen and (forced-colors:none){
/* G5.1 Native System Tools shell and explicit existing accordions. */
:root body #setupModal>#setupModalDialog{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #setupModal #setupModalDialog>.mv-setup-header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body #setupModal #setupModalTitle{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #setupModal :is(#setupModalBody,#setupModalFooter){
  background:var(--mv-page-soft-bg,#f7fafc)!important;border-color:var(--mv-page-divider,#d3e0ea)!important;
}
:root body #setupModal :is(#companyProfileAccordion,#platformAdminCompanyAccessAccordion,#cpAccordion,#adminMgmtBtn,#staffRoleCatalogAccordion,#platformMaintenanceAccordion,#platformAccountingMaintenanceSection,#platformDatabaseMaintenanceSection,#platformTrialRegistrationSection,#platformDuplicateAuditSection,#platformCustomerAuditSection,#platformContactAuditSection,#platformInventoryDuplicateAuditSection,#platformGlobalInventoryReportSection,#platformReconciliationHealthSection,#platformLaunchGateSection,#platformDrOpsAccordion,#platformPitrAccordion,#companyMaintenanceAccordion,#companyBillingAccordion,#platformBillingDefaultsAccordion,#platformTenantBillingAccordion,#platformTenantCreateSection,#platformTenantListSection,#platformTenantReportsUtilitiesSection,#companyInventoryAccordion,#inventoryDefaultsSubAccordion,#inventoryLocationsSubAccordion,#inventoryFreezeSubAccordion,#inventoryFreezeToolsAccordion,#inventoryFreezeReportsAccordion,#inventoryReconciliationAccordion,#companyPolicyAccordion,#companyAccessPolicyAccordion,#priceSourceAccordion,#premiumsAccordion,#recordNumberingAccordion).acc-card{
  background:var(--mv-surface-bg,#fff)!important;border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #setupModal :is(#companyProfileAccordion,#platformAdminCompanyAccessAccordion,#cpAccordion,#adminMgmtBtn,#staffRoleCatalogAccordion,#platformMaintenanceAccordion,#platformAccountingMaintenanceSection,#platformDatabaseMaintenanceSection,#platformTrialRegistrationSection,#platformDuplicateAuditSection,#platformCustomerAuditSection,#platformContactAuditSection,#platformInventoryDuplicateAuditSection,#platformGlobalInventoryReportSection,#platformReconciliationHealthSection,#platformLaunchGateSection,#platformDrOpsAccordion,#platformPitrAccordion,#companyMaintenanceAccordion,#companyBillingAccordion,#platformBillingDefaultsAccordion,#platformTenantBillingAccordion,#platformTenantCreateSection,#platformTenantListSection,#platformTenantReportsUtilitiesSection,#companyInventoryAccordion,#inventoryDefaultsSubAccordion,#inventoryLocationsSubAccordion,#inventoryFreezeSubAccordion,#inventoryFreezeToolsAccordion,#inventoryFreezeReportsAccordion,#inventoryReconciliationAccordion,#companyPolicyAccordion,#companyAccessPolicyAccordion,#priceSourceAccordion,#premiumsAccordion,#recordNumberingAccordion).acc-card>summary.acc-summary{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body #setupModal :is(#companyProfileAccordion,#platformAdminCompanyAccessAccordion,#cpAccordion,#adminMgmtBtn,#staffRoleCatalogAccordion,#platformMaintenanceAccordion,#platformAccountingMaintenanceSection,#platformDatabaseMaintenanceSection,#platformTrialRegistrationSection,#platformDuplicateAuditSection,#platformCustomerAuditSection,#platformContactAuditSection,#platformInventoryDuplicateAuditSection,#platformGlobalInventoryReportSection,#platformReconciliationHealthSection,#platformLaunchGateSection,#platformDrOpsAccordion,#platformPitrAccordion,#companyMaintenanceAccordion,#companyBillingAccordion,#platformBillingDefaultsAccordion,#platformTenantBillingAccordion,#platformTenantCreateSection,#platformTenantListSection,#platformTenantReportsUtilitiesSection,#companyInventoryAccordion,#inventoryDefaultsSubAccordion,#inventoryLocationsSubAccordion,#inventoryFreezeSubAccordion,#inventoryFreezeToolsAccordion,#inventoryFreezeReportsAccordion,#inventoryReconciliationAccordion,#companyPolicyAccordion,#companyAccessPolicyAccordion,#priceSourceAccordion,#premiumsAccordion,#recordNumberingAccordion).acc-card>summary.acc-summary>div>div:first-child{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #setupModal #companyAccessPolicyAccordion details.access-policy-compact-section{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #setupModal #companyAccessPolicyAccordion details.access-policy-compact-section>summary.access-policy-compact-summary{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
/* G5.2 Staff, tenant and Inventory setup editors; field/status surfaces unchanged. */
:root body :is(#userFormOverlay,#staffRoleFormOverlay,#userDetailOverlay,#rlResetModal,#tenantBillingDetailOverlay,#tenantBillingEditOverlay,#tenantMemberEditOverlay,#tenantMemberPasswordOverlay,#companyInventoryLocationOverlay,#companyInventoryLocationTypeOverlay,#companyInventoryLocationTypeManagerOverlay,#inventoryFreezeItemLookupOverlay)>:is(.modal-card,.inventory-freeze-lookup-card,.platform-recon-health-detail-card){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#userFormOverlay,#staffRoleFormOverlay,#userDetailOverlay,#rlResetModal,#tenantBillingDetailOverlay,#tenantBillingEditOverlay,#tenantMemberEditOverlay,#tenantMemberPasswordOverlay,#companyInventoryLocationOverlay,#companyInventoryLocationTypeOverlay,#companyInventoryLocationTypeManagerOverlay,#inventoryFreezeItemLookupOverlay)>.modal-card>h3.mv-title-band{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#userFormOverlay,#staffRoleFormOverlay,#userDetailOverlay,#rlResetModal,#tenantBillingDetailOverlay,#tenantBillingEditOverlay,#tenantMemberEditOverlay,#tenantMemberPasswordOverlay,#companyInventoryLocationOverlay,#companyInventoryLocationTypeOverlay,#companyInventoryLocationTypeManagerOverlay,#inventoryFreezeItemLookupOverlay)>.modal-card>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body :is(#userFormOverlay,#staffRoleFormOverlay,#userDetailOverlay,#rlResetModal,#tenantBillingDetailOverlay,#tenantBillingEditOverlay,#tenantMemberEditOverlay,#tenantMemberPasswordOverlay,#companyInventoryLocationOverlay,#companyInventoryLocationTypeOverlay,#companyInventoryLocationTypeManagerOverlay,#inventoryFreezeItemLookupOverlay)>:is(.modal-card,.inventory-freeze-lookup-card,.platform-recon-health-detail-card)>:is(.tenant-billing-head,.inventory-location-modal-head,.inventory-freeze-lookup-head,.access-policy-overlay-head,.db-maint-report-head,.inventory-reconciliation-overlay-head,.inventory-repair-receipt-head,.inventory-reconciliation-history-head,.inventory-company-report-head,.tenant-database-info-head,.platform-recon-health-detail-head){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body :is(#userFormOverlay,#staffRoleFormOverlay,#userDetailOverlay,#rlResetModal,#tenantBillingDetailOverlay,#tenantBillingEditOverlay,#tenantMemberEditOverlay,#tenantMemberPasswordOverlay,#companyInventoryLocationOverlay,#companyInventoryLocationTypeOverlay,#companyInventoryLocationTypeManagerOverlay,#inventoryFreezeItemLookupOverlay)>:is(.modal-card,.inventory-freeze-lookup-card,.platform-recon-health-detail-card)>:is(.tenant-billing-head,.inventory-location-modal-head,.inventory-freeze-lookup-head,.access-policy-overlay-head,.db-maint-report-head,.inventory-reconciliation-overlay-head,.inventory-repair-receipt-head,.inventory-reconciliation-history-head,.inventory-company-report-head,.tenant-database-info-head,.platform-recon-health-detail-head) :is(h3,.inventory-freeze-lookup-title){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
/* G5.3 Password/security dialogs; action identity, invalid fields and status stay native. */
:root body :is(#companyPolicyPasswordOverlay,#companyAccessPolicyUnlockOverlay,#inventoryReconciliationUnlockOverlay)>.modal-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#companyPolicyPasswordOverlay,#companyAccessPolicyUnlockOverlay,#inventoryReconciliationUnlockOverlay)>.modal-card>h3.mv-title-band{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#companyPolicyPasswordOverlay,#companyAccessPolicyUnlockOverlay,#inventoryReconciliationUnlockOverlay)>.modal-card>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #companyAccessPolicyUnlockOverlay .access-policy-overlay-head{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body #companyAccessPolicyUnlockOverlay .access-policy-overlay-head h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #platformAdminPasswordOverlay>.platform-admin-password-card{
  background:var(--mv-surface-bg,#fff);border-radius:var(--mv-page-radius,2px)!important;
}
/* C2.C3.C2: approved shared password-dialog light-blue/gray band and compact actions.
   Use the same header palette as the approved page theme. */
:root body #platformAdminPasswordOverlay .platform-admin-password-header{
  background:var(--mv-page-header-bg,#d6e5f1);color:var(--mv-page-heading-ink,#123f64);
}
:root body #platformAdminPasswordOverlay #platformAdminPasswordTitle{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body #platformAdminPasswordOverlay .platform-admin-password-actions .btn{
  font-weight:400;
}
:root body #platformAdminPasswordOverlay #platformAdminPasswordCancelBtn{
  --mv-control-bg:#eef6ff!important;--mv-action-text:#1b5687;
  --mv-control-hover-bg:#dfecf7!important;--mv-control-hover-text:#123f64!important;
}
:root body #platformAdminPasswordOverlay #platformAdminPasswordContinueBtn{
  --mv-control-bg:#1b5687!important;--mv-action-text:#fff;
  --mv-control-hover-bg:#123f64!important;--mv-control-hover-text:#fff!important;
}
:root body #platformAdminPasswordOverlay .platform-admin-password-close{
  --mv-control-bg:var(--mv-page-header-bg,#d6e5f1)!important;--mv-action-text:var(--mv-page-heading-ink,#123f64);
  --mv-control-hover-bg:#bfd5e6!important;--mv-control-hover-text:#123f64!important;
}
@media screen{
  :root body #platformAdminPasswordOverlay #platformAdminPasswordCancelBtn:not(:disabled):not([aria-disabled="true"]){
    border-color:#aac9e3!important;box-shadow:none;
  }
  :root body #platformAdminPasswordOverlay #platformAdminPasswordContinueBtn:not(:disabled):not([aria-disabled="true"]){
    border-color:#1b5687!important;box-shadow:none;
  }
  :root body #platformAdminPasswordOverlay .platform-admin-password-close:not(:disabled):not([aria-disabled="true"]){
    border-color:transparent!important;box-shadow:none;
  }
}
@media screen and (forced-colors:active){
  :root body #platformAdminPasswordOverlay :is(#platformAdminPasswordCancelBtn,#platformAdminPasswordContinueBtn,.platform-admin-password-close):not(:disabled):not([aria-disabled="true"]){
    background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;
  }
}
/* G5.4 Protected reports and reconciliation; generated output and confirmation content unchanged. */
:root body :is(#dbMaintReportOverlay,#duplicateAuditReportOverlay,#customerAuditReportOverlay,#contactAuditReportOverlay,#inventoryDuplicateAuditReportOverlay,#inventoryFreezeReportOverlay,#inventoryReconciliationReportOverlay,#inventoryReconciliationRepairPreviewOverlay,#inventoryReconciliationApplyOverlay,#inventoryReconciliationRepairReceiptOverlay,#inventoryReconciliationHistoryOverlay,#companyAccessPolicyPermissionOverlay,#platformGlobalInventoryReportOverlay,#tenantDatabaseInfoOverlay,#platformLaunchChecklistOverlay,#platformLaunchHistoryOverlay,#platformReconHealthDetailOverlay)>:is(.modal-card,.inventory-freeze-lookup-card,.platform-recon-health-detail-card){
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#dbMaintReportOverlay,#duplicateAuditReportOverlay,#customerAuditReportOverlay,#contactAuditReportOverlay,#inventoryDuplicateAuditReportOverlay,#inventoryFreezeReportOverlay,#inventoryReconciliationReportOverlay,#inventoryReconciliationRepairPreviewOverlay,#inventoryReconciliationApplyOverlay,#inventoryReconciliationRepairReceiptOverlay,#inventoryReconciliationHistoryOverlay,#companyAccessPolicyPermissionOverlay,#platformGlobalInventoryReportOverlay,#tenantDatabaseInfoOverlay,#platformLaunchChecklistOverlay,#platformLaunchHistoryOverlay,#platformReconHealthDetailOverlay)>.modal-card>h3.mv-title-band{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#dbMaintReportOverlay,#duplicateAuditReportOverlay,#customerAuditReportOverlay,#contactAuditReportOverlay,#inventoryDuplicateAuditReportOverlay,#inventoryFreezeReportOverlay,#inventoryReconciliationReportOverlay,#inventoryReconciliationRepairPreviewOverlay,#inventoryReconciliationApplyOverlay,#inventoryReconciliationRepairReceiptOverlay,#inventoryReconciliationHistoryOverlay,#companyAccessPolicyPermissionOverlay,#platformGlobalInventoryReportOverlay,#tenantDatabaseInfoOverlay,#platformLaunchChecklistOverlay,#platformLaunchHistoryOverlay,#platformReconHealthDetailOverlay)>.modal-card>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body :is(#dbMaintReportOverlay,#duplicateAuditReportOverlay,#customerAuditReportOverlay,#contactAuditReportOverlay,#inventoryDuplicateAuditReportOverlay,#inventoryFreezeReportOverlay,#inventoryReconciliationReportOverlay,#inventoryReconciliationRepairPreviewOverlay,#inventoryReconciliationApplyOverlay,#inventoryReconciliationRepairReceiptOverlay,#inventoryReconciliationHistoryOverlay,#companyAccessPolicyPermissionOverlay,#platformGlobalInventoryReportOverlay,#tenantDatabaseInfoOverlay,#platformLaunchChecklistOverlay,#platformLaunchHistoryOverlay,#platformReconHealthDetailOverlay)>:is(.modal-card,.inventory-freeze-lookup-card,.platform-recon-health-detail-card)>:is(.tenant-billing-head,.inventory-location-modal-head,.inventory-freeze-lookup-head,.access-policy-overlay-head,.db-maint-report-head,.inventory-reconciliation-overlay-head,.inventory-repair-receipt-head,.inventory-reconciliation-history-head,.inventory-company-report-head,.tenant-database-info-head,.platform-recon-health-detail-head){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body :is(#dbMaintReportOverlay,#duplicateAuditReportOverlay,#customerAuditReportOverlay,#contactAuditReportOverlay,#inventoryDuplicateAuditReportOverlay,#inventoryFreezeReportOverlay,#inventoryReconciliationReportOverlay,#inventoryReconciliationRepairPreviewOverlay,#inventoryReconciliationApplyOverlay,#inventoryReconciliationRepairReceiptOverlay,#inventoryReconciliationHistoryOverlay,#companyAccessPolicyPermissionOverlay,#platformGlobalInventoryReportOverlay,#tenantDatabaseInfoOverlay,#platformLaunchChecklistOverlay,#platformLaunchHistoryOverlay,#platformReconHealthDetailOverlay)>:is(.modal-card,.inventory-freeze-lookup-card,.platform-recon-health-detail-card)>:is(.tenant-billing-head,.inventory-location-modal-head,.inventory-freeze-lookup-head,.access-policy-overlay-head,.db-maint-report-head,.inventory-reconciliation-overlay-head,.inventory-repair-receipt-head,.inventory-reconciliation-history-head,.inventory-company-report-head,.tenant-database-info-head,.platform-recon-health-detail-head) :is(h3,.inventory-freeze-lookup-title){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
/* G5.5 Recovery dialog frames; stages, progress, status, forms and output unchanged. */
:root body :is(#databaseRestoreOverlay,#databaseRestoreTargetOverlay,#databaseAdoptionOverlay)>.recovery-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #databaseRestoreOverlay .recovery-card__header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);padding:var(--mv-page-header-padding,7px 9px)!important;
}
:root body #databaseRestoreOverlay .recovery-card__header h2{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
:root body :is(#databaseRestoreTargetDialogTitle,#databaseAdoptionTitle){
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#databaseRestoreTargetDialogTitle,#databaseAdoptionTitle){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none;
}
}

/* 4.7B.5.C4.G6: remaining explicit frames and ordinary headings.
   Preserve branding, semantic/status regions, native controls, protected gates,
   layout, focus, navigation, processing, output and the complete G1-G5 prefix. */
@media screen and (forced-colors:none){
/* G6.1 Common notices, confirmations and remaining contact/pricing frames. */
:root body :is(#messageModal,#appConfirmModal,#emailModal,#saveConfirmModal,#fetchSourceModal,#grcPasteModal,#overwriteConfirmModal,#clearConfirmModal,#deleteConfirmModal,#quickPremModal,#ContactDetailOverlay,#ContactDeleteConfirmModal,#ContactLinkModal,#ContactSelfEntryOverlay)>.modal-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#messageModal,#appConfirmModal,#emailModal,#saveConfirmModal,#fetchSourceModal,#grcPasteModal,#overwriteConfirmModal,#clearConfirmModal,#deleteConfirmModal,#quickPremModal,#ContactDetailOverlay,#ContactDeleteConfirmModal,#ContactLinkModal,#ContactSelfEntryOverlay)>.modal-card>h3{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#messageModal,#appConfirmModal,#emailModal,#saveConfirmModal,#fetchSourceModal,#grcPasteModal,#overwriteConfirmModal,#clearConfirmModal,#deleteConfirmModal,#quickPremModal,#ContactDetailOverlay,#ContactDeleteConfirmModal,#ContactLinkModal,#ContactSelfEntryOverlay)>.modal-card>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
/* G6.2 Account lifecycle; status, credential fields and sticky ownership retained. */
:root body :is(#trialModal,#trialCodeModal,#trialResumeModal,#trialPasswordModal,#forgotModal,#forgotCodeModal,#forgotResumeModal,#forgotPasswordModal,#supportModal)>.modal-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#trialModal,#trialCodeModal,#trialResumeModal,#trialPasswordModal,#forgotModal,#forgotCodeModal,#forgotResumeModal,#forgotPasswordModal,#supportModal)>.modal-card>h3,:root body #trialModal>.modal-card>.trial-fixed-head>h3{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#trialModal,#trialCodeModal,#trialResumeModal,#trialPasswordModal,#forgotModal,#forgotCodeModal,#forgotResumeModal,#forgotPasswordModal,#supportModal)>.modal-card>h3,:root body #trialModal>.modal-card>.trial-fixed-head>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
/* G6.3 Startup/access frames; brand, lock/readiness panels and gold accent retained. */
:root body :is(#bootOverlay,#loginOverlay,#subExpiredOverlay)>.modal-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #subExpiredOverlay>.modal-card>#subExpiredTitle{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body #subExpiredOverlay>.modal-card>#subExpiredTitle{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
:root body #initialPlatformSetupOverlay>.initial-platform-setup-card{
  background:var(--mv-surface-bg,#fff);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #initialPlatformSetupOverlay #initialPlatformSetupTitle{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
:root body #initialPlatformSetupOverlay :is(#initialPlatformSetupIdentity>h2,#initialPlatformSetupFormTitle){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
:root body :is(#databaseRestrictedAccessOverlay,#recoveryRestrictedAccessOverlay)>.recovery-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#databaseRestrictedAccessOverlay,#recoveryRestrictedAccessOverlay)>.recovery-card>.recovery-card__header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#databaseRestrictedAccessOverlay,#recoveryRestrictedAccessOverlay)>.recovery-card>.recovery-card__header>div>h2{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
/* G6.4 Shortcut manager and legacy launch menu; shell/nav/tab geometry retained. */
:root body #mvWs8ShortcutManager>.mv-ws8-shortcut-manager-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #mvWs8ShortcutManager .mv-ws8-shortcut-manager-header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body #mvWs8ShortcutManager #mvWs8ShortcutManagerTitle{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
:root body #mvWs8ShortcutManager .mv-ws8-shortcut-manager-pane{
  background:var(--mv-page-soft-bg,#f7fafc);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px);
}
:root body #mvWs8ShortcutManager .mv-ws8-shortcut-manager-pane-heading{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body #mvWs8ShortcutManager :is(#mvWs8ShortcutAvailableTitle,#mvWs8ShortcutDraftTitle,#mvWs8ShortcutPreviewTitle){
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:14px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
:root body #posMenuOverlay>.mv-shell-menu-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #posMenuOverlay>.mv-shell-menu-card>.mv-shell-menu-title{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
/* G6.5 Customer financial/common frames; approval identity, amounts and controls retained. */
:root body .mv-customer-root :is([data-mv-local-id="invoiceEditModal"],[data-mv-local-id="paidInvoiceActionModal"],[data-mv-local-id="paidInvoiceNonFinancialModal"],[data-mv-local-id="autoCreditApplyModal"],[data-mv-local-id="voidPaymentDecisionModal"],[data-mv-local-id="approvalModal"],[data-mv-local-id="customerUiDialogModal"],[data-mv-local-id="openCreditApplyModal"],[data-mv-local-id="paymentModal"])>.modal-content{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body .mv-customer-root :is([data-mv-local-id="invoiceEditModal"],[data-mv-local-id="paidInvoiceActionModal"],[data-mv-local-id="paidInvoiceNonFinancialModal"],[data-mv-local-id="autoCreditApplyModal"],[data-mv-local-id="voidPaymentDecisionModal"],[data-mv-local-id="approvalModal"],[data-mv-local-id="customerUiDialogModal"],[data-mv-local-id="openCreditApplyModal"],[data-mv-local-id="paymentModal"])>.modal-content>h3{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body .mv-customer-root :is([data-mv-local-id="invoiceEditModal"],[data-mv-local-id="paidInvoiceActionModal"],[data-mv-local-id="paidInvoiceNonFinancialModal"],[data-mv-local-id="autoCreditApplyModal"],[data-mv-local-id="voidPaymentDecisionModal"],[data-mv-local-id="approvalModal"],[data-mv-local-id="customerUiDialogModal"],[data-mv-local-id="openCreditApplyModal"],[data-mv-local-id="paymentModal"])>.modal-content>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
/* G6.6 Existing generated Inventory and POS dialogs, including hosted Inventory local IDs. */
:root body :is(#inventoryUiDialogModal,[data-mv-local-id="inventoryUiDialogModal"]).mv-inventory-theme>.modal-content{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#inventoryUiDialogModal,[data-mv-local-id="inventoryUiDialogModal"]).mv-inventory-theme>.modal-content>h3{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#inventoryUiDialogModal,[data-mv-local-id="inventoryUiDialogModal"]).mv-inventory-theme>.modal-content>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
:root body :is(#inventoryRepairPreviewOverlay,[data-mv-local-id="inventoryRepairPreviewOverlay"]).mv-inventory-theme>.inventory-repair-preview-content{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#inventoryRepairPreviewOverlay,[data-mv-local-id="inventoryRepairPreviewOverlay"]).mv-inventory-theme>.inventory-repair-preview-content>.inventory-repair-preview-head{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#inventoryRepairPreviewOverlay,[data-mv-local-id="inventoryRepairPreviewOverlay"]).mv-inventory-theme>.inventory-repair-preview-content>.inventory-repair-preview-head>div>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
:root body :is(#inventoryRepairReceiptOverlay,[data-mv-local-id="inventoryRepairReceiptOverlay"]).mv-inventory-theme>.inventory-repair-receipt-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#inventoryRepairReceiptOverlay,[data-mv-local-id="inventoryRepairReceiptOverlay"]).mv-inventory-theme>.inventory-repair-receipt-card>.inventory-repair-receipt-head{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#inventoryRepairReceiptOverlay,[data-mv-local-id="inventoryRepairReceiptOverlay"]).mv-inventory-theme>.inventory-repair-receipt-card>.inventory-repair-receipt-head>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
:root body :is(#posUiDialogModal,#posUiConfirmModal)>.modal-content{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body :is(#posUiDialogModal,#posUiConfirmModal)>.modal-content>h3{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body :is(#posUiDialogModal,#posUiConfirmModal)>.modal-content>h3{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
/* G6.7 BUY delete frame; destructive action and cancellation remain native. */
:root body #PurchaseDeleteConfirmOverlay>.overlay-card.buy-card{
  background:var(--mv-surface-bg,#fff);border-color:var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px)!important;
}
:root body #PurchaseDeleteConfirmOverlay>.overlay-card.buy-card>.overlay-header{
  background:var(--mv-page-header-bg,#d6e5f1)!important;border-color:var(--mv-page-border,#a8bdd0);
}
:root body #PurchaseDeleteConfirmOverlay>.overlay-card.buy-card>.overlay-header>#PurchaseDeleteConfirmTitle{
  font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--mv-page-heading-ink,#123f64)!important;text-shadow:none!important;
}
}

/* 4.7B.7.C2.C1: remaining surface contrast, borders and Daily Price controls. */
:root body #mvWs8ShortcutManager>.mv-ws8-shortcut-manager-card{border:1px solid var(--mv-page-border,#a8bdd0)!important;}
:root body #mvWs8ShortcutManager .mv-ws8-shortcut-manager-header{border:1px solid var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px);}
:root body #mvWs8ShortcutManager .mv-ws8-shortcut-manager-heading p{color:#111!important;}
:root body #platformTenantReportsUtilitiesSection .tenant-utility-card .inventory-report-card-title{color:inherit!important;}
:root body #tenantDatabaseInfoOverlay>.tenant-database-info-card{border:1px solid var(--mv-page-border,#a8bdd0)!important;border-radius:var(--mv-page-radius,2px)!important;}
:root body #tenantDatabaseInfoOverlay .tenant-database-info-head{border:1px solid var(--mv-page-border,#a8bdd0);border-radius:var(--mv-page-radius,2px);padding:8px;}
:root body #tenantDatabaseInfoTitle{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--mv-page-heading-ink,#123f64)!important;}
:root body #tenantDatabaseInfoOverlay :is(input,select,.tenant-db-custom-select-trigger,.tenant-db-custom-select-menu,.tenant-db-custom-select-option,.tenant-database-field-picker,.tenant-database-field-option,.tenant-database-required-pill,.tenant-database-info-status,.tenant-database-info-meta,.tenant-database-info-table-wrap){border-radius:var(--mv-page-radius,2px)!important;}
:root body #tenantDatabaseInfoOverlay :is(.tenant-db-custom-select-trigger,.tenant-db-custom-select-option){min-height:44px;}
:root body #mainPremiumStrip[hidden],:root body #dailyPriceSettingsBtn[hidden]{display:none!important;}
:root body #mainPremiumStrip span{cursor:default;}
@media screen{
 :root body #appShell .mv-daily-price-heading{position:relative;}
 :root body #dailyPriceSettingsBtn{position:absolute;right:76px;top:50%;transform:translateY(-50%);min-width:44px;min-height:44px;margin:0;}
 :root body #appShell .mv-daily-price-toggle{min-height:48px;}
 :root body #dailyPriceCenterTitle{flex:1;min-width:0;}
 :root body #appShell .mv-daily-price-toggle-state{margin-inline-start:0;}
 :root body #appShell .mv-daily-price-settings-space{flex:0 0 46px;}
 :root body #appShell .mv-daily-price-toggle[aria-expanded="false"] .mv-daily-price-settings-space{display:none;}
 :root body #appShell .mv-dashboard-actionbar{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));}
}

/* 4.7B.7.C3 — shared-dialog tenant dependency report, theme radius and touch controls. */
.mv-tenant-report-overlay{position:fixed;inset:0;z-index:10020;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.42);padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-sizing:border-box}
.mv-tenant-report-dialog{width:min(100%,980px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;min-height:0;border:1px solid #9ebcda;border-radius:2px;background:#f6f9fc;color:#123754;box-shadow:0 8px 28px #0004;overflow:hidden}
.mv-tenant-report-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#d5e5f1;border-bottom:1px solid #9ebcda;padding:8px 12px}
.mv-tenant-report-header h3{margin:0;font-size:16px;color:#123754}
.mv-tenant-report-header>div{display:flex;gap:6px}.mv-tenant-report-header button{min-width:44px;min-height:44px}
.mv-tenant-report-body{padding:12px;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mv-tenant-dependency-report{color:#123754;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.mv-tenant-dependency-report h1{font-size:20px}.mv-tenant-dependency-report h2{font-size:16px}.mv-tenant-dependency-report h3{font-size:15px}
.mv-tenant-dependency-report .info,.mv-tenant-dependency-report .totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:1px solid #9ebcda;border-radius:2px;padding:10px;margin:10px 0;background:#fff}
.mv-tenant-dependency-report table{width:100%;border-collapse:collapse;background:#fff;margin:10px 0}
.mv-tenant-dependency-report th,.mv-tenant-dependency-report td{border:1px solid #b8cddd;padding:7px;text-align:left;overflow-wrap:anywhere}
.mv-tenant-dependency-report th{background:#d5e5f1;color:#123754}
@media(max-width:520px){.mv-tenant-dependency-report .info,.mv-tenant-dependency-report .totals{grid-template-columns:1fr}.mv-tenant-report-body{padding:8px}.mv-tenant-report-header{gap:6px}.mv-tenant-report-header h3{font-size:14px}}
/* 4.7B.7.C5.C4: completed Restore actions wrap inside the existing dialog. */
#databaseRestoreOverlay .recovery-card__header{flex-wrap:wrap}
#databaseRestoreOverlay .recovery-completion-actions{margin:0 0 0 auto;justify-content:flex-end;max-width:100%}
#databaseRestoreOverlay .recovery-completion-actions>.btn{min-height:44px;white-space:normal}
#databaseRestoreExitRecoveryBtn[hidden]{display:none!important}

/* Keep the Location Manager field eraser inside its input, including after
   shared mv-control positioning is applied. The label is outside this wrap. */
:root body .inventory-location-clear-field-wrap .inventory-location-field-clear-btn{
 position:absolute;top:calc(50% - 15px);inset-inline-end:6px;transform:none;margin:0;
 width:30px;height:30px;min-width:30px;min-height:30px;padding:0;
}
:root body .inventory-location-clear-field-wrap{display:block;position:relative;min-width:0}
:root body .inventory-location-clear-field-wrap>input{margin-block:0;padding-inline-end:44px!important}

:root body #companyInventoryLocationOverlay>.inventory-location-modal-card{max-width:760px;width:calc(100vw - 24px);}

/* B9: shared people and Customer call/note action icons. */
[data-mv-icon="users"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E");}
[data-mv-icon="call-add"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h6M18 1v6M21 16.5v3a2 2 0 0 1-2.2 2A19.8 19.8 0 0 1 3.5 6.2 2 2 0 0 1 5.5 4h3l1.5 5-2 1.5a13 13 0 0 0 6 6l1.5-2z'/%3E%3C/svg%3E");}
[data-mv-icon="note-add"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3H4v18h16V11M15 5h7M18.5 1.5v7M8 12h6M8 16h8'/%3E%3C/svg%3E");}

/* B10.C1: native masks for the approved System and Sales Tax navigation. */
[data-mv-icon="percent"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 19 14-14'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");}
[data-mv-icon="book"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v16M12 5C9 3 5 3 2 4v16c3-1 7-1 10 1 3-2 7-2 10-1V4c-3-1-7-1-10 1z'/%3E%3C/svg%3E");}
[data-mv-icon="shield"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 3v6c0 5-8 9-8 9s-8-4-8-9V6zM8 12l3 3 5-6'/%3E%3C/svg%3E");}
[data-mv-icon="launch"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E");}

/* B10.C2: native navigation masks. */
[data-mv-icon="home"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010%2012%203l9%207M5%209v12h5v-7h4v7h5V9%22%2F%3E%3C%2Fsvg%3E")}
[data-mv-icon="receivables"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16v16H4zM8%2012h8m-3-3%203%203-3%203%22%2F%3E%3C%2Fsvg%3E")}
[data-mv-icon="payables"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16v16H4zM16%2012H8m3-3-3%203%203%203%22%2F%3E%3C%2Fsvg%3E")}
[data-mv-icon="boxes"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%209-4%209%204v10l-9%204-9-4V7Zm0%200%209%204%209-4M12%2011v10M7%205l10%204%22%2F%3E%3C%2Fsvg%3E")}
[data-mv-icon="tag"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h8l10%2010-8%208L3%2011V3Z%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%227.5%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E")}
[data-mv-icon="document"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203h10l4%204v14H5V3Zm10%200v5h4M8%2012h8M8%2016h8%22%2F%3E%3C%2Fsvg%3E")}
[data-mv-icon="calculator"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%222%22%20width%3D%2214%22%20height%3D%2220%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M8%205h8v4H8zM8%2013h1m3%200h1m3%200h0M8%2017h1m3%200h1m3%200h0%22%2F%3E%3C%2Fsvg%3E")}
[data-mv-icon="list"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%205h13M8%2012h13M8%2019h13M3%205h1M3%2012h1M3%2019h1%22%2F%3E%3C%2Fsvg%3E")}
[data-mv-icon="history"]{--mv-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010a9%209%200%201%201%202%208M3%204v6h6M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E")}
/* 4.7B.11.P1: approved login-only controls. Existing native entries, modal
   routing, registration eligibility and shared action colors remain owners. */
@media screen {
  :root body #loginOverlay > .modal-card {
    padding:14px;
    font-family:var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
    color:var(--mv-page-ink,#19354d);
  }
  #loginOverlay .mv-login-brand {
    width:296px;max-width:100%;margin:0 auto 10px;
  }
  #loginOverlay .mv-login-logo-refresh {
    display:block;width:100%;min-width:44px;min-height:44px;margin:0;padding:0;
    border:0;border-radius:2px;background:transparent;color:inherit;
    font:inherit;text-align:center;cursor:pointer;touch-action:manipulation;
    -webkit-appearance:none;appearance:none;
  }
  #loginOverlay .mv-login-logo-refresh:focus-visible {
    outline:2px solid var(--mv-focus-color,#1565a6);outline-offset:3px;
  }
  #loginOverlay .mv-login-logo-refresh:disabled {cursor:wait;}
  #loginOverlay .mv-login-refresh-status {
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip-path:inset(50%);white-space:nowrap;
  }
  #loginOverlay .form-group {margin:0 0 10px;}
  #loginOverlay .form-group > label {display:block;font-size:13px;font-weight:400;margin:0 0 3px;}
  #loginOverlay .form-group > input {
    box-sizing:border-box;min-width:0;max-width:100%;height:38px;padding:8px;
    font:16px/1.3 var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
    color:var(--mv-page-ink,#19354d);border-radius:2px;
  }
  #loginOverlay .mv-login-primary-actions {
    display:flex;align-items:center;justify-content:center;gap:6px;margin-top:2px;
  }
  #loginOverlay .mv-login-primary-actions > .mv-control {width:auto;max-width:100%;}
  #loginOverlay #loginSignInBtn {min-width:112px!important;}
  #loginOverlay .mv-login-recovery-actions {
    display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 6px;
    margin-top:8px;padding-top:8px;border-top:1px solid var(--mv-page-divider,#d3e0ea);
  }
  #loginOverlay .mv-login-help-actions {
    display:flex;align-items:stretch;justify-content:center;gap:6px;max-width:100%;
  }
  #loginOverlay #forgotResumeWrap {max-width:100%;}
  #loginOverlay .mv-login-mini {
    min-height:30px;padding:5px 8px;font-size:13px;line-height:1.25;text-decoration:none;
  }
  #loginOverlay #trialRegisterBtn {display:flex;width:100%;max-width:none;margin-top:8px;}
  #loginOverlay #trialRegisterBtnText {color:inherit;-webkit-text-fill-color:currentColor;}
  #loginOverlay .mv-control {--mv-login-pressed-bg:#0c3b65;font-weight:600;}
  #loginOverlay #loginError:empty {display:none;}
  #loginOverlay .mv-login-info {
    --mv-control-bg:var(--mv-alert-action-bg,#0f6674);
    --mv-control-hover-bg:var(--mv-alert-action-hover-bg,#e2f2f4);
    --mv-control-hover-text:var(--mv-alert-action-hover-text,#0b4650);
    --mv-login-pressed-bg:#0b4d58;
  }
  #loginOverlay .mv-action-warning {--mv-login-pressed-bg:#7d3800;}
  #loginOverlay .mv-action-success {--mv-login-pressed-bg:#066044;}
  :root #loginOverlay .mv-control:not(:disabled):not([aria-disabled="true"]):active {
    background:var(--mv-login-pressed-bg)!important;color:#fff!important;
    -webkit-text-fill-color:currentColor!important;filter:none!important;
  }
}
@media screen and (any-pointer:coarse), screen and (max-width:600px) {
  :root body #loginOverlay > .modal-card {padding:12px;}
  #loginOverlay .mv-control {min-height:44px;min-width:44px;}
  #loginOverlay .form-group > input {height:44px;font-size:16px;}
}
@media (forced-colors:active) {
  #loginOverlay .mv-login-logo-refresh {forced-color-adjust:auto;color:ButtonText;}
  :root #loginOverlay .mv-control:not(:disabled):not([aria-disabled="true"]) {
    forced-color-adjust:auto;background:ButtonFace!important;color:ButtonText!important;
    border-color:ButtonText!important;box-shadow:none;
  }
  :root #loginOverlay .mv-control:focus-visible {outline-color:Highlight;}
}
[data-mv-icon="login-support"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-3a9 9 0 0 1 18 0v8a3 3 0 0 1-3 3h-3M6 11H3v8h3zM18 11h3v8h-3z'/%3E%3C/svg%3E");}
[data-mv-icon="login-key"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='8' r='5'/%3E%3Cpath d='m12 11-9 9v-4l3-3h3v-3M17 7h.01'/%3E%3C/svg%3E");}
[data-mv-icon="login-reset"]{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v5h5M3 8a9 9 0 1 1 0 8M11 12v5l2-2 2 2'/%3E%3Ccircle cx='11' cy='10' r='2'/%3E%3C/svg%3E");}

/* C3: compact credential dialogs; approved shared light-blue/gray header. */
:root body .mv-credential-dialog > .modal-card {
  width:min(430px,calc(100vw - 24px))!important; max-width:430px!important;
  max-height:calc(100dvh - 24px); overflow-y:auto; box-sizing:border-box;
  background:var(--mv-surface-bg,#fff); border-radius:2px!important;
}
:root body .mv-credential-dialog--wide > .modal-card {width:min(600px,calc(100vw - 24px))!important;max-width:600px!important;}
:root body .mv-credential-dialog :is(.platform-admin-password-header,.access-policy-overlay-head,.tenant-billing-head),
:root body .mv-credential-dialog > .modal-card > :is(h2,h3),
:root body .mv-credential-dialog [data-inv-dialog-title] {
  background:var(--mv-page-header-bg,#d6e5f1)!important;color:var(--mv-page-heading-ink,#123f64)!important;
  font-size:15px!important;font-weight:500!important;text-shadow:none!important;line-height:1.35!important;
  padding:9px 10px!important;border-bottom:1px solid var(--mv-page-border,#a8bdd0);box-sizing:border-box;
}
:root body .mv-credential-dialog :is(.platform-admin-password-header,.access-policy-overlay-head,.tenant-billing-head) :is(h2,h3) {font-size:15px!important;font-weight:500!important;text-shadow:none!important;color:var(--mv-page-heading-ink,#123f64)!important;}
:root body .mv-credential-dialog .mv-control,
:root body .mv-credential-action {min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;flex:0 0 44px!important;padding:8px!important;}
:root body .mv-credential-dialog .mv-action-group {justify-content:flex-end;flex-wrap:wrap;gap:8px!important;}
:root body .mv-credential-dialog .platform-admin-password-actions {gap:8px;}
:root body .mv-credential-dialog input {max-width:100%;box-sizing:border-box;}

:root body .mv-credential-dialog > .modal-content {width:min(430px,calc(100vw - 24px))!important;max-width:430px!important;max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;}

/* C3 acceptance correction: explicit text actions for password reset only.
   aria-label is also updated by the existing busy/retry label owner. */
:root body .mv-reset-dialog .mv-reset-actions {
  display:flex;align-items:stretch;flex-wrap:nowrap;gap:6px!important;width:100%;
}
:root body .mv-reset-dialog .mv-reset-actions > .mv-reset-action {
  width:auto!important;min-width:44px!important;min-height:44px!important;height:auto!important;
  flex:0 1 auto!important;padding:8px 9px!important;box-sizing:border-box;
  font-size:13px!important;line-height:1.25!important;white-space:normal!important;
  text-align:center;overflow-wrap:normal;word-break:normal;
}
:root body .mv-reset-dialog .mv-reset-action::before {content:none!important;display:none!important;}
:root body .mv-reset-dialog .mv-reset-action::after {
  content:attr(aria-label);display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;pointer-events:none;
}
:root body .mv-reset-dialog .mv-reset-actions > .mv-reset-action--cancel {margin-inline-end:auto;}
:root body .mv-reset-dialog .mv-reset-guidance {color:var(--muted)!important;font-weight:400;}
@media (max-width:360px) {
  :root body .mv-reset-dialog .mv-reset-actions {gap:4px!important;}
  :root body .mv-reset-dialog .mv-reset-actions > .mv-reset-action {padding-inline:6px!important;}
}

/* C6 selected-field controls belong to the native directory/picker. */
:root body .mv-sf-controls {
  display:flex;align-items:flex-end;flex-wrap:wrap;gap:6px 8px;min-width:0;max-width:100%;
  margin:6px 0 8px;color:var(--mv-page-ink,#19354d);font:13px/1.35 var(--mv-page-font-family,"Segoe UI",Arial,sans-serif);
}
:root body .mv-sf-controls :is(.mv-sf-field,.mv-sf-mode) {display:flex;flex-direction:column;gap:3px;min-width:0;max-width:100%;}
:root body .mv-sf-controls .mv-sf-field {flex:1 1 150px;}
:root body .mv-sf-controls .mv-sf-mode {flex:0 1 150px;}
:root body .mv-sf-controls .mv-sf-label {font-size:12px;line-height:1.25;color:var(--mv-page-heading-ink,#123f64);}
:root body .mv-sf-controls .mv-directory-status-trigger {width:100%;min-height:44px!important;height:auto!important;min-width:0;font-size:14px!important;}
:root body .mv-sf-controls :is(.mv-sf-default,.mv-sf-recheck) {flex:0 0 44px;width:44px!important;min-width:44px!important;min-height:44px!important;height:44px!important;margin:0;}
:root body .mv-sf-controls :is(.mv-sf-note,.mv-sf-message) {flex:1 0 100%;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.4;}
:root body .mv-sf-controls .mv-sf-note {color:var(--muted,#526b7f);}
:root body .mv-sf-controls .mv-sf-message[data-kind="error"] {color:var(--danger,#a32323);}
:root body .mv-sf-controls [hidden] {display:none!important;}
:root body .pos-inventory-search-controls > .pos-selected-field-controls {flex:1 0 100%;order:2;}

:root body :is(.mv-sf-controls,.mv-vcs01) .mv-sf-default{--mv-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-2.9-5.6 2.9 1.1-6.2L3 9.6l6.2-.9z'/%3E%3C/svg%3E");}

/* 4.7B.12.C6.P3.C6.C2.C2 — VCS-01 approved compact directory search.
   Opt-in Customers/Inventory Items only. Existing controls own all behavior. */
@media screen {
/* Remove only the inherited gap immediately above the approved search header. */
:root body .mv-customer-root .mv-directory-frame>.header-bar:has(+.mv-vcs01) {margin-bottom:0!important;}
:root body [data-mv-inventory-root] .inventory-workspace:has(>.inventory-workspace-panel--items[aria-hidden="false"]>.mv-vcs01)>.inventory-workspace-tablist {margin-bottom:0!important;}
:root body .mv-directory-frame .mv-vcs01 {
  container:mv-vcs01 / inline-size;
  display:block!important;min-width:0;max-width:100%;box-sizing:border-box;
  margin:0!important;padding:5px 8px 4px!important;border:0!important;
  border-bottom:1px solid #a8bdce!important;border-radius:0;background:#fff!important;
  color:#19394f;font:14px/1.4 Arial,sans-serif;box-shadow:none;
}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-search-row {
  display:grid;grid-template-columns:minmax(170px,1fr) 144px 124px 92px 104px;
  align-items:end;gap:4px;min-width:0;max-width:100%;width:100%;
  padding:0;margin:0;border:0;background:transparent;position:relative;
}
:root body .mv-directory-frame .inventory-directory-toolbar.mv-vcs01 .mv-vcs01-search-row {grid-template-columns:minmax(170px,1fr) 132px 124px 92px 104px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-query-group {grid-column:1;grid-row:1;min-width:0;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-query-row {display:flex;align-items:center;gap:4px;min-width:0;}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-search-control {flex:1 1 auto;width:auto;max-width:none;min-width:0;position:relative;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-compact {display:contents;margin:0;font:13px/1.4 Arial,sans-serif;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-compact .mv-sf-field {grid-column:2;grid-row:1;min-width:0;gap:2px;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-compact .mv-sf-mode {grid-column:3;grid-row:1;min-width:0;gap:2px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-status {grid-column:4;grid-row:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs-actions {grid-column:5;grid-row:1;min-width:0;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-status>.mv-directory-status {width:100%;margin:0;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-tools {display:flex;align-items:center;gap:4px;margin:0;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-compact :is(.mv-sf-note,.mv-sf-message) {grid-column:1 / -1;grid-row:auto;order:2;min-width:0;max-width:100%;margin:0;white-space:normal;overflow-wrap:anywhere;line-height:1.35;font:12px/1.35 Arial,sans-serif;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-directory-search-label,.mv-sf-label,.mv-vcs01-status-label) {
  display:block;position:static;width:auto;height:auto;min-height:15px;margin:0 0 2px;padding:0;
  overflow:visible;clip:auto;clip-path:none;white-space:nowrap;border:0;
  color:#19394f;font:400 12px/1.25 Arial,sans-serif;letter-spacing:normal;text-transform:none;
}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-sf-label,.mv-vcs01-status-label) {margin:0;}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-search .mv-directory-search-input {
  width:100%;height:34px!important;min-height:34px!important;padding:5px 32px 5px 7px;
  border:1px solid #a8bdce;border-radius:3px;background:#fff;color:#19394f;
  font:400 14px/1.4 Arial,sans-serif;box-shadow:none;box-sizing:border-box;
}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-search-input::placeholder {color:#526b7d;opacity:1;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-directory-status-trigger,.mv-sf-tools>button,.mv-vcs01-submit) {
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  height:34px!important;min-height:34px!important;padding:5px 7px!important;margin:0;
  border:1px solid #a8bdce!important;border-radius:3px!important;
  background:#e8f0f7!important;color:#185584!important;-webkit-text-fill-color:currentColor!important;
  font:400 13px/1.4 Arial,sans-serif!important;box-shadow:none!important;text-shadow:none;
  white-space:nowrap!important;transform:none;filter:none;
}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-status-trigger {
  justify-content:space-between;gap:5px;width:100%;min-width:0!important;
}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-status-trigger::before {display:none;}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-status-label {flex:1 1 auto;min-width:0;overflow:visible;text-overflow:clip;white-space:nowrap;font:inherit;}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-status-caret {flex:none;width:7px;height:7px;margin:0 3px 4px 3px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-sf-tools>button,.mv-vcs01-submit) {width:32px!important;min-width:32px!important;padding:4px!important;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-vcs01-submit,.mv-vcs01-status .mv-directory-status-trigger) {background:#185584!important;color:#fff!important;border-color:#185584!important;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-directory-status-trigger,.mv-sf-tools>button):hover:not(:disabled) {background:#dceaf6!important;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-vcs01-submit,.mv-vcs01-status .mv-directory-status-trigger):hover:not(:disabled) {background:#10456d!important;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-directory-status-trigger[data-mv-saved-default="true"],.mv-sf-default[aria-pressed="true"]) {background:#fff3c8!important;color:#735200!important;border-color:#b98d24!important;}
/* Keep the confirmed default state above legacy directory borders and utility hover colors. */
:root body .mv-directory-frame .mv-vcs01 .mv-sf-field .mv-directory-status-trigger[data-mv-saved-default="true"]:not(:disabled):not([aria-disabled="true"]) {border-color:#b98d24!important;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-directory-status-trigger[data-mv-saved-default="true"],.mv-sf-default[aria-pressed="true"]):hover:not(:disabled) {background:#f6e7b1!important;color:#735200!important;border-color:#b98d24!important;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-directory-status-trigger,.mv-sf-tools>button,.mv-vcs01-submit):disabled {opacity:.55;cursor:not-allowed;}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-search .mv-directory-search-control .mv-directory-search-clear {
  position:absolute;display:inline-flex;align-items:center;justify-content:center;flex:none;
  right:2px;top:2px;bottom:auto;margin:0;transform:none;
  width:28px!important;min-width:28px!important;height:30px!important;min-height:30px!important;
  padding:3px;border:0!important;border-radius:3px;background:transparent!important;
  color:#185584!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;
}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-search .mv-directory-search-clear:hover:not(:disabled) {background:#dceaf6!important;}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-search-clear::before {display:inline-block;content:"";width:17px;height:17px;flex-basis:17px;}
:root body .mv-directory-frame .mv-vcs01 :is(.customer-list-guidance,.inventory-list-search-help) {
  display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;
  width:100%;min-width:0;margin:0;padding:3px 0 0;color:#526b7d;font:400 12px/1.35 Arial,sans-serif;
}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-directory-search-help,.customer-list-detail-hint,.inventory-list-detail-hint) {font:400 12px/1.35 Arial,sans-serif;color:#526b7d;margin:0;padding:0;}
:root body .mv-directory-frame .mv-vcs01 .customer-list-guidance>.mv-directory-search-help {flex:1 1 auto;width:auto;}
:root body .mv-directory-frame .mv-vcs01 [hidden] {display:none!important;}
/* A recovery action can require extra room; keep it visible beside its error. */
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-search-row:has(.mv-sf-recheck:not([hidden])) {align-items:start;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs-actions:has(.mv-sf-recheck:not([hidden])) {padding-top:17px;width:104px;max-width:104px;box-sizing:border-box;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-tools:has(.mv-sf-recheck:not([hidden])) {display:grid;grid-template-columns:repeat(3,32px);width:104px;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-tools .mv-sf-recheck:not([hidden]) {grid-column:3;}
/* Only the two directory record tables receive this alternating-row treatment. */
:root body .mv-customer-root .mv-directory-frame>.mv-vcs01~.customer-list-frame>.data-table tbody tr,
:root body [data-mv-inventory-root] .inventory-workspace-panel--items>.mv-vcs01~.inventory-list-frame>.inventory-table tbody tr {background:#fff;}
:root body .mv-customer-root .mv-directory-frame>.mv-vcs01~.customer-list-frame>.data-table tbody tr:nth-child(even),
:root body [data-mv-inventory-root] .inventory-workspace-panel--items>.mv-vcs01~.inventory-list-frame>.inventory-table tbody tr:nth-child(even) {background:#f0f6fb;}
:root body .mv-customer-root .mv-directory-frame>.mv-vcs01~.customer-list-frame>.data-table tbody tr:hover,
:root body [data-mv-inventory-root] .inventory-workspace-panel--items>.mv-vcs01~.inventory-list-frame>.inventory-table tbody tr:hover {background:#e2effa;}
:root body .mv-customer-root .mv-directory-frame>.mv-vcs01~.customer-list-frame>.data-table tbody td,
:root body [data-mv-inventory-root] .inventory-workspace-panel--items>.mv-vcs01~.inventory-list-frame>.inventory-table tbody td {background:transparent;}
/* This hook is assigned only to the opted-in directory-owned listboxes. */
:root body .mv-directory-status-list.mv-vcs-select-list {border:1px solid #a8bdce;border-radius:2px;background:#fff;color:#19394f;font:400 13px/1.4 Arial,sans-serif;box-shadow:0 4px 12px rgb(25 57 79 / .18);padding:0;}
:root body .mv-directory-status-list.mv-vcs-select-list .mv-directory-status-option {display:flex;align-items:center;min-height:36px;height:auto;padding:6px 9px;border:0;border-bottom:1px solid #e0e9f0;border-radius:0;background:#fff;color:#19394f;font:400 13px/1.4 Arial,sans-serif;white-space:nowrap;}
:root body .mv-directory-status-list.mv-vcs-select-list .mv-directory-status-option[aria-selected="true"] {background:#eaf3fb;color:#19394f;font-weight:700;box-shadow:inset 0 -2px #dbab32;}
:root body .mv-directory-status-list.mv-vcs-select-list .mv-directory-status-option:is(:hover,[data-active="true"]) {background:#dceaf6;color:#19394f;}
:root body .mv-directory-status-list.mv-vcs-select-list .mv-directory-status-option[data-mv-default-field="true"] {background:#fff3c8;color:#735200;font-weight:700;}
:root body .mv-directory-status-list.mv-vcs-select-list .mv-directory-status-option[data-mv-default-field="true"][data-active="true"] {background:#f6e7b1;}
}
@container mv-vcs01 (max-width:660px) {
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-search-row {display:flex;flex-wrap:wrap;align-items:flex-end;gap:4px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-query-group {flex:1 1 100%;min-width:0;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-compact .mv-sf-field {flex:0 0 144px;}
:root body .mv-directory-frame .inventory-directory-toolbar.mv-vcs01 .mv-sf-compact .mv-sf-field {flex-basis:132px;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-compact .mv-sf-mode {flex:0 0 124px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-status {flex:0 0 92px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs-actions {flex:0 0 auto;}
}
@media screen and (any-pointer:coarse) {
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-search-row,
:root body .mv-directory-frame .inventory-directory-toolbar.mv-vcs01 .mv-vcs01-search-row {grid-template-columns:minmax(180px,1fr) 166px 146px 108px 140px;}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-search .mv-directory-search-input {height:44px!important;min-height:44px!important;font-size:16px;padding-right:48px;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-directory-status-trigger,.mv-sf-tools>button,.mv-vcs01-submit) {height:44px!important;min-height:44px!important;font-size:16px!important;}
:root body .mv-directory-frame .mv-vcs01 :is(.mv-sf-tools>button,.mv-vcs01-submit) {width:44px!important;min-width:44px!important;}
:root body .mv-directory-frame .mv-vcs01 .mv-directory-search .mv-directory-search-control .mv-directory-search-clear {top:0;right:0;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;}
:root body .mv-directory-status-list.mv-vcs-select-list .mv-directory-status-option {min-height:44px;font-size:16px;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-tools:has(.mv-sf-recheck:not([hidden])) {grid-template-columns:repeat(3,44px);width:140px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs-actions:has(.mv-sf-recheck:not([hidden])) {width:140px;max-width:140px;}
@container mv-vcs01 (max-width:800px) {
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-search-row {display:flex;flex-wrap:wrap;align-items:flex-end;gap:4px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-query-group {flex:1 1 100%;min-width:0;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-compact .mv-sf-field {flex:0 0 166px;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-compact .mv-sf-mode {flex:0 0 146px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs01-status {flex:0 0 108px;}
:root body .mv-directory-frame .mv-vcs01 .mv-vcs-actions {flex:0 0 auto;}
}
}
@media screen and (forced-colors:active) {
:root body .mv-directory-frame .mv-vcs01 :is(button,input),:root body .mv-directory-status-list.mv-vcs-select-list .mv-directory-status-option {forced-color-adjust:auto;}
:root body .mv-directory-frame .mv-vcs01 .mv-sf-default[aria-pressed="true"],:root body .mv-directory-status-list.mv-vcs-select-list .mv-directory-status-option[data-mv-default-field="true"] {outline:1px solid Highlight;}
}
