/* noto-sans-devanagari-devanagari-wght-normal */
@font-face {
  font-family: 'Noto Sans Devanagari Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./noto-sans-devanagari-devanagari-wght-normal-DWI_L5Cu.woff2) format('woff2-variations');
  unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
}

/* noto-sans-devanagari-latin-ext-wght-normal */
@font-face {
  font-family: 'Noto Sans Devanagari Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./noto-sans-devanagari-latin-ext-wght-normal-CLkupaxV.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* noto-sans-devanagari-latin-wght-normal */
@font-face {
  font-family: 'Noto Sans Devanagari Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./noto-sans-devanagari-latin-wght-normal-Bxfr4UJH.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* plus-jakarta-sans-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(data:font/woff2;base64,d09GMgABAAAAAAa0ABQAAAAADOwAAAZHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbbhwoP0hWQVJtP01WQVJGBmA/U1RBVIEcAGQvXBEICoMkgmcLFgAwhEwBNgIkAyYEIAWGXAdiDAc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
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* plus-jakarta-sans-vietnamese-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./plus-jakarta-sans-vietnamese-wght-normal-qRpaaN48.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* plus-jakarta-sans-latin-ext-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./plus-jakarta-sans-latin-ext-wght-normal-DmpS2jIq.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* plus-jakarta-sans-latin-wght-normal */
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./plus-jakarta-sans-latin-wght-normal-eXO_dkmS.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* jetbrains-mono-cyrillic-ext-500-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(data:font/woff2;base64,d09GMgABAAAAAASUABAAAAAACRAAAAQ3AAEAAAAAAAAAAAAAAAAAAAAAAAAAAA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DNAMQicZmgFAOeFB/4AAAAAGgA7AEYAUQBvAHcAqQCxAOYBCQEJAQkBCQEWAS942mNgZGBg4GfcwZDHsIWBDcxDAGYGJgAtGgH4eNqM0IFGQ2EUB/DfqqJMBZLAFUh0V0MoUBGllKQArHVtN9vu3HuH3iEAPUJP0cP0BD1D3D6zKQqHH9/5n885qHs1qza3iPfaenDNts/gGcs+gmcdeAuem+iZt+EleMGWx+Bl++Jv16jbDJ5Xtxa8om4peNUSbmT6WgbOlFp6Um2XEo9SI333EqmOrrKq0lDhQENDoS2XGioVYoVUTyyT62i4curCuUTpWK4lNVC4lBnI7Ez9dCeRK6TVa6Qp1rRnb0KHzh07/PfMG4mOkZ6W/JdUNM5FU7kTmaFn+Xj3SNNuVZFbXYnoj3nXcpkniXaVPzKqbpjJq86tH/fsSKuOkQextkzf1/Sx2KKPx/+aADN1XKsAeNpjYGIAg/+pDEZAipEBHfADsQrDSUYmBhtGZkYWRlZGNkZ2BmZGDkZORi5GbjbHpKLUslT20rxMAxNHVwjtagHlu0H5lqzpibm5iWCegaMBk3MQX2JyaUlqcn5ukl5yYnEqD0jG2MAMzAEAoO0cmA==) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* jetbrains-mono-cyrillic-500-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./jetbrains-mono-cyrillic-500-normal-DmUKJPL_.woff2) format('woff2'), url(./jetbrains-mono-cyrillic-500-normal-DJqRU3vO.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* jetbrains-mono-greek-500-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./jetbrains-mono-greek-500-normal-JpySY46c.woff2) format('woff2'), url(./jetbrains-mono-greek-500-normal-D7SFKleX.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* jetbrains-mono-vietnamese-500-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(data:font/woff2;base64,d09GMgABAAAAAA/IABAAAAAALMwAAA9mAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnAbhXAcghYGYD9TVEFUTACDBBEICrA8p1ILgjgAATYCJAOEKAQgBYUeB4xODAcbFCYzA/aDkxp0RMXmTMH/IcEUkaXZhe7qAVQoRhtRmOhkzaUYXs3lyzTUlwptwwNGy28PLP/oZewn39g4Jjp8YusISWZ9eNpW788MNQMI7jZprgsqRiJ7imCBYlEWIBhgoWjj7uJGcddednnRIQ/fX77n7i8NtLf08UwEQl3jq59XJCShypU4lMyz3Hb3X0omkAkZCYVNhfN/c3Pmf1nJcDqnj2VE35fYAx+8WYIJhZj4znn1Qbjp9+f4Pab0wOi7JSECzG0o6DRWu/MBgfu/NdPu5O8cUssKSJ1wUyTjq6oWZic7nUsKuIEySsIkzXvdKzArVNkCwvP1lQCgK4yu0BVWFp6vrWVm/6Nt7H82JGhxDyAteCbHZLRdzTsxJqNEUxb+txHysoxjwQzz2p8tU5uFtC4RmcGouCRX3v1195cCAYgBAECRIWSIVNsQCiqEhh6RpxRRzogwaUTYdSCc3AivAcSQCcSkacSCBbQlcbQ9DqAddgyNAFiZilAX9c1OSB/6ZyYgxQCwDgGQoVQGIYAIRvVlRAiR7Ax+jsqKIDacjVExNGWA/MQLk8VzJshTmOztrVbySNyHVnaAiUVpcgdvmnh9FNeAYYXkMl4AqisEoDtIZK0zs6lsSM8yAboEhZ5CFVqD23kNfor49QgAGWwFBeRAIZRCLdigBbqPFSIF+ABeQAfotUU0g+rL1gCMOnSNn4S0PWEL5Nw2QBqyIVvBT2Fe9wCSYDa3QH3Vt4cSaWSAug+NT0JKDgAKQOMLa96EFIKf/gOUWDQiE3EFgAB4aACx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ZvOLwy5bXp7fdYrRJlP4l5NDdZPiKVeLnJV7Ohg2VAs/aQwZNVtodX2jki6RU1e/j6GkgZbgAmmogZafuF4mZlb1t+COUyrcnF/CCZzS4MO/dX1T6QQAAAA=) format('woff2'), url(./jetbrains-mono-vietnamese-500-normal-DNRqzVM1.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* jetbrains-mono-latin-ext-500-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2) format('woff2'), url(./jetbrains-mono-latin-ext-500-normal-ckzbgY84.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* jetbrains-mono-latin-500-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(./jetbrains-mono-latin-500-normal-BWZEU5yA.woff2) format('woff2'), url(./jetbrains-mono-latin-500-normal-CJOVTJB7.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* jetbrains-mono-cyrillic-ext-700-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(data:font/woff2;base64,d09GMgABAAAAAASAABAAAAAACNgAAAQlAAEAAAAAAAAAAAAAAAAAAAAAAAA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AaADsARgBRAG4AdgCoALAA5QEKAQoBCgEKARcBMHjaY2BkYGDgZ9zBkMewhYENzEMAZgYmAC0aAfh42oyQA25FUQBET20EtW27DWrbcfVtcx1dzV9V40adpLdmXiZzMnfmCSjlnhyycouATFa14SwaeTScTSEPhnOYJmM4l+7XbR71pA3n08ml4XL12585C0qpNpz/ds+sCuXFhitFcIwPD9d42SIsd+Pglgsscht2ZZIuPyHmGWFEfksQh5KweFhy4Jb7lNp0fsA6u2xjIcyysmsceNXaU8MrDSn14eaOc3WCaI9OaGWcYWlM19d16+u+9XX/1l9gW+nCv55q/NdnrEh+EgRf/4LejlEk0akSi/z3tzwkKHeqc4v2LBGR25UFUZPeL3/WhgM11LthmKclg2NGH4st+nj8qQkARipb8wB42mNgYgCD/6kMRkCKkQEd8AOxCsNJRiYGG0ZmRhZGVkY2RnYGZkYORk5GLkZuNsekotSyVPbSvEwDE0dXCO1qAeW7QfmWrOmJubmJYJ6BowGTcxBfYnJpSWpyfm6SXnJicSoPSMbYwAzMAQCg7RyY) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* jetbrains-mono-cyrillic-700-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./jetbrains-mono-cyrillic-700-normal-BWTpRfYl.woff2) format('woff2'), url(./jetbrains-mono-cyrillic-700-normal-CEoEElIJ.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* jetbrains-mono-greek-700-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./jetbrains-mono-greek-700-normal-C6CZE3T8.woff2) format('woff2'), url(./jetbrains-mono-greek-700-normal-DEigVDxa.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* jetbrains-mono-vietnamese-700-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(data:font/woff2;base64,d09GMgABAAAAAA+YABAAAAAALJQAAA84AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnAbhXAcghYGYD9TVEFUTACDBBEICrA8p1ILgjgAATYCJAOEKAQgBYRoB4xODAcb3iVFRoaNAwho/vmJoixsfqj4v07g5OqncaqIUAYqEI6gCkZ0qK4wEp3O9K+ySRaPPWftnd0mjZ8MzaNUaT+LsTAfnt9Wf+57KJFiNgZKlNHoICIwI21jYAViwejIjPZsu9HtRqQ77o8Mg+c/7tNzXzaRbQGM7gKhXRPOFLQiNdiAagUv6MdINrw+CRbhCE4hLJogyLSeshN+VfZv5VL37H77gu4BKGHwW0dphEhUGp7GwmyG25Sd6RBu5KJfsOTNfCWUAfB19+PmRqWEQqiWGEn0j5jlvf3H/82VdmZ/psCo0P8iGd/ns5PZJHNZaHmxwLjtAeWugApQATsgkmXNkhyjrpK1usLr8vD90V5b7skee5GGy7ZRGGe7LuOFEX8C/Wam5iygbneagmmYgiiqXH2XJK/cPwoEwAMAAEWEECHEEhHJUhHppIhiWkSJckQlI6KZDeHgQnj0IwZMIKbMIBYsoAWF0Jatom3YRiMAjhwq1OE0OyB43IEJCDAAOAmAzKQqsADEYmi+jAgWUtf5lSpVPIM1Nn604UB+8+kcMZwH72OOZ7davZk9tJtVRIsSnvNE9OrEH4KBFbrHbRCqNAG9QZJRZx4JZOWpDpoASo9SQw/gKVmLUOG9GwEgggRIhnxQghb0YAILtB2vjwDQBfAAbBBOgDCDGsrXAsoFuCJEIsjOMrlKUYcQBAlIVIQojHc9ABPGya9gqHNSXCJMDlD3Z3wKAuLiUQC0SEPMzAT4UyMBlBQcNCIHcR+AACLQAGIXIUYADBTKeavwOZyQYKGMYIZzX7A6ZNOWbXvWQMXMzK2SH/na6PFMLAmFmBY26NyXnbMijFGe2SsCqPfxBDR7eyenV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woff2'), url(./jetbrains-mono-vietnamese-700-normal-BDLVIk2r.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* jetbrains-mono-latin-ext-700-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./jetbrains-mono-latin-ext-700-normal-CZipNAKV.woff2) format('woff2'), url(./jetbrains-mono-latin-ext-700-normal-CxPITLHs.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* jetbrains-mono-latin-700-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(./jetbrains-mono-latin-700-normal-BYuf6tUa.woff2) format('woff2'), url(./jetbrains-mono-latin-700-normal-D3wTyLJW.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* LiteRetail — design system.
   Sections: tokens · base · layout · admin navigation · page chrome · forms · buttons ·
   tables & badges · modals · POS billing · payment · dashboard & reports · settings ·
   labels · receipt · shift pages · login · responsive · print. */
/* ───────────────────────── Tokens ───────────────────────── */
:root {
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-700: #3730a3;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  /* Older names kept for components that still reference them */
  --brand-dark: var(--brand-600);
  --brand-light: var(--brand-50);

  --ink: #0b1120;
  --ink-2: #131c31;
  --ink-text: #cbd5e1;
  --ink-muted: #7c8aa5;

  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;

  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;

  --border: #e4e8f0;
  --border-strong: #d3dae6;
  --border-subtle: #eef1f6;

  --ok: #059669;
  --ok-bg: #ecfdf5;
  --ok-border: #a7f3d0;
  --ok-text: #065f46;
  --warn: #d97706;
  --warn-bg: #fffbeb;
  --warn-border: #fde68a;
  --warn-text: #92400e;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --danger-text: #991b1b;
  --info: #0284c7;
  --info-bg: #f0f9ff;
  --info-text: #075985;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 16px 40px -12px rgba(15, 23, 42, 0.18), 0 6px 14px -6px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 30px 70px -20px rgba(15, 23, 42, 0.35);
  --ring: 0 0 0 3px rgba(79, 70, 229, 0.2);

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --font-sans: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', 'Noto Sans Devanagari Variable', 'Noto Sans Devanagari', 'Nirmala UI', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Noto Sans Devanagari Variable', 'Cascadia Mono', Consolas, monospace;


  --sidebar-w: 264px;
  --content-pad: clamp(14px, 2.2vw, 28px);
  --tap: 44px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  color-scheme: light;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
}

/* ───────────────────────── Base ───────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Number boxes change only by typing: no up/down arrows (the mouse wheel and arrow keys are blocked in main.tsx). */
input[type='number'] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 2px 6px;
  background: var(--surface-3);
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  color: var(--text-2);
}

::selection {
  background: var(--brand-100);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cfd6e2;
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aab4c5;
  background-clip: padding-box;
  border: 3px solid transparent;
}

/* ───────────────────────── App layout ───────────────────────── */
.pos-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.pos-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: var(--content-pad);
  scroll-padding-top: 72px;
}

.placeholder-page {
  max-width: 640px;
  margin: 10vh auto;
  text-align: center;
}

/* Status bar */
.status-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 36px;
  padding: 6px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  z-index: 10;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--muted);
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}

.status-online { background: var(--ok); }
.status-database-down { background: var(--warn); }
.status-offline { background: var(--danger); }
.status-checking { background: var(--muted-light); }

.status-muted {
  color: var(--muted-light);
  font-weight: 500;
}

/* "New version ready" in the status bar (components/layout/UpdateNotice.tsx) */
.update-notice {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-weight: 600;
}

.update-notice-btn {
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.update-notice-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* Language picker (status bar on every screen, and the login card) */
.language-switcher {
  flex: none;
  height: 26px;
  padding: 0 24px 0 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  appearance: none;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.language-switcher:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}

.login-language {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 30px;
}

.status-vendor {
  flex: none;
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--muted-light);
}

.status-bar .status-muted {
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

/* ───────────────────────── Admin navigation ───────────────────────── */
/* Desktop: fixed sidebar; content is offset when a sidebar is present. */
@media (min-width: 1024px) {
  .pos-layout:has(.admin-sidebar) .pos-content {
    padding-left: calc(var(--sidebar-w) + var(--content-pad));
  }
  .pos-layout:has(.admin-sidebar) .status-bar {
    padding-left: calc(var(--sidebar-w) + 20px);
  }
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(99, 102, 241, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--ink-text);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 18px 16px;
}

/* Branch switcher (sidebar): the "workspace" every admin screen follows */
.store-switcher {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 12px 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.store-switcher-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.store-switcher-select,
.store-switcher-fixed {
  width: 100%;
  min-height: 36px;
  padding: 7px 30px 7px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.store-switcher-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.store-switcher-select option {
  color: var(--text);
  background: #fff;
}

.store-switcher-select:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 1px;
}

.store-switcher-fixed {
  padding-right: 10px;
  cursor: default;
}

.sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-text);
  cursor: pointer;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #818cf8 0%, #4f46e5 55%, #4338ca 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;

}

.brand-sub {
  font-size: 11.5px;
  color: var(--ink-muted);
  font-weight: 500;
}

.admin-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  background-clip: padding-box;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-section-title {
  padding: 0 12px 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #56637c;
}

.admin-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 150ms ease, color 150ms ease;
}

