
/* Sprint 6C - Web UX Completion. Solo presentazione e comportamento del browser. */
*,*::before,*::after{box-sizing:border-box}
html,body{width:100%;max-width:100%;min-height:100%;overflow-x:hidden}
body{min-width:320px}
body.lm-warehouse-mobile,body.lm-warehouse-mobile button,body.lm-warehouse-mobile input,body.lm-warehouse-mobile select,body.lm-warehouse-mobile textarea,body.lm-warehouse-mobile table,body.lm-warehouse-mobile .notice-card,body.lm-warehouse-mobile .summary-row{font-family:Cambria,Georgia,serif!important}
button,a,input,select,[tabindex]{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid color-mix(in srgb,var(--ui-primary,#1473e6) 45%,transparent)!important;outline-offset:2px}
.web-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.web-menu-toggle{display:none;width:42px;height:42px;place-items:center;flex:0 0 auto;border:1px solid #ffffff30;border-radius:9px;background:#ffffff12;color:#fff;cursor:pointer}
.web-menu-toggle svg{width:22px;height:22px}
.web-sidebar-backdrop{display:none;position:fixed;inset:0;z-index:89;border:0;background:#03172a99;backdrop-filter:blur(2px)}
.web-sidebar-backdrop.web-open{display:block}
.web-state{display:grid;place-items:center;min-height:180px;padding:28px;text-align:center;color:var(--ds-muted,var(--ui-muted,#66788a));border:1px dashed var(--ds-border,var(--ui-border,#cad6e2));border-radius:12px;background:var(--ds-panel,var(--ui-surface,#fff))}
.web-state strong{display:block;margin-bottom:7px;color:var(--ds-text,var(--ui-text,#102a43));font-size:17px}
.web-state button{min-height:42px;margin-top:12px;padding:0 18px;border:0;border-radius:8px;background:var(--ds-blue,var(--ui-primary,#1473e6));color:#fff;font-weight:750;cursor:pointer}
.desktop-warehouse-actions{display:none}
#closeWarehouseFilters{display:none}
.mobile-filter-toggle{display:none}

/* Pagine con sidebar: nessuna larghezza oltre il viewport. */
.lm-shell,.lm-shell>.lm-main,.lm-shell>.lm-topbar,.lm-shell>.lm-footer{max-width:100%}
.lm-shell:has(.lm-desktop-sidebar)>.lm-topbar,.lm-shell:has(.lm-desktop-sidebar)>.lm-main,.lm-shell:has(.lm-desktop-sidebar)>.lm-footer{width:auto;max-width:none;margin-left:232px}
.lm-desktop-sidebar{width:232px}
.lm-shell:has(.lm-desktop-sidebar)>.lm-main{min-width:0;padding:20px 24px 30px}
.lm-shell:has(.lm-desktop-sidebar)>.lm-topbar{grid-template-columns:minmax(230px,.8fr) auto minmax(290px,1fr);padding:0 22px}
.lm-main>*{min-width:0}
.lm-overview{grid-template-columns:repeat(4,minmax(150px,1fr))}
.lm-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.lm-lower-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)}
.lm-panel,.lm-module,.lm-stat{min-width:0}

/* Home: Priorita Porto consolidata dal Server. */
.web-port-panel{border-color:#f2a33a!important;background:linear-gradient(145deg,color-mix(in srgb,#ffb342 13%,var(--ds-panel,#fff)),var(--ds-panel,#fff))!important}
.web-port-panel .web-port-count{display:flex;align-items:baseline;gap:10px;margin:14px 0;color:#dc7300}
.web-port-panel .web-port-count strong{font-size:38px;line-height:1}.web-port-panel .web-port-count span{font-weight:800}
.web-port-list{display:grid;gap:8px}.web-port-item{display:grid;grid-template-columns:minmax(90px,auto) 1fr auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid color-mix(in srgb,#f2a33a 55%,var(--ds-border,#ccd7e2));border-radius:8px;background:var(--ds-panel,#fff)}
.web-port-item strong{color:var(--ds-text,#102a43)}.web-port-item small{color:var(--ds-muted,#64748b)}

/* Monitor: larghezze fluide e scorrimento solo locale. */
body.lm-warehouse-mobile #app{width:100%;max-width:100%}
body.lm-warehouse-mobile .warehouse-header{max-width:none}
body.lm-warehouse-mobile main{width:auto;max-width:none;min-width:0}
body.lm-warehouse-mobile #program,body.lm-warehouse-mobile .operation-rail{min-width:0}
body.lm-warehouse-mobile .table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
body.lm-warehouse-mobile table{min-width:1080px}
body.lm-warehouse-mobile th{position:sticky;top:0;z-index:3}
body.lm-warehouse-mobile td.notes{white-space:normal;overflow-wrap:anywhere}
body.lm-warehouse-mobile .notice-card{max-width:min(1120px,calc(100vw - 28px))}

/* Centro notifiche, storico e amministrazione Web. */
.web-notice-tools{display:grid;grid-template-columns:1.4fr repeat(4,minmax(125px,.75fr));gap:8px;padding:12px 16px;border-bottom:1px solid var(--ds-border,#ccd7e2);background:var(--ds-panel,#fff)}
.web-notice-tools label{gap:4px}.web-notice-tools input,.web-notice-tools select{height:38px}
.web-notice-count{padding:8px 16px;color:var(--ds-muted,#64748b);font-size:12px;font-weight:700;background:var(--ds-panel-2,#f5f8fb)}
.web-mobile-only,.web-notice-filter-toggle,.notice-mobile-meta,.notice-read-status{display:none!important}
.web-notice-detail-card{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--ds-border,#ccd7e2);border-radius:14px;background:var(--ds-panel,#fff);box-shadow:0 24px 70px #03172a66}
.web-notice-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:var(--ds-sidebar,#082947);color:#fff}.web-notice-detail-head h2{margin:0;font:800 20px Cambria,Georgia,serif}.web-notice-detail-head button,.web-notice-detail-actions button{min-height:44px;border:1px solid #ffffff42;border-radius:8px;padding:0 15px;font:700 14px Cambria,Georgia,serif;cursor:pointer}.web-notice-detail-head button{background:#ffffff12;color:#fff}
.web-notice-detail-body{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:12px 16px 4px}.web-notice-detail-field{display:grid;gap:4px;min-width:0;padding:10px;border-bottom:1px solid var(--ds-border,#ccd7e2)}.web-notice-detail-field.wide{grid-column:1/-1}.web-notice-detail-field small{color:var(--ds-muted,#64748b);font-size:11px;font-weight:800;text-transform:uppercase}.web-notice-detail-field b{color:var(--ds-text,#102a43);font-size:15px;line-height:1.4;overflow-wrap:anywhere}.web-notice-detail-actions{display:flex;justify-content:flex-end;padding:12px 16px 16px}.web-notice-detail-actions button{border-color:var(--ds-blue,#1263b5);background:var(--ds-blue,#1263b5);color:#fff}.web-notice-detail-actions button:disabled{opacity:.58}
body.lm-warehouse-mobile #notificationPanel .notice-card{width:min(1240px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid var(--ds-border,#ccd7e2);border-radius:14px;background:var(--ds-panel,#fff);box-shadow:0 24px 70px #03172a55}
body.lm-warehouse-mobile #notificationPanel .notice-head{min-height:62px;padding:13px 18px;background:var(--ds-sidebar,#082947)}
body.lm-warehouse-mobile #notificationPanel .notice-head h2{font-family:Cambria,Georgia,serif;font-size:21px;letter-spacing:.2px}
body.lm-warehouse-mobile #notificationPanel .notice-actions button{min-height:38px;border:1px solid #ffffff42;border-radius:8px;background:#ffffff12;color:#fff;font-family:Cambria,Georgia,serif}
body.lm-warehouse-mobile #notificationPanel .web-notice-tools{grid-template-columns:minmax(220px,1.35fr) minmax(145px,.7fr) repeat(3,minmax(150px,.85fr));gap:10px;padding:12px 16px;background:var(--ds-panel-2,#f5f8fb)}
body.lm-warehouse-mobile #notificationPanel .web-notice-tools label{color:var(--ds-text,#102a43);font-size:12px;font-weight:700}
body.lm-warehouse-mobile #notificationPanel .web-notice-tools input,body.lm-warehouse-mobile #notificationPanel .web-notice-tools select{height:40px;padding:0 11px;border:1px solid var(--ds-border,#ccd7e2);border-radius:8px;background:var(--ds-panel,#fff);color:var(--ds-text,#102a43);box-shadow:0 2px 6px #102a430a}
body.lm-warehouse-mobile #notificationPanel .notice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:9px;max-height:none;overflow:auto;padding:12px 16px 16px;background:var(--ds-bg,#eef3f8)}
body.lm-warehouse-mobile #notificationPanel .notice-list::before{display:none}
body.lm-warehouse-mobile #notificationPanel .notice-row{min-width:0;margin:0;padding:10px 12px;border:1px solid var(--ds-border,#ccd7e2);border-left:4px solid var(--ds-blue,#1263b5);border-radius:9px;background:var(--ds-panel,#fff);box-shadow:0 2px 7px #102a430a}
body.lm-warehouse-mobile #notificationPanel .notice-row::before{display:none}
body.lm-warehouse-mobile #notificationPanel .notice-title{gap:10px;font-size:14px}
body.lm-warehouse-mobile #notificationPanel .notice-context,body.lm-warehouse-mobile #notificationPanel .notice-detail{margin-top:4px;font-size:12px;line-height:1.35}
body.lm-warehouse-mobile .port-priority-panel{border-width:1px!important;border-color:#ef9a35!important;border-radius:10px!important;font-family:Cambria,Georgia,serif!important;box-shadow:0 5px 14px #7b4b1614!important}
body.lm-warehouse-mobile .port-priority-title small,body.lm-warehouse-mobile .port-priority-title strong,body.lm-warehouse-mobile .port-priority-detail{font-family:Cambria,Georgia,serif!important}
body.lm-warehouse-mobile #summaryPanel .notice-card{width:min(1480px,94vw);max-width:94vw;max-height:92dvh;border:1px solid var(--ds-border,#ccd7e2);border-radius:14px;display:flex;flex-direction:column;overflow:hidden}
body.lm-warehouse-mobile #summaryPanel .notice-head{flex:0 0 auto}
body.lm-warehouse-mobile #summaryPanel .notice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;flex:1 1 auto;min-height:0;gap:10px;overflow-x:hidden;overflow-y:auto;padding:14px;background:var(--ds-bg,#eef3f8)}
body.lm-warehouse-mobile #summaryPanel .notice-list::before{display:none}
body.lm-warehouse-mobile #summaryPanel .summary-row,body.lm-warehouse-mobile #summaryPanel .summary-row.port-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;margin:0;border:1px solid var(--ds-border,#ccd7e2);border-radius:9px;background:var(--ds-panel,#fff);overflow:hidden}
body.lm-warehouse-mobile #summaryPanel .summary-row.head{display:none}
body.lm-warehouse-mobile #summaryPanel .summary-row span{min-width:0;padding:8px 10px;border-right:1px solid var(--ds-border,#ccd7e2);border-bottom:1px solid var(--ds-border,#ccd7e2);overflow-wrap:anywhere}
body.lm-warehouse-mobile #summaryPanel .summary-row span:nth-child(odd){color:var(--ds-muted,#64748b);font-weight:700}
body.lm-warehouse-mobile #summaryPanel .summary-row span:nth-last-child(-n+2){border-bottom:0}

/* Correzioni Web Desktop 73.3.8: sola tipografia/visibilita, senza variazioni Mobile. */
@media(min-width:901px){
  /* Filtri Web Desktop approvati: barra orizzontale sopra KPI e programma. */
  body.lm-warehouse-mobile .header-search,
  body.lm-warehouse-mobile .warehouse-nav{display:none!important}
  body.lm-warehouse-mobile .warehouse-header{grid-template-columns:minmax(230px,.65fr) auto minmax(0,1fr)!important}
  body.lm-warehouse-mobile .desktop-warehouse-actions{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
  body.lm-warehouse-mobile .desktop-warehouse-actions button{min-height:40px;padding:0 15px;border:1px solid #ffffff38;border-radius:8px;background:#ffffff10;color:#fff;font-family:Cambria,Georgia,serif;font-size:13px;font-weight:700;cursor:pointer}
  body.lm-warehouse-mobile .desktop-warehouse-actions button:hover{background:#ffffff20}
  body.lm-warehouse-mobile .filter-panel{position:static!important;grid-column:1/-1;grid-row:1;width:auto!important;max-width:none!important;margin:0!important;padding:9px 10px!important;overflow:visible;background:var(--ds-panel,#fff)!important;border:1px solid var(--ds-border,#ccd7e2)!important;border-radius:9px!important;box-shadow:var(--ds-shadow)!important;transform:none!important;visibility:visible!important;transition:none!important}
  body.lm-warehouse-mobile .filter-panel.filters-collapsed{display:none!important}
  body.lm-warehouse-mobile .filter-panel-head{display:none!important}
  body.lm-warehouse-mobile .filter-panel .toolbar{display:grid!important;grid-template-columns:repeat(5,minmax(105px,1fr)) minmax(180px,1.15fr)!important;gap:7px!important}
  body.lm-warehouse-mobile .filter-panel .toolbar label{display:grid!important;grid-column:auto!important;gap:4px;font-size:13px;font-weight:700}
  body.lm-warehouse-mobile .filter-panel .toolbar input,
  body.lm-warehouse-mobile .filter-panel .toolbar select{width:100%;min-height:44px}

  body.lm-warehouse-mobile .status-line{grid-column:1/-1;grid-row:2}
  body.lm-warehouse-mobile .cards{grid-column:1/-1;grid-row:3}
  body.lm-warehouse-mobile #program{grid-column:1;grid-row:4!important}
  body.lm-warehouse-mobile .operation-rail{grid-column:2;grid-row:4}
  body.lm-warehouse-mobile main.warehouse-filters-hidden .status-line{grid-row:1}
  body.lm-warehouse-mobile main.warehouse-filters-hidden .cards{grid-row:2}
  body.lm-warehouse-mobile main.warehouse-filters-hidden #program{grid-row:3!important}
  body.lm-warehouse-mobile main.warehouse-filters-hidden .operation-rail{grid-row:3}

  /* KPI fluidi: nessuna misura da Mobile e nessuna eccedenza orizzontale. */
  body.lm-warehouse-mobile .cards{grid-template-columns:repeat(8,minmax(0,1fr))!important;align-items:stretch}
  body.lm-warehouse-mobile .cards .card{min-width:0;max-width:none}

  /* Le colonne operative restano geometricamente invariate: cambiano solo le misure tipografiche autorizzate. */
  body.lm-warehouse-mobile .table-wrap th{font-size:13px!important}
  body.lm-warehouse-mobile .table-wrap td{font-size:14px!important}
  body.lm-warehouse-mobile .table-wrap td.vehicle,
  body.lm-warehouse-mobile .table-wrap td.product,
  body.lm-warehouse-mobile .table-wrap td.order,
  body.lm-warehouse-mobile .table-wrap td.pallets{font-size:14px!important}
  body.lm-warehouse-mobile .table-wrap td.notes{font-size:14px!important}
  body.lm-warehouse-mobile .table-wrap .state-badge,
  body.lm-warehouse-mobile .table-wrap .confirm-load{font-size:12px!important}
  body.lm-warehouse-mobile .table-wrap .modified{font-size:11px!important}

  /* Modali KPI: colonne complete e proporzionate, senza scorrimento orizzontale. */
  body.lm-warehouse-mobile #summaryPanel .notice-list{display:block;overflow-x:hidden;overflow-y:auto}
  body.lm-warehouse-mobile #summaryPanel .summary-row{display:grid!important;grid-template-columns:9% 10% 9% 10% 14% 13% 22% 13%!important;width:100%;min-width:0!important;margin:0!important;border-radius:0!important}
  body.lm-warehouse-mobile #summaryPanel .summary-row.port-detail{display:grid!important;grid-template-columns:8% 9% 8% 8% 11% 11% 17% 15% 13%!important;width:100%;min-width:0!important;margin:0!important;border-radius:0!important}
  body.lm-warehouse-mobile #summaryPanel .summary-row.head{display:grid!important;position:sticky;top:0;z-index:2;background:var(--ds-panel-2,#eaf0f6)!important;font-size:12px;font-weight:800}
  body.lm-warehouse-mobile #summaryPanel .summary-row span{padding:8px 7px;border-bottom:0;overflow-wrap:anywhere}
  body.lm-warehouse-mobile #summaryPanel .summary-row span:nth-child(odd){color:var(--ds-text,#102a43);font-weight:inherit}

  /* Pannelli Desktop contenuti nello spazio utile: lo scroll resta soltanto nella lista eventi. */
  body.lm-warehouse-mobile .operation-rail{align-self:start;height:max-content;min-height:0}
  body.lm-warehouse-mobile .port-priority-panel,
  body.lm-warehouse-mobile .dock-notifications{height:max-content;min-height:0}
  body.lm-warehouse-mobile #notificationPanel .notice-card{height:min(760px,calc(100dvh - 32px));overflow:hidden}
  body.lm-warehouse-mobile #notificationPanel .notice-list{flex:1 1 auto;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto}

  body.lm-warehouse-mobile #notificationPanel .web-notice-tools,
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools label,
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools input,
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools select,
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools option,
  body.lm-warehouse-mobile #notificationPanel .web-notice-count{font-family:Cambria,Georgia,serif!important}
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools label{font-size:13px!important;line-height:1.25}
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools input,
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools select{font-size:14px!important}
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools input::placeholder{font-family:Cambria,Georgia,serif!important;font-size:14px;opacity:.78}
  body.lm-warehouse-mobile #notificationPanel .web-notice-count{font-size:13px!important}

  body.lm-warehouse-mobile #summaryPanel .summary-row,
  body.lm-warehouse-mobile #summaryPanel .summary-row span,
  body.lm-warehouse-mobile #summaryPanel .summary-row span b{color:var(--ds-text,#102a43)!important;opacity:1!important;visibility:visible!important}
  body.lm-warehouse-mobile #summaryPanel .summary-row span:empty::after{content:"—";color:var(--ds-muted,#64748b)}

  body.lm-warehouse-mobile .port-priority-panel .port-priority-icon,
  body.lm-warehouse-mobile .port-priority-panel .port-priority-title small{color:var(--ds-orange,#ef7d00)!important}

  body.lm-warehouse-mobile #login .login-card,
  body.lm-warehouse-mobile #login .login-head,
  body.lm-warehouse-mobile #login .login-head h2,
  body.lm-warehouse-mobile #login .login-head p,
  body.lm-warehouse-mobile #login .login-body,
  body.lm-warehouse-mobile #login .login-body label,
  body.lm-warehouse-mobile #login .login-body input,
  body.lm-warehouse-mobile #login .login-body select,
  body.lm-warehouse-mobile #login .login-body option,
  body.lm-warehouse-mobile #login .login-body button,
  body.lm-warehouse-mobile #login .login-error,
  body.lm-warehouse-mobile #login .login-note,
  body.lm-warehouse-mobile #login .login-home{font-family:Cambria,Georgia,serif!important}
  body.lm-warehouse-mobile #login .login-head h2{font-size:27px!important;line-height:1.18}
  body.lm-warehouse-mobile #login .login-head p{font-size:15px!important;line-height:1.35}
  body.lm-warehouse-mobile #login .login-body label{font-size:15px!important;line-height:1.3}
  body.lm-warehouse-mobile #login .login-body input,
  body.lm-warehouse-mobile #login .login-body select,
  body.lm-warehouse-mobile #login .login-body option{font-size:16px!important}
  body.lm-warehouse-mobile #login .login-body button,
  body.lm-warehouse-mobile #login .login-home{font-size:16px!important}
  body.lm-warehouse-mobile #login .login-error{font-size:14px!important}
  body.lm-warehouse-mobile #login .login-note{font-size:13px!important;line-height:1.5}
}
.web-admin-card{width:min(1180px,calc(100vw - 28px));max-height:90vh;display:flex;flex-direction:column;overflow:hidden;border-radius:14px;background:var(--ds-panel,#fff);box-shadow:0 24px 70px #0007}
.web-admin-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;color:#fff;background:var(--ds-sidebar,#082947)}
.web-admin-head h2{margin:0;font-size:21px}.web-admin-head p{margin:4px 0 0;color:#c7d8e8;font-size:12px}.web-admin-head button{min-height:40px;padding:0 16px;border:1px solid #ffffff44;border-radius:8px;background:#ffffff12;color:#fff;font-weight:750;cursor:pointer}
.web-admin-body{min-height:220px;overflow:auto;padding:16px;background:var(--ds-bg,#eef3f8)}
.web-admin-grid{display:grid;gap:10px}.web-admin-row{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(105px,.8fr) minmax(120px,.8fr) minmax(100px,.6fr) minmax(170px,1fr);gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--ds-border,#ccd7e2);border-radius:9px;background:var(--ds-panel,#fff)}
.web-admin-row.web-head{position:sticky;top:-16px;z-index:2;border-radius:0;background:var(--ds-panel-2,#eaf0f6);font-size:11px;font-weight:800;text-transform:uppercase}
.web-admin-row small{display:block;color:var(--ds-muted,#64748b)}.web-admin-badge{display:inline-flex;align-items:center;width:max-content;min-height:26px;padding:0 9px;border-radius:13px;color:#075d35;background:#dff6e9;font-size:11px;font-weight:800}.web-admin-badge.off{color:#902020;background:#fde5e5}.web-permissions{display:grid;gap:5px}.web-permissions .web-permission-item{display:grid;gap:1px;padding:5px 8px;border-radius:8px;background:var(--ds-blue-soft,#e8f2ff);color:var(--ds-blue,#1263b5);font-size:10px}.web-permissions .web-permission-item b{font-size:11px}.web-permissions .web-permission-item i{color:var(--ds-muted,#64748b);font-style:normal;font-weight:500;line-height:1.25}
.web-confirm{width:min(480px,calc(100vw - 28px));padding:22px;border-radius:14px;background:var(--ds-panel,#fff);box-shadow:0 24px 70px #0007}.web-confirm h2{margin:0 0 8px}.web-confirm p{color:var(--ds-muted,#64748b);line-height:1.5}.web-confirm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.web-confirm-actions button{min-height:42px;padding:0 18px;border:1px solid var(--ds-border,#ccd7e2);border-radius:8px;background:var(--ds-panel-2,#f4f7fa);font-weight:750}.web-confirm-actions .primary{border-color:var(--ds-blue,#1263b5);background:var(--ds-blue,#1263b5);color:#fff}

/* Mail: pannelli sempre raggiungibili. */
.lm-mail-workspace,.lm-mail-list-panel,.lm-mail-detail{min-width:0}
.lm-mail-list,.lm-mail-detail,.lm-mail-folders{overscroll-behavior:contain}

@media(max-width:1500px) and (min-width:901px){
  .lm-desktop-sidebar{width:208px}.lm-shell:has(.lm-desktop-sidebar)>.lm-topbar,.lm-shell:has(.lm-desktop-sidebar)>.lm-main,.lm-shell:has(.lm-desktop-sidebar)>.lm-footer{margin-left:208px}
  .lm-shell:has(.lm-desktop-sidebar)>.lm-topbar{grid-template-columns:minmax(190px,.65fr) auto minmax(250px,1fr)}
  .lm-brand-text span,.lm-nav-preview{display:none}.lm-module-grid{grid-template-columns:1fr}.lm-overview{grid-template-columns:repeat(4,minmax(130px,1fr))}
  body.lm-warehouse-mobile .platform-sidebar{width:208px}
  body.lm-warehouse-mobile .warehouse-header{width:calc(100% - 208px);margin-left:208px;grid-template-columns:minmax(260px,420px) minmax(0,1fr)}
  body.lm-warehouse-mobile main,body.lm-warehouse-mobile .warehouse-footer{margin-left:208px}
  body.lm-warehouse-mobile main{grid-template-columns:minmax(0,1fr) 220px}
  body.lm-warehouse-mobile .toolbar{grid-template-columns:repeat(3,minmax(110px,1fr))}
  body.lm-warehouse-mobile .cards{grid-template-columns:repeat(8,minmax(0,1fr))}
  .web-notice-tools{grid-template-columns:1.3fr repeat(2,minmax(130px,1fr))}
}

@media(max-width:1100px) and (min-width:901px){
  .lm-shell:has(.lm-desktop-sidebar)>.lm-topbar{grid-template-columns:1fr auto}.lm-shell:has(.lm-desktop-sidebar)>.lm-topbar .lm-nav{display:none}
  .lm-overview{grid-template-columns:repeat(2,minmax(150px,1fr))}.lm-lower-grid{grid-template-columns:1fr}.lm-top-actions .lm-profile div{display:none}
  body.lm-warehouse-mobile .identity .top-server-state{display:inline-flex}.identity>span#operatorName{display:none}.identity #openPassword{display:none}
}

/* Desktop e tablet orizzontale mantengono la lettura tabellare: lo
   scorrimento resta confinato al programma e non coinvolge la pagina. */
@media(min-width:901px){
  body.lm-warehouse-mobile .table-wrap{display:block!important;width:100%!important;max-width:100%!important;padding:0!important;overflow-x:auto!important;overflow-y:visible!important;background:var(--ds-panel,#fff)!important;scrollbar-gutter:stable}
  body.lm-warehouse-mobile .table-wrap table{display:table!important;width:100%!important;min-width:1080px!important;table-layout:fixed!important;border-collapse:collapse!important;color:var(--ds-text,#102a43)!important;background:var(--ds-panel,#fff)!important}
  body.lm-warehouse-mobile .table-wrap thead{display:table-header-group!important}
  body.lm-warehouse-mobile .table-wrap tbody{display:table-row-group!important;padding:0!important;background:transparent!important}
  body.lm-warehouse-mobile .table-wrap tbody tr,
  body.lm-warehouse-mobile .table-wrap tbody tr:nth-child(even){display:table-row!important;height:auto!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  body.lm-warehouse-mobile .table-wrap th,
  body.lm-warehouse-mobile .table-wrap td{position:static!important;display:table-cell!important;width:auto!important;min-width:0!important;height:auto!important;margin:0!important;padding:9px 8px!important;color:var(--ds-text,#102a43)!important;border:1px solid var(--ds-grid,#d9e2ec)!important;background:var(--ds-panel,#fff)!important;vertical-align:middle!important;font-size:14px!important;line-height:1.35!important;overflow-wrap:anywhere!important;box-shadow:none!important}
  body.lm-warehouse-mobile .table-wrap th{color:var(--ds-muted,#52677d)!important;background:var(--ds-panel-2,#f2f6fa)!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase!important}
  body.lm-warehouse-mobile .table-wrap tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--ds-panel,#fff) 95%,var(--ds-blue,#176bc5) 5%)!important}
  body.lm-warehouse-mobile .table-wrap tbody tr:hover td,
  body.lm-warehouse-mobile .table-wrap tbody tr:focus-within td{background:var(--ds-blue-soft,#eaf3ff)!important}
  body.lm-warehouse-mobile .table-wrap td::before{display:none!important;content:none!important}
  body.lm-warehouse-mobile .table-wrap td.num{display:table-cell!important}
  body.lm-warehouse-mobile .table-wrap td.vehicle{position:static!important;left:auto!important;z-index:auto!important;padding:9px 8px!important;color:var(--ds-text,#102a43)!important;border:1px solid var(--ds-grid,#d9e2ec)!important;background:inherit!important;font-size:14px!important;font-weight:850!important}
  body.lm-warehouse-mobile .table-wrap td.product,
  body.lm-warehouse-mobile .table-wrap td.destination,
  body.lm-warehouse-mobile .table-wrap td.order,
  body.lm-warehouse-mobile .table-wrap td.notes,
  body.lm-warehouse-mobile .table-wrap td.pallets,
  body.lm-warehouse-mobile .table-wrap td.state{display:table-cell!important;padding:9px 8px!important;text-align:left!important}
  body.lm-warehouse-mobile .table-wrap td.product,
  body.lm-warehouse-mobile .table-wrap td.order,
  body.lm-warehouse-mobile .table-wrap td.notes,
  body.lm-warehouse-mobile .table-wrap td.pallets{font-size:14px!important}
  body.lm-warehouse-mobile .table-wrap td.pallets{text-align:center!important}
  body.lm-warehouse-mobile .table-wrap .state-badge{min-height:34px!important;margin:0!important;padding:5px 8px!important;font-size:12px!important}
  body.lm-warehouse-mobile .table-wrap .confirm-load{min-height:38px!important;margin-top:6px!important;padding:6px 8px!important;font-size:12px!important}
  body.lm-warehouse-mobile .table-wrap .modified{margin-top:5px!important;font-size:11px!important}
}

@media(max-width:900px){
  .web-menu-toggle{display:grid}.lm-desktop-sidebar,.platform-sidebar{display:flex!important;z-index:90;width:min(82vw,310px)!important;transform:translateX(-105%);transition:transform .2s ease;box-shadow:12px 0 35px #0004}.lm-desktop-sidebar.web-open,.platform-sidebar.web-open{transform:translateX(0)}
  .lm-shell:has(.lm-desktop-sidebar)>.lm-topbar,.lm-shell:has(.lm-desktop-sidebar)>.lm-main,.lm-shell:has(.lm-desktop-sidebar)>.lm-footer{width:100%;margin-left:0}
  .lm-shell:has(.lm-desktop-sidebar)>.lm-topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;min-height:62px;padding:8px 12px}.lm-shell:has(.lm-desktop-sidebar)>.lm-topbar>.web-menu-toggle{grid-column:1}.lm-brand{grid-column:2}.lm-top-actions{grid-column:3}.lm-topbar .lm-nav{display:none}.lm-brand-text span{display:none}.lm-brand-text strong{font-size:12px!important}.lm-mark{width:34px;height:34px}.lm-profile div{display:none}.lm-connection span{display:none}.lm-top-actions{gap:6px}
  .lm-shell:has(.lm-desktop-sidebar)>.lm-main{padding:14px 10px 78px}.lm-shell:has(.lm-desktop-sidebar)>.lm-footer{display:none}
  .lm-page-heading{align-items:stretch;flex-direction:column}.lm-page-heading h1{font-size:26px}.lm-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lm-stat{min-height:104px;padding:13px}.lm-stat strong{font-size:27px}.lm-module-grid,.lm-lower-grid{grid-template-columns:1fr}.lm-module{padding:18px}.lm-module-footer{align-items:stretch;flex-direction:column}.lm-action{justify-content:center;width:100%}
  .web-port-item{grid-template-columns:1fr auto}.web-port-item small{grid-column:1/-1}
  body.lm-warehouse-mobile .warehouse-header{grid-template-columns:auto minmax(0,1fr) auto!important;min-height:60px!important;height:auto!important;padding:8px 10px!important}body.lm-warehouse-mobile .warehouse-header>.web-menu-toggle{grid-column:1}.warehouse-brand{grid-column:2!important;justify-content:flex-start!important}.warehouse-brand h1{font-size:13px!important}.identity{grid-column:3!important;display:flex!important;width:auto!important}.identity>span#operatorName,.identity #openPassword,.identity #themeToggle,.identity #logout{display:none!important}.identity .top-server-state{display:inline-flex!important;width:10px;height:10px;padding:0!important;border:0!important;border-radius:50%!important;background:#36c86b!important;font-size:0!important}.top-avatar{display:grid!important}.identity #openNotifications{display:grid!important}
  body.lm-warehouse-mobile main{padding:9px 8px calc(74px + env(safe-area-inset-bottom))!important;max-width:100vw!important;overflow-x:hidden!important}.operation-rail{display:block!important}.dock-notifications{display:none!important}.port-priority-panel{position:static!important;min-height:0!important;margin:8px 0!important}.mobile-filter-toggle{display:block;width:100%;min-height:42px;margin:0 0 8px;border:1px solid var(--ds-border,#ccd7e2);border-radius:8px;background:var(--ds-panel,#fff);color:var(--ds-blue,#1263b5);font-weight:800}.filter-panel.filters-collapsed{display:none!important}.filter-panel-head{display:flex!important}.filter-panel-head strong,.filter-panel-head span{display:none}.filter-panel-head button{display:block!important;width:100%;min-height:40px;border:1px solid var(--ds-border,#ccd7e2);border-radius:8px;background:var(--ds-panel-2,#f4f7fa);color:var(--ds-blue,#1263b5);font-size:12px;font-weight:800}body.lm-warehouse-mobile .toolbar{grid-template-columns:1fr!important}.toolbar label:nth-child(4),.toolbar label:nth-child(5){display:grid!important}.toolbar label:nth-child(6){grid-column:auto!important}body.lm-warehouse-mobile .cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.lm-warehouse-mobile .cards>.card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;justify-items:center!important;align-content:center!important;gap:5px!important;padding:9px 6px!important;text-align:center!important}body.lm-warehouse-mobile .cards .metric-icon{grid-row:auto!important;margin:0 auto!important}body.lm-warehouse-mobile .cards .metric-copy{min-width:0!important;width:100%!important;text-align:center!important}body.lm-warehouse-mobile .cards .metric-copy small{width:100%!important;white-space:nowrap!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;font-size:clamp(10px,2.8vw,12px)!important;letter-spacing:-.08px!important}
  body.lm-warehouse-mobile #notificationPanel .notice-card{height:calc(100dvh - 16px)!important;overflow:hidden!important}
  body.lm-warehouse-mobile #notificationPanel .notice-list{flex:1 1 auto!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important}
  .web-notice-filter-toggle{display:flex!important;padding:10px 10px 0;background:var(--ds-panel-2,#f5f8fb)}.web-notice-filter-toggle button{width:100%;min-height:44px;border:1px solid var(--ds-blue,#1263b5);border-radius:8px;background:var(--ds-panel,#fff);color:var(--ds-blue,#1263b5);font:800 14px Cambria,Georgia,serif;cursor:pointer}.web-notice-tools.web-filters-collapsed{display:none!important}.web-notice-tools{grid-template-columns:1fr 1fr;padding:10px}.web-notice-tools label:first-child{grid-column:1/-1}.web-mobile-only{display:grid!important}.web-notice-clear{align-self:end;min-height:44px;border:1px solid var(--ds-blue,#1263b5);border-radius:8px;background:var(--ds-panel,#fff);color:var(--ds-blue,#1263b5);font:800 14px Cambria,Georgia,serif;cursor:pointer}.notice-head{padding:14px 15px}.notice-head h2{font-size:18px}.notice-card{width:calc(100vw - 16px)!important;max-width:none!important;max-height:calc(100dvh - 16px)!important}.notice-list{padding:12px 10px!important}.notice-list::before{display:none}
  body.lm-warehouse-mobile #notificationPanel .notice-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px 10px!important;min-height:150px!important;padding:13px 14px!important;cursor:pointer!important;overflow:hidden!important}
  body.lm-warehouse-mobile #notificationPanel .notice-row[hidden]{display:none!important}
  body.lm-warehouse-mobile #notificationPanel .notice-title,body.lm-warehouse-mobile #notificationPanel .notice-context,body.lm-warehouse-mobile #notificationPanel .notice-detail,body.lm-warehouse-mobile #notificationPanel .notice-mobile-meta{grid-column:1/-1!important;min-width:0!important;overflow-wrap:anywhere!important;white-space:normal!important}
  body.lm-warehouse-mobile #notificationPanel .notice-title{flex-direction:row!important;align-items:flex-start!important}.notice-mobile-meta{display:block!important;color:var(--ds-muted,#64748b);font-size:12px;line-height:1.4}.notice-read-status{display:inline-flex!important;grid-column:2!important;align-items:center;justify-content:center;justify-self:end;min-height:28px;padding:4px 10px;border:1px solid #aebdcb;border-radius:14px;background:#e8eef5;color:#34465a;font-size:12px;font-weight:800}.notice-read-status.unread{border-color:#2e79b8;background:#e0f0fc;color:#07558e}.notice-read-status.read{border-color:#9bacbd;background:#edf2f7;color:#566678}
  body.lm-warehouse-mobile #notificationPanel #markNotificationsRead{font-size:0!important}body.lm-warehouse-mobile #notificationPanel #markNotificationsRead::after{content:'Segna tutte come lette';font-size:13px}
  body.lm-warehouse-mobile #notificationPanel .notice-list{grid-template-columns:1fr}body.lm-warehouse-mobile #summaryPanel .notice-list{display:block!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important}
  body.lm-warehouse-mobile #summaryPanel .summary-row.summary-mobile-record{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(64px,auto)!important;align-self:start!important;gap:0!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 10px!important;border:1px solid var(--ds-border,#ccd7e2)!important;border-radius:10px!important;background:var(--ds-panel,#fff)!important;overflow:hidden!important}
  body.lm-warehouse-mobile #summaryPanel .summary-mobile-field{display:grid!important;grid-template-columns:1fr!important;align-content:start!important;gap:4px!important;min-width:0!important;min-height:64px!important;padding:9px 10px!important;border-right:1px solid var(--ds-border,#ccd7e2)!important;border-bottom:1px solid var(--ds-border,#ccd7e2)!important;color:var(--ds-text,#102a43)!important;background:var(--ds-panel,#fff)!important;overflow-wrap:anywhere!important}
  body.lm-warehouse-mobile #summaryPanel .summary-mobile-field:nth-child(even){border-right:0!important}
  body.lm-warehouse-mobile #summaryPanel .summary-mobile-field.wide{grid-column:1/-1!important;min-height:58px!important;border-right:0!important;border-bottom:0!important}
  body.lm-warehouse-mobile #summaryPanel .summary-mobile-field small{display:block!important;color:var(--ds-muted,#64748b)!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;text-transform:uppercase!important}
  body.lm-warehouse-mobile #summaryPanel .summary-mobile-field b{display:block!important;color:var(--ds-text,#102a43)!important;font-size:15px!important;font-weight:750!important;line-height:1.3!important;visibility:visible!important}
  .web-admin-card{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.web-admin-head{padding:14px}.web-admin-row,.web-admin-row.web-head{grid-template-columns:1fr}.web-admin-row.web-head{display:none}.web-admin-row>span::before{display:block;margin-bottom:2px;color:var(--ds-muted,#64748b);font-size:9px;font-weight:800;text-transform:uppercase}.web-admin-row>span:nth-child(1)::before{content:'Identità'}.web-admin-row>span:nth-child(2)::before{content:'Ruolo'}.web-admin-row>span:nth-child(3)::before{content:'Reparto'}.web-admin-row>span:nth-child(4)::before{content:'Stato'}.web-admin-row>span:nth-child(5)::before{content:'Permessi'}
  .lm-mail-toolbar{grid-template-columns:1fr 1fr}.lm-mail-field:first-child{grid-column:1/-1}.lm-mail-workspace{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important}.lm-mail-detail{grid-column:1/-1}.lm-mail-folders{max-height:430px}.lm-mail-list{max-height:430px}.lm-mail-bottom{grid-template-columns:1fr!important}
}

@media(max-width:600px){
  body.lm-warehouse-mobile #notificationPanel .notice-head{flex-shrink:0}
  .lm-shell:has(.lm-desktop-sidebar)>.lm-topbar{min-height:56px}.lm-brand-text strong{max-width:145px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lm-overview{grid-template-columns:1fr 1fr}.lm-stat{grid-template-columns:34px 1fr}.lm-stat-icon{width:32px;height:32px}.lm-stat span{font-size:10px}.lm-section-heading{align-items:flex-start;flex-direction:column}.lm-module-metrics{grid-template-columns:repeat(2,1fr)}
  body.lm-warehouse-mobile .filter-panel{padding:8px!important}body.lm-warehouse-mobile .toolbar{grid-template-columns:1fr!important}.toolbar label:nth-child(6){grid-column:auto!important}body.lm-warehouse-mobile .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.lm-warehouse-mobile .cards>.card{min-width:0!important;max-width:100%!important;overflow:hidden!important}body.lm-warehouse-mobile .cards .metric-copy{min-width:0!important;width:100%!important}body.lm-warehouse-mobile .cards .metric-copy small{min-height:0!important;font-size:clamp(10px,2.8vw,12px)!important;line-height:1.22!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}.port-priority-panel button{width:100%;min-height:44px}
  .table-wrap tbody{padding:7px!important}.table-wrap tbody tr,.table-wrap tbody tr:nth-child(even){display:grid!important;grid-template-columns:1fr!important;grid-template-rows:none!important}.table-wrap td{grid-column:1!important;grid-row:auto!important;grid-template-columns:98px minmax(0,1fr)!important}.table-wrap td.vehicle,.table-wrap td.product,.table-wrap td.destination,.table-wrap td.order,.table-wrap td.notes,.table-wrap td.pallets,.table-wrap td.state{grid-column:1!important;grid-row:auto!important}.table-wrap td.vehicle{position:static!important;display:block!important;font-family:Cambria,Georgia,serif!important;font-size:16px!important;font-weight:700!important;line-height:1.32!important}.table-wrap td.state{display:block!important}.table-wrap td.state .confirm-load{font-size:14px}
  body.lm-warehouse-mobile .top-port-priority{position:relative!important;width:52px!important;min-width:52px!important;padding:0 7px!important;justify-content:center!important;gap:5px!important;overflow:visible!important}body.lm-warehouse-mobile .top-port-priority svg{position:static!important;flex:0 0 20px!important;width:20px!important;height:20px!important}body.lm-warehouse-mobile .top-port-priority span{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:20px!important;margin:0!important;padding:0!important;font-size:0!important;line-height:1!important;background:transparent!important}body.lm-warehouse-mobile .top-port-priority b{position:static!important;display:inline-grid!important;place-items:center!important;min-width:20px!important;height:20px!important;margin:0!important;padding:0 5px!important;border-radius:10px!important;color:#fff!important;background:#163a60!important;font-size:11px!important;line-height:20px!important;box-sizing:border-box!important}
  .web-notice-tools{grid-template-columns:1fr}.web-notice-tools label:first-child{grid-column:auto}.notice-actions{display:grid!important;grid-template-columns:1fr 1fr}.notice-actions button{min-height:42px}.notice-title{align-items:flex-start;flex-direction:column}.notice-title time{font-size:11px}.notice-context,.notice-detail{line-height:1.45}
  body.lm-warehouse-mobile #notificationPanel .web-notice-tools{grid-template-columns:1fr}
  body.lm-warehouse-mobile #notificationPanel .notice-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.web-notice-detail-body{grid-template-columns:1fr}.web-notice-detail-field.wide{grid-column:auto}.web-notice-detail-actions button{width:100%}
  .lm-mail-toolbar{grid-template-columns:1fr}.lm-mail-field:first-child{grid-column:auto}.lm-mail-workspace{display:block!important}.lm-mail-folders{display:flex;gap:6px;max-height:none;overflow-x:auto;padding:10px}.lm-mail-folders h2,.lm-mail-team{display:none}.lm-folder{min-width:max-content}.lm-mail-list{max-height:360px}.lm-mail-detail-head{align-items:flex-start;flex-direction:column}.lm-mail-controls,.lm-mail-meta{grid-template-columns:1fr!important}.lm-mail-detail{padding:13px}.lm-note-entry{grid-template-columns:1fr!important}.lm-note-entry button{min-height:42px}
}

@media(max-width:390px){
  .lm-overview{grid-template-columns:1fr}.lm-stat{min-height:84px}.lm-page-heading h1{font-size:23px}
  body.lm-warehouse-mobile .cards{grid-template-columns:1fr 1fr!important}.card small{font-size:11.5px!important;line-height:1.22!important}.card strong{font-size:22px!important}.mobile-bottom-nav a,.mobile-bottom-nav button{min-width:44px}
}

/* Intestazioni operative 73.3.15: titolo unico, centrato sull'intera fascia. */
body.lm-warehouse-mobile .section-title{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  text-align:center!important;
}
body.lm-warehouse-mobile .section-title-text{display:block!important;min-width:0!important;max-width:100%!important;margin:0 auto!important;font-family:Cambria,Georgia,serif!important;font-size:clamp(14px,1.1vw,18px)!important;font-weight:850!important;line-height:1.2!important;text-align:center!important;text-transform:uppercase!important;white-space:normal!important;overflow-wrap:break-word!important;text-wrap:balance}

@media(max-width:600px){
  body.lm-warehouse-mobile .section-title{min-height:52px!important;padding:8px 7px!important}
  body.lm-warehouse-mobile .section-title-text{font-size:clamp(11px,3.4vw,14px)!important;line-height:1.22!important;letter-spacing:0!important}
}

/* Go Live: il comando Priorita Porto mantiene icona, contatore e testo
   in tre aree distinte anche quando l'header desktop si restringe. */
@media(min-width:901px){
  body.lm-warehouse-mobile .identity{flex-wrap:nowrap!important}
  body.lm-warehouse-mobile .top-port-priority{min-width:190px!important;display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;gap:9px!important;overflow:hidden!important;white-space:nowrap!important}
  body.lm-warehouse-mobile .top-port-priority svg{position:static!important;flex:0 0 23px!important;width:23px!important;height:23px!important}
  body.lm-warehouse-mobile .top-port-priority span{position:static!important;min-width:0!important;display:inline-flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important;overflow:visible!important;white-space:nowrap!important;line-height:1!important;background:transparent!important}
  body.lm-warehouse-mobile .top-port-priority b{position:static!important;min-width:24px!important;height:24px!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;margin:0!important;padding:0 7px!important;border-radius:12px!important;color:#fff!important;background:#d91f2a!important;font-size:12px!important;line-height:24px!important;box-sizing:border-box!important}
}
@media(max-width:1280px) and (min-width:901px){
  body.lm-warehouse-mobile .top-port-priority{min-width:160px!important;padding-inline:11px!important;gap:7px!important;font-size:10px!important}
  body.lm-warehouse-mobile .top-port-priority span{gap:6px!important}
}
