/* V13 dashboard fidelity repair. Scoped; ?ui=legacy is not affected. */
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-operations {
  position:relative;overflow:hidden;
  padding:24px 18px 18px!important;
  border-radius:27px!important;
  background:#183f34!important;
  color:#fff!important;
  box-shadow:0 19px 36px rgba(20,42,31,.15)!important;
  min-height:0!important;
  margin:16px 0 25px!important;
}
html[data-bak-ui="figma-v12"] .v13-operations:before {
  content:"";position:absolute;right:-64px;top:-98px;width:200px;height:200px;
  border:1px solid rgba(255,255,255,.14);border-radius:50%;
  box-shadow:0 0 0 36px rgba(255,255,255,.025);pointer-events:none;
}
html[data-bak-ui="figma-v12"] .v13-ops-heading {position:relative;z-index:1;margin-bottom:20px}
html[data-bak-ui="figma-v12"] .v13-ops-heading .eyebrow {
  font-size:10px;letter-spacing:.14em;color:rgba(255,255,255,.67)!important;
}
html[data-bak-ui="figma-v12"] .v13-ops-heading h2 {
  font:750 27px/1.15 'BAK Manrope',system-ui,sans-serif!important;
  letter-spacing:-.045em;margin:8px 0 5px;color:white!important;
}
html[data-bak-ui="figma-v12"] .v13-ops-heading .v13-ops-hint {
  font-size:12px!important;color:rgba(255,255,255,.75)!important;line-height:1.45;
}
html[data-bak-ui="figma-v12"] .v13-ops-grid {
  position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;margin-bottom:10px;
}
html[data-bak-ui="figma-v12"] .v13-task {
  -webkit-tap-highlight-color:transparent;position:relative;
  display:flex;flex-direction:column;align-items:flex-start;min-width:0;
  border:0!important;border-radius:20px!important;padding:15px 13px!important;
  text-align:left;min-height:142px;gap:13px;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),filter .24s;
}
html[data-bak-ui="figma-v12"] .v13-task:active {transform:scale(.965)}
html[data-bak-ui="figma-v12"] .v13-task:hover:not(:disabled) {filter:brightness(1.025)}
html[data-bak-ui="figma-v12"] .v13-task-do {background:#ffe0ca!important;color:#743820!important}
html[data-bak-ui="figma-v12"] .v13-task-transfer {background:#ded8ff!important;color:#4b3c98!important}
html[data-bak-ui="figma-v12"] .v13-task-stocktake {
  z-index:1;min-height:74px;display:grid;grid-template-columns:40px minmax(0,1fr) 18px;
  align-items:center;gap:10px;background:#c6f4e5!important;color:#184f3b!important;
}
html[data-bak-ui="figma-v12"] .v13-task-icon {
  width:39px;height:39px;display:grid;place-items:center;
  background:rgba(255,255,255,.50);border-radius:13px;
}
html[data-bak-ui="figma-v12"] .v13-task-icon svg{width:21px;height:21px}
html[data-bak-ui="figma-v12"] .v13-task-copy{display:block;min-width:0}
html[data-bak-ui="figma-v12"] .v13-task-copy strong {
  display:block;font:750 15px/1.2 'BAK Manrope',system-ui,sans-serif;
  letter-spacing:-.03em;color:inherit!important;
}
html[data-bak-ui="figma-v12"] .v13-task-copy small {
  display:block;margin-top:5px;opacity:.75;font-size:11px!important;
  line-height:1.3;color:inherit!important;
}
html[data-bak-ui="figma-v12"] .v13-task-arrow {
  position:absolute;right:13px;top:13px;font-size:18px;opacity:.68;
}
html[data-bak-ui="figma-v12"] .v13-task-stocktake .v13-task-arrow {
  position:static;justify-self:end;
}
html[data-bak-ui="figma-v12"] .v13-ops-footnote {
  position:relative;z-index:1;max-width:350px;margin:12px 2px 0;
  font-size:10px!important;line-height:1.5!important;color:rgba(255,255,255,.55)!important;
}
html[data-bak-ui="figma-v12"] .v13-task:disabled {opacity:.6;cursor:not-allowed}
html[data-bak-ui="figma-v12"] #v6ManagementHome .fv12-intro {
  margin:22px 2px 15px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .fv12-intro h2 {
  color:#171918;font-size:clamp(27px,7.8vw,37px)!important;
  line-height:1.06;letter-spacing:-.05em;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules {
  margin-top:0!important;gap:11px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules .module-card {
  transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules .module-card:active {
  transform:scale(.975);box-shadow:0 6px 19px rgba(23,25,24,.08)!important;
}
/* Floating pill with active-only label; keeps the original Home/Work/Alerts/More click handlers. */
html[data-bak-ui="figma-v12"] .fv12-nav {
  position:fixed!important;z-index:48;left:50%!important;
  bottom:calc(18px + env(safe-area-inset-bottom))!important;
  width:min(390px,calc(100vw - 34px))!important;
  display:flex!important;align-items:center!important;justify-content:space-around!important;
  gap:3px!important;padding:7px!important;border-radius:999px!important;
  border:1px solid rgba(255,255,255,.86)!important;
  background:linear-gradient(150deg,rgba(255,255,255,.87),rgba(239,246,241,.74))!important;
  box-shadow:0 12px 40px rgba(24,39,29,.16),inset 0 1px 1px rgba(255,255,255,.96)!important;
  -webkit-backdrop-filter:blur(24px) saturate(170%);
  backdrop-filter:blur(24px) saturate(170%);
  transform:translateX(-50%)!important;isolation:isolate;
}
html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav] {
  flex:1 1 0;min-width:44px;max-width:none;
  height:52px!important;min-height:52px!important;padding:0 9px!important;
  display:flex!important;flex-direction:row!important;gap:0!important;
  align-items:center;justify-content:center!important;
  color:#777b75!important;background:transparent!important;
  border:0;border-radius:999px!important;
  transition:flex-grow .36s cubic-bezier(.2,1,.2,1),background-color .35s,color .3s,transform .3s;
}
html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav][data-v13-current="true"] {
  flex-grow:1.65;background:rgba(255,255,255,.90)!important;
  color:#171918!important;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.95),0 5px 18px rgba(25,34,28,.12);
}
html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav] svg {flex:0 0 22px;width:22px;height:22px}
html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav]>span {
  max-width:0;min-width:0;width:0;opacity:0;overflow:hidden;
  margin-left:0;white-space:nowrap;font-size:12px;font-weight:750;line-height:1.1;
  transition:max-width .35s cubic-bezier(.2,.8,.2,1),opacity .24s,margin-left .35s;
}
html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav][data-v13-current="true"]>span {
  width:auto;max-width:58px;opacity:1;margin-left:7px;
}
html[data-bak-ui="figma-v12"] .fv12-nav button:focus-visible{outline:3px solid #7157e8;outline-offset:2px}
html[data-bak-ui="figma-v12"] .fv12-dashboard{padding-bottom:calc(135px + env(safe-area-inset-bottom))!important}
html[data-bak-ui="figma-v12"] .fv12-intro,
html[data-bak-ui="figma-v12"] .v13-operations,
html[data-bak-ui="figma-v12"] .v6-management-modules {
  animation:v13-entrance .55s cubic-bezier(.16,1,.3,1) both;
}
html[data-bak-ui="figma-v12"] .v13-operations{animation-delay:.08s}
html[data-bak-ui="figma-v12"] .v6-management-modules{animation-delay:.14s}
@keyframes v13-entrance {
 from{opacity:0;transform:translateY(15px)}
 to{opacity:1;transform:translateY(0)}
}
@media(max-width:355px) {
 html[data-bak-ui="figma-v12"] .v13-ops-grid{gap:7px}
 html[data-bak-ui="figma-v12"] .v13-task{padding:12px 10px!important;min-height:145px}
 html[data-bak-ui="figma-v12"] .v13-task-copy strong{font-size:13px}
 html[data-bak-ui="figma-v12"] .fv12-nav{width:calc(100vw - 24px)!important}
 html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav]{padding:0 5px!important;min-width:42px}
}
@media(prefers-reduced-motion:reduce) {
 html[data-bak-ui="figma-v12"] .fv12-intro,
 html[data-bak-ui="figma-v12"] .v13-operations,
 html[data-bak-ui="figma-v12"] .v6-management-modules{animation:none!important}
 html[data-bak-ui="figma-v12"] .fv12-nav button,
 html[data-bak-ui="figma-v12"] .v13-task{transition:none!important}
}