.admin-nav-link svg {
  flex: none;
  opacity: 0.75;
  transition: opacity 150ms ease;
}

.admin-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav-link:hover svg {
  opacity: 1;
}

.admin-nav-link.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.32) 0%, rgba(99, 102, 241, 0.12) 100%);
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.25);
}

.admin-nav-link.active svg {
  opacity: 1;
  color: #a5b4fc;
}

.admin-nav-link.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #818cf8;
}

.admin-nav-link:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 0;
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-plan {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.sidebar-vendor {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.user-avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #334155, #1e293b);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.user-name {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}

.btn-pos-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(16, 185, 129, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), filter 140ms ease;
}

.btn-pos-launch:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 12px 22px -8px rgba(16, 185, 129, 0.7);
}

.btn-pos-launch-compact {
  min-height: 38px;
  padding: 7px 12px;
}

.btn-logout {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: all 150ms ease;
}

.btn-logout:hover {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}

/* Mobile top bar + drawer (hidden on desktop) */
.admin-mobilebar,
.admin-drawer-backdrop {
  display: none;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .admin-mobilebar {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: calc(var(--content-pad) * -1) calc(var(--content-pad) * -1) 20px;
    padding: 10px var(--content-pad);
    background: rgba(11, 17, 32, 0.96);
    backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 6px 20px -10px rgba(15, 23, 42, 0.5);
  }
  .admin-mobilebar .admin-brand {
    flex: 1;
  }
  .admin-mobilebar .brand-logo-icon {
    width: 34px;
    height: 34px;
  }

  .admin-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 75;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }
  .admin-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-sidebar {
    width: min(86vw, 300px);
    transform: translateX(-102%);
    transition: transform 260ms var(--ease), box-shadow 260ms ease;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .admin-sidebar.open {
    transform: none;
    box-shadow: var(--shadow-xl);
  }
  .sidebar-close {
    display: inline-flex;
  }
  .admin-nav-link {
    min-height: 44px;
  }
}

