/* Shared GST visual system. Mobile UI mode only; dashboard composition retained. */
html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-family="gst-returns"]) {
  padding:0 28px calc(155px + env(safe-area-inset-bottom)); max-width:1024px;width:100%;
  background:linear-gradient(115deg,#effaff,#e9f7ff);color:#10275e;
  & > .medaliza-mobile-shell-header {display:none;}
  & .medaliza-mobile-shell-content--inner {padding:0;}
}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"] {
  --gst-doc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 2h8l5 5v15H6zM14 2v6h5M9 12h7M9 16h7'/%3E%3C/svg%3E");
  & .gst-workspace {padding:0;background:none;min-height:0;}
  & .gst-top-shell {display:block;padding:0;margin:0 0 16px;border:0;background:none;box-shadow:none;overflow:visible;}
  & .gst-top-shell::before {content:none;}
  & .gst-top-brand {gap:26px;height:125px;padding:20px 28px;border:1px solid #cfe4fa;border-radius:26px;background:linear-gradient(125deg,#fff,#effaff 65%,#bde9fc);box-shadow:0 5px 14px #2a79b00d;}
  & .gst-top-brand-icon {width:82px;height:80px;border-radius:22px;font-size:42px;}
  & .gst-top-brand-icon::after {content:"";position:absolute;left:140px;width:225px;height:74px;background:url("../img/medaliza-brand-logo.png") center/contain no-repeat;}
  & .gst-brand-title-row {display:block;margin-left:255px;}
  & .gst-top-brand h1 {font:700 32px/1.15 Arial,sans-serif;margin:0 0 6px;}
  & .gst-top-brand p:last-child {font:400 18px/1.35 Arial,sans-serif;}
  & .gst-top-nav {display:grid!important;grid-template-columns:repeat(20,minmax(0,1fr))!important;gap:12px!important;padding:13px!important;border-radius:22px;overflow:visible!important;}
  & .gst-top-nav .gst-top-nav-item {grid-column:span 4;display:flex;flex-direction:column;gap:10px;height:104px;min-width:0;padding:10px!important;align-items:center;text-align:center;font:500 17px/1.15 Arial,sans-serif!important;border-radius:13px;}
  & .gst-top-nav .gst-top-nav-item:nth-child(n+6) {grid-column:span 5;}
  & .gst-top-nav .gst-top-nav-item::before {content:"";display:block;flex:none;width:30px;height:30px;background:var(--icon-color,#007aff);mask:var(--gst-icon,var(--gst-doc)) center/contain no-repeat;}
  & .gst-top-nav .gst-top-nav-item.is-active {color:white!important;background:linear-gradient(130deg,#00b6ff,#0058d8);--icon-color:white;box-shadow:0 4px 10px #237dd72a;}
  & .gst-returns-page {display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;min-height:0;background:none;padding:0 4px;}
  & [data-gst-report-body] {display:contents;}
  & .gst-returns-page :is(.gst-returns-header,.gst-package-card,.gst-preliminary-card,.gst-quality-card) {padding:16px 18px;margin:0;min-width:0;border:1px solid #cfe3fa;border-radius:21px;background:linear-gradient(120deg,#fff,#effaff);box-shadow:0 5px 15px #2b76a710;}
  & .gst-returns-header {grid-column:1;grid-row:1;display:flex!important;flex-direction:column!important;gap:14px!important;align-items:stretch!important;min-height:256px;}
  & .gst-returns-header::after {content:none;}
  & .gst-returns-header .gst-eyebrow {display:none;}
  & :is(.gst-returns-header,.gst-package-card)>div {position:relative;padding-left:70px;}
  & :is(.gst-returns-header,.gst-package-card)>div::before {content:"";position:absolute;left:0;top:0;width:56px;height:60px;border-radius:16px;background:#f0e8ff;}
  & :is(.gst-returns-header,.gst-package-card)>div::after {content:"";position:absolute;left:14px;top:14px;width:28px;height:32px;background:#8b30e5;mask:var(--gst-icon,var(--gst-doc)) center/contain no-repeat;}
  & :is(.gst-returns-header h1,.gst-package-card h2) {font:700 23px/1.2 Arial,sans-serif;margin:3px 0 7px;letter-spacing:0;}
  & :is(.gst-returns-header,.gst-package-card) p {font:400 17px/1.4 Arial,sans-serif;color:#506b99;}
  & .gst-period-form {display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:12px 0!important;padding:0!important;border:0;box-shadow:none;background:none;width:100%;}
  & .gst-period-form label {padding:0 18px;background:#edf6ff;border:1px solid #d9e8fa;border-radius:12px 0 0 12px;font-size:18px;min-height:54px;}
  & .gst-period-form input {width:100%;min-width:0;height:54px!important;font-size:18px!important;}
  & .gst-period-form button {grid-column:1/-1;min-height:56px!important;font-size:21px!important;background:linear-gradient(120deg,#1a95f4,#0062e0);}
  & .gst-package-card {grid-column:2;grid-row:1;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:26px;}
  & .gst-package-card>div::before {background:#d0fae8;}
  & .gst-package-card>div::after {background:#008f32;}
  & .gst-package-card .gst-btn {width:100%;min-width:0;min-height:80px;font-size:21px;padding:10px;background:linear-gradient(120deg,#0cb97d,#008349);}
  & .gst-preliminary-card {grid-row:2;grid-column:1;}
  & .gst-quality-card {grid-row:2;grid-column:2;display:block!important;}
  & :is(.gst-preliminary-card,.gst-quality-card) .gst-eyebrow {text-transform:none;letter-spacing:0;font:700 22px/1.2 Arial,sans-serif;color:#10275e!important;margin:0 0 5px;}
  & :is(.gst-preliminary-card,.gst-quality-card) h2 {font:400 15px/1.3 Arial,sans-serif;margin:0 0 3px;}
  & :is(.gst-preliminary-card,.gst-quality-card)>div>p:not(.gst-eyebrow) {font:400 12px/1.3 Arial,sans-serif;}
  & .gst-overview-totals {grid-template-columns:1fr 1fr!important;gap:9px;margin:10px 0 6px;}
  & .gst-overview-totals>div {padding:10px 14px;border:0;background:#e3f8f1;}
  & .gst-overview-totals>div:nth-child(2) {background:#ffedf3;}
  & .gst-overview-totals span {font-size:16px;}
  & .gst-overview-totals strong {font-size:27px;color:#008b22;}
  & .gst-overview-totals>div:nth-child(2) strong {color:#ff0040;}
  & .gst-overview-totals .gst-net {grid-column:1/-1;background:linear-gradient(120deg,#e6f5ff,#d6efff);}
  & .gst-overview-totals .gst-net :is(span,strong) {color:#0059ce;}
  & .gst-component-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;}
  & .gst-component-grid span {padding:3px;font-size:10px;}
  & .gst-component-grid b {font-size:9px;font-weight:500;overflow-wrap:anywhere;}
  & .gst-quality-counts {grid-template-columns:1fr;gap:9px;margin-top:16px;}
  & .gst-quality-counts>div {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;padding:8px 18px;border:1px solid #ffe3bd;background:#fff4e6;text-align:left;}
  & .gst-quality-counts>div:nth-child(2) {background:#eeecff;border-color:#e1dcff;}
  & .gst-quality-counts>div:nth-child(3) {background:#e2f5ff;border-color:#cce9ff;}
  & .gst-quality-counts span {font-size:16px;}
  & .gst-quality-counts b {font-size:24px;color:#0053c8;}
  & .gst-quality-counts>div:first-child b {color:#ff8600;}
  & .gst-summary-grid {grid-column:1/-1;grid-row:3;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0;}
  & .gst-summary-grid>.gst-summary-card {--tint:#e1f9f0;--accent:#008c25;padding:0 10px 12px!important;overflow:hidden;border-radius:20px;}
  & .gst-summary-card:nth-child(2) {--tint:#ffedf3;--accent:#ed003b;}
  & .gst-summary-card:nth-child(3) {--tint:#e1f7ff;--accent:#007aff;}
  & .gst-summary-card:nth-child(4) {--tint:#f1eaff;--accent:#7521e5;}
  & .gst-summary-card h3 {display:flex;align-items:center;gap:9px;min-height:65px;margin:0 -10px 5px;padding:10px 14px;background:var(--tint);font:700 16px/1.2 Arial,sans-serif;}
  & .gst-summary-card h3::before {content:"";flex:none;width:28px;height:30px;background:var(--accent);mask:var(--gst-icon,var(--gst-doc)) center/contain no-repeat;}
  & .gst-summary-card dl>div {padding:9px 8px;border-color:#f0f6fc;gap:4px;}
  & .gst-summary-card :is(dt,dd) {font-size:16px;line-height:1.2;}
  & .gst-summary-card dd {font-weight:700;overflow-wrap:anywhere;}
  & .gst-summary-card .gst-document-count {background:var(--tint);border-radius:14px;margin-top:10px;min-height:56px;align-items:center;}
  & .gst-document-count dd {color:var(--accent);font-size:22px;padding:5px;border-radius:10px;background:var(--tint);}
  & .gst-state {grid-column:1/-1;}
}
@media(max-width:767px) {
 html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-family="gst-returns"]) {
  padding:8px 10px calc(100px + env(safe-area-inset-bottom));
 }
 html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"] {
  & .gst-top-brand {height:auto;min-height:83px;padding:12px;gap:10px;border-radius:18px;}
  & .gst-top-brand-icon {width:38px;height:42px;border-radius:12px;font-size:26px;}
  & .gst-top-brand-icon::after {left:60px;width:90px;height:42px;}
  & .gst-brand-title-row {margin-left:100px;}
  & .gst-top-brand h1 {font-size:18px;}
  & .gst-top-brand p:last-child {font-size:11px;}
  & .gst-top-nav {padding:7px!important;gap:6px!important;border-radius:16px;}
  & .gst-top-nav .gst-top-nav-item {height:auto;min-height:80px;padding:5px 2px!important;font-size:10px!important;gap:6px;border-radius:9px;overflow-wrap:anywhere;}
  & .gst-top-nav .gst-top-nav-item::before {width:22px;height:22px;}
  & .gst-returns-page {gap:10px;padding:0;grid-template-columns:1fr;}
  & .gst-returns-page :is(.gst-returns-header,.gst-package-card,.gst-preliminary-card,.gst-quality-card) {grid-column:1;grid-row:auto;padding:12px;min-height:0;border-radius:16px;}
  & :is(.gst-returns-header,.gst-package-card)>div {padding-left:46px;}
  & :is(.gst-returns-header,.gst-package-card)>div::before {width:36px;height:40px;border-radius:10px;}
  & :is(.gst-returns-header,.gst-package-card)>div::after {left:8px;top:8px;width:20px;height:24px;}
  & :is(.gst-returns-header h1,.gst-package-card h2) {font-size:18px;}
  & :is(.gst-returns-header,.gst-package-card) p {font-size:13px;}
  & .gst-period-form {grid-template-columns:70px minmax(0,1fr)!important;}
  & .gst-period-form label {font-size:13px;min-height:44px;padding:0 10px;}
  & .gst-period-form input {height:44px!important;font-size:16px!important;}
  & .gst-period-form button {min-height:44px!important;font-size:16px!important;}
  & .gst-package-card {gap:12px;}
  & .gst-package-card .gst-btn {min-height:48px;font-size:16px;}
  & :is(.gst-preliminary-card,.gst-quality-card) .gst-eyebrow {font-size:18px;}
  & .gst-overview-totals strong {font-size:23px;}
  & .gst-quality-counts {margin-top:10px;}
  & .gst-quality-counts>div {min-height:44px;padding:6px 10px;}
  & .gst-quality-counts span {font-size:13px;}
  & .gst-summary-grid {grid-row:auto;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
  & .gst-summary-card h3 {font-size:12px;min-height:52px;padding:8px;gap:5px;}
  & .gst-summary-card :is(dt,dd) {font-size:12px;}
  & .gst-summary-card dl>div {padding:7px 2px;}
  & .gst-summary-card .gst-document-count {min-height:42px;}
 }
}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route] {
 & .gst-top-brand h1 {font-size:32px!important;}
 & .gst-top-brand p:last-child {font-size:18px!important;}
 & .gst-period-form > label {grid-column:1!important;}
 & .gst-period-form > input {grid-column:2!important;}
 & .gst-period-form > button {grid-column:1/-1!important;}
 & .gst-returns-header {height:256px;min-height:256px;flex-wrap:nowrap!important;justify-content:flex-start!important;}
 & .gst-returns-header > div {flex:none!important;width:100%;}
 & .gst-returns-header .gst-period-form {flex:none!important;grid-template-columns:100px minmax(0,1fr)!important;gap:12px 0!important;align-self:stretch;}
 & .gst-package-card {margin-top:0!important;height:256px;}
 & .gst-returns-header h1,.gst-package-card h2 {font-size:23px!important;}
 & .gst-returns-header p:not(.gst-eyebrow) {font-size:17px!important;}
 & .gst-summary-card h3 {font-size:16px!important;width:calc(100% + 20px);}
 & .gst-overview-totals>div {padding:7px 14px;}
 & .gst-component-grid span {padding:1px;}
 & .gst-component-grid b {line-height:1.1;}
}
@media(max-width:767px) {
 html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route] {
 & .gst-top-brand h1 {font-size:18px!important;}
 & .gst-top-brand p:last-child {font-size:11px!important;}
 & .gst-returns-header,.gst-package-card {height:auto;min-height:0;}
 & .gst-returns-header h1,.gst-package-card h2 {font-size:18px!important;}
 & .gst-returns-header p:not(.gst-eyebrow) {font-size:13px!important;}
 & .gst-summary-card h3 {font-size:12px!important;}
 & .gst-returns-header {grid-row:1;}
 & .gst-package-card {grid-row:2;}
 & .gst-preliminary-card {grid-row:3;}
 & .gst-quality-card {grid-row:4;}
 & .gst-summary-grid {grid-row:5;}
 }
}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route] {
 & .gst-top-nav-item:nth-child(1) {--icon-color:#0088ff;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h18v18H3zM7%2017v-5m5%205V7m5%2010V10%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item:nth-child(2) {--icon-color:#007aff;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%202h8l5%205v15H6zM14%202v6h5M9%2012h7M9%2016h7%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item:nth-child(3) {--icon-color:#a62be7;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-5%209%205-9%205zM3%2012l9%205%209-5M3%2017l9%205%209-5%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item:nth-child(4) {--icon-color:#ff7800;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h7v7H3zM14%203h7v7h-7zM3%2014h7v7H3zM14%2014h7v7h-7z%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item:nth-child(5) {--icon-color:#f425a7;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l3%2013h12l2-10H6M10%2020h1m7%200h1%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item:nth-child(6) {--icon-color:#165daa;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%202h8l5%205v15H6zM9%2012h7M9%2016h7%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item:nth-child(7) {--icon-color:#8d24ed;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%204L2%209l5%205M3%209h10a6%206%200%201%201%200%2012%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item:nth-child(8) {--icon-color:#00a738;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202L1%2022h22zM12%208v6m0%203v2%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item:nth-child(9) {--icon-color:#0088ff;--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2017H5a4%204%200%200%201-1-8%207%207%200%200%201%2014-1%205%205%200%200%201%201%2010h-3M12%2011v11m-4-4%204%204%204-4%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-top-nav-item.is-active {--icon-color:white;}
 & .gst-returns-page {row-gap:16px!important;}
 & .gst-returns-header {margin-bottom:0!important;}
 & .gst-overview-totals {gap:6px;margin:7px 0 4px;}
 & .gst-overview-totals>div {padding:4px 12px;}
 & .gst-overview-totals strong {font-size:24px;margin-top:2px;}
 & .gst-component-grid b {font-size:8px;line-height:1;}
 & .gst-component-grid span {font-size:9px;}
 & .gst-quality-counts {margin-top:10px;}
 & .gst-summary-grid>.gst-summary-card {padding:0 10px 12px!important;}
}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route] {
 & .gst-returns-header>div {--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205h18v16H3zM7%202v6m10-6v6M3%2010h18%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-summary-card:nth-child(1) {--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020V12m7%208V7m7%2013V3M2%2022h20%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-summary-card:nth-child(2),.gst-summary-card:nth-child(4) {--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203L2%209l6%206M3%209h10a6%206%200%201%201%200%2012%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-summary-card:nth-child(3) {--gst-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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l3%2013h12l2-10H6M10%2020h1m7%200h1%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-preliminary-card>.gst-overview-totals {margin-top:7px;}
 & .gst-preliminary-card>div:first-child,.gst-quality-card>div:first-child {position:relative;padding-left:62px;}
 & .gst-preliminary-card>div:first-child::before,.gst-quality-card>div:first-child::before {content:"";position:absolute;left:0;top:0;width:50px;height:54px;border-radius:15px;background:#ece5ff;}
 & .gst-preliminary-card>div:first-child::after,.gst-quality-card>div:first-child::after {content:"";position:absolute;left:10px;top:12px;width:30px;height:30px;background:#7838df;mask: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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11%202v11h11A10%2010%200%201%201%2011%202zM15%202v7h7a9%209%200%200%200-7-7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
 & .gst-quality-card>div:first-child::before {background:#fff1dd;}
 & .gst-quality-card>div:first-child::after {background:#ff8a00;mask-image: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%222%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202l9%204v6c0%205-5%209-9%2011-4-2-9-6-9-11V6zM12%203v18%22%2F%3E%3C%2Fsvg%3E");}
}
/* Final dashboard icon/alignment refinements; existing controls remain the click targets. */
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route] {
 & .gst-period-form button:not(:disabled)::after {content:" Data";white-space:pre;}
 & .gst-period-form button::before {content:"";width:23px;height:26px;flex:none;margin-right:12px;background:currentColor;mask:var(--gst-doc) center/contain no-repeat;}
 & .gst-package-card .gst-btn::before {content:"";width:27px;height:30px;flex:none;margin-right:14px;background:currentColor;mask: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%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202v14m-5-5%205%205%205-5M3%2016v6h18v-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
 & .gst-package-card>div::after {mask-image: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%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%202h10l5%205v15H5zM11%202v3m0%203v3m0%203v4m-2-2h4v4H9z%22%2F%3E%3C%2Fsvg%3E");}
 & .gst-quality-counts>div {position:relative;padding-left:66px;}
 & .gst-quality-counts>div::before {content:"";position:absolute;left:17px;width:24px;height:27px;background:#ff8b00;mask:var(--gst-doc) center/contain no-repeat;}
 & .gst-quality-counts>div:nth-child(2)::before {background:#6733df;}
 & .gst-quality-counts>div:nth-child(3)::before {background:#0063d8;}
 & .gst-document-count dt {display:flex;align-items:center;gap:9px;}
 & .gst-document-count dt::before {content:"";display:block;flex:none;width:20px;height:25px;background:#285ba0;mask:var(--gst-doc) center/contain no-repeat;}
 & .gst-overview-totals>div {position:relative;padding-left:64px;}
 & .gst-overview-totals>div::before {content:"↑";position:absolute;left:13px;top:20px;font:bold 30px/1 Arial;color:#009829;}
 & .gst-overview-totals>div:nth-child(2)::before {content:"↓";color:#ff0042;}
 & .gst-overview-totals>.gst-net::before {content:"";width:30px;height:35px;top:16px;background:#007aff;mask: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%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%202h16v20H4zM7%205h10v4H7zM8%2013h1m6%200h1m-8%205h1m6%200h1%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
}
@media(min-width:768px) {
 html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route] {
  & .gst-top-nav .gst-top-nav-item {padding-inline:33px!important;}
  & .gst-top-nav .gst-top-nav-item:nth-child(n+6) {padding-inline:47px!important;}
  & .gst-summary-card dl>div {padding-block:8px;}
 }
}
@media(max-width:767px) {
 html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route] {
  & .gst-overview-totals>div {padding-left:40px;}
  & .gst-overview-totals>div::before {left:9px;font-size:24px;}
  & .gst-overview-totals>.gst-net::before {width:22px;height:28px;}
  & .gst-quality-counts>div {padding-left:42px;}
  & .gst-quality-counts>div::before {left:10px;width:20px;}
  & .gst-document-count dt {gap:4px;}
  & .gst-document-count dt::before {width:14px;height:19px;}
 }
}
/* Reports share the Dashboard palette, not its fixed dashboard grid slots. */
html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-family="gst-returns"]:not([data-mobile-route="gst-returns"])) {padding-bottom:calc(165px + env(safe-area-inset-bottom));}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route]:not([data-mobile-route="gst-returns"]) {
 & .gst-returns-page {display:flex;flex-direction:column;gap:16px;min-width:0;font-family:Arial,sans-serif;}
 & [data-gst-report-body] {display:contents;}
 & .gst-returns-page :is(.gst-returns-header,.gst-package-card,.gst-preliminary-card,.gst-quality-card,.gst-summary-grid,.gstr1-table-card) {grid-area:auto;margin:0!important;min-width:0;max-width:100%;}
 & .gst-returns-header,.gst-package-card {height:auto;min-height:0;}
 & .gst-returns-header {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);align-items:center!important;}
 & .gst-returns-header .gst-period-form {width:100%;min-width:0;}
 & .gst-period-form button::after {content:none;}
 & .gst-report-action-card {display:flex!important;flex-direction:column;align-items:stretch;gap:14px;}
 & .gst-report-action-card>.gst-btn {width:100%;min-width:0;min-height:48px;font-size:16px;white-space:normal;}
 & .gst-summary-card,.gstr1-table-card {border:1px solid #cfe3fa;border-radius:21px;background:linear-gradient(120deg,#fff,#effaff);box-shadow:0 5px 15px #2b76a710;}
 & .gstr1-table-card>header {padding:16px 18px;gap:8px;}
 & .gstr1-table-card h2 {font:700 18px/1.3 Arial,sans-serif;}
 & .gst-btn {max-width:100%;min-height:48px;font:700 16px/1.2 Arial,sans-serif;white-space:normal;}
 & :is(.gst-summary-card,.gst-preliminary-card) .gst-btn-primary {background:linear-gradient(120deg,#1a95f4,#0062e0);}
 & .gst-overview-totals strong {overflow-wrap:anywhere;}
 & .mi-table-wrap {min-width:0;max-width:100%;}
 & table.mi-table {min-width:0!important;width:100%!important;}
 & table.mi-table tbody tr:not(.mi-message-row) {background:linear-gradient(120deg,#fff,#effaff);border:1px solid #cfe3fa;border-radius:16px;box-shadow:0 5px 15px #2b76a710;}
 & table.mi-table td {white-space:normal;overflow-wrap:anywhere;min-width:0;}
 & .gst-state[hidden] {display:none;}
}
@media(max-width:767px) {
 html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-family="gst-returns"]:not([data-mobile-route="gst-returns"])) {padding-bottom:calc(100px + env(safe-area-inset-bottom));}
 html[data-medaliza-ui-mode="mobile"] #app [data-mobile-family="gst-returns"][data-mobile-route]:not([data-mobile-route="gst-returns"]) {
  & .gst-returns-page {gap:10px;}
  & .gst-returns-header {display:flex!important;}
  & .gst-summary-card,.gstr1-table-card {border-radius:16px;}
  & .gstr1-table-card>header {padding:12px;}
  & .gstr1-table-card h2 {font-size:16px;}
  & .gst-report-action-card>.gst-btn {font-size:14px;min-height:44px;}
  & .gst-btn {font-size:14px;min-height:44px;}
 }
}
/* Mobile business pages only. Dashboard, New Bill and Desktop keep their own UI. */

/* Products reference presentation, scoped to the existing mobile live rows. */
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] form.product-live-filters>label:nth-child(2) { height:34px!important; min-height:34px!important; padding:0 3px 0 22px!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>label:nth-child(2) select[name="manufacturer"] { position:static; height:32px!important; min-height:0!important; padding:0 10px 0 0!important; font-size:clamp(8px,2.15vw,12px)!important; border-radius:8px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>label:nth-child(2)::after { right:5px; top:12px; width:5px; height:5px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-title { padding:12px 14px; border-radius:14px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-title>.product-live-primary { display:none!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-title::after { width:25%; height:100%; bottom:0; right:5px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-title h1 { font-size:clamp(17px,4vw,22px)!important; margin:6px 0 3px; width:78%; color:#080e58; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-title p { width:75%; margin:0; font-size:clamp(10px,2.6vw,13px); line-height:1.3; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-title>div>span { letter-spacing:1px; padding:4px 9px; font-size:9px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] form.product-live-filters { grid-template-columns:minmax(0,1.8fr) minmax(0,1.45fr) minmax(0,.7fr) minmax(0,1fr)!important; gap:8px 5px!important; padding:10px!important; border-radius:15px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>label:first-child { min-height:34px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>label:nth-child(2) { grid-area:2/1; font-size:0!important; padding:0 3px 0 22px; border-radius:8px; display:flex!important; height:34px; min-height:34px; align-items:center; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>label:nth-child(2)::before { left:5px; top:50%; transform:translateY(-50%); width:15px; height:18px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>label:nth-child(2)>select { min-width:0; width:100%; max-width:100%; flex:1; min-height:34px; padding:0!important; height:34px!important; min-height:0!important; line-height:normal; border:0; background-color:transparent; font-size:clamp(8px,2.15vw,12px)!important; font-weight:700; color:#080e58; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>select { grid-area:2/2; min-width:0; padding:0 3px!important; border-radius:8px; font-size:clamp(8px,2.15vw,12px)!important; font-weight:400; background:linear-gradient(110deg,#004dff,#00bfe9); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>[data-product-action="clear"] { grid-area:2/3; border-radius:8px; padding:0!important; font-size:clamp(9px,2.3vw,12px)!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>button[type="submit"] { grid-area:2/4; border-radius:8px; min-height:34px; padding:0 3px!important; font-size:clamp(9px,2.3vw,12px)!important; background:linear-gradient(120deg,#008bff,#0735ff); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-filters>button[type="submit"]::before { content:""; display:inline-block; width:14px; height:14px; vertical-align:middle; margin-right:3px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-card>header { grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px; padding:11px 10px 11px 57px!important; border-radius:15px; min-height:62px; margin-bottom:9px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-card>header::before { left:12px; top:50%; transform:translateY(-50%); width:35px; height:36px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-card>header::after { display:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-card>header h2 { font-size:clamp(12px,3.3vw,17px)!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-card>header small { font-size:10px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-card>header>button { justify-self:end; font-size:clamp(10px,2.7vw,13px); padding:5px 7px; border-radius:9px; white-space:nowrap; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-table tbody>tr:not(.mi-message-row) { --product-accent:#03c5cc; --product-name:#004dff; border-left-color:var(--product-accent); background:linear-gradient(105deg,#d9faff,#f5fff1) top/100% 49px no-repeat,#fff!important; padding:10px 12px; gap:0 10px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-table tbody>tr:not(.mi-message-row):nth-child(even) { --product-accent:#7716ff; --product-name:#5900ed; background:linear-gradient(105deg,#e9deff,#fff7fc) top/100% 49px no-repeat,#fff!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-name { color:var(--product-name)!important; font-size:clamp(15px,3.8vw,20px)!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-table tbody>tr:not(.mi-message-row)>td { padding:7px 0 7px 34px!important; font-size:clamp(11px,2.8vw,14px)!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(2) { padding:0 65px 8px 0!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(6) { background:#fff0f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff4545' d='M12 2 1 22h22Z'/%3E%3Cpath stroke='white' stroke-width='2' d='M12 8v7m0 2v2'/%3E%3C/svg%3E") right 7px center/12px no-repeat!important; color:#ff1717!important; border-radius:8px; padding-right:20px!important; font-weight:700; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-table td:nth-child(6)::before { color:#ff1717; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(6)::after { background-color:#ffe1e1; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='red' stroke-width='1.8'%3E%3Cpath d='m3 7 9-5 9 5-9 5Zm0 5 9 5 9-5M3 17l9 5 9-5'/%3E%3C/svg%3E"); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-status::before { content:""; display:inline-block; width:7px; height:7px; border-radius:50%; background:currentColor; margin-right:5px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"][data-mobile-route] .product-live-table td:nth-child(11) button { min-height:32px; border-radius:8px; }
@media screen and (max-width:360px) {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust .stock-master-form-grid select { font-size:10px!important; padding-inline:6px!important; }
}

@media screen {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page form.stock-master-filters { background:#f8fcff!important; border:1px solid #cfe4fa!important; border-radius:14px!important; }
  html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="batches"],[data-mobile-route="stock-adjustment"]) .stock-master-page :is(h1,h2,button,b,label) { font-family:Arial,sans-serif!important; letter-spacing:normal!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td:first-child small { font-family:Arial,sans-serif!important; font-weight:400; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust .stock-master-form-grid>label { font:700 12px/1.4 Arial,sans-serif!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust .stock-master-form-grid input[data-stock-product-search] { padding-left:34px!important; height:39px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust .stock-master-form-grid textarea[name="reason"] { height:62px!important; min-height:62px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust>section { border:0!important; border-radius:0!important; box-shadow:none!important; background:transparent!important; margin:0!important; padding:0!important; }
}

/* Reference presentation for the existing Batch and Adjustment renderers. */
@media screen {
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="batches"],[data-mobile-route="stock-adjustment"]) .stock-master-page :is(h1,h2,b,button,input,select,textarea) { font-family:Arial,sans-serif!important; }
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="batches"],[data-mobile-route="stock-adjustment"]) .stock-master-page .stock-master-title { display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;position:relative;gap:10px!important;padding:14px 12px 14px 53px;margin:0 0 10px!important;border:1px solid #cfe5fa;border-radius:16px;background:linear-gradient(115deg,#fff,#edf9ff);box-shadow:0 7px 18px #3c85b012; }
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="batches"],[data-mobile-route="stock-adjustment"]) .stock-master-page .stock-master-title>div>span { color:#087fff;font-size:10px;font-weight:800; }
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="batches"],[data-mobile-route="stock-adjustment"]) .stock-master-page .stock-master-title h1 { font-size:18px!important;line-height:1.2!important;margin:5px 0!important;color:#0d2053; }
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="batches"],[data-mobile-route="stock-adjustment"]) .stock-master-page .stock-master-title p { font-size:11px;line-height:1.45;color:#6c83ad;margin:0; }
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="batches"],[data-mobile-route="stock-adjustment"]) .stock-master-page .stock-master-title>button { min-height:36px;height:auto;padding:10px 12px;border-radius:11px;font-size:11px;white-space:normal; }
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="batches"],[data-mobile-route="stock-adjustment"]) .stock-master-page .stock-master-primary { background:linear-gradient(105deg,#008dff,#3420ff)!important;border-color:transparent!important; }
html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-route="batches"]) .medaliza-mobile-shell-header>div>b { display:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page form.stock-master-filters { display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:7px!important;padding:9px;border:1px solid #cfe4fa;border-radius:14px;background:#f8fcff;margin:0 0 10px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-stock-search] { grid-column:1/-1;position:relative;display:flex;align-items:center;width:100%!important;height:35px!important;padding:0 9px 0 30px!important;font-size:0!important;border:1px solid #d3e1f4;border-radius:10px;background:#fff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-stock-search] input { min-height:0!important;height:31px!important;padding:0!important;border:0!important;background:transparent!important;font-size:12px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>select { grid-column:span 3;min-height:35px!important;height:35px!important;padding:5px 9px!important;border-radius:10px;font-size:12px;color:#091a50; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>button { grid-column:span 2;display:flex;align-items:center;justify-content:center;gap:6px;min-height:35px;height:auto;width:100%;min-width:0;padding:6px 3px;font-size:10px;border:1px solid #c8e0fc;border-radius:10px;background:#fff;color:#007bff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>button:not([type]) { background:linear-gradient(100deg,#098fff,#0066ed);color:#fff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-stock-action="disposal-history"] { grid-column:1/-1;grid-row:5; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-card { border-radius:15px;padding:10px!important;overflow:visible;background:#fff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-card>header { padding:0 3px 9px!important;margin:0!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-card h2 { font-size:18px!important;margin:0;color:#0c1d50; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-card header small { font-size:11px;color:#6b83aa;line-height:1.4; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody { gap:9px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row) { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;position:relative;gap:0 8px;padding:11px 12px 8px;border:1px solid #d6e7f7;border-left:3px solid #00b29c;border-radius:13px;box-shadow:0 3px 7px #247abc0d; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:has(.stock-master-badge.expired) { border-left-color:#ff6685; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td { position:relative!important;padding:8px 0 8px 30px!important;border-bottom:1px solid #e6eef8!important;color:#0c2053;font-size:11px!important;line-height:1.4!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td::before { font-size:9px;color:#6f85a7;letter-spacing:0; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td:first-child { grid-area:1/1/2/-1;padding:0 66px 11px 50px!important;min-height:55px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-link { font-size:14px!important;font-weight:800;color:#102454;min-height:0!important;padding:2px 0;text-align:left;line-height:1.25!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td:first-child small { font-size:10px;color:#758bb0;line-height:1.35; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td:first-child::after { content:attr(data-mi-batch-status);position:absolute;right:0;top:8px;font-size:9px;padding:5px 7px;border-radius:18px;background:#e6faf2;color:#008779;font-weight:700;max-width:61px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tr:has(.stock-master-badge.expired) td:first-child::after { background:#ffedf1;color:#ff2757; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tr:has(.stock-master-badge.near) td:first-child::after { background:#fff5df;color:#ba790c; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-batch { font-size:11px;min-height:0!important;padding:0!important;background:transparent!important;color:#0c2053!important;text-align:left; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-badge { font-size:10px;padding:5px 8px;border-radius:10px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td:last-child { grid-area:7/1/8/-1;display:flex!important;gap:7px;padding:8px 0 0!important;border:0!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td:last-child::before { display:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td:last-child:empty { display:none!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td:last-child button { flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:5px;border-radius:9px;background:#e9f5ff;color:#007bff;font-size:11px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td:last-child [data-stock-action="dispose"] { background:#ffedf1;color:#ff2451; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Barcode"] { grid-area:2/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Batch Number"] { grid-area:2/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Expiry Date"] { grid-area:3/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Current Quantity"] { grid-area:3/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Purchase Rate"] { grid-area:4/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="MRP"] { grid-area:4/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Selling Rate"] { grid-area:5/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Sales Discount"] { grid-area:5/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Dealer"] { grid-area:6/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Status"] { grid-area:6/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust { max-width:none;border:1px solid #cfe5fa;border-radius:15px;background:#fff;box-shadow:0 5px 15px #3485b10b; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust section>header { padding:12px 12px 5px!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust h2 { font-size:20px!important;color:#101d51;margin:0 0 4px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust header small { font-size:12px;line-height:1.45;color:#7386b0; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-form-grid { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 9px!important;padding:8px 12px 12px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-form-grid>label { grid-column:auto!important;min-width:0;font-size:12px;font-weight:700;color:#586e9d;gap:4px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-form-grid>label:first-child { grid-column:1/-1!important;position:relative; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-form-grid>label.wide { grid-column:1/-1!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-form-grid :is(input:not([type="hidden"]),select,textarea) { min-height:36px!important;height:36px!important;padding:7px 9px!important;font-size:12px;border:1px solid #c9dffb;border-radius:9px;background:#fff;box-shadow:0 3px 7px #257dca08; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-form-grid [data-stock-product-search] { height:39px!important;padding-left:34px!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-form-grid [data-stock-current] { background:#f4f8fb;box-shadow:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-form-grid textarea { height:62px!important;min-height:62px!important;resize:vertical; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust section>p { position:relative;margin:0 12px 4px;padding:10px 10px 10px 40px;border-radius:10px;background:#fff7e4;color:#9d5a00;font-size:11px;line-height:1.45; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust footer { padding:8px 12px 11px;border:0;gap:8px!important;justify-content:flex-end; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust footer button { min-height:37px;height:auto;padding:8px 13px;font-size:12px;border-radius:10px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-title::before { content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);width:34px;height:37px;border-radius:10px;background:#ffedf1 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%22%23ff2451%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v16H4zM8%202v6m8-6v6M4%2011h16%22%2F%3E%3C%2Fsvg%3E") center/25px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-title::before { content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);width:34px;height:37px;border-radius:10px;background:#e1faf0 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%22%23008b7b%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M3%2012h18M3%2018h18M8%203v6m8%200v6m-8%200v6%22%2F%3E%3C%2Fsvg%3E") center/25px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td:first-child { background: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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h8v5l4%204v10H4V12l4-4zM8%208h8M12%2012v7m-4-3h8%22%2F%3E%3C%2Fsvg%3E") left top/39px 42px no-repeat!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Barcode"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204v16m3-16v16m4-16v16m2-16v16m4-16v16m3-16v16%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Batch Number"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%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%2011zM7%207h.01%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Expiry Date"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v16H4zM8%202v6m8-6v6M4%2011h16%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Current Quantity"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-4%209%204v10l-9%204-9-4zM3%207l9%205%209-5M12%2012v9%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Purchase Rate"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%204h12M6%208h12M7%204c9%200%209%208%200%208l9%208%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="MRP"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%204h12M6%208h12M7%204c9%200%209%208%200%208l9%208%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Selling Rate"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%204h12M6%208h12M7%204c9%200%209%208%200%208l9%208%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Sales Discount"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019%2019%205M8%205a3%203%200%201%201-6%200%203%203%200%200%201%206%200M22%2019a3%203%200%201%201-6%200%203%203%200%200%201%206%200%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Dealer"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209h18M5%209v12h14V9M3%209l2-6h14l2%206M9%2021v-7h6v7%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-table td[data-mobile-label="Status"]::after { content:"";position:absolute;left:0;top:8px;width:25px;height:27px;border-radius:8px;background:#edf8ff 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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%208v5m0%203v1M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-stock-search]::before { content:"";position:absolute;left:9px;width:16px;height:19px;background: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%22%237b8dac%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203a7%207%200%201%200%200%2014%207%207%200%200%200%200-14m5%2012%206%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page [data-stock-adjust-search]::after { content:"";position:absolute;left:12px;top:29px;width:17px;height:19px;pointer-events:none;background: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%22%236278a0%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203a7%207%200%201%200%200%2014%207%207%200%200%200%200-14m5%2012%206%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock-adjustment"] .stock-master-page .stock-master-adjust section>p::before { content:"";position:absolute;left:11px;top:11px;width:21px;height:23px;background: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%22%239d5a00%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%208v5m0%203v1M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>button:not([type])::before { content:"";flex:none;width:17px;height:18px;background: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%22%23fff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h18l-7%208v10l-4-2V11z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-stock-action="clear"]::before { content:"";flex:none;width:17px;height:18px;background: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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%208a8%208%200%201%200%200%208M20%202v6h-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-page="stock"]::before { content:"";flex:none;width:17px;height:18px;background: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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h18l-5-5M21%2017H3l5%205%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-page="stock-movements"]::before { content:"";flex:none;width:17px;height:18px;background: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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h18l-5-5M21%2017H3l5%205%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-stock-action="print"]::before { content:"";flex:none;width:17px;height:18px;background: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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%208V2h10v6M7%2017H3V9h18v8h-4M7%2014h10v8H7z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page .stock-master-filters>[data-a4-pdf]::before { content:"";flex:none;width:17px;height:18px;background: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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%202h9l5%205v15H5zM14%202v6h5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page td:last-child [data-stock-action="return-dealer"]::before { content:"";flex:none;width:17px;height:18px;background: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%22%23007bff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203%203%208l5%205M3%208h11a6%206%200%200%201%200%2012h-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="batches"] .stock-master-page td:last-child [data-stock-action="dispose"]::before { content:"";flex:none;width:17px;height:18px;background: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%22%23ff2451%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M8%206V3h8v3M6%206l1%2015h10l1-15M10%2010v7m4-7v7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
}

@media screen and (max-width:360px) {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi { grid-template-columns:20px minmax(0,1fr) 4px!important; padding:7px 4px!important; column-gap:3px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi::before { width:20px!important; background-size:18px!important; }
}

/* Stock reference presentation. Existing tables, inputs and delegated actions remain authoritative. */
@media screen {
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] :is(h1,h2,b,.stock-master-link) { font-family:Arial,sans-serif!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpis { gap:6px!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi span { font-size:9px!important; overflow-wrap:normal!important; word-break:normal; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi b { font-size:18px!important; font-weight:700; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] form.stock-master-filters { border-radius:13px!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>[data-stock-search] { font-size:0!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:last-child>button { font-size:10px!important; }
html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-route="stock"]) .medaliza-mobile-shell-nav__item { width:clamp(66px,23vw,124px); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-title { display:grid!important; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:9px; padding:11px 10px 11px 39px; margin:0 0 7px; border:1px solid #e1eefb; border-radius:13px; background:#ffffffdb; position:relative; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-title>div>span { font-size:10px; color:#007dff; letter-spacing:.5px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-title h1 { font-size:14px!important; margin:3px 0; color:#112959; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-title p { font-size:9px; line-height:1.4; color:#627caf; margin:0; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-title>.stock-master-primary { height:auto; min-height:32px; padding:10px 8px; font-size:10px; border-radius:9px; background:linear-gradient(110deg,#0b92ff,#3924ff)!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpis { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:6px; margin:0 0 9px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi { --stock-tone:#007aff; --stock-wash:#eef8ff; --stock-border:#b9dafe; display:grid; grid-template-columns:27px minmax(0,1fr) 5px; grid-template-rows:auto auto; align-content:center; align-items:center; gap:0 5px; padding:8px 7px!important; min-height:55px; border:1px solid var(--stock-border); border-radius:10px; background:linear-gradient(110deg,var(--stock-wash),#ffffffb8); box-shadow:none; text-align:left; position:relative; transform:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi:is(.low,.near) { --stock-tone:#ff9800; --stock-wash:#fff7e7; --stock-border:#ffdc99; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi.active { --stock-tone:#008d7c; --stock-wash:#eafff6; --stock-border:#afe5d4; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi:is(.out,.expired) { --stock-tone:#ff174b; --stock-wash:#fff0f3; --stock-border:#ffc4ce; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi.is-active { outline:1px solid var(--stock-tone); outline-offset:-1px; box-shadow:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi span { grid-area:1/2; font-size:8px; line-height:1.3; color:#5972a2; font-weight:600; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi b { grid-area:2/2; color:#071953; font-size:18px; line-height:1.1; margin:3px 0 0; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi::before { content:""; grid-area:1/1/3/2; width:27px; height:31px; border-radius:50%; background:var(--stock-wash) var(--stock-icon) center/20px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi::after { content:"›"; grid-area:1/3/3/4; position:static; width:auto; height:auto; background:none; border:0; box-shadow:none; color:#6e86ad; font-size:17px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] form.stock-master-filters { display:grid!important; grid-template-columns:repeat(6,minmax(0,1fr))!important; gap:7px!important; padding:11px; border:1px solid #deedfc; border-radius:13px; background:#fff!important; box-shadow:0 6px 15px #215c9610!important; margin:0 0 6px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .mi-stock-filter-heading { grid-column:1/-1; position:relative; min-height:37px; padding:0 0 4px 41px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .mi-stock-filter-heading h2 { font-size:14px!important; margin:1px 0 2px; color:#091956; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .mi-stock-filter-heading p { margin:0; color:#647caa; font-size:10px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>[data-stock-search] { grid-column:1/-1; display:flex; align-items:center; gap:5px; width:100%!important; height:34px!important; min-height:34px; padding:0 8px; border:1px solid #cfdff7!important; border-radius:10px; font-size:0; background:#fff!important; overflow:visible; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>[data-stock-search] input { height:32px!important; min-height:0!important; padding:4px 0!important; font-size:10px; border:0!important; background:transparent!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>select { grid-column:span 3; height:34px!important; min-height:34px!important; padding:5px 9px!important; border:1px solid #d2e0f8; border-radius:9px; background:#fff; font-size:11px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>button { grid-column:span 2; display:flex; justify-content:center; align-items:center; gap:5px; width:100%; min-width:0!important; height:auto!important; min-height:33px; padding:5px 3px; font-size:9px; color:#0075ff; border:1px solid #cbdfff; border-radius:9px; background:#fff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>button:not([type]):not([data-a4-pdf]) { background:linear-gradient(100deg,#168eff,#0065e8); color:#fff; border-color:#1385fb; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-card.stock-master-print { padding:9px 8px!important; margin:0; background:#ffffffa6; border:1px solid #e1f0fc; border-radius:14px; box-shadow:none; overflow:visible; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-card>header { display:flex; align-items:center; padding:0 1px 8px!important; margin:0!important; gap:4px!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-card>header>div:first-child { flex:1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-card>header h2 { font-size:17px!important; margin:0; color:#07164e; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-card>header small { font-size:10px; color:#5775a8; line-height:1.4; margin-top:2px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-dealer-control { display:flex; align-items:center; gap:3px; font-size:8px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-dealer-control>span { display:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-dealer-toggle { min-height:26px!important; height:26px!important; width:26px; padding:4px!important; border-radius:50%; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody { gap:9px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row) { position:relative; display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:0 8px; padding:10px 10px 8px; border:1px solid #d2e8f8; border-left:3px solid #00b39e; border-radius:12px; box-shadow:0 4px 9px #13558909; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:has(.stock-master-badge.expired),
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:has(.stock-master-badge.out) { border-left-color:#ff6680; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:has(.stock-master-badge.near),
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:has(.stock-master-badge.low) { border-left-color:#ffba42; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td { position:relative!important; grid-column:auto; padding:8px 0 8px 33px!important; border-bottom:1px solid #e9f0f8!important; font-size:11px!important; font-weight:500; color:#0c2253; line-height:1.45!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td::before { font-size:9px; letter-spacing:0; color:#5773a4; font-weight:600; margin-bottom:3px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td:first-child { grid-area:1/1/2/-1; padding:0 76px 10px 48px!important; min-height:48px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:first-child::before { text-transform:uppercase; font-size:9px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-link { font-size:14px!important; color:#07144f!important; text-align:left; line-height:1.25!important; font-weight:800!important; padding:0; min-height:0!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:first-child small { font-size:10px; line-height:1.35; color:#6680ac; margin-top:3px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Stock Status"] { position:absolute!important; right:10px; top:17px; padding:0!important; border:0!important; max-width:73px!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td[data-mobile-label="Stock Status"]::before { display:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-badge { font-size:9px; font-weight:700; padding:5px 7px; border-radius:20px; white-space:normal; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-badge.active { color:#00886f; background:#e6fbf3; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-badge.expired,
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-badge.out { color:#f0163c; background:#fff0f3; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-batch { display:block; width:100%; min-height:0!important; padding:2px 4px!important; font-size:10px; text-align:left; font-weight:600; color:#1b4371!important; background:#f1f6fa!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td:last-child { grid-area:6/1/7/-1; display:flex!important; gap:5px; padding:8px 0 0!important; border:0!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:last-child::before { display:none; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:last-child>button { flex:1 1 0; display:flex; align-items:center; justify-content:center; gap:4px; min-height:31px; padding:5px 3px; font-size:9px; border:1px solid #cbe5fe; background:#eff8ff; color:#0074ff; border-radius:7px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:last-child>[data-stock-action="return-dealer"] { flex-grow:1.3; background:#ebfbf6; border-color:#b5eadb; color:#008375; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:last-child>[data-stock-action="dispose"] { background:#fff2f4; border-color:#ffcad3; color:#ff1536; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-pagination { padding:11px 0 0; gap:6px; flex-wrap:wrap; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Barcode"] { grid-area:2/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Batch Number"] { grid-area:2/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Expiry Date"] { grid-area:3/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Current Quantity"] { grid-area:3/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="MRP"] { grid-area:4/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Selling Rate"] { grid-area:4/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Sales Discount"] { grid-area:5/1; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Dealer"] { grid-area:5/2; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi.all { --stock-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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-4%209%204v10l-9%204-9-4zM3%207l9%205%209-5M12%2012v9%22%2F%3E%3C%2Fsvg%3E"); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi.low { --stock-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%22%23ff9800%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%2010%2018H2zM12%208v6m0%203v1%22%2F%3E%3C%2Fsvg%3E"); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi.active { --stock-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%22%23008776%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-4%209%204v10l-9%204-9-4zM3%207l9%205%209-5M12%2012v9%22%2F%3E%3C%2Fsvg%3E"); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi.out { --stock-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%22%23ff1646%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-4%209%204v10l-9%204-9-4zM3%207l9%205%209-5M12%2012v9%22%2F%3E%3C%2Fsvg%3E"); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi.near { --stock-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%22%23ff9800%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200M12%206v6l4%203%22%2F%3E%3C%2Fsvg%3E"); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-kpi.expired { --stock-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%22%23ff1646%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v16H4zM8%202v6m8-6v6M4%2011h16%22%2F%3E%3C%2Fsvg%3E"); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Barcode"]::after { content:""; position:absolute; top:8px; left:0; width:26px; height:28px; border-radius:8px; background:#eef8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204v16m3-16v16m4-16v16m2-16v16m4-16v16m3-16v16%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Batch Number"]::after { content:""; position:absolute; top:8px; left:0; width:26px; height:28px; border-radius:8px; background:#eef8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203%206%2021M18%203l-3%2018M3%209h18M2%2015h18%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Expiry Date"]::after { content:""; position:absolute; top:8px; left:0; width:26px; height:28px; border-radius:8px; background:#eef8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v16H4zM8%202v6m8-6v6M4%2011h16%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Current Quantity"]::after { content:""; position:absolute; top:8px; left:0; width:26px; height:28px; border-radius:8px; background:#eef8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-4%209%204v10l-9%204-9-4zM3%207l9%205%209-5M12%2012v9%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="MRP"]::after { content:""; position:absolute; top:8px; left:0; width:26px; height:28px; border-radius:8px; background:#eef8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%204h14M5%208h14M6%204c11%200%2011%208%200%208l10%209%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Selling Rate"]::after { content:""; position:absolute; top:8px; left:0; width:26px; height:28px; border-radius:8px; background:#eef8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h9l9%209-9%209-9-9zM7%207h1%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Sales Discount"]::after { content:""; position:absolute; top:8px; left:0; width:26px; height:28px; border-radius:8px; background:#eef8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019%2019%205M8%206a2%202%200%201%201-4%200%202%202%200%200%201%204%200M20%2018a2%202%200%201%201-4%200%202%202%200%200%201%204%200%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table tbody>tr:not(.mi-message-row)>td[data-mobile-label="Dealer"]::after { content:""; position:absolute; top:8px; left:0; width:26px; height:28px; border-radius:8px; background:#eef8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%206a3%203%200%201%201-6%200%203%203%200%200%201%206%200M2%2020v-4c0-5%2010-5%2010%200v4zM16%203a3%203%200%200%201%200%206M15%2013c5-1%207%202%207%207%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:first-child::after { content:""; position:absolute; left:0; top:0; width:40px; height:40px; border-radius:11px; background:#edf8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%202h10v5H7zM7%207l-3%204v10h16V11l-3-4M8%2014h8m-4-4v8%22%2F%3E%3C%2Fsvg%3E") center/28px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .mi-stock-filter-heading::before { content:""; position:absolute; left:0; top:0; width:31px; height:31px; border-radius:50%; background:#eaf7ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%2010a8%208%200%201%201-16%200%208%208%200%200%201%2016%200m-3%205%207%207%22%2F%3E%3C%2Fsvg%3E") center/20px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-title::before { content:""; position:absolute; left:8px; top:50%; transform:translateY(-50%); width:24px; height:29px; border-radius:7px; background:#e9f8ff 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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2018V8m6%2010V4m6%2014v-8m5%208V2%22%2F%3E%3C%2Fsvg%3E") center/20px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>[data-stock-search]::before { content:""; flex:none; width:17px; height:19px; background: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%22%237a89aa%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%2010a8%208%200%201%201-16%200%208%208%200%200%201%2016%200m-3%205%207%207%22%2F%3E%3C%2Fsvg%3E") center/16px no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>button:not([type]):not([data-a4-pdf])::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23fff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h20l-8%209v9l-4-2v-7z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] [data-stock-action="clear"]::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%208a8%208%200%201%200%200%208M20%202v6h-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>[data-page="stock-movements"]::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h18l-5-5M21%2017H3l5%205%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>[data-page="batches"]::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v16H4zM8%202v6m8-6v6M4%2011h16%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] [data-stock-action="print"]::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%208V2h10v6M7%2017H3V9h18v8h-4M7%2014h10v8H7z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-filters>[data-a4-pdf]::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%202h9l5%205v15H5zM14%202v6h5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:last-child>[data-stock-action="batch"]::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23007aff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s4-7%2010-7%2010%207%2010%207-4%207-10%207S2%2012%202%2012M15%2012a3%203%200%201%201-6%200%203%203%200%200%201%206%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:last-child>[data-stock-action="return-dealer"]::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23008375%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203%203%208l5%205M3%208h11a6%206%200%200%201%200%2012h-4%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="stock"] .stock-master-table td:last-child>[data-stock-action="dispose"]::before { content:""; display:block; flex:none; width:15px; height:17px; background: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%22%23ff1536%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M8%206V3h8v3M6%206l1%2015h10l1-15M10%2010v7m4-7v7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
}


@media screen {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table td:nth-child(11) [data-product-action="view"]::before { content:""; display:inline-block; width:20px; height:20px; margin-right:8px; vertical-align:middle; background: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%22%23006bec%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s4-7%2010-7%2010%207%2010%207-4%207-10%207S2%2012%202%2012zM15%2012a3%203%200%201%201-6%200%203%203%200%200%201%206%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table td:nth-child(11) [data-product-action="edit"]::before { content:""; display:inline-block; width:20px; height:20px; margin-right:8px; vertical-align:middle; background: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%22%23006bec%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2016-1%205%205-1L20%208l-4-4zM14%206l4%204%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
}


/* Mobile Products reference: same live form, table cells and delegated actions. */
@media screen {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:nth-child(2) { display:block!important; position:relative; width:100%!important; height:auto!important; min-height:61px!important; overflow:visible!important; padding:8px 42px 8px 44px!important; line-height:17px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:nth-child(2)::after { content:""; position:absolute; right:16px; top:25px; width:9px; height:9px; border-right:2px solid #6481aa; border-bottom:2px solid #6481aa; transform:rotate(45deg); pointer-events:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:nth-child(2) select[name="manufacturer"] { position:absolute; inset:0; display:block; width:100%!important; height:100%!important; min-height:61px!important; margin:0; padding:21px 42px 3px 44px!important; border:0!important; border-radius:17px; background:transparent!important; color:#173967; font-size:13px; font-weight:700; line-height:20px; appearance:none; cursor:pointer; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title::after { top:auto!important; bottom:8px!important; transform:none!important; right:0!important; height:120px!important; opacity:1!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title>.product-live-primary { background:linear-gradient(110deg,#00b6ed,#4531f8)!important; height:auto; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] form.product-live-filters { background:#fff!important; border:1px solid #dbeafd!important; box-shadow:0 9px 20px #2252850d!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>button { min-width:0!important; width:100%!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>select { background:linear-gradient(110deg,#0864ee,#0fa6ea)!important; color:#fff!important; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:nth-child(2)::before { content:""; position:absolute; left:13px; top:17px; width:21px; height:21px; background:linear-gradient(#1688ff,#0063ce); clip-path:polygon(0 100%,0 45%,25% 25%,25% 45%,50% 25%,50% 45%,70% 45%,70% 0,95% 0,100% 100%); }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-card>header::before { content:"✚"; display:grid; place-items:center; position:absolute; top:16px; left:15px; width:40px; height:44px; border-radius:13px; background:#dcf8ec; color:#008979; font-size:27px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-card>header::after { content:"›"; position:absolute; top:24px; right:14px; color:#3783de; background:#f1f7ff; border-radius:50%; width:24px; height:24px; text-align:center; font-size:20px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table td:nth-child(11) button { margin:0; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-status { font-size:11px; padding:5px 10px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-barcode { font-size:12px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:first-child::after { content:""; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:first-child::after { width:21px; height:21px; background: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%22%230783ff%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M3%206h18M3%2012h18M3%2018h18M8%203v6m8%200v6m-8%200v6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title { position:relative; display:block; isolation:isolate; padding:16px; border:1px solid #d5eafb; border-radius:20px; background:linear-gradient(115deg,#fff,#d7f1ff); margin:0 0 13px; overflow:hidden; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title::after { content:""; position:absolute; z-index:-1; pointer-events:none; right:0; bottom:6px; width:34%; height:145px; background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20180%20180%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22b%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%2319c9fc%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231264ee%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22w%22%3E%3Cstop%20stop-color%3D%22%23e0f7ff%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22white%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2391d9fa%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%22107%22%20cy%3D%2291%22%20r%3D%2274%22%20fill%3D%22%2383d7ff%22%20opacity%3D%22.25%22%2F%3E%3Cpath%20d%3D%22M84%20154Q140%2049%20170%2038Q163%20135%2084%20154M91%20154Q44%20160%2016%20119Q61%20113%2091%20154%22%20fill%3D%22%2351c7ee%22%20opacity%3D%22.55%22%2F%3E%3Crect%20x%3D%2282%22%20y%3D%2240%22%20width%3D%2262%22%20height%3D%22110%22%20rx%3D%2217%22%20fill%3D%22url(%23w)%22%2F%3E%3Crect%20x%3D%2278%22%20y%3D%2227%22%20width%3D%2269%22%20height%3D%2223%22%20rx%3D%225%22%20fill%3D%22url(%23b)%22%2F%3E%3Cpath%20d%3D%22M88%2032v13m10-13v13m10-13v13m10-13v13m10-13v13m10-13v13%22%20stroke%3D%22%23087ae5%22%20stroke-width%3D%223%22%2F%3E%3Crect%20x%3D%2285%22%20y%3D%2278%22%20width%3D%2256%22%20height%3D%2253%22%20rx%3D%224%22%20fill%3D%22url(%23b)%22%2F%3E%3Cpath%20d%3D%22M112%2089v31m-15-15h30%22%20stroke%3D%22white%22%20stroke-width%3D%2210%22%2F%3E%3Cg%20transform%3D%22rotate(-14%2052%20114)%22%3E%3Crect%20x%3D%2224%22%20y%3D%2277%22%20width%3D%2249%22%20height%3D%2283%22%20rx%3D%227%22%20fill%3D%22url(%23w)%22%2F%3E%3Cg%20fill%3D%22%23b0e7ff%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%3E%3Cellipse%20cx%3D%2238%22%20cy%3D%2294%22%20rx%3D%227%22%20ry%3D%2210%22%2F%3E%3Cellipse%20cx%3D%2259%22%20cy%3D%2294%22%20rx%3D%227%22%20ry%3D%2210%22%2F%3E%3Cellipse%20cx%3D%2238%22%20cy%3D%22118%22%20rx%3D%227%22%20ry%3D%2210%22%2F%3E%3Cellipse%20cx%3D%2259%22%20cy%3D%22118%22%20rx%3D%227%22%20ry%3D%2210%22%2F%3E%3Cellipse%20cx%3D%2238%22%20cy%3D%22141%22%20rx%3D%227%22%20ry%3D%2210%22%2F%3E%3Cellipse%20cx%3D%2259%22%20cy%3D%22141%22%20rx%3D%227%22%20ry%3D%2210%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22rotate(35%20139%20144)%22%3E%3Crect%20x%3D%22126%22%20y%3D%22119%22%20width%3D%2222%22%20height%3D%2249%22%20rx%3D%2211%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M126%20143h22v14a11%2011%200%200%201-22%200z%22%20fill%3D%22url(%23b)%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title>div>span { display:inline-block; border-radius:20px; padding:5px 10px; background:#dcf8ec; color:#087e71; font-size:10px; font-weight:800; letter-spacing:2px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title>div>span::before { content:""; display:inline-block; width:7px; height:7px; margin-right:8px; border-radius:50%; background:#05cd83; box-shadow:0 0 0 4px #bbf5dd; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title h1 { font-size:22px!important; margin:10px 0 7px; color:#0e2858; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title p { width:76%; font-size:12px; line-height:1.45; color:#768bb0; margin:0 0 12px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-title>.product-live-primary { padding:11px 18px; border:0; border-radius:20px; font-size:14px; background:linear-gradient(110deg,#00b6ed,#4531f8); box-shadow:0 8px 12px #197be32b; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] form.product-live-filters { display:grid!important; grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important; gap:13px!important; padding:14px; border:1px solid #dbeafd; border-radius:20px; background:#fff; box-shadow:0 9px 20px #2252850d; margin-bottom:13px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:first-child { grid-column:1/-1; position:relative; padding:0 35px 0 12px; display:flex; align-items:center; min-height:40px; border-radius:22px; background:#f7fbff; color:#007cff; border:1px solid #e0ecff; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:first-child::after { content:"☷"; position:absolute; right:9px; top:8px; font-size:20px; pointer-events:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:first-child input { border:0; background:transparent; padding:8px; font-size:11px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:nth-child(2) { grid-column:1/-1; position:relative; display:block; padding:9px 12px 8px 44px; border:1px solid #e4efff; border-radius:17px; background:#f3f8ff; color:#788eaf; font-size:11px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:nth-child(2) input { border:0; background:transparent; min-height:24px; padding:0; font-size:13px; font-weight:700; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>select { grid-area:3/1; background:linear-gradient(110deg,#0864ee,#0fa6ea); color:#fff; border-radius:18px; font-weight:700; font-size:12px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>select option { color:#193654; background:#fff; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>[data-product-action="clear"] { grid-area:3/2; background:#f2f7fe; color:#748aab; border:0; border-radius:18px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>button[type="submit"] { grid-area:4/1/5/-1; background:linear-gradient(110deg,#1687ff,#0d50ce); border:0; border-radius:16px; font-size:14px; min-height:43px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-card { padding:0!important; border:0; background:transparent; box-shadow:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-card>header { position:relative; display:grid; grid-template-columns:1fr; padding:16px 20px 16px 67px!important; border:1px solid #e0ecf8; border-radius:20px; background:#fff; margin-bottom:14px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-card>header h2 { font-size:16px!important; margin:0 0 3px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-card>header small { font-size:11px; color:#7b92b5; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-card>header>button { justify-self:start; font-size:12px; padding:5px 10px; color:#007aff; background:#f8fcff; border:1px solid #8fbaff; min-height:35px; border-radius:12px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row) { position:relative; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important; gap:0 12px; padding:13px; border-left:4px solid #079cae; border-radius:15px; margin-bottom:8px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td { position:relative!important; grid-column:auto!important; padding:10px 0 10px 34px!important; font-size:13px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td::before { font-size:11px; font-weight:400; letter-spacing:0; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(2) { grid-area:1/1/2/-1!important; padding:0 76px 12px 0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-name { color:#005bd8!important; font-size:18px!important; line-height:1.3!important; padding:0!important; text-align:left; background:transparent!important; border:0!important; min-height:0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(7) { position:absolute!important; top:14px; right:12px; padding:0!important; border:0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table td:nth-child(7)::before { display:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(11) { grid-area:6/1/7/-1!important; display:flex!important; gap:9px; padding:10px 0 0!important; border:0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table td:nth-child(11)::before { display:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table td:nth-child(11) button { flex:1; background:#eff8ff; border:0; color:#006bec; font-size:14px; font-weight:700; min-height:40px; border-radius:12px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-pagination { padding:10px; justify-content:center; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(1) { grid-area:2/1!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(3) { grid-area:2/2!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(4) { grid-area:3/1!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(5) { grid-area:3/2!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(6) { grid-area:4/1!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(8) { grid-area:4/2!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(9) { grid-area:5/1!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(10) { grid-area:5/2!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(1)::after { content:""; position:absolute; left:0; top:11px; width:27px; height:30px; border-radius:8px; background:#f1f8fc 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%22%23365f82%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204v16m3-16v16m3-16v16m4-16v16m3-16v16m3-16v16%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(3)::after { content:""; position:absolute; left:0; top:11px; width:27px; height:30px; border-radius:8px; background:#f1f8fc 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%22%23365f82%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2016l8-8M5%2019a5%205%200%200%201%200-7l7-7a5%205%200%200%201%207%207l-7%207a5%205%200%200%201-7%200%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(4)::after { content:""; position:absolute; left:0; top:11px; width:27px; height:30px; border-radius:8px; background:#f1f8fc 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%22%23365f82%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021V9l6%203V8l6%203V3h5v18zM7%2016h2m3%200h2%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(5)::after { content:""; position:absolute; left:0; top:11px; width:27px; height:30px; border-radius:8px; background:#f1f8fc 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%22%23365f82%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2018L18%206M7%205a2%202%200%201%200%200%204%202%202%200%200%200%200-4M17%2015a2%202%200%201%200%200%204%202%202%200%200%200%200-4%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(6)::after { content:""; position:absolute; left:0; top:11px; width:27px; height:30px; border-radius:8px; background:#f1f8fc 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%22%23365f82%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%208l9-5%209%205-9%205zM3%2012l9%205%209-5M3%2016l9%205%209-5%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(8)::after { content:""; position:absolute; left:0; top:11px; width:27px; height:30px; border-radius:8px; background:#f1f8fc 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%22%23365f82%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203h14v18M5%203v18M5%209h14M5%2016h14%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(9)::after { content:""; position:absolute; left:0; top:11px; width:27px; height:30px; border-radius:8px; background:#f1f8fc 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%22%23365f82%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-4%209%204v10l-9%204-9-4zM3%207l9%205%209-5M12%2012v9%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-table tbody>tr:not(.mi-message-row)>td:nth-child(10)::after { content:""; position:absolute; left:0; top:11px; width:27px; height:30px; border-radius:8px; background:#f1f8fc 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%22%23365f82%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v15H4zM8%203v5m8-5v5M4%2011h16M12%2014v3h3%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat; }
}


/* Sales Return reference: presentation only; table cell order and controls stay intact. */
@media screen {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] form.product-live-filters { border-radius:20px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-filters>label:first-child::after { content:""; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="products"] .product-live-card>header::before { content:""; background:#dcf8ec 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%22%23078a73%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M7%203h10v4H7zM7%209h10l2%203v9H5v-9zM9%2015h6m-3-3v6%22%2F%3E%3C%2Fsvg%3E") center/28px no-repeat; }
}
@media screen {
  html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-route="sales-return"]) .medaliza-mobile-shell-nav__item--main { width:clamp(60px,19vw,96px); }
  html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-route="sales-return"]) .medaliza-mobile-shell-nav__item--child { width:clamp(60px,20vw,102px); }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-title { display:block; padding:18px 16px; margin:0 0 18px; border:1px solid #d3e7fc; border-radius:18px; background:linear-gradient(115deg,#fff,#e9f7ff); box-shadow:0 12px 25px #305b8910; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-demo { display:flex; align-items:center; gap:8px; font-size:11px; letter-spacing:.5px; color:#1380ff; font-weight:800; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-demo i { display:block; width:7px; height:7px; border-radius:50%; background:#0cba87; box-shadow:0 0 0 4px #dbf8ed; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-title h1 { font-size:24px!important; margin:10px 0!important; color:#102252; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-title p { font-size:13px; line-height:1.5; color:#6b7ea3; margin:0 0 20px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] :is(.purchase-primary,[data-sr="search"],[data-a4-auto]) { background:linear-gradient(110deg,#1688ff,#3930f5)!important; color:#fff!important; border:1px solid #328cff; box-shadow:0 8px 15px #393ed329; border-radius:11px; padding:11px 14px; font-size:13px; font-weight:700; min-height:42px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-search { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:7px; padding:14px; border:1px solid #dfe6ee; border-radius:10px; background:#ffffffed; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-search input { min-height:44px; font-size:14px; background:#f8fcff; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-results { display:grid; gap:10px; padding:10px; margin:13px 0 15px; border-radius:20px; border:1px solid #d1e7fd; background:#f9fcff; box-shadow:0 12px 20px #376b9b12; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-result { display:grid; grid-template-columns:minmax(0,1fr); justify-items:start; gap:9px; padding:11px; border:0; border-radius:15px; background:#fff; box-shadow:0 8px 14px #3c629714; font-size:13px; color:#2d3659; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-result b { font-size:17px; color:#080d59; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-result strong { font-size:18px; color:#067e69; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] :is(.sr-result em,.sr-invoice>header>span) { font-style:normal; font-weight:700; font-size:12px; color:#007e6c; background:#dcf9ef; padding:3px 9px; border-radius:9px; width:fit-content; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-invoice { margin-top:15px; border-radius:11px; border:1px solid #dfe7ef; background:#fff; overflow:visible; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-invoice>header { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:8px!important; padding:15px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-invoice>header b { font-size:14px; color:#080d59; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-invoice>header small { font-size:12px; margin-top:4px; color:#2d3659; line-height:1.5; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-invoice>header strong { font-size:14px; margin:0; color:#080d59; white-space:nowrap; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-invoice>header [data-a4-auto] { grid-column:1/-1; justify-self:start; margin-top:4px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-history-table tbody>tr { padding:12px 14px; border-radius:18px; border-left:3px solid #1484ff; box-shadow:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-history-table td:first-child { grid-column:1/-1; font-size:16px!important; color:#193655; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-history-table td:first-child::before { font-size:11px; margin-bottom:7px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .purchase-history-table td:first-child small { display:block; font-size:13px; margin-top:4px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:12px; margin:12px; border-radius:12px; background:#f8fcff; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-form label:nth-child(2) { grid-column:1/-1; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-form aside { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; padding:12px; color:#193655; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-form aside small { grid-column:1/-1; color:#7385a0; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-invoice footer { padding:12px; justify-content:flex-end; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-return"] .sr-invoice footer button { width:100%; }
}


@media screen {
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(1)::after { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:9px;width:27px;height:30px;border-radius:11px;background-color:#eff8ff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(2)::after { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%203v4m8-4v4M4%2010h16M8%2014h1m3%200h1m3%200h1M8%2017h1m3%200h1%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:9px;width:27px;height:30px;border-radius:11px;background-color:#eff8ff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(4)::after { content:""; display:block; background-image: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%22%23ff8500%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%207%208-4%208%204v10l-8%204-8-4zM4%207l8%204%208-4M12%2011v10m-4-16%208%204%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:9px;width:27px;height:30px;border-radius:11px;background-color:#eff8ff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(5)::after { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:9px;width:27px;height:30px;border-radius:11px;background-color:#eff8ff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(6)::after { content:""; display:block; background-image: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%22%23009980%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%226%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M15%204v4M3%2014h5l4-3%204%202-4%203H9m-6%204h5l12-6M3%2013v8%22%2F%3E%20%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:9px;width:27px;height:30px;border-radius:11px;background-color:#eff8ff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(7)::after { content:""; display:block; background-image: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%22%23ff0052%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:9px;width:27px;height:30px;border-radius:11px;background-color:#eff8ff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(8)::after { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:9px;width:27px;height:30px;border-radius:11px;background-color:#eff8ff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-controls label::after { content:""; display:block; background-image: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%22%23122858%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22m15%2015%206%206%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:8px;top:8px;width:21px;height:21px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel h2::after { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:0;width:28px;height:32px;background-color:#edf7ff;border-radius:50%; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] [data-a4-auto="Sales History"]::before { content:""; display:block; background-image: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%22%23d32d37%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; width:19px;height:23px;flex:none;background-size:19px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-view::before { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%208V3h10v5M7%2017H3V9h18v8h-4M7%2014h10v7H7zM17%2011h1%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; width:17px;height:20px;flex:none;background-size:17px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] [data-held-bill-action="refresh"]::before { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%208a8%208%200%200%200-14-3L3%208m0-5v5h5M4%2016a8%208%200%200%200%2014%203l3-3m0%205v-5h-5%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; width:22px;height:24px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card h2::before { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M5%2021v-3a7%207%200%200%201%2014%200v3M8%2021h8%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:0;top:0;width:29px;height:29px;border-radius:50%;background-color:#e0eeff; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dl>div:nth-child(1)::before { content:""; display:block; background-image: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%22%23132e53%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%207%208-4%208%204v10l-8%204-8-4zM4%207l8%204%208-4M12%2011v10m-4-16%208%204%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:5px;top:10px;width:20px;height:22px;background-size:18px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dl>div:nth-child(2)::before { content:""; display:block; background-image: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%22%23132e53%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%206v6l4%203%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; position:absolute;left:5px;top:10px;width:20px;height:22px;background-size:18px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card footer button::before { content:""; display:block; background-image: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%22%230074ff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%204%2013%208-13%208z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; width:12px;height:16px;flex:none;background-size:13px; }
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card footer button:is([data-held-bill-action="release"],[data-held-bill-action="cancel"])::before { content:""; display:block; background-image: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%22%23ff183b%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16M9%206V3h6v3M6%206l1%2015h10l1-15M10%2010v7m4-7v7%22%2F%3E%3C%2Fsvg%3E"); background-repeat:no-repeat; background-position:center; background-size:21px; width:12px;height:16px;flex:none;background-size:14px; }
}

@media screen {
  html[data-medaliza-ui-mode="mobile"][data-medaliza-mobile-boot="pending"] #app { visibility: hidden; }
  html[data-medaliza-ui-mode="mobile"] .medaliza-mobile-shell--inner {
    padding: 14px 11px calc(100px + env(safe-area-inset-bottom));
  }
  html[data-medaliza-ui-mode="mobile"] .medaliza-mobile-shell-content--inner { display: block; min-height: 0; padding-top: 14px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] {
    --mi-accent: #1475d5; --mi-wash: #edf6ff; --mi-ink: #142d52;
    width: 100%; min-width: 0; color: var(--mi-ink); font: 12px/1.5 "DM Sans", sans-serif;
  }
  html[data-medaliza-ui-mode="mobile"] [data-mobile-family="products"],
  html[data-medaliza-ui-mode="mobile"] [data-mobile-family="medical-customers"] { --mi-accent: #087f91; --mi-wash: #edfafa; }
  html[data-medaliza-ui-mode="mobile"] [data-mobile-family="purchase"],
  html[data-medaliza-ui-mode="mobile"] [data-mobile-family="gst-returns"],
  html[data-medaliza-ui-mode="mobile"] [data-mobile-family="medical-reports"] { --mi-accent: #5264bd; --mi-wash: #f1f3ff; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) * {
    box-sizing: border-box; min-width: 0; max-width: 100%; overflow-wrap: anywhere;
  }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] > :is(main,section,div) {
    width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important;
  }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] h1 { font-size: 21px !important; line-height: 1.2 !important; letter-spacing: -.4px; color: #142d52; margin: 0 0 5px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] h2 { font-size: 16px !important; line-height: 1.3; color: #142d52; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] h3 { font-size: 14px !important; line-height: 1.35; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] header { gap: 9px !important; flex-wrap: wrap !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.page-head,[class$="-heading"],[class$="-header"],.product-live-title,.stock-master-title,.purchase-head) { flex-wrap: wrap !important; gap: 10px !important; margin-bottom: 12px !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] header p { font-size: 11px !important; line-height: 1.5; margin: 5px 0; color: #657c97; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) :is(button,.button,[role="button"]) {
    min-height: 40px; white-space: normal !important; line-height: 1.3 !important; border-radius: 11px; touch-action: manipulation;
  }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(button[class*="primary"],button[type="submit"]) { background: #1475d5; color: #fff; border: 1px solid #1475d5; box-shadow: 0 3px 8px #1475d51a; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] button:disabled { opacity: .55; cursor: default; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) :is(button,input,select,textarea) { font-family: "DM Sans", Arial, sans-serif !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] .product-live-filters > label { display: grid; height: auto; min-height: 43px; padding: 8px; gap: 4px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] .attendance-page header button { font-size: 12px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] .attendance-page header button::after { content: none; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.sales-a4-store-header,.sales-a4-details,.sales-a4-lower,.sales-a4-signature,.purchase-receipt-details,.purchase-receipt-settlement,.purchase-receipt-signoff) { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 12px !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.sales-a4-invoice,.purchase-a4-invoice) { width: 100% !important; min-width: 0 !important; padding: 12px !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.sales-a4-notes,.sales-a4-totals,.purchase-receipt-totals) { width: 100% !important; max-width: 100% !important; margin-inline: 0 !important; float: none !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea) {
    width: 100% !important; min-width: 0 !important; max-width: 100% !important; min-height: 43px; height: auto; padding: 10px 11px; border: 1px solid #d8e6f3; border-radius: 10px; background-color: #fff; color: #193654; font-size: 14px; line-height: 1.4;
  }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) :is(input,select,textarea,button):focus-visible { outline: 2px solid #318bea; outline-offset: 2px; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) :is(input[type="checkbox"],input[type="radio"]) { flex: 0 0 auto; width: 19px; height: 19px; accent-color: #1475d5; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(label,.field) { white-space: normal !important; font-size: 11px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is([class$="-actions"],[class$="-toolbar"],[class$="-pagination"],footer) { display: flex; flex-wrap: wrap !important; gap: 8px; max-width: 100%; }

  /* Existing module sections keep their fields and event bindings. */
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.reports-live-layout,.settings-live-layout,.purchase-dashboard-grid,.return-layout,.payment-allocation-grid,.salary-ledger-grid,.dealer-live-detail-grid,.customer-live-detail-grid) { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 12px !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) :is([class*="form-grid"],.form-grid,.settings-live-grid,.product-live-filters,.stock-master-filters,.reports-live-filters,.alerts-live-filters,.purchase-filters,.return-grid,.pr-details-form,.users-filters,.audit-filters,.dealer-live-gst-grid,.payment-allocation-form,.gst-period-form) { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 11px !important; width: 100% !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) :is([class*="form-grid"],.settings-live-grid,.return-grid,.pr-details-form,.payment-allocation-form) > * { grid-column: auto !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is([class$="-card"],[class$="-panel"],fieldset,.table-card) { border: 1px solid #dfeaf5; border-radius: 14px; background-color: #fff; box-shadow: 0 3px 12px #254f7c09; padding: 12px; margin-bottom: 12px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] fieldset { margin-inline: 0; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] legend { font-size: 11px; font-weight: 800; color: var(--mi-accent); padding: 0 5px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.product-live-summary,.stock-master-summary,.reports-live-summary,.gst-summary-grid,.gstr1-summary-grid,.hsn-summary-grid,.hsn-net-grid,.gst-exceptions-summary,.alerts-live-cards,.data-export-grid,.data-import-summary,.payment-allocation-summary,.attendance-summary) { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 9px !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.stock-master-summary,.reports-live-summary,.gst-summary-grid,.alerts-live-cards) > * { width: auto !important; padding: 11px !important; min-height: 0 !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.reports-live-catalog,.reports-live-nav,.settings-live-nav,.gst-top-nav,.alerts-live-tabs,.attendance-users) { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 7px !important; width: 100% !important; overflow: visible !important; position: static !important; max-height: none !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.settings-live-nav,.gst-top-nav,.reports-live-catalog,.reports-live-nav) button { width: 100% !important; padding: 10px !important; text-align: left; font-size: 11px !important; background-color: #f4f9fe; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.settings-live-nav,.gst-top-nav,.reports-live-catalog,.reports-live-nav) button:is(.active,.is-active,[aria-current="page"]) { color: #1263b5; border-color: #9dc9ef; background-color: #eaf4ff; }

  /* Screen cards use the original table, cells and controls. Headers remain in the DOM for exports. */
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table-wrap { min-width: 0 !important; width: 100% !important; max-width: 100% !important; overflow: visible !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) table.mi-table { display: block !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; border: 0 !important; table-layout: auto !important; background: transparent !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table colgroup { display: none !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table thead { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table :is(tbody,tfoot) { display: grid !important; grid-template-columns: minmax(0,1fr); gap: 11px; width: 100%; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table :is(tbody,tfoot) > tr { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; padding: 11px 13px; margin: 0; border: 1px solid #dce9f4; border-left: 3px solid var(--mi-accent,#1475d5); border-radius: 14px; box-shadow: 0 3px 10px #244e7809; background: #fff !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table :is(tbody,tfoot) > tr[hidden],
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table tr[style*="display: none"] { display: none !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table :is(td,tfoot th) { display: block !important; position: static !important; width: auto !important; min-width: 0 !important; max-width: 100% !important; padding: 8px 0 !important; border: 0 !important; border-bottom: 1px solid #eff4f9 !important; white-space: normal !important; text-align: left !important; font-size: 12px !important; line-height: 1.5 !important; color: #233d5b; background: transparent !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table td::before { content: attr(data-mobile-label); display: block; margin-bottom: 3px; color: #6a819a; font-size: 10px; line-height: 1.35; font-weight: 600; letter-spacing: .02em; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table td[data-mobile-label=""]::before { display: none; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table td.mi-identity { grid-column: 1 / -1; font-size: 15px !important; font-weight: 800; color: #123961; padding-top: 2px !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table td.mi-amount { font-size: 15px !important; font-weight: 800; color: var(--mi-accent,#1475d5); }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table :is(td.mi-wide,td.mi-actions,.mi-message-row td) { grid-column: 1 / -1; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table td.mi-actions { display: flex !important; align-items: center; flex-wrap: wrap; gap: 7px; border-bottom: 0 !important; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table td.mi-actions::before { flex-basis: 100%; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table :is(td small,td b,td span) { white-space: normal !important; overflow-wrap: anywhere; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.mi-state,.navigation-placeholder) { min-height: 0 !important; padding: 18px 14px !important; border: 1px solid #dceaf7; border-radius: 13px; background: #f5faff; color: #52708e; font-size: 12px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] .mi-state[class*="error"] { color: #984c57; border-color: #f1d6dc; background: #fff7f8; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.purchase-items-card,.purchase-card,.purchase-summary,.reports-live-print,.gst-content,.settings-live-content) { width: 100% !important; min-width: 0 !important; max-width: 100% !important; position: static !important; overflow: visible !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.purchase-entry-layout,.purchase-entry-grid,.purchase-meta,.purchase-top-grid,.data-export-detail-layout,.full-business-layout,.dealer-live-picker-list) { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 12px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(.attendance-calendar,.attendance-weekdays) { display: grid !important; grid-template-columns: repeat(7,minmax(0,1fr)) !important; gap: 3px !important; width: 100% !important; min-width: 0 !important; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] .attendance-calendar > * { min-width: 0 !important; width: auto !important; padding: 4px 1px !important; font-size: 10px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] :is(img,svg,canvas,video) { max-width: 100%; }
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) :is(pre,.mi-pre) { white-space: pre-wrap !important; overflow-wrap: anywhere !important; word-break: break-word; width: 100%; min-width: 0 !important; }
  html[data-medaliza-ui-mode="mobile"] #modalRoot[data-mobile-inner-modal] { --mi-accent: #1475d5; }
  html[data-medaliza-ui-mode="mobile"] #modalRoot[data-mobile-inner-modal] > [class*="backdrop"] { padding: 12px !important; overflow-y: auto; align-items: center; }
  html[data-medaliza-ui-mode="mobile"] #modalRoot[data-mobile-inner-modal] :is(.modal,[role="dialog"],[class$="-modal"]) { width: min(100%,520px) !important; min-width: 0 !important; max-width: calc(100vw - 24px) !important; max-height: calc(100dvh - 24px) !important; overflow-y: auto !important; margin: auto; padding: 15px; border-radius: 16px; }
  html[data-medaliza-ui-mode="mobile"] #modalRoot[data-mobile-inner-modal] :is(footer,.modal-actions) { display: flex; flex-wrap: wrap; gap: 8px; }
  html[data-medaliza-ui-mode="mobile"] [data-medaliza-mobile-inner-host] [hidden] { display: none !important; }
}
@media screen and (max-width: 350px) {
  html[data-medaliza-ui-mode="mobile"] :is([data-medaliza-mobile-inner-host],#modalRoot[data-mobile-inner-modal]) .mi-table :is(tbody,tfoot) > tr { grid-template-columns: minmax(0,1fr); }
}
@media print {
  [data-medaliza-mobile-inner-host] .mi-table td::before { content: none !important; display: none !important; }
  .medaliza-mobile-shell--inner > .medaliza-mobile-shell-header,.medaliza-mobile-shell--inner > .medaliza-mobile-shell-nav { display: none !important; }
  .medaliza-mobile-shell--inner,.medaliza-mobile-shell-content--inner { padding: 0 !important; max-width: none !important; }
}

/* Approved Held Bills / Sales History references; no Desktop or New Bill selectors. */
@media screen {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"],
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] { --ref-blue:#0074ff; --ref-navy:#092451; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bills-page>header { display:block; margin:4px 0 12px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bills-page>header span { font-size:11px; color:#007aff; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bills-page h1 { font-size:24px!important; margin:5px 0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bills-page>header p { font-size:12px!important; line-height:1.6; color:#7389a5; margin:0 0 13px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] [data-held-bill-action="refresh"] { display:flex; width:100%; align-items:center; justify-content:center; gap:9px; min-height:41px; border:1px solid #c7dfff; border-radius:12px; color:#0074ff; font-size:15px; background:#ffffffdb; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bills-list { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:8px 6px; padding:10px; border:1px solid #e0e8ef; border-radius:13px; background:#ffffffef; box-shadow:0 5px 14px #395d8d0a; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card header { grid-column:1/-1; display:block; position:relative; margin:0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card header>div { display:flex; flex-direction:row-reverse; justify-content:space-between; align-items:center; gap:6px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card h2 { position:relative; margin:0; padding-left:35px; color:#092451; font-size:14px!important; line-height:1.25; min-height:30px; display:flex; align-items:center; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card header span { border-radius:99px; background:#fff2d9; color:#a16400; padding:5px 8px; font-size:10px; white-space:nowrap; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-status { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip-path:inset(50%); padding:0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dl { display:grid; grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr); gap:6px; margin:0; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dl>div { padding:6px 5px 6px 29px; position:relative; background:#f2f8fc; border-radius:10px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dt { font-size:9px; color:#8294ad; font-weight:600; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dd { margin:1px 0 0; font-size:10px; color:#10284e; line-height:1.35; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card footer { display:flex; flex-wrap:nowrap!important; align-items:stretch; gap:5px; margin:0; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card footer button { display:flex; flex:1; align-items:center; justify-content:center; gap:4px; font-size:9px; padding:5px 3px; min-height:38px; border-color:#0078ff; border-radius:8px; color:#0074ff; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card footer button:is([data-held-bill-action="release"],[data-held-bill-action="cancel"]) { border-color:#ff324b; color:#ff183b; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .billing-header { display:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-controls { display:grid; grid-template-columns:minmax(0,1fr) 65px; gap:8px; margin:0 0 10px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-controls label { position:relative; width:100%; min-width:0; height:38px; min-height:38px; border-radius:9px; border:1px solid #dceaff; font-size:0; padding:0 6px 0 32px; box-shadow:0 3px 9px #24587905; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-controls input { min-height:0!important; height:100%!important; padding:0!important; border:0!important; background:transparent!important; border-radius:0; font-size:12px; font-weight:400; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-controls button { height:38px; min-height:38px; padding:0 6px; border-radius:9px; color:#006fff; background:#f0f9ff; font-size:12px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel { padding:0; border:0; background:transparent; box-shadow:none; overflow:visible; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel>header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:7px!important; padding:7px; margin:0 0 10px!important; background:#fff; border:1px solid #e8f0f9; border-radius:12px; box-shadow:0 4px 12px #34679808; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel>header>div { display:flex; align-items:center; gap:8px; min-width:0; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel h2 { position:relative; padding-left:32px; margin:0; display:flex; align-items:center; min-height:32px; font-size:11px!important; color:#081f55; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] [data-bill-history-meta] { font-size:10px; color:#7b86ab; padding-left:8px; border-left:1px solid #e4edf8; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] [data-a4-auto="Sales History"] { display:flex; align-items:center; justify-content:center; gap:5px; padding:5px 7px; min-height:34px; color:#00867d; background:#eafaf5; border:1px solid #bceee0; border-radius:7px; font-size:10px; font-weight:800; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] table.bill-history-table { min-width:0!important; width:100%!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody { gap:12px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody>tr:not(.mi-message-row) { position:relative; grid-template-columns:minmax(0,1.15fr) minmax(0,1.2fr) minmax(0,1fr); gap:0; padding:8px; border:1px solid #e4edfa; border-left:3px solid #2684ff; border-radius:12px; box-shadow:0 4px 14px #3875ad09; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody>tr[data-payment-tone="pending"] { border-left-color:#ffbd00; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td { grid-column:auto; position:relative!important; padding:7px 3px 7px 32px!important; font-size:11px!important; line-height:1.4!important; border-bottom:1px solid #eaf0f9!important; text-align:left!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td::before { font-size:10px; color:#7685a7; font-weight:500; letter-spacing:0; margin-bottom:2px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(1) { grid-area:1/1; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(2) { grid-area:1/2; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(4) { grid-area:1/3; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(5) { grid-area:2/1; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(6) { grid-area:2/2/3/4; color:#008c79!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td.mi-received-zero { color:#fa0047!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(7) { grid-area:3/1; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(8) { grid-area:3/2; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(9) { grid-area:3/3; padding:5px 0!important; display:flex!important; align-items:center; min-width:0!important; border:0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(n+7) { border-bottom:0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(9)::before { display:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-view { display:flex; gap:5px; width:100%; min-width:0; min-height:35px; padding:5px; font-size:10px; color:#0074ff; border-radius:9px; box-shadow:none; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:is(:nth-child(1),:nth-child(5)) b { font-size:13px; color:#0074ff; font-weight:800; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(6) .mi-ref-value { font-size:13px; font-weight:800; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(8) .mi-ref-value { display:inline-block; background:#e1f9f2; color:#007e70; padding:2px 5px; border-radius:7px; font-weight:800; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] tr[data-payment-tone="pending"] td:nth-child(8) .mi-ref-value { background:#fff3de; color:#b66a00; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:nth-child(9) .mi-ref-value { width:100%; }
  html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="held-bills"],[data-mobile-route="sales-history"]) :is(button,.mi-ref-value,h2,dd) { font-family:Arial,sans-serif!important; overflow-wrap:normal; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card footer button { white-space:nowrap!important; font-size:9px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel>header { grid-template-columns:minmax(0,1fr) 130px; padding:7px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel h2 { white-space:nowrap; flex:none; font-size:10px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] [data-bill-history-meta] { font-size:9px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td:is(:nth-child(1),:nth-child(5)) b { font-family:Arial,sans-serif; font-size:12px; overflow-wrap:anywhere; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-view { white-space:nowrap!important; font-size:9px; padding:4px 2px; gap:3px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dt { white-space:nowrap; overflow-wrap:normal; font-family:Arial,sans-serif; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dl { grid-template-columns:minmax(53px,.6fr) minmax(0,1.4fr); }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card dl>div { padding-left:25px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel { background:transparent!important; border:0!important; box-shadow:none!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] [data-a4-auto="Sales History"] { white-space:nowrap!important; font-size:9px; padding-inline:4px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td { padding-left:28px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td::after { background-size:18px; width:24px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(1) { grid-area:1/1; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(2) { grid-area:1/2; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(4) { grid-area:1/3; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(5) { grid-area:2/1; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(6) { grid-area:2/2/3/4; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(7) { grid-area:3/1; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(8) { grid-area:3/2; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(9) { grid-area:3/3; padding-left:0!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-view::before { width:12px; background-size:12px; }
  html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-route="held-bills"],[data-mobile-route="sales-history"]) { font-family:Arial,sans-serif; }
  html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-route="held-bills"],[data-mobile-route="sales-history"]) .medaliza-mobile-shell-nav__item--main { width:clamp(60px,19vw,96px); }
  html[data-medaliza-ui-mode="mobile"] #app .medaliza-mobile-shell:has([data-mobile-route="held-bills"],[data-mobile-route="sales-history"]) .medaliza-mobile-shell-nav__item--child { width:clamp(60px,20vw,102px); }
}
@media screen and (max-width:360px) {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card { grid-template-columns:1fr; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card footer { justify-content:flex-end; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="held-bills"] .held-bill-card footer button { flex:0 1 90px; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td { padding-left:4px!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table td::after { display:none!important; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel h2 { padding-left:0; }
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-items-panel h2::after { display:none; }
}
/* Saved customer identity stays visible; existing invoice/payment/action rows retain their positions. */
@media screen {
  html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="sales-history"] .bill-history-table tbody tr:not(.mi-message-row)>td:nth-child(3) { grid-area:4/1/5/4; padding-left:4px!important; white-space:normal!important; overflow-wrap:anywhere; }
}
/* Reference-locked live Purchase presentation; no navigation order overrides. */
@media screen {
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]){--purchase-blue:#087aff;color:#101c4c;font-family:Arial,sans-serif}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) :is(.purchase-page,.purchase-return-page){padding:0!important;background:transparent}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-title{display:flex!important;align-items:center;justify-content:space-between;position:relative;padding:18px 14px!important;border:1px solid #d0e7fc;border-radius:17px;background:linear-gradient(110deg,#fff,#e8f7ff);gap:10px;margin-bottom:12px}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-title h1{font:700 23px/1.15 Arial,sans-serif!important;color:#101b50;margin:6px 0}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-title p{font:12px/1.4 Arial,sans-serif!important;color:#7485a4;margin:0}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-demo{font:700 10px/1.3 Arial,sans-serif;color:#008f79;letter-spacing:.3px}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-demo i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#00b880;box-shadow:0 0 0 4px #dff8ee;margin-right:5px}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-primary{background:linear-gradient(110deg,#009bff,#3820f5)!important;color:white;border:0;border-radius:12px;min-height:40px;padding:10px 13px;font:600 12px Arial,sans-serif;flex:none}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) :is(.purchase-card,.purchase-items-card,.pr-search-card){border:1px solid #deecfb;border-radius:16px!important;background:#fff;box-shadow:0 5px 15px #1984bd09;padding:12px!important;margin-bottom:12px}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) :is(.purchase-card,.purchase-items-card)>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 10px!important}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) h2{font:700 18px/1.2 Arial,sans-serif!important;color:#101648;margin:0 0 4px}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) small{color:#7488aa;font-size:11px}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-history-table tbody>tr:not(.mi-message-row){display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;border:1px solid #d4e4f9;border-radius:13px;padding:10px;gap:0;margin:0 0 10px;background:#fff}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-history-table tbody>tr>td{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;grid-column:span 4!important;min-width:0;padding:9px!important;border:0;border-bottom:1px solid #eaf0f9;font:12px/1.35 Arial,sans-serif;color:#111b43;overflow-wrap:anywhere}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-history-table td::before{position:static!important;content:attr(data-mobile-label);font:10px/1.4 Arial,sans-serif;color:#7486a3;margin-bottom:3px}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-history-link{color:#0076ff;font:700 13px/1.3 Arial,sans-serif;padding:0;border:0;background:none;text-align:left;overflow-wrap:anywhere}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) :is(.purchase-status,.status-tag){border-radius:20px;padding:5px 9px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-title .purchase-demo{display:inline-block;border-radius:20px;background:#def7ee;padding:5px 9px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(1){grid-area:1/1/2/10!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(7){grid-area:1/10/2/13!important;align-items:flex-end}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(7)::before{display:none}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(2){grid-area:2/1/3/5!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(3){grid-area:2/5/3/10!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(5){grid-area:2/10/3/13!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(4){grid-area:3/1/4/5!important;border:0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(6){grid-area:3/5/4/13!important;border:0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-title>[data-page="purchase-entry"]{display:none}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .mi-purchase-art{width:82px;flex:0 0 82px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:12px!important;background:#fff;border:1px solid #d6e8fb;border-radius:15px;margin-bottom:12px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-filters :is(.purchase-invoice-search,button){grid-column:1/-1!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-filters button{background:linear-gradient(110deg,#129dff,#176dff);color:#fff;border:0;border-radius:10px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table tbody>tr:not(.mi-message-row){border-left:3px solid #6669d8}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table tbody>tr>td:nth-child(-n+4){grid-column:span 6!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table tbody>tr>td:nth-child(n+5):nth-child(-n+8){grid-column:span 3!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table tbody>tr>td:nth-child(9){grid-column:span 3!important;border-bottom:0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table tbody>tr>td:nth-child(10){grid-column:span 3!important;border-bottom:0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table tbody>tr>td:nth-child(11){grid-column:span 6!important;flex-direction:row;gap:6px;border-bottom:0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table tbody>tr>td:nth-child(11)::before{display:none}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table button:not(.purchase-history-link){min-width:0;padding:7px;font-size:11px;border:1px solid #cde3ff;border-radius:10px;color:#007bff;background:#fff}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .pr-search-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .pr-search-fields>:is(label:first-child,button){grid-column:1/-1!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .pr-results.mi-purchase-idle{display:none!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-title{padding:10px 12px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-title h1{font-size:18px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-title p{font-size:10px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-meta>label{grid-column:auto!important;background:#fff;border:1px solid #e1edf9;border-radius:10px;padding:7px;font-size:10px;color:#3b578c}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] :is(input:not([type="checkbox"]),select){min-width:0;max-width:100%;min-height:30px!important;height:30px!important;padding:5px 7px!important;font:11px Arial,sans-serif!important;border:1px solid #cfe1fd;border-radius:7px;background:#fbfdff}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-live-find{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:6px;padding:10px;background:#fff;border-radius:12px;margin:6px 0 0;position:relative}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-live-find>label{grid-column:1;min-width:0;font-size:10px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-live-find>[data-live-purchase="add-search"]{grid-column:1/-1;grid-row:2;min-height:30px;border:1px solid #8fc7ff;border-radius:7px;background:#eef8ff;color:#087aff}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-scan{grid-column:2;grid-row:1;align-self:end;min-height:30px;width:32px;padding:5px;background:#eff6ff;border:1px solid #c5ddff;border-radius:7px;color:#087aff}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-scan svg{width:22px;height:22px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-items-card{margin-top:8px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-items-card h2{font-size:14px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-items-card>header>div{display:flex;align-items:center;justify-content:space-between;flex:1;gap:5px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-items-card>header small{font-size:9px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-items-card>footer{display:none}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty{display:none;border:1px solid #d9e5fb;border-radius:8px;overflow:hidden}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-is-empty .mi-purchase-empty{display:block}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-is-empty .purchase-table-wrap{display:none}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty-head{display:grid;grid-template-columns:18px 1.7fr repeat(7,1fr);font-size:7px;background:#f5f8ff;color:#42588a}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty-head span{padding:6px 2px;border-right:1px solid #e1e9f9;text-align:center}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty p{display:grid;gap:3px;text-align:center;font-size:11px;color:#7b88ad;margin:10px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty p>span{font-size:23px;color:#b8c6dd}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-bottom{display:block!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-notes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px;margin:6px 0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-notes label{background:#fff;border:1px solid #e1edf9;border-radius:10px;padding:7px;font-size:10px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-summary{display:grid!important;grid-template-columns:1.3fr 1fr!important;gap:6px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-summary>div{display:block!important;background:#fff;border:1px solid #dfeafa;border-radius:12px;padding:8px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-summary-main h2{font-size:13px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-summary-main header span{font-size:8px;color:#7787a8}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-summary-main>div{display:flex;justify-content:space-between;font-size:10px;padding:5px 1px;gap:5px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-total{display:flex;justify-content:space-between;align-items:center;background:#eaf4ff;border-radius:8px;padding:8px 5px!important;font-size:12px;color:#007aff}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-total b{font-size:20px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-summary-payment>div{display:grid;gap:4px;margin-bottom:7px;font-size:10px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-summary-payment>div:last-child{display:flex;justify-content:space-between;background:#fff6df;color:#e88300;border:1px solid #ffe0a5;border-radius:6px;padding:5px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:8px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-actions>button{min-width:0;min-height:34px!important;font-size:9px;padding:5px;border-radius:8px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-future{display:none}
.mi-purchase-scanner{width:min(90vw,460px);border:1px solid #cde5ff;border-radius:16px;padding:18px;color:#14234e;background:white}.mi-purchase-scanner::backdrop{background:#07162a99}.mi-purchase-scanner video{width:100%;max-height:55vh;background:#101929;border-radius:10px}.mi-purchase-scanner button{min-height:44px;padding:8px 20px;border:1px solid #cde5ff;border-radius:10px;background:#eef8ff;color:#087aff}
}
/* Keep the reference row structure above generic mobile stacking rules. */
@media screen {
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) :is(button,b,label,small,input,select){font-family:Arial,sans-serif!important;letter-spacing:normal}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-title{flex-direction:row!important;text-align:left!important;align-items:center!important}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-title>div:first-child{flex:1;min-width:0}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-title h1{font-size:20px!important}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) :is(.purchase-card,.purchase-items-card)>header{flex-direction:row!important;align-items:center!important}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-history-table td b{font-size:12px!important}
html[data-medaliza-ui-mode="mobile"] #app :is([data-mobile-route="purchase"],[data-mobile-route="purchase-entry"],[data-mobile-route="purchase-history"],[data-mobile-route="purchase-return"]) .purchase-card [data-a4-pdf]{font:11px Arial,sans-serif;border:1px solid #cbdcf3;background:#fff;border-radius:9px;min-height:34px;padding:7px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-filters>*{grid-column:auto!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-filters>:is(.purchase-invoice-search,button){grid-column:1/-1!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-meta{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;margin:6px 0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-notes{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-live-help{margin:0 0 6px!important;padding:8px 10px!important;background:white;border-radius:0 0 12px 12px;font:9px/1.45 Arial,sans-serif;color:#697da2}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-live-find{border-radius:12px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-live-find .purchase-live-help{grid-column:1/-1;grid-row:3;padding:5px 0!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty-head{display:grid!important;grid-template-columns:12px 1.7fr repeat(7,1fr)!important;min-height:0!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty-head span{font:7px Arial,sans-serif!important;overflow-wrap:normal;min-width:0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty p{padding:0!important;min-height:0!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-summary .purchase-total b{font:700 20px Arial,sans-serif!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .purchase-title .purchase-import{flex:none;font:10px Arial,sans-serif;padding:10px 7px!important;min-height:36px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .pr-search-fields :is(input,select){font-size:10px!important;padding:7px 5px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty{padding:0!important;min-height:0!important;margin:0!important;box-shadow:none!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty-head{padding:0!important;border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty p{margin:8px!important;min-height:55px!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-title>div:first-child{position:relative;padding-left:39px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-title>div:first-child::before{content:"";position:absolute;left:0;top:29px;width:32px;height:37px;background:#def0ff 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%22%23087aff%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E") center/24px no-repeat;border-radius:9px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-title .purchase-demo{margin-left:-39px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td{position:relative;font-size:10px!important;line-height:1.3!important;padding:8px 5px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(1){padding-left:34px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table tbody>tr>td:nth-child(1)::after{content:"";position:absolute;left:0;top:9px;width:27px;height:32px;background:#e4f3ff 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%22%23087aff%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E") center/22px no-repeat;border-radius:8px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-table td:nth-child(2){font-weight:400!important;white-space:nowrap}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-history-link{min-height:0!important;font-size:12px!important;font-weight:700!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase"] .purchase-tag.posted{background:#fff0d4;color:#b36600;border-radius:20px;padding:5px 8px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-tag.posted{background:#fff0d4;color:#b36600;border-radius:20px;padding:5px 8px}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table td:nth-child(2){font-size:12px!important;font-weight:400!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table td:nth-child(2){padding-right:25px!important;position:relative} html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table td:nth-child(2)::after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:23px;height:28px;border-radius:7px;background:#edf8ff 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%22%23087aff%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v16H4zM8%202v6m8-6v6M4%2010h16%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table td:nth-child(4){padding-right:25px!important;position:relative} html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-history"] .purchase-history-table td:nth-child(4)::after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:23px;height:28px;border-radius:7px;background:#edf8ff 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%22%23087aff%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6zM14%203v5h4M9%2012h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E") center/19px no-repeat}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .purchase-title{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .purchase-title>div:first-child{display:contents}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .purchase-title .purchase-demo{grid-area:1/1}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .purchase-title h1{grid-area:2/1;margin:0}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .purchase-title p{grid-area:3/1/4/3}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] .purchase-title>button{grid-area:1/2/3/3}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] .mi-purchase-empty p>span{font-size:0;width:25px;height:25px;justify-self:center;background: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%22%23b5c1d8%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-5%209%205v11l-9%205-9-5zM3%207l9%205%209-5M12%2012v11%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-entry"] [name="product_search"]{background-image: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%22%23647498%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203a7%207%200%201%200%200%2014a7%207%200%201%200%200-14M15%2015l6%206%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:18px;background-position:8px center;padding-left:32px!important}
html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="purchase-return"] [data-pr-search"]{background-image: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%22%23647498%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203a7%207%200%201%200%200%2014a7%207%200%201%200%200-14M15%2015l6%206%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:18px;background-position:8px center;padding-left:32px!important}
}