/* V13 corrective pass: a single compact module grid, not duplicate shortcuts. */
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-operations {
 min-height:0!important;padding:18px 19px!important;margin:14px 0 17px!important;
 background:linear-gradient(125deg,#183f34,#245a46)!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-operations h2{
 font-size:24px!important;line-height:1.16!important;margin:6px 0 7px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-operations>p:last-child{
 font-size:12px!important;color:rgba(255,255,255,.82)!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] {
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:10px!important;margin:0!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card{
 min-height:124px!important;height:auto!important;border-radius:20px!important;
 padding:14px!important;
 transform-origin:center bottom;
 animation:v13-card-reveal .48s cubic-bezier(.16,1,.3,1) both;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card:nth-child(2){animation-delay:.035s}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card:nth-child(3){animation-delay:.07s}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card:nth-child(4){animation-delay:.10s}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card:nth-child(5){animation-delay:.13s}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card .module-icon{
 width:36px!important;height:36px!important;border-radius:12px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card .module-icon svg{width:19px;height:19px}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card strong{
 font-size:17px!important;line-height:1.15!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card small{
 font-size:11px!important;line-height:1.35!important;margin-top:5px!important;max-width:100%;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] [data-fv12-module="stocktake"]{
 grid-column:1/-1!important;min-height:96px!important;display:grid!important;
 grid-template-columns:44px 1fr auto!important;align-items:center!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] [data-fv12-module="stocktake"] .module-icon{
 grid-column:1!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] [data-fv12-module="stocktake"]>div{
 grid-column:2!important;margin:0!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] [data-v8-management-report]{
 display:none!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card:active{transform:scale(.955)!important}
html[data-bak-ui="figma-v12"] .v13-do-import {margin:14px 0 30px;overflow:hidden;border:1px solid rgba(23,25,24,.1);border-radius:19px;background:#fff}
html[data-bak-ui="figma-v12"] .v13-do-import>summary{
 display:flex;align-items:center;justify-content:space-between;list-style:none;
 min-height:56px;padding:14px 18px;cursor:pointer;color:#184f3b;font-weight:750;font-size:14px;
}
html[data-bak-ui="figma-v12"] .v13-do-import>summary::after{content:"+";font-size:23px;font-weight:400}
html[data-bak-ui="figma-v12"] .v13-do-import[open]>summary::after{content:"−"}
html[data-bak-ui="figma-v12"] .v13-do-import>.form-card{
 margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 padding:14px 16px 18px!important;
 animation:v13-panel-open .38s cubic-bezier(.2,.8,.2,1) both;
}
html[data-bak-ui="figma-v12"] .v13-do-hint{
 color:#72766f!important;font-size:12px!important;line-height:1.5!important;margin-bottom:12px!important;
}
html[data-bak-ui="figma-v12"] .v13-share-report{
 display:block;width:100%;margin:8px 0 16px;min-height:50px;border:0;border-radius:15px;
 color:#184f3b;background:#c6f4e5;font-weight:750;font-size:14px;
}
@keyframes v13-card-reveal{from{opacity:0;transform:translateY(20px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes v13-panel-open{from{opacity:0;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:355px){
 html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card{padding:12px!important;min-height:120px!important}
 html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card strong{font-size:15px!important}
}
@media(prefers-reduced-motion:reduce){
 html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card,
 html[data-bak-ui="figma-v12"] .v13-do-import>.form-card{animation:none!important;transition:none!important}
}


/* Multi-item exchange presentation. Legacy JS remains intact behind rollback. */
html[data-bak-ui="figma-v12"] main.v13-multi-active>.exchange-stack,
html[data-bak-ui="figma-v12"] main.v13-multi-active>.exchange-arrow,
html[data-bak-ui="figma-v12"] main.v13-multi-active>.difference-card,
html[data-bak-ui="figma-v12"] main.v13-multi-active>#confirmExchange,
html[data-bak-ui="figma-v12"] main.v13-multi-active>.home-hero{display:none!important}
html[data-bak-ui="figma-v12"] .v13-multi-exchange{display:grid;gap:12px;padding-bottom:22px;animation:v13-panel-open .42s cubic-bezier(.16,1,.3,1)}
html[data-bak-ui="figma-v12"] .v13-ex-heading{margin:10px 2px 12px}
html[data-bak-ui="figma-v12"] .v13-ex-heading h2{font-size:clamp(25px,7vw,31px);letter-spacing:-.045em;line-height:1.12;margin:7px 0}
html[data-bak-ui="figma-v12"] .v13-ex-heading>p:last-child{font-size:13px;color:#72766f;line-height:1.4}
html[data-bak-ui="figma-v12"] .v13-ex-card{padding:17px;background:#fff;border:1px solid rgba(23,25,24,.08);border-radius:20px;box-shadow:0 8px 25px rgba(23,25,24,.03)}
html[data-bak-ui="figma-v12"] .v13-ex-card-title{display:flex;align-items:center;gap:9px;margin-bottom:12px}
html[data-bak-ui="figma-v12"] .v13-ex-card-title>span{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#c6f4e5;color:#184f3b;font-size:11px;font-weight:800}
html[data-bak-ui="figma-v12"] .v13-ex-card-title h3{font-size:16px;color:#171918}
html[data-bak-ui="figma-v12"] .v13-ex-card-title small{font-size:12px;font-weight:600;color:#72766f}
html[data-bak-ui="figma-v12"] .v13-ex-line{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:13px 0;border-bottom:1px solid rgba(23,25,24,.08)}
html[data-bak-ui="figma-v12"] .v13-ex-line>div:first-child{min-width:0;overflow-wrap:anywhere}
html[data-bak-ui="figma-v12"] .v13-ex-line strong{display:block;font-size:13px;line-height:1.3}
html[data-bak-ui="figma-v12"] .v13-ex-line small{display:block;font-size:11px;color:#72766f;line-height:1.45;margin-top:3px}
html[data-bak-ui="figma-v12"] .v13-ex-quantity{display:flex;align-items:center;gap:3px;flex-shrink:0}
html[data-bak-ui="figma-v12"] .v13-ex-quantity button{width:34px;height:38px;border:0;border-radius:11px;background:#eaf1eb;color:#184f3b;font-weight:800;font-size:18px}
html[data-bak-ui="figma-v12"] .v13-ex-quantity b{min-width:19px;text-align:center;font-size:13px}
html[data-bak-ui="figma-v12"] .v13-ex-quantity .v13-ex-remove{background:#fff0e9;color:#9c4230}
html[data-bak-ui="figma-v12"] .v13-ex-empty{font-size:12px;color:#72766f;padding:11px 0}
html[data-bak-ui="figma-v12"] .v13-ex-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:15px}
html[data-bak-ui="figma-v12"] .v13-ex-input input{min-width:0;width:100%;min-height:48px;padding:10px 12px;border:1px solid #daddd7;border-radius:12px;background:#f6f6f2;font-size:14px}
html[data-bak-ui="figma-v12"] .v13-ex-input button{padding:0 15px;min-height:48px;border:0;border-radius:12px;background:#184f3b;color:white;font-size:13px;font-weight:750}
html[data-bak-ui="figma-v12"] .v13-ex-camera{width:100%;min-height:43px;margin-top:8px;border:1px solid rgba(24,79,59,.18);border-radius:12px;background:#e9f5ee;color:#184f3b;font-size:12px;font-weight:750}
html[data-bak-ui="figma-v12"] .v13-ex-totals{padding:17px 18px;background:#173e32;border-radius:20px;color:white}
html[data-bak-ui="figma-v12"] .v13-ex-totals>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:7px 0;font-size:12px}
html[data-bak-ui="figma-v12"] .v13-ex-totals strong{font-size:15px}
html[data-bak-ui="figma-v12"] .v13-ex-totals .v13-ex-due{border-top:1px solid rgba(255,255,255,.2);padding-top:13px;margin-top:14px;color:#d9ff63;font-weight:750}
html[data-bak-ui="figma-v12"] .v13-ex-error{padding:12px 14px;border-radius:12px;background:#ffe0ca;color:#8b421a;font-size:12px}
html[data-bak-ui="figma-v12"] .v13-ex-confirm{width:100%;min-height:53px;border:0;border-radius:15px;background:#184f3b;color:white;font-weight:800;font-size:14px}
html[data-bak-ui="figma-v12"] .v13-ex-confirm:disabled{opacity:.4}
html[data-bak-ui="figma-v12"] .v13-ex-details{min-height:43px;margin-top:10px;width:100%}
html[data-bak-ui="figma-v12"] .v13-ex-history-list>div{padding:12px 0;border-bottom:1px solid #d6d6d2;font-size:13px}
@media(max-width:355px){html[data-bak-ui="figma-v12"] .v13-ex-card{padding:13px}html[data-bak-ui="figma-v12"] .v13-ex-quantity button{width:30px}}


html[data-bak-ui="figma-v12"] .v13-ex-history-note{
 padding:10px 12px;margin:8px 0;border-radius:12px;background:#fff0df;
 color:#81451d;font-size:12px;line-height:1.5;
}


/* Real shared glass slider between active nav destinations. */
html[data-bak-ui="figma-v12"] .fv12-nav{position:fixed;isolation:isolate}
html[data-bak-ui="figma-v12"] .fv12-nav .v13-nav-liquid{
 position:absolute;z-index:0;top:7px;left:0;height:52px;opacity:0;pointer-events:none;
 border-radius:999px;border:1px solid rgba(255,255,255,.92);
 background:linear-gradient(130deg,rgba(255,255,255,.98),rgba(242,253,249,.68) 50%,rgba(255,255,255,.98));
 -webkit-backdrop-filter:blur(18px) saturate(145%);
 backdrop-filter:blur(18px) saturate(145%);
 box-shadow:inset 0 2px 3px rgba(255,255,255,.98),inset 0 -2px 7px rgba(105,140,124,.12),0 6px 18px rgba(25,34,28,.13);
 transition:transform .52s cubic-bezier(.22,1.25,.36,1),width .52s cubic-bezier(.22,1.25,.36,1),opacity .3s;
 will-change:transform,width;
}
html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav]{
 position:relative;z-index:1;isolation:isolate;
}
html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav][data-v13-current="true"]{
 background:transparent!important;box-shadow:none!important;
}
@media(prefers-reduced-motion:reduce){
 html[data-bak-ui="figma-v12"] .fv12-nav .v13-nav-liquid{transition:none!important;will-change:auto}
}


/* V13 audited restoration — approved top hub stays; duplicate bottom cards hidden. */
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-operations{
 background:#183f34!important;border-radius:27px!important;
 padding:24px 18px 18px!important;margin:16px 0 17px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-operations h2{
 font-size:clamp(23px,6vw,29px)!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-ops-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:9px!important;margin:0 0 9px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-operations .v13-task{
 display:flex!important;min-height:138px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v13-operations .v13-task-stocktake{
 display:grid!important;grid-template-columns:40px 1fr 18px;min-height:76px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] :is(
 [data-v6-management-module="do"],
 [data-v6-management-module="stocktake"],
 [data-v8-management-transfer"],
 [data-v8-management-report"]){display:none!important}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid]{
 margin-top:0!important;gap:9px!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card{
 grid-column:auto!important;min-height:125px!important;height:auto!important;
 display:flex!important;flex-direction:column!important;
}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card[style*="display: none"]{display:none!important}
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card[data-fv12-module="sessions"]{
 grid-column:1/-1!important;min-height:96px!important;
}
/* DO: current scanner-first management flow, legacy CSV hidden (without deleting DOM handlers). */
html[data-bak-ui="figma-v12"] main.v13-do-mode-send > .form-card,
html[data-bak-ui="figma-v12"] main.v13-do-mode-send > .v13-do-import,
html[data-bak-ui="figma-v12"] main.v13-do-mode-send > .list-section,
html[data-bak-ui="figma-v12"] main.v13-do-mode-send > .v102-do-create,
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive > .form-card,
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive > .v13-do-import,
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive > .v102-do-create{
 display:none!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive > .list-section{
 display:block!important;
}
html[data-bak-ui="figma-v12"] .v13-do-workspace{
 display:grid;gap:11px;margin:12px 0 18px;animation:v13-panel-open .43s cubic-bezier(.16,1,.3,1);
}
html[data-bak-ui="figma-v12"] .v13-do-workspace .v13-do-intro{
 padding:21px;border-radius:23px;background:#ffe0ca;color:#713b22;
}
html[data-bak-ui="figma-v12"] .v13-do-intro h2{
 margin:7px 0;font-size:clamp(24px,7vw,30px);line-height:1.12;letter-spacing:-.035em;
}
html[data-bak-ui="figma-v12"] .v13-do-intro p:last-child{font-size:12px;line-height:1.5}
html[data-bak-ui="figma-v12"] .v13-do-menu{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html[data-bak-ui="figma-v12"] .v13-do-menu .v13-do-action{
 min-height:132px;display:flex;align-items:flex-end;text-align:left;
 padding:17px;border:0;border-radius:20px;font-size:17px;font-weight:800;
 letter-spacing:-.025em;transition:transform .3s cubic-bezier(.2,.8,.2,1);
}
html[data-bak-ui="figma-v12"] .v13-do-menu .v13-do-action:active{transform:scale(.96)}
html[data-bak-ui="figma-v12"] .v13-do-send{background:#194a3b;color:white}
html[data-bak-ui="figma-v12"] .v13-do-receive{background:#c6f4e5;color:#194a3b}
html[data-bak-ui="figma-v12"] .v13-do-action:not(.v13-do-send):not(.v13-do-receive){
 min-height:48px;border:0;border-radius:13px;padding:12px 15px;
 background:#fff;font-size:13px;font-weight:750;
}
html[data-bak-ui="figma-v12"] .v13-do-back{text-align:left;color:#184f3b!important}
html[data-bak-ui="figma-v12"] .v13-do-primary{background:#184f3b!important;color:white}
html[data-bak-ui="figma-v12"] .v13-do-row{
 display:grid!important;grid-template-columns:minmax(0,1fr) 18px;gap:5px;
 background:white;min-height:70px!important;text-align:left;
 align-items:center;border:1px solid rgba(23,25,24,.08)!important;
}
html[data-bak-ui="figma-v12"] .v13-do-row strong{display:block;font-size:14px}
html[data-bak-ui="figma-v12"] .v13-do-row small{display:block;font-size:11px;line-height:1.4;color:#737771;margin-top:4px}
html[data-bak-ui="figma-v12"] .v13-do-row>span{grid-row:1/3;grid-column:2;font-size:22px}
html[data-bak-ui="figma-v12"] .v13-do-add{background:#ebf4ed!important;color:#184f3b!important}
html[data-bak-ui="figma-v12"] .v13-do-total{
 padding:13px 15px;border-radius:15px;background:#184f3b;color:#d9ff63;
 font-size:19px;font-weight:800;
}
html[data-bak-ui="figma-v12"] .v13-do-scanner{
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;
}
html[data-bak-ui="figma-v12"] .v13-do-scanner input{
 width:100%;min-width:0;min-height:52px;padding:11px 13px;border:1px solid #d8e0d7;
 border-radius:14px;font-size:14px;background:white;
}
html[data-bak-ui="figma-v12"] .v13-do-scanner button{
 min-height:52px;padding:11px 16px;border:0;border-radius:14px;
 background:#184f3b;color:#fff;font-size:13px;font-weight:750;
}
html[data-bak-ui="figma-v12"] .v13-do-camera{
 position:relative;display:flex;flex-direction:column;gap:8px;align-items:center;
 padding:12px;border-radius:19px;background:#172620;color:#c6f4e5;
}
html[data-bak-ui="figma-v12"] .v13-do-camera video{width:100%;max-height:190px;object-fit:cover;border-radius:13px}
html[data-bak-ui="figma-v12"] .v13-do-camera small{font-size:11px}
html[data-bak-ui="figma-v12"] .v13-do-camera .v13-do-hold{
 min-height:50px;width:100%;border:0;border-radius:13px;background:#c6f4e5;
 color:#184f3b;font-size:13px;font-weight:800;touch-action:none;
}
html[data-bak-ui="figma-v12"] .v13-do-product{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 background:#fff;padding:14px;border-radius:14px;
}
html[data-bak-ui="figma-v12"] .v13-do-product strong{display:block;font-size:13px}
html[data-bak-ui="figma-v12"] .v13-do-product small{display:block;font-size:11px;color:#777;line-height:1.35;margin-top:4px}
html[data-bak-ui="figma-v12"] .v13-do-undo{background:#e5e9e6!important}
html[data-bak-ui="figma-v12"] .v13-do-publish{background:#184f3b!important;color:white!important;min-height:53px!important}
html[data-bak-ui="figma-v12"] .v13-do-error{color:#a4432a;font-size:12px;line-height:1.5}
@media(max-width:360px){
 html[data-bak-ui="figma-v12"] .v13-do-menu .v13-do-action{min-height:116px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 html[data-bak-ui="figma-v12"] .v13-do-workspace{animation:none!important}
}


/* Final override: hidden duplicates must not be revived by earlier module-card !important rules. */
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card[data-v6-management-module="do"],
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card[data-v6-management-module="stocktake"],
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card[data-v8-management-transfer],
html[data-bak-ui="figma-v12"] #v6ManagementHome .v6-management-modules[data-v13-single-grid] .module-card[data-v8-management-report]{
 display:none!important;visibility:hidden!important;
}
html[data-bak-ui="figma-v12"] #v11NotificationsPage{
 padding-bottom:calc(120px + env(safe-area-inset-bottom))!important;
}
html[data-bak-ui="figma-v12"] #v11NotificationsPage .fv12-nav{
 position:fixed!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;
}


/* DO receiving: one status, compact useful document rows, preserve View Items/Delete controls. */
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v7-do-summary{
 position:relative;margin:0 0 13px!important;padding:15px!important;
 border-radius:18px!important;box-shadow:none!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v7-do-summary .v10-simple-status{
 display:none!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v7-do-summary-head{
 display:flex!important;gap:12px!important;align-items:flex-start!important;justify-content:space-between!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v7-do-summary-head strong{
 font-size:18px!important;letter-spacing:-.03em!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v7-do-summary-head span{
 font-size:11px!important;line-height:1.35!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v7-do-numbers{
 gap:7px!important;padding:9px 0!important;margin:9px 0!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v7-do-numbers>div{
 min-width:0!important;padding:8px!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v103-do-actions{
 display:grid!important;grid-template-columns:1fr 1fr;gap:9px!important;margin:9px 0 0!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v103-do-actions button{
 min-width:0;min-height:44px!important;margin:0!important;
 font-size:12px!important;border-radius:12px!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .v103-do-actions .danger{
 background:#fff1ec!important;color:#9d3d2d!important;border:1px solid #f5d7ce!important;
}
html[data-bak-ui="figma-v12"] main.v13-do-mode-receive .list-section{
 padding:15px!important;border-radius:20px!important;
}

/* V13 post-release QC: compact scanner guidance without extra dashboard blocks. */
html[data-bak-ui="figma-v12"] .v13-ex-help{
  padding:10px 12px;margin:0 0 3px;border-radius:12px;
  background:#e8f6ef;color:#255941;font-size:12px;line-height:1.5;
}

/* V13g mobile speed: remove GPU-heavy live blur and layout transitions. */
html[data-bak-ui="figma-v12"] .fv12-nav{
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  background:#fffffff2!important;box-shadow:0 5px 16px rgba(24,39,29,.10)!important;
}
html[data-bak-ui="figma-v12"] .fv12-nav .v13-nav-liquid{
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  will-change:auto!important;transition:transform .19s ease,width .19s ease,opacity .15s ease!important;
}
html[data-bak-ui="figma-v12"] .fv12-nav button[data-fv12-nav]{
  transition:background-color .15s ease,color .15s ease!important;
}
html[data-bak-ui="figma-v12"] :is(.fv12-intro,.v13-operations,.v6-management-modules){
  animation-duration:.20s!important;animation-delay:0s!important;
}
/* Live transfer list: product first, tracking number only after opening. */
html[data-bak-ui="figma-v12"] #v8TransferList .do-row[data-v13g-transfer-card]{
  align-items:flex-start!important;text-align:left!important;
}
html[data-bak-ui="figma-v12"] .v13g-transfer-title{
  display:block;font-size:16px!important;line-height:1.25!important;letter-spacing:0!important;
  color:#17251e!important;
}
html[data-bak-ui="figma-v12"] .v13g-transfer-clothes{
  display:flex;flex-direction:column;gap:4px;margin:8px 0 9px;
  color:#353d39;font-size:13px;line-height:1.35;
}
html[data-bak-ui="figma-v12"] .v13g-transfer-item{display:block}
html[data-bak-ui="figma-v12"] .v13g-transfer-item b{font-weight:700}
html[data-bak-ui="figma-v12"] .v13g-transfer-route{font-size:12px!important;color:#59655e!important}
html[data-bak-ui="figma-v12"] .v13g-transfer-footer{
  display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;
}
html[data-bak-ui="figma-v12"] .v13g-transfer-footer span{
  padding:5px 8px;border-radius:9px;background:#e7eee9;font-size:10px;font-weight:700;color:#315744;
}
html[data-bak-ui="figma-v12"] .v13g-transfer-details{max-height:55dvh;overflow:auto}
html[data-bak-ui="figma-v12"] .v13g-transfer-details article{
  display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e4e8e5;
  font-size:13px;
}
@media(prefers-reduced-motion:reduce){
 html[data-bak-ui="figma-v12"] .fv12-nav .v13-nav-liquid{transition:none!important}
}

/* No DOM rewrite on active transfer cards: this attribute-based label cannot
   trigger the legacy cosmetic MutationObserver or repeated Supabase reads. */
html[data-bak-ui="figma-v12"] #v8TransferList .do-row[data-v13g-transfer-card]{
 display:flex!important;flex-wrap:wrap;align-items:center!important;gap:8px 10px!important;text-align:left!important;
}
html[data-bak-ui="figma-v12"] #v8TransferList .do-row[data-v13g-transfer-card]>div:first-child{
 display:none!important;
}
html[data-bak-ui="figma-v12"] #v8TransferList .do-row[data-v13g-transfer-card]::before{
 content:attr(data-v13g-display);display:block;white-space:pre-line;flex:1 1 180px;min-width:0;
 font-size:14px;line-height:1.65;font-weight:650;color:#26372c;
}
html[data-bak-ui="figma-v12"] #v8TransferList .do-row[data-v13g-transfer-card]>.v10-simple-status{
 flex:1 1 100%;margin-top:2px;
}