@media (max-width: 420px) {
  .admin-mobilebar .brand-sub {
    display: none;
  }
}

/* ───────────────────────── Page chrome ───────────────────────── */
.admin-page {
  max-width: 1280px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 16px;
  margin-bottom: 20px;
}

.admin-header > div:first-child:not(.admin-actions) {
  min-width: 0;
}

.admin-header h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.admin-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-pretitle {
  display: block;
  margin-bottom: 4px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.sub-section {
  margin-top: 32px;
}

.hint-text {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.loading-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.loading-text::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--brand-100);
  border-top-color: var(--brand);
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.login-error,
.page-error,
.form-error {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-sm);
  color: var(--danger-text);
  font-size: 13.5px;
  font-weight: 600;
}

.error-retry {
  margin-left: auto;
}

.notice-bar.notice-info {
  color: var(--info-text);
  background: var(--info-bg);
  border-color: #bae6fd;
  border-left-color: var(--info);
}

.notice-bar.notice-warn {
  color: var(--warn-text);
  background: var(--warn-bg);
  border-color: var(--warn-border);
  border-left-color: var(--warn);
}

.profit-loss { color: var(--danger); }

.notice-bar.notice-info .filter-input {
  flex: 0 1 240px;
}

.price-tag-branch {
  display: block;
  width: fit-content;
  margin: 2px 0 0 auto;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 10.5px;
  font-weight: 700;
}

.price-hq {
  display: block;
  font-size: 11.5px;
}

.notice-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  color: var(--ok-text);
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  border-left: 4px solid var(--ok);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

/* ───────────────────────── Forms ───────────────────────── */
.field-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.field-input,
select.field-input,
textarea.field-input {
  width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

select.field-input {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.field-input::placeholder {
  color: var(--muted-light);
  font-weight: 400;
}

.field-input:hover:not(:disabled):not(:focus) {
  border-color: #b9c3d3;
}

.field-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}

.field-input:disabled {
  background-color: var(--surface-3);
  color: var(--muted);
  cursor: not-allowed;
}

/* Shown but filled in by the app (e.g. the automatic SKU). */
.field-input[readonly] {
  background-color: var(--surface-3);
  font-family: var(--font-mono);
}

.checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  min-height: 40px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type='checkbox'] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-row-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .form-row-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 14px 16px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.form-section legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.form-section .hint-text {
  margin: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.filter-input {
  width: auto;
  flex: 0 1 230px;
  min-width: 150px;
}

.filter-bar .checkbox-label {
  padding: 0 6px;
}

.filter-sep {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* ───────────────────────── Buttons ───────────────────────── */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 120ms var(--ease);
}

.btn-primary {
  background: linear-gradient(180deg, #5b54ec 0%, var(--brand) 100%);
  color: #fff;
  border: 1px solid var(--brand-600);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 6px 14px -6px rgba(79, 70, 229, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-600) 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 10px 20px -8px rgba(79, 70, 229, 0.6);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled),
.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: #b9c3d3;
  color: var(--text);
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-sm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  cursor: pointer;
  transition: all 130ms ease;
}

.btn-sm:hover:not(:disabled) {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-600);
}

/* Destructive actions (delete): red outline in tables, solid red in confirm dialogs. */
.btn-sm.btn-sm-danger {
  color: var(--danger);
  border-color: var(--danger-border);
}

.btn-sm.btn-sm-danger:hover:not(:disabled) {
  background: var(--danger-bg);
  border-color: var(--danger);
  color: var(--danger-text);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--danger);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 150ms ease;
}

.btn-danger:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; }
.btn-danger:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-compact {
  min-height: 34px;
  padding: 6px 14px;
  font-size: 13px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Icon-only action buttons in table rows (view / edit / deactivate on Suppliers and others). */
.data-table button.btn-icon:not(.btn-primary):not(.btn-secondary) {
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: all 130ms ease;
}

.data-table button.btn-icon:not(.btn-primary):not(.btn-secondary):hover:not(:disabled) {
  color: var(--brand-600);
  background: var(--brand-50);
  border-color: var(--brand-200);
}

.data-table button.btn-icon.btn-icon-danger {
  color: var(--danger);
  border-color: var(--danger-border);
}

.data-table button.btn-icon.btn-icon-danger:hover:not(:disabled) {
  color: var(--danger-text);
  background: var(--danger-bg);
  border-color: var(--danger);
}

.data-table button.btn-icon:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-back-button span {
  font-size: 17px;
  line-height: 1;
}

.btn-warning-bg {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border-color: #b45309;
  box-shadow: 0 6px 14px -6px rgba(217, 119, 6, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-warning-bg:hover:not(:disabled) {
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 10px 20px -8px rgba(217, 119, 6, 0.6);
}

.btn-logout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 150ms ease;
}

.btn-logout-icon:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

/* ───────────────────────── Tables ───────────────────────── */
.table-card {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.table-card + .table-card,
.table-card + .section-title {
  margin-top: 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  padding: 11px 16px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr {
  transition: background 120ms ease;
}

.data-table tbody tr:hover td {
  background: #fafbff;
}

.num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

.table-actions {
  white-space: nowrap;
}

.table-actions .btn-sm + .btn-sm {
  margin-left: 6px;
}

.empty-row {
  padding: 40px 16px !important;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.ts-cell {
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover td {
  color: var(--brand-600);
}

.selected-row td {
  background: var(--brand-50) !important;
}

.selected-row td:first-child {
  box-shadow: inset 3px 0 0 var(--brand);
}

.audit-table td:first-child {
  white-space: nowrap;
}

.audit-table code {
  font-size: 12px;
}

.data-table tfoot .total-row td {
  background: var(--surface-2);
  border-top: 2px solid var(--border);
  font-weight: 800;
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.pagination button {
  min-height: 38px;
  padding: 7px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 130ms ease;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--brand-200);
  color: var(--brand-600);
  background: var(--brand-50);
}

.pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ───────────────────────── Badges & chips ───────────────────────── */
.stock-badge,
.role-badge,
.method-badge,
.barcode-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.4;
}

.stock-badge {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11.5px;
}

.stock-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.stock-in { background: var(--ok-bg); color: var(--ok-text); }
.stock-low { background: var(--warn-bg); color: var(--warn-text); }
.stock-out { background: var(--danger-bg); color: var(--danger-text); }
.offer-status-running { background: var(--ok-bg); color: var(--ok-text); }
.offer-status-scheduled { background: var(--info-bg); color: var(--info-text); }
.offer-status-expired { background: var(--surface-3); color: var(--muted); }
.offer-status-paused { background: var(--warn-bg); color: var(--warn-text); }

.role-badge {
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11px;
  text-transform: capitalize;
}

.role-admin { background: #e0f2fe; color: #0369a1; }
.role-manager { background: #dcfce7; color: #15803d; }
.role-cashier { background: #f1f5f9; color: #475569; }

.method-badge {
  padding: 3px 10px;
  border-radius: 7px;
  font-size: 12px;
}

.method-cash { background: #dcfce7; color: #166534; }
.method-card { background: #e0f2fe; color: #075985; }
.method-upi { background: #f3e8ff; color: #6b21a8; }
.method-split { background: #fef3c7; color: #92400e; }

.bill-code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand-600);
}

.barcode-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.data-table .barcode-chips-list {
  margin-top: 0;
}

.barcode-chips-list .hint-text {
  margin: 0;
}

.barcode-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px 3px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}

.barcode-badge {
  padding: 1px 7px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-manufacturer { background: #dbeafe; color: #1e40af; }
.badge-inhouse { background: #d1fae5; color: #065f46; }
.badge-scale { background: #fef3c7; color: #92400e; }
.badge-error { background: var(--danger-bg); color: var(--danger-text); }

/* Bulk product import dialog */
.import-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.import-summary .barcode-badge {
  font-size: 11px;
  padding: 3px 10px;
}

.import-table {
  max-height: 320px;
  overflow: auto;
}

.import-error {
  color: var(--danger-text);
  font-size: 12.5px;
}

.import-warning {
  color: var(--warn-text);
  font-size: 12.5px;
}

.link-button {
  padding: 0;
  border: none;
  background: none;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* Status badges used across admin pages */
.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  white-space: nowrap;
}
.badge-success  { background: #d1fae5; color: #065f46; }
.badge-neutral  { background: #f3f4f6; color: #6b7280; }
.badge-warning  { background: #fef3c7; color: #92400e; }
.badge-info     { background: #dbeafe; color: #1e40af; }
.badge-danger   { background: #fee2e2; color: #991b1b; }

.chip-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.chip-remove-btn:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

.barcode-scanner-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.barcode-scanner-box .field-input {
  flex: 1 1 240px;
}

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-emerald { color: var(--ok); }

/* ───────────────────────── Modals ───────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(4px);
  animation: fade-in 160ms ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  width: 460px;
  max-width: 100%;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  animation: modal-pop 220ms var(--ease);
  position: relative; /* for .modal-close-corner */
}

/* Dialogs close only with their buttons (not by clicking outside). Dialogs without a .modal-header get this ✕. */
.modal-close-corner {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
}

.modal-close-corner ~ h3 {
  padding-right: 48px;
}

.modal-wide {
  width: 720px;
}

@keyframes modal-pop {
  from { transform: translateY(8px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.modal-box > h3 {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 19px;
  font-weight: 800;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.modal-title {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 800;
}

.modal-close-btn {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface-3);
  border: none;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  transition: all 130ms ease;
}

.modal-close-btn:hover {
  background: var(--border);
  color: var(--text);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.modal-box .table-card {
  box-shadow: none;
}

/* ───────────────────────── POS billing ───────────────────────── */
.billing-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-height: 0;
}

.billing-topbar {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 12px 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pos-brand-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.pos-counter-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.barcode-input-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}

/* Name/SKU suggestions under the scan box */
.product-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 360px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.suggestion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.suggestion-item.active { background: var(--brand-50); }
.suggestion-name { display: flex; flex-direction: column; min-width: 0; font-weight: 600; color: var(--text); }
.suggestion-meta { font-size: 12px; font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.suggestion-empty { padding: 10px 12px; color: var(--muted); }

.barcode-scanner-icon {
  position: absolute;
  left: 15px;
  display: flex;
  align-items: center;
  color: var(--brand);
  pointer-events: none;
}

.field-input.barcode-input {
  min-height: 50px;
  padding-left: 50px;
  padding-right: 96px;
  font-size: 16px;
  font-weight: 600;
  background: var(--surface-2);
  border: 2px solid var(--brand-100);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.field-input.barcode-input:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

.scanner-badge {
  position: absolute;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  color: var(--ok-text);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
  text-transform: uppercase;
  pointer-events: none;
}

.scanner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.barcode-clear-btn {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--surface-3);
  border: none;
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
}

.barcode-clear-btn:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

.billing-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cashier-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 42px;
  padding: 3px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  line-height: 1.3;
}

.cashier-name {
  max-width: 160px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.bill-id-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
}

.billing-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
}

.billing-cart {
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.cart-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px 14px;
}

.cart-table td {
  padding: 12px 14px;
}

.cart-item-row {
  animation: row-in 260ms var(--ease);
}

@keyframes row-in {
  from { background: var(--brand-50); }
  to { background: transparent; }
}

.row-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-light);
}

.product-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.unit-price-cell {
  font-size: 14px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-gst-note {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* Quantity stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-xs);
}

.stepper-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 36px;
  padding: 0;
  background: var(--surface-2);
  border: none;
  color: var(--text-2);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.stepper-btn:hover:not(:disabled) {
  background: var(--brand-50);
  color: var(--brand);
}

.stepper-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qty-input {
  width: 50px;
  height: 36px;
  padding: 0 4px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  appearance: textfield;
  -moz-appearance: textfield;
}

/* Loose items: room for a weight like 12.345 (kg). */
.qty-input-weight {
  width: 68px;
}

.qty-unit {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.qty-input:focus {
  outline: none;
  background: var(--brand-50);
}

.line-total-cell {
  white-space: nowrap;
}

.line-total-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.line-discount-badge {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ok-text);
  background: var(--ok-bg);
  border-radius: 999px;
  max-width: 170px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: top;
}

.line-discount-manual {
  display: block;
  width: fit-content;
  margin-left: auto;
  color: var(--warn-text);
  background: var(--warn-bg);
}

.btn-remove-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: var(--muted-light);
  cursor: pointer;
  transition: all 120ms ease;
}

.btn-remove-line:hover:not(:disabled) {
  background: var(--danger-bg);
  color: var(--danger);
}

.actions-cell {
  white-space: nowrap;
}

.actions-cell > button {
  display: inline-flex;
  vertical-align: middle;
}

.btn-line-discount {
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: var(--muted-light);
  cursor: pointer;
  transition: all 120ms ease;
}

.btn-line-discount:hover:not(:disabled) {
  background: var(--brand-50);
  color: var(--brand);
}

/* Empty cart */
.cart-empty-state {
  padding: 72px 20px !important;
  text-align: center;
}

.data-table tbody tr:hover .cart-empty-state {
  background: transparent;
}

.empty-cart-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  color: var(--brand);
  background: linear-gradient(135deg, var(--brand-50) 0%, #f5f3ff 100%);
  box-shadow: inset 0 0 0 1px var(--brand-100);
}

.empty-cart-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.empty-cart-hint {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Bill summary */
.bill-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-height: 0;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.item-count-badge {
  padding: 3px 11px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.row-val {
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.summary-discount-row,
.summary-discount-row .row-label {
  color: var(--ok);
}

.summary-discount-row .row-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.discount-val {
  color: var(--ok);
}

.summary-total-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  margin: 0 -6px -6px;
  background: linear-gradient(160deg, var(--brand-50) 0%, #f8f7ff 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-md);
}

.summary-total {
  align-items: baseline;
}

.total-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-700);
}

.total-amount {
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.btn-pay-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: 1px solid #047857;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 12px 24px -10px rgba(5, 150, 105, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), filter 140ms ease;
}

.btn-pay-now:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px -10px rgba(5, 150, 105, 0.7);
}

.btn-pay-now:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: #cbd5e1;
  border-color: #cbd5e1;
  color: #f8fafc;
  box-shadow: none;
}

/* Keyboard shortcut bar */
.shortcut-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 130ms ease;
}

.shortcut:hover:not(:disabled) {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.shortcut:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shortcut kbd {
  min-width: 30px;
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--text-2);
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
}

.shortcut-primary { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-700); }
.shortcut-primary kbd { border-color: var(--brand-200); background: #fff; color: var(--brand-700); }
.shortcut-warning { border-color: var(--warn-border); background: var(--warn-bg); color: var(--warn-text); }
.shortcut-warning kbd { border-color: var(--warn-border); background: #fff; color: var(--warn-text); }
.shortcut-danger { border-color: var(--danger-border); background: var(--danger-bg); color: var(--danger-text); }
.shortcut-danger kbd { border-color: var(--danger-border); background: #fff; color: var(--danger-text); }

.mobile-checkout-bar {
  display: none;
}

/* ───────────────────────── Payment dialog ───────────────────────── */
.payment-dialog-box {
  width: 480px;
}

.pay-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  margin-bottom: 20px;
  background: var(--surface-3);
  border-radius: var(--radius-md);
}

.pay-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 140ms ease;
}

.pay-tab:hover:not(.active) {
  color: var(--text-2);
}

.pay-tab.active {
  background: var(--surface);
  color: var(--brand-600);
  box-shadow: var(--shadow-sm);
}

.field-input.pay-amount {
  min-height: 60px;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.quick-cash-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 16px;
}

.presets-label {
  margin-right: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.preset-chip {
  min-height: 34px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--brand-200);
  border-radius: 8px;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 120ms ease;
}

.preset-chip:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.change-due-box {
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
}

.change-due-box.valid {
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  color: var(--ok-text);
}

.change-due-box.invalid {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
}

.change-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.change-amount {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.change-warning {
  font-size: 13.5px;
  font-weight: 600;
}

.digital-pay-info p {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: var(--info-bg);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  color: var(--info-text);
  font-size: 13.5px;
  font-weight: 500;
}

/* Card / UPI (Razorpay) */
.digital-pay-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.upi-qr-img {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius-sm);
}

.digital-pay-amount {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.digital-wait {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

.digital-pay-box .digital-wait {
  margin: 0;
}

.digital-pulse {
  animation: digital-pulse 1.4s ease-in-out infinite;
}

@keyframes digital-pulse {
  50% { opacity: 0.45; }
}

.digital-ok {
  margin: 14px 0 0;
  color: var(--ok-text);
  font-weight: 700;
  text-align: center;
}

.digital-retry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.btn-confirm-pay {
  min-height: 46px;
  padding: 12px 22px;
  font-size: 15px;
}

/* ───────────────────────── Dashboard & reports ───────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-tile {
  --accent: var(--brand);
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  font: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), border-color 150ms ease;
}

.stat-tile::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.85;
}

.stat-tile-sales { --accent: #10b981; }
.stat-tile-bills { --accent: #0ea5e9; }
.stat-tile-discounts { --accent: #a855f7; }
.stat-tile-tax { --accent: #64748b; }
.stat-tile-shifts { --accent: #f59e0b; }
.stat-tile-lowstock { --accent: #ef4444; }
.stat-tile-expiry { --accent: #f59e0b; }

button.stat-tile {
  cursor: pointer;
}

button.stat-tile:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.stat-icon-wrapper {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
}

.stat-icon-wrapper.sales { background: #dcfce7; color: #15803d; }
.stat-icon-wrapper.bills { background: #e0f2fe; color: #0369a1; }
.stat-icon-wrapper.discounts { background: #f3e8ff; color: #7e22ce; }
.stat-icon-wrapper.tax { background: #f1f5f9; color: #334155; }
.stat-icon-wrapper.shifts { background: #fef3c7; color: #b45309; }
.stat-icon-wrapper.ok { background: #dcfce7; color: #15803d; }
.stat-icon-wrapper.alert { background: #fee2e2; color: #b91c1c; }
.stat-icon-wrapper.warn { background: #fef3c7; color: #b45309; }

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.stat-value {
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.stat-link .stat-sub {
  color: var(--brand-600);
  font-weight: 600;
}

.dash-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.dash-card,
.dash-columns > section {
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.dash-card .table-card,
.dash-columns > section .table-card {
  box-shadow: none;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.card-header .section-title {
  margin: 0;
}

.section-title {
  margin: 0 0 12px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
}

.live-refresh-hint {
  margin-top: 16px;
  text-align: right;
  font-size: 12px;
  color: var(--muted-light);
}

.tab-bar {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 4px;
  overflow-x: auto;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 18px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 140ms ease;
}

.tab:hover:not(.active) {
  color: var(--text-2);
}

.tab.active {
  color: var(--brand-600);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Tab buttons written as .tab-btn / .tab-active (e.g. Stock / Expiry alerts): same look as .tab. */
.tab-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: all 140ms ease;
}

.tab-btn:hover:not(.tab-active) {
  color: var(--text-2);
  background: var(--surface-2);
}

.tab-btn.tab-active {
  color: var(--brand-600);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Count pill on a tab, e.g. how many products are near expiry. */
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--danger);
  border-radius: 999px;
}

.tab-count {
  display: inline-block;
  min-width: 22px;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--border);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.tab.active .tab-count {
  background: var(--brand-50);
  color: var(--brand-600);
}

.print-only {
  display: none;
}

/* ───────────────────────── Settings ───────────────────────── */
.settings-form {
  max-width: 720px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ───────────────────────── Barcode labels ───────────────────────── */
.labels-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.labels-page .checkbox-label {
  min-height: 42px;
  white-space: nowrap;
}

.label-checkboxes-group {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 42px;
}

.product-picker {
  position: relative;
}

.picker-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.picker-results button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.picker-results button .status-muted {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
}

.picker-results button:hover,
.picker-results button:focus-visible {
  background: var(--brand-50);
  outline: none;
}

.label-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  min-height: 90px;
  padding: 18px;
  background-color: #e9edf3;
  background-image: linear-gradient(45deg, #f5f7fa 25%, transparent 25%), linear-gradient(-45deg, #f5f7fa 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f5f7fa 75%), linear-gradient(-45deg, transparent 75%, #f5f7fa 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
}

/* Label dimensions are physical (mm/pt) so print output matches the label stock. */
.barcode-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50mm;
  height: 25mm;
  overflow: hidden;
  padding: 2mm 3mm 1.5mm;
  color: #000;
  background: #fff;
  border: 1px solid #d1d5db;
  font-family: Arial, 'Noto Sans Devanagari Variable', 'Nirmala UI', sans-serif;
  text-align: center;
}

.label-preview .barcode-label {
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.label-name {
  flex-shrink: 0;
  overflow: hidden;
  max-height: 2.4em;
  font-size: 8pt;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.label-prices {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5mm;
  margin-top: 0.5mm;
}

.label-mrp {
  font-size: 6.5pt;
  line-height: 1.1;
  white-space: nowrap;
}

.label-mrp::after {
  content: ' (incl. GST)';
  font-size: 5.5pt;
  font-weight: 400;
}

html[lang="mr"] .label-mrp::after {
  content: ' (GST सह)';
}

.label-price {
  font-size: 10.5pt;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.label-price span {
  display: none;
}

.label-bars {
  display: block;
  width: 100%;
  min-height: 8mm;
  flex: 1;
  margin-top: 1mm;
}

.label-digits {
  flex-shrink: 0;
  font-family: 'Consolas', monospace;
  font-size: 7pt;
  letter-spacing: 0.08em;
}

.label-print {
  display: none;
}

.label-page {
  page-break-after: always;
  break-after: page;
}

.label-page:last-child {
  page-break-after: auto;
  break-after: auto;
}

.label-print.size-roll-50x30 .label-page {
  width: 50mm;
  height: 30mm;
}

.size-roll-50x30 .barcode-label {
  width: 50mm;
  height: 30mm;
}

.label-print.size-roll-50x25 .label-page {
  width: 50mm;
  height: 25mm;
}

.label-print.size-roll-38x25 .label-page {
  width: 38mm;
  height: 25mm;
}

.label-print.size-roll-38x25 .barcode-label {
  width: 38mm;
  height: 25mm;
  padding-right: 2mm;
  padding-left: 2mm;
}

.label-print.size-roll-38x25 .label-price span { display: none; }
.label-print.size-roll-38x25 .label-mrp { font-size: 6.5pt; }

.label-print.size-roll-preprinted .label-page {
  width: 50mm;
  height: 38mm;
}

.size-roll-preprinted .barcode-label {
  width: 50mm;
  height: 38mm;
  padding: 10mm 3mm 2mm 3mm; /* Top padding leaves space for pre-printed logo */
}

.size-roll-preprinted .label-prices {
  gap: 0.8mm;
  margin-top: 1mm;
}

.label-print.size-a4-24 .label-page {
  display: grid;
  grid-template-columns: repeat(3, 70mm);
  grid-template-rows: repeat(8, 37mm);
  width: 210mm;
  height: 296mm;
}

.label-print.size-a4-24 .barcode-label {
  width: 70mm;
  height: 37mm;
  padding: 3mm 5mm 2mm;
}

.label-print.size-a4-24 .label-name { font-size: 10pt; }
.label-print.size-a4-24 .label-price { font-size: 13pt; }
.label-print.size-a4-24 .label-mrp { font-size: 9pt; }
.label-print.size-a4-24 .label-bars { min-height: 15mm; }
.label-print.size-a4-24 .label-digits { font-size: 9pt; }

/* ───────────────────────── Receipt ───────────────────────── */
.reprint-page {
  max-width: 520px;
  margin: 0 auto;
}

.receipt {
  width: 80mm;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 12px;
  background: #fff;
  color: #000;
  font-family: Arial, 'Noto Sans Devanagari Variable', 'Nirmala UI', sans-serif;
  font-size: 12px;
  line-height: 1.45;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.receipt hr {
  border: none;
  border-top: 1px dashed #000;
  margin: 6px 0;
}

.receipt-center { text-align: center; }
.receipt-store,
.receipt-doc-title { font-family: 'Times New Roman', Georgia, 'Noto Sans Devanagari Variable', 'Nirmala UI', serif; }
.receipt-store { font-size: 17px; letter-spacing: 0.03em; }
.receipt-header-line { font-weight: 700; letter-spacing: 0.04em; }
.receipt-row { display: flex; justify-content: space-between; gap: 8px; }
/* Bill total: bold, in a box like the "You saved" box below it. */
.receipt-total {
  margin: 8px 0 2px;
  padding: 5px 6px;
  border: 1.5px solid #000;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
}
.receipt-items { width: 100%; border-collapse: collapse; }
.receipt-items th,
.receipt-items td { padding: 1px 0; text-align: left; font-weight: normal; }
/* A small gap between columns so Qty / Rate / Amount numbers never run together. */
.receipt-items th + th,
.receipt-items td + td { padding-left: 6px; }
.receipt-footer { margin-top: 8px; }
.receipt-items-qty { font-weight: 700; }
.receipt-credit { margin-top: 10px; padding-top: 4px; border-top: 1px solid #000; font-size: 10.5px; }
.receipt-small { font-size: 10.5px; }
.receipt-saved-box {
  margin: 8px 0 2px;
  padding: 5px 4px;
  border: 1.5px solid #000;
  border-radius: 3px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.receipt-doc-title { margin-top: 4px; font-weight: 700; letter-spacing: 0.04em; }
.receipt-gst-table th,
.receipt-gst-table td { font-size: 10.5px; }
.receipt-items .num { text-align: right; }

/* Printer test slip: never on screen; printed alone while body has .printing-test (see @media print). */
.print-test-receipt { display: none; }

/* ───────────────────────── MRP / savings ───────────────────────── */
.mrp-tag {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: line-through;
}

.summary-you-save {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  color: var(--ok-text);
  font-weight: 700;
}

.summary-you-save .row-label { display: flex; align-items: center; gap: 5px; }

.text-danger { color: var(--danger-text); }

/* Customer mobile in the payment dialog */
.mobile-field { margin-bottom: 14px; }
.mobile-ok { font-size: 12.5px; color: var(--ok-text); }
.mobile-bad { font-size: 12.5px; color: var(--danger-text); }

/* Reward points strip under the customer mobile */
.rewards-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: -6px 0 14px;
  padding: 8px 12px;
  border-radius: var(--radius-md, 8px);
  background: var(--info-bg);
  color: var(--info-text);
  font-size: 13px;
}
.rewards-balance { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.rewards-redeem { display: inline-flex; align-items: center; gap: 8px; }
.rewards-strip .form-error { flex-basis: 100%; margin: 0; }

/* Customers page */
.clickable-row { cursor: pointer; }
.row-selected td { background: var(--info-bg); }
.returns-mobile-bills { max-width: 760px; margin-bottom: 14px; }

/* ───────────────────────── Returns ───────────────────────── */
.returns-lookup {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin-bottom: 14px;
}

.returns-lookup .field-input { flex: 1; font-size: 16px; }

.returns-bill-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 12px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13.5px;
}

.returns-qty { width: 76px; text-align: right; padding: 6px 8px; min-height: 0; }
.input-invalid { border-color: var(--danger); background: var(--danger-bg); }
.row-muted td { color: var(--muted-light); }

.returns-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  max-width: 760px;
}

.returns-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.btn-refund { min-height: 46px; font-size: 15px; }

/* ───────────────────────── Printer settings ───────────────────────── */
.printer-card,
.daily-report-card,
.integrations-card { margin-top: 20px; }
.printer-card h3,
.daily-report-card h3,
.integrations-card h3 { margin: 0; font-size: 16px; }
.integration-section .section-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.integration-badge { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.integration-remove { align-self: flex-start; font-size: 12.5px; }
.integration-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.daily-report-card .section-title { margin-top: 20px; }

/* ───────────────────────── Shift pages ───────────────────────── */
.shift-panel {
  max-width: 440px;
  margin: 32px auto;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.shift-panel-center {
  text-align: center;
}

.shift-summary {
  margin-bottom: 18px;
  padding: 4px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.shift-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.shift-summary-row + .shift-summary-row {
  border-top: 1px dashed var(--border);
}

.shift-summary-row strong {
  color: var(--text);
}

.shift-done-text {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ok-text);
}

.shift-panel .modal-buttons {
  border-top: none;
  padding-top: 0;
}

.shift-panel .modal-buttons .btn-primary {
  flex: 1;
}

/* Expected-cash breakdown (Close Shift page and Shift Bills page) */
.shift-cash .hint-text { margin: 0 0 10px; }
.shift-expected-row span { display: flex; flex-direction: column; gap: 2px; color: var(--text); font-weight: 600; }
.shift-expected-row small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.shift-expected-row strong { font-size: 17px; color: var(--brand-700); }
.shift-digital { background: var(--info-bg); }
.shift-digital .hint-text { padding-bottom: 8px; }

.shift-diff {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 16px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.shift-diff-ok { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok-text); }
.shift-diff-short { background: var(--danger-bg); border-color: var(--danger-border); color: var(--danger-text); }
.shift-diff-over { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-text); }

/* Cashier's name on the POS top bar opens their shift bills */
button.cashier-chip-link {
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
button.cashier-chip-link:hover { border-color: var(--brand); background: var(--brand-50); }
button.cashier-chip-link:hover .cashier-name { color: var(--brand-700); text-decoration: underline; }
button.cashier-chip-link:focus-visible { outline: none; box-shadow: var(--ring); }

/* Shift Bills page */
.shift-bills-page .admin-header .hint-text { margin: 2px 0 0; }
.shift-bills-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.shift-total-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  font-variant-numeric: tabular-nums;
}
.shift-total-tile span { font-size: 12.5px; color: var(--muted); }
.shift-total-tile strong { font-size: 18px; color: var(--text); }
.shift-total-expected { border-color: var(--brand-200); background: var(--brand-50); }
.shift-total-expected strong { color: var(--brand-700); }
.shift-bills-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}
.shift-bills-table { overflow-x: auto; }
.shift-bills-table .section-title { margin: 18px 14px 8px; }
.shift-bills-page .mono { font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
@media (max-width: 1023px) {
  .shift-bills-body { grid-template-columns: 1fr; }
}

/* Inline message under a single input (e.g. Returns search box) */
.field-error {
  max-width: 560px;
  margin: -8px 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--danger-text);
}

/* ───────────────────────── Login ───────────────────────── */
.login-page {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100% + var(--content-pad) * 2);
  margin: calc(var(--content-pad) * -1);
  padding: 32px 20px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(99, 102, 241, 0.35) 0%, transparent 70%),
    radial-gradient(50% 45% at 90% 90%, rgba(16, 185, 129, 0.18) 0%, transparent 70%),
    linear-gradient(160deg, #111a33 0%, #0b1120 60%, #070b16 100%);
}

.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.login-card {
  position: relative;
  width: 420px;
  max-width: 100%;
  padding: 40px 36px 28px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(15, 23, 42, 0.04);
  animation: modal-pop 320ms var(--ease);
}

.login-brand-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-brand-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #818cf8 0%, #4f46e5 55%, #4338ca 100%);
  box-shadow: 0 14px 28px -10px rgba(79, 70, 229, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.login-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-form .field-input {
  min-height: 48px;
  font-size: 15px;
}

.password-field {
  position: relative;
}

.password-field .field-input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--text);
  background: var(--surface-2);
}

.btn-login-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  font-size: 15px;
}

.login-footer-hint {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 12px;
  color: var(--muted-light);
}

.login-footer-hint .vendor-credit {
  margin-top: 6px;
  font-size: 11px;
}

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1180px) {
  .billing-body {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .billing-meta .btn-icon span {
    display: none;
  }
  .billing-meta .btn-icon {
    width: 42px;
    padding: 0;
  }
}

@media (max-width: 1023px) {
  .dash-columns {
    grid-template-columns: 1fr;
  }
}

/* Tablet & phone: POS stacks vertically and scrolls as one page. */
@media (max-width: 860px) {
  .billing-page {
    height: auto;
    min-height: 100%;
  }

  .billing-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'brand meta'
      'scan scan';
    gap: 10px 12px;
    padding: 12px;
  }
  .pos-brand-tag {
    grid-area: brand;
    border-right: none;
    padding-right: 0;
  }
  .billing-meta {
    grid-area: meta;
  }
  .barcode-input-wrapper {
    grid-area: scan;
  }

  .billing-body {
    grid-template-columns: 1fr;
  }
  .billing-cart {
    overflow: visible;
  }
  .cart-table th {
    position: static;
  }

  .bill-summary .btn-pay-now {
    display: none;
  }
  .summary-total-container {
    margin: 0;
  }

  .shortcut-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .shortcut-bar .shortcut-primary {
    display: none;
  }
  .shortcut {
    justify-content: center;
    padding: 8px 10px;
  }
  .shortcut kbd {
    display: none;
  }

  /* Checkout bar sticks to the bottom of the scrolling content, above the status bar. */
  .mobile-checkout-bar {
    position: sticky;
    bottom: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px calc(var(--content-pad) * -1) calc(var(--content-pad) * -1);
    padding: 12px var(--content-pad);
    background: rgba(11, 17, 32, 0.97);
    backdrop-filter: blur(10px);
    color: #fff;
    box-shadow: 0 -10px 24px -12px rgba(15, 23, 42, 0.45);
  }
  .mobile-total-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .mobile-total-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  .mobile-total-val {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
  }
  .mobile-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.8);
  }
  .mobile-pay-btn:disabled {
    background: #334155;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
  }
}

/* Phones */
@media (max-width: 640px) {
  :root {
    --content-pad: 14px;
  }

  /* 16px inputs stop iOS from zooming on focus */
  .field-input,
  select.field-input,
  textarea.field-input {
    min-height: var(--tap);
    font-size: 16px;
  }

  .btn-primary,
  .btn-secondary {
    min-height: var(--tap);
  }

  .btn-sm {
    min-height: 36px;
    padding: 6px 12px;
  }

  .admin-header {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 16px;
  }
  .admin-actions {
    width: 100%;
  }
  .admin-actions > * {
    flex: 1 1 auto;
  }

  .filter-bar {
    padding: 10px;
  }
  .filter-input {
    flex: 1 1 100%;
    min-width: 0;
  }
  .filter-bar .btn-sm,
  .filter-bar .btn-secondary {
    flex: 1 1 auto;
  }
  .filter-sep {
    display: none;
  }

  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .form-row-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-table th,
  .data-table td {
    padding: 11px 12px;
  }
  .table-card .data-table td {
    white-space: nowrap;
  }

  .pagination {
    justify-content: center;
  }
  .pagination span {
    order: -1;
    flex-basis: 100%;
    text-align: center;
  }
  .pagination button {
    flex: 1;
  }

  /* Modals become bottom sheets */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-box,
  .modal-wide,
  .payment-dialog-box {
    width: 100%;
    max-height: 92dvh;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border-bottom: none;
    animation: sheet-up 260ms var(--ease);
  }
  .modal-box::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    margin: -6px auto 14px;
    border-radius: 999px;
    background: var(--border-strong);
  }
  .modal-buttons {
    flex-direction: column-reverse;
  }
  .modal-buttons > button {
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stat-tile {
    padding: 14px;
  }
  .stat-icon-wrapper {
    width: 34px;
    height: 34px;
  }
  .stat-value {
    font-size: 20px;
  }
  .dash-card,
  .dash-columns > section,
  .settings-form,
  .labels-form,
  .shift-panel {
    padding: 16px;
  }
  .shift-panel {
    margin: 12px auto;
  }

  .tab-bar {
    width: 100%;
  }
  .tab {
    flex: 1 0 auto;
    padding: 8px 12px;
  }

  .barcode-scanner-box > .btn-secondary {
    flex: 1 1 auto;
  }

  /* POS: cart rows become cards */
  .cart-table thead {
    display: none;
  }
  .cart-table,
  .cart-table tbody {
    display: block;
  }
  .cart-table tr:not(.cart-item-row),
  .cart-table tr:not(.cart-item-row) td {
    display: block;
  }
  .cart-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      'name name remove'
      'price qty total';
    align-items: center;
    gap: 8px 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .cart-item-row:last-child {
    border-bottom: none;
  }
  .cart-item-row td {
    display: block;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  .cart-item-row .row-index {
    display: none;
  }
  .cart-item-row .item-name-cell { grid-area: name; }
  .cart-item-row .unit-price-cell {
    grid-area: price;
    text-align: left !important;
    font-size: 13px;
    color: var(--muted);
  }
  .cart-item-row .unit-price-cell::after {
    content: ' each';
  }
  .cart-item-row .price-gst-note {
    display: none;
  }
  .cart-item-row .qty-cell { grid-area: qty; }
  .cart-item-row .line-total-cell { grid-area: total; min-width: 76px; }
  .cart-item-row .actions-cell { grid-area: remove; justify-self: end; }
  .stepper-btn {
    width: 38px;
    height: 38px;
  }
  .qty-input {
    width: 44px;
    height: 38px;
    font-size: 16px;
  }
  .cart-empty-state {
    padding: 44px 16px !important;
  }

  .field-input.barcode-input {
    padding-right: 84px;
  }
  .cashier-chip {
    display: none;
  }

  .receipt {
    box-shadow: var(--shadow-sm);
  }

  .login-card {
    padding: 30px 22px 22px;
  }

  .status-bar {
    gap: 10px;
    padding: 6px 14px calc(6px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .pos-counter-title {
    font-size: 15px;
  }
}

@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* ───────────────────────── Print ───────────────────────── */
@media print {
  /* A document in a modal (e.g. a debit note): print only that box, full width, not the page behind it. */
  body.printing-doc * { visibility: hidden; }
  body.printing-doc .print-doc,
  body.printing-doc .print-doc * { visibility: visible; }
  body.printing-doc .print-doc {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    border: none;
    box-shadow: none;
  }

  /* Printer test: print only the sample slip, not the Settings page. */
  body.printing-test * { visibility: hidden; }
  body.printing-test .print-test-receipt,
  body.printing-test .print-test-receipt * { visibility: visible; }
  body.printing-test .print-test-receipt {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    border: none;
    box-shadow: none;
  }

  .no-print,
  .status-bar,
  .admin-sidebar,
  .admin-mobilebar,
  .admin-drawer-backdrop,
  .mobile-checkout-bar {
    display: none !important;
  }

  body,
  .pos-layout {
    background: #fff;
    height: auto;
    overflow: visible;
  }

  .pos-content,
  .pos-layout:has(.admin-sidebar) .pos-content {
    padding: 0 !important;
    overflow: visible;
  }

  .admin-page {
    max-width: none;
  }

  /* Fit the receipt to the printable band of an 80mm roll: 72mm wide, starting 4mm in from the
     paper edge (Epson TM-T82X-II and most 80mm printers). Centred, it slides off the right side;
     at 0mm, the left 4mm falls in the unprintable margin. */
  .reprint-page {
    max-width: none;
    margin: 0;
  }

  .receipt {
    width: 72mm;
    max-width: none;
    padding: 0 1mm 4mm;
    border: none;
    border-radius: 0;
    margin: 0 0 0 4mm;
    box-shadow: none;
  }

  .print-only {
    display: block;
  }

  .table-card {
    overflow: visible;
    box-shadow: none;
  }

  .stat-tile,
  .dash-card,
  .dash-columns > section {
    box-shadow: none;
    break-inside: avoid;
  }

  .reports-page .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reports-page .dash-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .reports-page .data-table {
    font-size: 10pt;
  }

  .labels-page .no-print,
  .labels-page .label-preview {
    display: none !important;
  }

  .labels-page .label-print {
    display: block !important;
  }

  .labels-page,
  .labels-page .label-page {
    margin: 0;
    padding: 0;
  }

  .labels-page {
    width: auto;
    max-width: none;
  }

  .labels-page .barcode-label {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ───────────────────────── Marathi typing (MarathiInput) ───────────────────────── */
.mr-input { position: relative; width: 100%; min-width: 0; }
.mr-input .mr-field { padding-right: 70px; }
.mr-input .mr-field:lang(mr) { line-height: 1.6; }

/* EN | म switch inside the right edge of the box */
.mr-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.mr-input-multi .mr-toggle { top: 6px; transform: none; }
.mr-toggle span { padding: 4px 7px; border-radius: 999px; color: var(--muted); }
.mr-toggle-mr span.mr-toggle-mr,
.mr-toggle-en span.mr-toggle-en { background: var(--brand); color: #fff; }
.mr-toggle span.mr-toggle-mr { font-size: 13px; }
.mr-toggle:focus-visible { outline: none; box-shadow: var(--ring); }
.mr-toggle:disabled { opacity: 0.5; cursor: default; }

/* Suggestions under the box (scrolls with the form / dialog it is in) */
.mr-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1200;
  min-width: 220px;
  max-width: 100%;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.mr-suggest li {
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.mr-suggest li.active,
.mr-suggest li:hover { background: var(--brand-50); color: var(--brand-700); }
.mr-suggest li.mr-suggest-hint {
  margin-top: 2px;
  padding: 4px 10px 2px;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  cursor: default;
  background: none;
}
@media (max-width: 640px) {
  .mr-toggle span { padding: 6px 9px; } /* bigger touch target */
  .mr-input .mr-field { padding-right: 82px; }
}

/* ───────────────────────── Bills page ───────────────────────── */
.bills-page .admin-header .hint-text { margin: 2px 0 0; }
.bills-page .mono { font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.bills-totals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0 0 12px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.bills-totals strong { color: var(--text); }
.btn-sm.btn-sm-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ───────────────────────── Sidebar: Settings tree ───────────────────────── */
.nav-link-row { position: relative; }
.nav-link-row .admin-nav-link { padding-right: 38px; }
.nav-tree-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-text);
  font-size: 13px;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}
.nav-tree-toggle:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-tree-toggle.open { transform: translateY(-50%) rotate(90deg); }
.nav-tree-toggle:focus-visible { outline: 2px solid #818cf8; }
.nav-subtree {
  margin: 2px 0 6px 21px;
  padding: 0 0 0 10px;
  list-style: none;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.admin-nav-sublink {
  display: block;
  width: 100%;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  opacity: 0.85;
}
.admin-nav-sublink:hover { color: #fff; background: rgba(255, 255, 255, 0.06); opacity: 1; }
.admin-nav-sublink.active { color: #fff; background: rgba(99, 102, 241, 0.22); opacity: 1; }
.admin-nav-sublink:focus-visible { outline: 2px solid #818cf8; outline-offset: 0; }
/* Section scrolled to from the tree: a little room above it */
.settings-anchor { scroll-margin-top: 16px; }

/* Offline billing (pages/pos/OfflineBillingPage.tsx) */
.offline-scan {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 560px;
}

.offline-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.offline-suggestions button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.offline-suggestions button:hover,
.offline-suggestions button:focus-visible {
  background: var(--surface-2, #f1f5f9);
  outline: none;
}

.offline-qty {
  width: 90px;
  text-align: right;
}

.offline-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-self: start;
}

.offline-pay {
  justify-content: center;
  margin-top: 8px;
}

.offline-catalog-age {
  margin: 0 20px;
}
