/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Manrope","arguments":[{"subsets":["latin"],"weight":["400","500","600","700","800"],"display":"swap","variable":"--font-manrope"}],"variableName":"manrope"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  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;
}@font-face {font-family: 'Manrope Fallback';src: local("Arial");ascent-override: 103.31%;descent-override: 29.07%;line-gap-override: 0.00%;size-adjust: 103.19%
}.__className_9b6839 {font-family: 'Manrope', 'Manrope Fallback';font-style: normal
}.__variable_9b6839 {--font-manrope: 'Manrope', 'Manrope Fallback'
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"JetBrains_Mono","arguments":[{"subsets":["latin"],"weight":["500","600"],"display":"swap","variable":"--font-jetbrains-mono"}],"variableName":"jetbrainsMono"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/edc640959b0c7826-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/64d784ea54a4acde-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ff71da380fbe67dd-s.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/edc640959b0c7826-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/64d784ea54a4acde-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/ff71da380fbe67dd-s.woff2) format('woff2');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format('woff2');
  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;
}@font-face {font-family: 'JetBrains Mono Fallback';src: local("Arial");ascent-override: 75.79%;descent-override: 22.29%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_7b888a {font-family: 'JetBrains Mono', 'JetBrains Mono Fallback';font-style: normal
}.__variable_7b888a {--font-jetbrains-mono: 'JetBrains Mono', 'JetBrains Mono Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: var(--font-manrope), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, monospace;
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-md: 28rem;
    --container-2xl: 42rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-thin: 100;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-wider: 0.05em;
    --leading-relaxed: 1.625;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --animate-spin: spin 1s linear infinite;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-manrope), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --default-mono-font-family: var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, monospace;
    --color-surface-2: var(--surface-2);
    --color-line: var(--line);
    --color-line-2: var(--line-2);
    --color-text: var(--text);
    --color-text-2: var(--text-2);
    --color-text-3: var(--text-3);
    --color-orange: #f68f60;
    --color-orange-2: #fab28c;
    --color-orange-tint: #fdeee3;
    --color-teal: #0d6b75;
    --color-teal-2: #147984;
    --color-teal-tint: #e2f1f2;
    --color-navy: #25394d;
    --color-navy-2: #1b2b3b;
    --color-navy-3: #324a63;
    --color-green: #56ad7f;
    --color-green-tint: #e6f3ec;
    --color-crimson: #ba3351;
    --color-crimson-tint: #f8e5ea;
    --color-skyteal: #83c5cf;
    --color-skyteal-tint: #eaf5f7;
    --radius-card: 20px;
    --radius-chip: 11px;
    --radius-pill: 999px;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-1 {
    margin-top: var(--spacing);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .ml-auto {
    margin-left: auto;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .size-2 {
    width: calc(var(--spacing) * 2);
    height: calc(var(--spacing) * 2);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-14 {
    height: calc(var(--spacing) * 14);
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-3 {
    width: calc(var(--spacing) * 3);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-14 {
    width: calc(var(--spacing) * 14);
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-\[160px\] {
    max-width: 160px;
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .flex-1 {
    flex: 1;
  }
  .shrink {
    flex-shrink: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .grow {
    flex-grow: 1;
  }
  .scale-110 {
    --tw-scale-x: 110%;
    --tw-scale-y: 110%;
    --tw-scale-z: 110%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
    margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-8 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
  }
  .self-end {
    align-self: flex-end;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-crimson\/30 {
    border-color: color-mix(in srgb, #ba3351 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-crimson) 30%, transparent);
    }
  }
  .border-green\/30 {
    border-color: color-mix(in srgb, #56ad7f 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-green) 30%, transparent);
    }
  }
  .border-line {
    border-color: var(--line);
  }
  .border-orange\/30 {
    border-color: color-mix(in srgb, #f68f60 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-orange) 30%, transparent);
    }
  }
  .bg-blue-500 {
    background-color: var(--color-blue-500);
  }
  .bg-crimson-tint {
    background-color: var(--color-crimson-tint);
  }
  .bg-green-tint {
    background-color: var(--color-green-tint);
  }
  .bg-line {
    background-color: var(--line);
  }
  .bg-orange {
    background-color: var(--color-orange);
  }
  .bg-orange-tint {
    background-color: var(--color-orange-tint);
  }
  .bg-surface {
    background-color: var(--surface);
  }
  .bg-surface-2 {
    background-color: var(--surface-2);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-1 {
    padding-block: var(--spacing);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  .text-center {
    text-align: center;
  }
  .font-display {
    font-family: var(--font-manrope), ui-sans-serif, system-ui, sans-serif;
  }
  .font-mono {
    font-family: var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, monospace;
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[12px\] {
    font-size: 12px;
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .font-thin {
    --tw-font-weight: var(--font-weight-thin);
    font-weight: var(--font-weight-thin);
  }
  .tracking-\[0\.3em\] {
    --tw-tracking: 0.3em;
    letter-spacing: 0.3em;
  }
  .tracking-wider {
    --tw-tracking: var(--tracking-wider);
    letter-spacing: var(--tracking-wider);
  }
  .break-all {
    word-break: break-all;
  }
  .text-ink-crimson {
    color: var(--ink-crimson);
  }
  .text-ink-green {
    color: var(--ink-green);
  }
  .text-ink-orange {
    color: var(--ink-orange);
  }
  .text-navy-2 {
    color: var(--color-navy-2);
  }
  .text-text {
    color: var(--text);
  }
  .text-text-2 {
    color: var(--text-2);
  }
  .text-text-3 {
    color: var(--text-3);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .underline {
    text-decoration-line: underline;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .opacity-25 {
    opacity: 25%;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .opacity-75 {
    opacity: 75%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .select-all {
    -webkit-user-select: all;
    user-select: all;
  }
  @media (hover: hover) {
    .hover\:bg-surface-2:hover {
      background-color: var(--surface-2);
    }
    .hover\:text-ink-orange:hover {
      color: var(--ink-orange);
    }
    .hover\:text-text:hover {
      color: var(--text);
    }
    .hover\:text-text-2:hover {
      color: var(--text-2);
    }
  }
  .disabled\:opacity-50:disabled {
    opacity: 50%;
  }
  @media (width >= 48rem) {
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}
:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #fbf8f3;
  --line: #e8e3da;
  --line-2: #efeae0;
  --text: #1b2b3b;
  --text-2: #4b5c6c;
  --text-3: #626f7c;
  --ink-orange: #99451c;
  --ink-teal: #0b626b;
  --ink-green: #276d48;
  --ink-crimson: #a12644;
  --on-action: #ffffff;
  --sidebar-muted: #a5b5c5;
  --shadow-sm: 0 1px 0 rgba(27, 43, 59, 0.04), 0 2px 6px -2px rgba(27, 43, 59, 0.06);
  --shadow-md: 0 4px 14px -6px rgba(27, 43, 59, 0.12), 0 1px 0 rgba(27, 43, 59, 0.04);
  --shadow-lg: 0 20px 40px -20px rgba(27, 43, 59, 0.25), 0 4px 12px -8px rgba(27, 43, 59, 0.12);
  --tint-warn: #fff4dd;
  --tint-warn-text: #7d5d10;
  --on-navy: #ffffff;
  --navy-soft-border: rgba(255, 255, 255, 0.06);
  --navy-soft-fill: rgba(255, 255, 255, 0.05);
}
@layer components {
  .inventory-stock-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .inventory-stock-page-head {
    align-items: center;
  }
  .inventory-stock-page-heading {
    min-width: 0;
    flex: 1 1 420px;
  }
  .inventory-stock-head-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
  }
  .inventory-stock-warehouse {
    width: 300px;
  }
  .inventory-stock-card {
    padding: 0;
    overflow: hidden;
  }
  .inventory-stock-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
  }
  .inventory-stock-card-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .inventory-stock-card-head p {
    margin: 3px 0 0;
    color: var(--text-2);
    font-size: 12px;
  }
  .inventory-stock-table-wrap {
    width: 100%;
    overflow-x: auto;
  }
  .inventory-stock-table,
  .inventory-stock-lots-table {
    width: 100%;
    border-collapse: collapse;
  }
  .inventory-stock-table {
    min-width: 980px;
  }
  .inventory-stock-raw-table {
    min-width: 760px;
  }
  .inventory-stock-table th,
  .inventory-stock-lots-table th {
    /*!important: the shared <Table> (variant="plain") forces an inline
       padding on every th/td it renders, which would otherwise silently
       override this table's custom padding.*/
    padding: 11px 12px !important;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-align: left;
    text-transform: uppercase;
  }
  .inventory-stock-table th:first-child {
    width: 50px;
  }
  .inventory-stock-table td,
  .inventory-stock-lots-table td {
    /*!important: see th rule above — same reason.*/
    padding: 14px 12px !important;
    border-bottom: 1px solid var(--line-2);
    vertical-align: middle;
    font-size: 12.5px;
  }
  .inventory-stock-table tbody > tr:not(.inventory-stock-lots-row):hover,
  .inventory-stock-table tbody > tr.is-expanded {
    background: var(--surface-2);
  }
  .inventory-stock-item-name {
    color: var(--text);
    font-size: 13.5px;
    font-weight: 800;
  }
  .inventory-stock-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
    color: var(--text-3);
    font-size: 11px;
  }
  .inventory-stock-item-meta .pill,
  .inventory-stock-table td > .pill,
  .inventory-stock-card-head .pill,
  .inventory-stock-lots-head .pill {
    padding: 4px 8px;
    font-size: 10.5px;
  }
  .inventory-stock-table a.pill {
    text-decoration: none;
  }
  .inventory-stock-table button.pill {
    border: 0;
  }
  .inventory-stock-sku,
  .inventory-stock-muted {
    color: var(--text-2);
  }
  .inventory-stock-quantity {
    color: var(--text);
    font-size: 13.5px;
    font-weight: 700;
  }
  td.inventory-stock-expand-cell {
    padding-right: 0 !important;
    text-align: center;
  }
  .inventory-stock-expand,
  .inventory-stock-actions-trigger {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text-2);
  }
  .inventory-stock-expand:hover,
  .inventory-stock-actions-trigger:hover:not(:disabled),
  .inventory-stock-expand[aria-expanded="true"] {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink-teal);
  }
  .inventory-stock-actions-head,
  .inventory-stock-actions-cell,
  .inventory-stock-numeric-head,
  .inventory-stock-numeric-cell {
    text-align: right !important;
  }
  .inventory-stock-actions-menu {
    width: 214px;
  }
  .inventory-stock-lots-row > td {
    padding: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    background: var(--surface-2);
  }
  .inventory-stock-lots-panel {
    margin: 0 14px 16px 50px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .inventory-stock-lots-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line-2);
  }
  .inventory-stock-lots-head h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
  }
  .inventory-stock-lots-head p {
    margin: 2px 0 0;
    color: var(--text-2);
    font-size: 11px;
  }
  .inventory-stock-lots-content {
    padding: 12px 16px 14px;
  }
  .inventory-stock-lots-table th {
    border-top: 0;
    background: transparent;
  }
  .inventory-stock-lots-table td {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .inventory-stock-lots-total {
    margin: 12px 0 0;
    color: var(--text-2);
    font-size: 12px;
    text-align: right;
  }
  .inventory-stock-lots-total .num {
    color: var(--text);
    font-weight: 800;
  }
  .inventory-stock-empty {
    padding: 28px !important;
    color: var(--text-2);
    text-align: center;
  }
  .inventory-stock-pagination {
    padding: 14px 18px 18px;
  }
  .inventory-item-editor {
    max-width: 860px;
  }
  .inventory-item-editor-body {
    display: grid;
    gap: 14px;
  }
  .inventory-item-editor-kind {
    max-width: 320px;
  }
  .inventory-item-editor-section {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-2);
  }
  .inventory-item-editor-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-2);
  }
  .inventory-item-editor-step {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: var(--radius-pill);
    background: var(--color-orange-tint);
    color: var(--ink-orange);
    font-size: 12px;
    font-weight: 800;
  }
  .inventory-item-editor-section-head h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
  }
  .inventory-item-editor-section-head p {
    margin: 2px 0 0;
    color: var(--text-2);
    font-size: 11.5px;
  }
  .inventory-item-editor-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.7fr;
    align-items: start;
    gap: 12px;
    padding: 16px;
  }
  .inventory-item-editor-grid.control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inventory-item-editor-section > .pill {
    margin: 0 16px 16px;
  }
  .field-help {
    margin: 5px 0 0;
    color: var(--text-2);
    font-size: 11px;
    line-height: 1.45;
  }
  @media (max-width: 760px) {
    .inventory-stock-page-head {
      align-items: stretch;
    }
    .inventory-stock-head-actions {
      align-items: stretch;
      flex-direction: column;
      width: 100%;
      flex-basis: 100%;
    }
    .inventory-stock-warehouse,
    .inventory-stock-head-actions > .btn {
      width: 100%;
      max-width: none;
    }
    .inventory-stock-card-head {
      align-items: flex-start;
    }
    .inventory-stock-lots-panel {
      margin-left: 10px;
      margin-right: 10px;
    }
    .inventory-item-editor-grid,
    .inventory-item-editor-grid.control {
      grid-template-columns: 1fr;
    }
  }
}
.dark {
  --bg: #0f1822;
  --surface: #1b2b3b;
  --surface-2: #25394d;
  --line: #2f4458;
  --line-2: #2a3d54;
  --text: #f2efe8;
  --text-2: #c0ccd8;
  --text-3: #a5b5c5;
  --ink-orange: #fab28c;
  --ink-teal: #a2dbe3;
  --ink-green: #8fd9af;
  --ink-crimson: #f1a3b6;
  --color-orange-tint: #493a34;
  --color-teal-tint: #233f4b;
  --color-green-tint: #29483f;
  --color-crimson-tint: #412d3c;
  --color-skyteal-tint: #2b4856;
  --shadow-sm: 0 1px 0 rgba(0, 0, 0, 0.25), 0 2px 6px -2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 14px -6px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 40px -20px rgba(0, 0, 0, 0.6), 0 4px 12px -8px rgba(0, 0, 0, 0.4);
  --tint-warn: #3a2f12;
  --tint-warn-text: #f1c463;
}
@layer base {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html,
  body {
    margin: 0;
    padding: 0;
  }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
  }
  button {
    font-family: inherit;
    cursor: pointer;
  }
  ::selection {
    background: var(--color-orange-tint);
    color: var(--text);
  }
  .num {
    font-family: var(--font-mono);
    font-feature-settings: "tnum", "zero";
  }
}
@layer components {
  .app-shell {
    display: grid;
    grid-template-columns: auto 1fr;
    height: 100dvh;
    overflow: hidden;
  }
  .app-shell.focus-mode {
    grid-template-columns: 1fr;
  }
  .app-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }
  .app-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
  .focus-restore {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 110;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 800;
  }
  .sb {
    position: relative;
    width: 76px;
    background: var(--color-navy);
    color: #cfd7e0;
    transition: width 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 20;
  }
  .sb.open {
    width: 288px;
  }
  .sb-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 18px;
  }
  .logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #f4a57a 100%);
    display: grid;
    place-items: center;
    color: var(--color-navy-2);
    font-weight: 800;
    flex: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  .logo svg {
    width: 22px;
    height: 22px;
  }
  .logo-wm {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s 0.05s, transform 0.2s 0.05s;
  }
  .sb.open .logo-wm {
    opacity: 1;
    transform: none;
  }
  .logo-wm b {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 15px;
  }
  .logo-wm span {
    color: var(--color-skyteal);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .sb-tenant {
    margin: 4px 14px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .tenant-avatar {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--color-teal);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    flex: none;
  }
  .tenant-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s 0.05s;
    flex: 1;
    min-width: 0;
  }
  .sb.open .tenant-meta {
    opacity: 1;
  }
  .tenant-meta small {
    color: var(--color-skyteal);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .tenant-meta b {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tenant-switch {
    color: var(--color-skyteal);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .sb.open .tenant-switch {
    opacity: 0.7;
  }
  .sb-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 10px 76px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-navy-3) transparent;
  }
  .sb-nav::-webkit-scrollbar {
    width: 6px;
  }
  .sb-nav::-webkit-scrollbar-thumb {
    background: var(--color-navy-3);
    border-radius: 3px;
  }
  .sb-group-label {
    padding: 14px 14px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sidebar-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s;
  }
  .sb.open .sb-group-label {
    opacity: 1;
  }
  .sb:not(.open) .sb-group-label {
    height: 18px;
    padding-top: 14px;
    padding-bottom: 0;
    position: relative;
  }
  .sb:not(.open) .sb-group-label::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
  }
  .sb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 1px 0;
    border-radius: 11px;
    color: #cfd7e0;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
  }
  .sb-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }
  .sb-item .ico {
    width: 22px;
    height: 22px;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--color-skyteal);
  }
  .sb-item .ico svg {
    width: 20px;
    height: 20px;
  }
  .sb-item .lbl {
    flex: 1;
    opacity: 0;
    transition: opacity 0.15s;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sb.open .sb-item .lbl {
    opacity: 1;
  }
  .sb-item .chev {
    opacity: 0;
    color: var(--sidebar-muted);
    transition: transform 0.2s, opacity 0.2s;
  }
  .sb.open .sb-item .chev {
    opacity: 0.8;
  }
  .sb-item.expanded .chev {
    transform: rotate(90deg);
  }
  .sb-item .badge {
    background: var(--color-orange);
    color: var(--color-navy-2);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.15s;
  }
  .sb.open .sb-item .badge {
    opacity: 1;
  }
  .sb-item.soon {
    cursor: default;
    opacity: 0.55;
  }
  .sb-item.soon:hover {
    background: none;
    color: #cfd7e0;
  }
  .sb-item .soon-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sidebar-muted);
    font-weight: 700;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s;
  }
  .sb.open .sb-item .soon-tag {
    opacity: 1;
  }
  .sb-item.active {
    background: linear-gradient(90deg, rgba(246, 143, 96, 0.18), rgba(246, 143, 96, 0.04));
    color: #fff;
  }
  .sb-item.active .ico {
    color: var(--color-orange);
  }
  .sb-item.active::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--color-orange);
  }
  .sb-sub {
    overflow: hidden;
    height: 0;
    transition: height 0.25s ease;
  }
  .sb-sub-inner {
    padding: 2px 0 4px 8px;
    margin-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
  }
  .sb.open .sb-sub.open {
    height: auto;
  }
  .sb:not(.open) .sb-sub {
    height: 0 !important;
  }
  .sb-sub .sb-item {
    font-size: 13px;
    padding: 7px 12px;
    color: var(--sidebar-muted);
  }
  .sb-sub .sb-item:hover {
    color: #fff;
  }
  .sb-sub .sb-item .ico {
    width: 14px;
    height: 14px;
    color: #5c6b7a;
  }
  .sb-sub .sb-item .ico .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5c6b7a;
    display: block;
  }
  .sb-sub .sb-item:hover .ico .dot {
    background: var(--color-skyteal);
  }
  .sb-sub .sb-item.active .ico .dot {
    background: var(--color-orange);
  }
  .sb-sub .sb-item.active {
    color: #fff;
    background: transparent;
  }
  .sb-pin-toggle {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-skyteal);
    box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.75);
    z-index: 5;
    pointer-events: auto;
  }
  .sb-pin-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  .sb-pin-toggle.active {
    background: rgba(246, 143, 96, 0.18);
    border-color: rgba(246, 143, 96, 0.28);
    color: var(--color-orange);
  }
  .sb-foot {
    padding: 10px 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 6px;
  }
  .upgrade {
    background: linear-gradient(160deg, rgba(246, 143, 96, 0.16) 0%, rgba(13, 107, 117, 0.18) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    color: #fff;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
  }
  .sb.open .upgrade {
    opacity: 1;
    height: auto;
    padding: 14px;
    border-width: 1px;
  }
  .upgrade::before {
    content: "";
    position: absolute;
    right: -22px;
    top: -22px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(246, 143, 96, 0.55), transparent 70%);
  }
  .upgrade h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
  }
  .upgrade p {
    margin: 0 0 10px;
    font-size: 12px;
    color: #cfd7e0;
    line-height: 1.4;
  }
  .upgrade .bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 10px;
  }
  .upgrade .bar i {
    display: block;
    height: 100%;
    width: 46%;
    background: linear-gradient(90deg, var(--color-orange), var(--color-skyteal));
    border-radius: 99px;
  }
  .upgrade .upg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #fff;
    color: var(--color-navy-2);
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 12px;
  }
  .topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: transparent;
    flex: none;
  }
  .crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    flex: none;
    white-space: nowrap;
  }
  .crumbs .sep {
    color: var(--text-3);
  }
  .crumbs .here {
    color: var(--text);
    font-weight: 700;
  }
  .crumbs .home-ico {
    width: 18px;
    height: 18px;
    color: var(--ink-teal);
  }
  .search {
    flex: 1;
    max-width: 520px;
    margin-left: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 9px 14px;
    box-shadow: var(--shadow-sm);
  }
  .search input {
    border: 0;
    outline: 0;
    flex: 1;
    background: transparent;
    font-size: 13.5px;
    color: var(--text);
    font-family: inherit;
  }
  .search input::placeholder {
    color: var(--text-3);
  }
  .search .kbd {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: 5px;
    border: 1px solid var(--line);
  }
  .search svg {
    color: var(--text-3);
  }
  .tb-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }
  .icobtn {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--surface);
    display: grid;
    place-items: center;
    color: var(--text-2);
    position: relative;
    box-shadow: var(--shadow-sm);
    flex: none;
    text-decoration: none;
  }
  .icobtn:hover {
    color: var(--text);
    border-color: var(--text-3);
  }
  .icobtn .dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
    box-shadow: 0 0 0 2px var(--surface);
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-orange);
    color: var(--on-action);
    border: 0;
    border-radius: 11px;
    padding: 0 14px;
    height: 38px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    flex: none;
  }
  .btn-primary:hover:not(:disabled) {
    background: var(--color-orange-2);
  }
  .btn-primary svg {
    width: 16px;
    height: 16px;
  }
  .btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--color-orange);
    color: var(--on-action);
    border: 0;
    border-radius: 11px;
    padding: 0 14px;
    height: 38px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    flex: none;
  }
  .btn-orange:hover:not(:disabled) {
    background: var(--color-orange-2);
  }
  .btn-orange svg {
    width: 16px;
    height: 16px;
  }
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--text-2);
    border: 0;
    border-radius: 11px;
    padding: 0 12px;
    height: 38px;
    font-weight: 600;
    font-size: 13px;
  }
  .btn-ghost:hover {
    background: var(--surface-2);
    color: var(--text);
  }
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 0 14px;
    height: 38px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
  }
  .btn-outline:hover {
    border-color: var(--text-3);
  }
  .btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
    border: 1px solid color-mix(in srgb, #ba3351 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-crimson) 30%, transparent);
    }
    border-radius: 11px;
    padding: 0 14px;
    height: 38px;
    font-weight: 600;
    font-size: 13px;
  }
  .btn-danger:hover {
    background: color-mix(in srgb, #ba3351 18%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-crimson) 18%, transparent);
    }
  }
  .btn-green {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: color-mix(in srgb, #56ad7f 78%, black);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-green) 78%, black);
    }
    color: var(--on-action);
    border: 1px solid color-mix(in srgb, #56ad7f 78%, black);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-green) 78%, black);
    }
    border-radius: 11px;
    padding: 0 14px;
    height: 38px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
  }
  .btn-green:hover:not(:disabled) {
    background: color-mix(in srgb, #56ad7f 65%, black);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-green) 65%, black);
    }
  }
  .btn-success {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-orange);
    color: var(--on-action);
    border: 1px solid var(--color-orange);
    border-radius: 11px;
    padding: 0 14px;
    height: 38px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
  }
  .btn-success:hover:not(:disabled) {
    background: var(--color-orange-2);
  }
  .btn-success:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  .btn,
  .btn-primary,
  .btn-orange,
  .btn-outline,
  .btn-danger,
  .btn-ghost,
  .btn-green,
  .btn-success {
    justify-content: center;
    text-decoration: none;
    line-height: 1.3;
  }
  .btn svg,
  .btn-primary svg,
  .btn-orange svg,
  .btn-outline svg,
  .btn-danger svg,
  .btn-ghost svg,
  .btn-green svg,
  .btn-success svg {
    flex-shrink: 0;
  }
  button:focus-visible,
  a:focus-visible,
  input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--ink-teal);
    outline-offset: 3px;
  }
  button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  .btn-sm {
    height: 34px;
    font-size: 12.5px;
    padding: 0 12px;
  }
  .btn-md {
    height: 38px;
    font-size: 13px;
    padding: 0 16px;
  }
  .btn-lg {
    height: 44px;
    font-size: 14px;
    padding: 0 20px;
  }
  .btn-icon-only {
    aspect-ratio: 1;
    padding: 0;
    flex: none;
  }
  .user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 5px 5px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    position: relative;
    white-space: nowrap;
    flex: none;
  }
  .user-chip:hover {
    border-color: var(--text-3);
  }
  .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-teal), var(--color-skyteal));
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    display: grid;
    place-items: center;
    flex: none;
  }
  .user-chip .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.1;
  }
  .user-chip .role {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.1;
  }
  .user-chip .nm {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .user-chip .caret {
    color: var(--text-3);
    margin-left: 2px;
  }
  .menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 6px;
    width: 260px;
    box-shadow: var(--shadow-lg);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }
  .menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .menu .mhead {
    padding: 10px 12px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
  }
  .menu .mhead .avatar {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .menu .mhead .nm b {
    font-size: 13px;
    color: var(--text);
    font-weight: 700;
    display: block;
  }
  .menu .mhead .nm span {
    font-size: 12px;
    color: var(--text-3);
  }
  .menu .mitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
  }
  .menu .mitem:hover {
    background: var(--surface-2);
  }
  .menu .mitem svg {
    width: 16px;
    height: 16px;
    color: var(--text-2);
  }
  .menu .mitem .right {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-3);
  }
  .menu .msep {
    height: 1px;
    background: var(--line);
    margin: 6px 4px;
  }
  .menu .mitem.danger {
    color: var(--ink-crimson);
  }
  .menu .mitem.danger svg {
    color: var(--ink-crimson);
  }
  .theme-toggle {
    display: flex;
    background: var(--surface-2);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
    margin-left: auto;
  }
  .theme-toggle button {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 12px;
    color: var(--text-2);
    font-weight: 600;
  }
  .theme-toggle button.on {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
  }
  .page {
    padding: 6px 28px 36px;
    min-width: 0;
  }
  .page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .page-head h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .page-head .sub {
    margin-top: 4px;
    font-size: 13.5px;
    color: var(--text-2);
  }
  .seg {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 3px;
    box-shadow: var(--shadow-sm);
  }
  .seg button {
    border: 0;
    background: transparent;
    padding: 7px 14px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
  .seg button.on {
    background: var(--color-navy);
    color: #fff;
  }
  .seg button svg {
    width: 13px;
    height: 13px;
  }
  .tabs {
    display: flex;
    gap: 2px;
    background: var(--surface-2);
    padding: 3px;
    border-radius: 11px;
    border: 1px solid var(--line);
  }
  .tabs button {
    border: 0;
    background: transparent;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    white-space: nowrap;
  }
  .tabs button.on {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
  }
  .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
  }
  .input {
    width: 100%;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--text);
    font-size: 13.5px;
    font-family: inherit;
    outline: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .input::placeholder {
    color: var(--text-3);
  }
  .input:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px var(--color-teal-tint);
  }
  .input.error {
    border-color: var(--color-crimson);
  }
  .input.error:focus {
    box-shadow: 0 0 0 3px var(--color-crimson-tint);
  }
  .input-wrap {
    position: relative;
  }
  .input-wrap .input {
    padding-right: 44px;
  }
  .input-action {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-3);
  }
  .input-action:hover {
    background: var(--surface-2);
    color: var(--text);
  }
  .input-action:focus-visible {
    outline: 2px solid var(--color-teal);
    outline-offset: 1px;
  }
  input.input[type="number"]::-webkit-outer-spin-button,
  input.input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  input.input[type="number"] {
    -moz-appearance: textfield;
  }
  select.input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 26px;
    background-repeat: no-repeat;
    background-position: right 9px center;
    background-size: 9px 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235c6b7a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  select.input::-ms-expand {
    display: none;
  }
  .dark select.input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a8b5c3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  .combo-wrap {
    position: relative;
  }
  .combo-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 220px;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .combo-panel.above {
    top: auto;
    bottom: calc(100% + 6px);
  }
  .combo-empty {
    padding: 7px 10px;
    font-size: 13px;
    color: var(--text-3);
  }
  .combo-option {
    text-align: left;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--text);
  }
  .combo-option:hover,
  .combo-option.active {
    background: var(--color-orange-tint);
    color: var(--ink-orange);
    border-color: var(--color-orange);
  }
  .card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
  }
  .card .ch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .card .ch > * {
    min-width: 0;
  }
  .card .ch > :last-child {
    flex: none;
  }
  .card .ch h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.005em;
    white-space: nowrap;
  }
  .card .ch .sub {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 500;
    white-space: nowrap;
  }
  .pill {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.01em;
  }
  .pill.up {
    background: var(--color-green-tint);
    color: var(--ink-green);
  }
  .pill.dn {
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
  }
  .pill.warn {
    background: var(--tint-warn);
    color: var(--tint-warn-text);
  }
  .pill.info {
    background: var(--color-skyteal-tint);
    color: var(--ink-teal);
  }
  .pill.neutral {
    background: var(--surface-2);
    color: var(--text-2);
  }
  .pill.hot {
    background: var(--color-orange-tint);
    color: var(--ink-orange);
  }
  .dark .pill.hot {
    background: var(--color-orange-tint);
    color: var(--ink-orange);
  }
  .dark .pill.up {
    background: var(--color-green-tint);
    color: var(--ink-green);
  }
  .dark .pill.dn {
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
  }
  .dark .pill.info {
    background: var(--color-skyteal-tint);
    color: var(--ink-teal);
  }
  .page.kds {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 12px);
    padding: 12px 16px 16px;
    gap: 14px;
  }
  .kds-head {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .kds-head h1 {
    margin: 0;
  }
  .kds-head .sub {
    margin: 2px 0 0;
    color: var(--text-2);
    font-size: 15px;
  }
  .kds-counts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .kds-head-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .app-shell.focus-mode .kds-head-right {
    margin-right: 168px;
  }
  .kds-clock {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-2);
  }
  .kds-icobtn {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    touch-action: manipulation;
  }
  .kds-icobtn:active {
    background: var(--surface-2);
  }
  .kds-stale {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--tint-warn);
    color: var(--tint-warn-text);
    font-size: 14px;
    font-weight: 700;
  }
  .kds-stale .kds-secondary {
    margin-left: auto;
  }
  .kds-board {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: stretch;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;
    user-select: none;
    padding-bottom: 6px;
  }
  .kds-board.is-stale {
    opacity: 0.55;
  }
  .kds-group {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    gap: 14px;
    align-items: stretch;
  }
  .kds-group-header {
    flex: 0 0 64px;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-right: 2px dashed var(--line);
    margin-right: 4px;
    color: var(--text-2);
  }
  .kds-group-date {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .kds-group-hour {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
  }
  .kds-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: var(--text-2);
    padding: 40px 20px;
  }
  .kds-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: var(--color-green-tint);
    color: var(--ink-green);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .kds-empty h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
  }
  .kds-empty p {
    margin: 0;
    font-size: 16px;
  }
  .kds-t {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 360px;
    width: 360px;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    padding: 14px;
  }
  .kds-t--critical {
    border-width: 3px;
  }
  .kds-t--overdue {
    border-width: 4px;
    background: #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-crimson) 6%, var(--surface));
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    .kds-t--overdue {
      animation: kds-pulse 2.2s ease-in-out infinite;
    }
  }
  @keyframes kds-pulse {
    0%,
    100% {
      box-shadow: var(--shadow-sm);
    }
    50% {
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-crimson) 26%, transparent), var(--shadow-sm);
    }
  }
  .kds-t--done {
    opacity: 0.72;
  }
  .kds-t.is-busy {
    opacity: 0.6;
  }
  .kds-t--locked {
    opacity: 0.85;
    background: var(--surface-2);
  }
  .kds-t-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .kds-t-code {
    font-size: 23px;
    font-weight: 800;
  }
  .kds-t-customer {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-2);
  }
  .kds-t-note {
    font-size: 15px;
    font-style: italic;
    color: var(--text-2);
    background: var(--surface-2);
    border-radius: 10px;
    padding: 6px 10px;
  }
  .kds-t-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .kds-t-count {
    font-size: 32px;
    font-weight: 800;
  }
  .kds-detail-toggle {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 16px;
    font-weight: 700;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .kds-detail-toggle:active {
    transform: scale(0.985);
  }
  .kds-detail-toggle[aria-expanded="true"] {
    background: var(--color-skyteal);
    color: var(--on-action);
    border-color: transparent;
  }
  .kds-t-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--surface-2);
    font-size: 15px;
  }
  .kds-t-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    margin: -10px -12px 4px;
    border-radius: 12px 12px 0 0;
    background: var(--color-navy);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
  }
  .kds-t-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--text-2);
  }
  .kds-t-detail-row span:last-child {
    color: var(--text);
    font-weight: 700;
  }
  .kds-t-completeness {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-weight: 800;
  }
  .kds-t-completeness.is-complete {
    color: var(--ink-green);
  }
  .kds-t-completeness.is-incomplete {
    color: var(--ink-crimson);
  }
  .kds-alert-btn {
    margin-top: 4px;
    background: var(--tint-warn);
    color: var(--tint-warn-text);
    border-color: transparent;
  }
  .kds-t-lines {
    max-height: 42vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    padding-top: 6px;
  }
  .kds-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 18px;
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    touch-action: manipulation;
  }
  .kds-line:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .kds-line-check {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 6px;
    border: 2px solid var(--line);
    background: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--on-action);
  }
  .kds-line.is-checked .kds-line-check {
    background: var(--color-green);
    border-color: var(--color-green);
  }
  .kds-line.is-checked .kds-line-qty,
  .kds-line.is-checked .kds-line-name {
    color: var(--text-3);
    text-decoration: line-through;
  }
  .kds-line-qty {
    font-weight: 800;
    color: var(--text-2);
    min-width: 34px;
  }
  .kds-line-arrow {
    color: var(--text-3);
  }
  .kds-line-opts {
    color: var(--text-2);
    font-size: 15px;
  }
  .kds-line-sub {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--color-orange-tint);
    color: var(--color-orange);
    font-size: 13px;
    font-weight: 700;
  }
  .kds-line-pick-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 0 6px;
  }
  .kds-line-pick {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--color-teal-tint);
    color: var(--color-teal);
    font-size: 13px;
    width: fit-content;
    max-width: 100%;
  }
  .kds-line-pick-row {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .kds-line-pick-name {
    font-weight: 700;
  }
  .kds-line-pick-qty {
    margin-left: 4px;
    font-weight: 700;
  }
  .kds-line-pick-sub {
    padding-left: 17px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
  }
  .kds-t-foot {
    margin-top: auto;
  }
  .kds-t-done-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-green);
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    padding: 12px 0;
  }
  .kds-t-locked-label {
    color: var(--text-2);
  }
  .kds-advance {
    width: 100%;
    min-height: 64px;
    border: 0;
    border-radius: 14px;
    font-size: 19px;
    font-weight: 800;
    color: var(--on-action);
    background: var(--color-orange);
    box-shadow: var(--shadow-sm);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .kds-advance:active {
    transform: scale(0.985);
  }
  .kds-advance:disabled {
    opacity: 0.6;
  }
  .kds-advance:hover:not(:disabled) {
    background: var(--color-orange-2);
  }
  .kds-secondary {
    min-height: 48px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 16px;
    font-weight: 700;
    touch-action: manipulation;
  }
  .kds-undo {
    background: var(--tint-warn);
    color: var(--tint-warn-text);
    border-color: transparent;
  }
  .order-page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
  }
  .order-status-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }
  .order-status-tabs button {
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-2);
    border-radius: 11px;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .order-status-tabs button:hover:not(.on) {
    border-color: var(--text-3);
    background: var(--surface-2);
    color: var(--text);
  }
  .order-status-tabs button.on {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--on-navy);
  }
  .order-status-tabs button.completed-tab {
    color: var(--ink-green);
  }
  .dark .order-status-tabs button.completed-tab {
    color: var(--ink-green);
  }
  .order-status-tabs button.on.completed-tab,
  .dark .order-status-tabs button.on.completed-tab {
    border-color: var(--color-green);
    background: var(--color-green);
    color: var(--color-navy-2);
  }
  .order-status-tabs button.on.cancelled-tab,
  .dark .order-status-tabs button.on.cancelled-tab {
    border-color: var(--color-crimson);
    background: var(--color-crimson);
    color: var(--on-action);
  }
  .order-create-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: var(--color-orange);
    color: var(--on-action);
    padding: 0 16px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
  }
  .order-create-btn:hover {
    background: var(--color-orange-2);
  }
  .order-create-modal {
    width: min(1440px, 100%);
    max-height: calc(100vh - 32px);
  }
  .order-create-modal .woo-modal-body {
    overscroll-behavior: contain;
  }
  .order-create-form {
    min-width: 0;
  }
  .order-create-form > .pill {
    margin-bottom: 14px;
  }
  .order-create-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, 1fr);
    gap: 16px;
    align-items: start;
  }
  .order-create-grid > .card {
    min-width: 0;
  }
  .order-create-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.72fr);
    gap: 14px;
    align-items: end;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
  }
  .order-create-stage-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
  }
  .order-create-step {
    color: var(--ink-orange);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .order-create-stage-copy b {
    color: var(--text);
    font-size: 13.5px;
  }
  .order-create-stage-copy p {
    margin: 0;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.45;
  }
  .order-create-stage .field {
    min-width: 0;
  }
  .orders-board {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .orders-page {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
  }
  .orders-list-panel,
  .order-detail-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
  }
  .orders-list-panel {
    padding: 12px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 0;
    overflow: hidden;
  }
  .orders-list-header {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 12px;
  }
  .orders-list-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px 38px;
    gap: 8px;
  }
  .catalog-board {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .catalog-board.list-hidden {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-board.list-hidden .catalog-list-panel {
    display: none;
  }
  .catalog-list-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 12px;
    display: grid;
    gap: 12px;
  }
  .catalog-detail-panel {
    overflow: hidden;
  }
  .catalog-line-item {
    width: 100%;
    display: flex;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    padding: 10px 12px;
    text-align: left;
  }
  .catalog-line-item:hover,
  .catalog-line-item.active {
    border-color: var(--color-skyteal);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #83c5cf 45%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-skyteal) 45%, transparent);
    }
  }
  .orders-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-3);
  }
  .orders-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
  }
  .orders-search input::placeholder {
    color: var(--text-3);
  }
  .orders-tool-btn {
    height: 38px;
    width: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-2);
  }
  .orders-tool-btn:hover {
    color: var(--text);
    border-color: var(--text-3);
  }
  .fbar {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .fbar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .fbar-row--end {
    justify-content: flex-end;
  }
  .fbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-3);
  }
  .fbar-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
  }
  .fbar-search input::placeholder {
    color: var(--text-3);
  }
  .fbar-search button {
    background: none;
    border: none;
    color: var(--text-3);
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }
  .fbar-tool-wrap {
    position: relative;
  }
  .fbar-tool {
    height: 38px;
    width: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-2);
    position: relative;
  }
  .fbar-tool:hover {
    color: var(--text);
    border-color: var(--text-3);
  }
  .fbar-tool-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-orange);
    box-shadow: 0 0 0 2px var(--surface);
  }
  .fbar-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .fbar-dropdown p {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
  }
  .fbar-dropdown-empty {
    font-size: 13px;
    color: var(--text-3);
  }
  .fbar-dropdown button:not(.btn) {
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: var(--surface-2);
    color: var(--text);
  }
  .fbar-dropdown button.on {
    background: var(--color-orange-tint);
    color: var(--ink-orange);
    border-color: var(--color-orange);
  }
  .fbar-dropdown-clear {
    font-size: 12px;
    color: var(--ink-crimson);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 4px 2px;
  }
  .fbar-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .fbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-orange-tint);
    color: var(--ink-orange);
    border: 1px solid var(--color-orange);
    border-radius: 999px;
    padding: 3px 8px 3px 10px;
    font-size: 12px;
    font-weight: 700;
  }
  .fbar-chip button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    line-height: 1;
    padding: 0;
  }
  .crm-customers-filter-card {
    margin-bottom: 15px;
  }
  .crm-customers-list-card {
    overflow: hidden;
  }
  .crm-customers-table {
    min-width: 720px;
  }
  .crm-customer-row {
    cursor: pointer;
    outline: none;
  }
  .crm-customer-row td {
    transition: background-color 0.15s ease;
  }
  .crm-customer-row:hover td,
  .crm-customer-row:focus-visible td {
    background: var(--surface-2);
  }
  .crm-customer-row:focus-visible td:first-child {
    box-shadow: inset 3px 0 0 var(--color-orange);
  }
  .crm-customer-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .crm-customer-identity > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .crm-customer-identity b {
    color: var(--text);
    font-size: 13px;
  }
  .crm-customer-identity small {
    color: var(--text-2);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .crm-customer-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
    font-size: 13px;
    font-weight: 800;
  }
  .crm-customer-open-hint {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
  }
  .crm-customer-row:hover .crm-customer-open-hint,
  .crm-customer-row:focus-visible .crm-customer-open-hint {
    color: var(--ink-orange);
  }
  .orders-list {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 3px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--text-3) transparent;
  }
  .order-list-item {
    width: 100%;
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    padding: 12px;
    text-align: left;
  }
  .order-list-item:hover,
  .order-list-item.active {
    border-color: var(--color-skyteal);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #83c5cf 45%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-skyteal) 45%, transparent);
    }
  }
  .order-channel-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text-3);
    flex: none;
  }
  .order-channel-icon.lg {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .order-list-main {
    min-width: 0;
    display: grid;
    gap: 5px;
  }
  .order-list-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
  }
  .order-list-top b,
  .order-list-top strong {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .order-list-top strong {
    font-family: var(--font-mono);
  }
  .order-list-sub {
    font-size: 12px;
    color: var(--text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .order-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .order-progress i {
    height: 4px;
    border-radius: 99px;
    background: var(--line);
  }
  .order-progress i.done {
    background: var(--color-skyteal);
  }
  .order-progress.completed i.done {
    background: #1f7a4d;
  }
  .dark .order-progress.completed i.done {
    background: #8fd9af;
  }
  .order-detail-panel {
    overflow: hidden;
  }
  .orders-page .order-detail-panel {
    min-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .order-detail-scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .order-detail-head {
    min-height: 78px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .order-detail-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }
  .order-detail-title h2 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.2;
  }
  .order-detail-title p {
    margin: 5px 0 0;
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 600;
  }
  .order-head-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: none;
    flex-wrap: wrap;
  }
  .order-detail-primary-action {
    position: sticky;
    bottom: 0;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .order-head-actions button:not(.btn) {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--text-3);
  }
  .order-head-actions button.order-actions-trigger {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    box-shadow: var(--shadow-sm);
  }
  .order-head-actions button.order-actions-trigger:hover:not(:disabled) {
    border-color: var(--text-3);
    color: var(--ink-orange);
  }
  .order-head-actions .order-edit-btn {
    width: auto;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text);
    padding: 0 14px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
  }
  .order-head-actions .order-edit-btn:hover {
    border-color: var(--color-orange);
    color: var(--ink-orange);
  }
  .order-head-actions .label-print-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 34px;
    padding: 0 12px;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
  }
  .order-head-actions .label-print-btn:hover {
    background: var(--surface-2);
    border-color: var(--text-3);
  }
  .order-head-actions .label-print-btn svg {
    color: currentColor;
  }
  .woo-status-select {
    height: 34px;
    min-width: 170px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    padding: 0 10px;
    outline: 0;
  }
  .woo-status-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  .order-section {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .order-section h3 {
    margin: 0 0 12px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .order-section p {
    margin: 5px 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
  }
  .order-section p.order-field-highlight {
    font-size: 15px;
    font-weight: 750;
  }
  .order-contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .order-contact-link {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-2);
    color: var(--ink-orange);
    box-shadow: var(--shadow-sm);
  }
  .order-contact-link.whatsapp {
    color: var(--ink-green);
  }
  .order-contact-link:hover {
    border-color: currentColor;
    background: currentColor;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, currentColor 10%, var(--surface-2));
    }
  }
  .order-products {
    display: grid;
    gap: 12px;
  }
  .order-products-head,
  .order-product-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px 82px 170px;
    gap: 16px;
    align-items: center;
  }
  .order-products-head {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 800;
  }
  .order-product-row {
    color: var(--text);
    font-size: 13px;
  }
  .order-product-entry {
    display: grid;
    gap: 0;
  }
  .order-product-row.product-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    border-radius: 10px;
    padding: 4px 6px;
    margin: -4px -6px;
  }
  .order-product-row.product-toggle:hover,
  .order-product-row.product-toggle.expanded {
    background: var(--surface-2);
  }
  .order-product-name {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
  }
  .order-product-name b {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .order-product-name svg {
    flex: none;
    color: var(--ink-orange);
  }
  .order-product-row b,
  .order-product-row strong {
    font-weight: 700;
  }
  .order-product-row span {
    color: var(--text-2);
    font-weight: 600;
  }
  .order-product-row .order-product-name {
    color: var(--text);
  }
  .order-products-head span:nth-child(3),
  .order-product-row .num {
    text-align: center;
  }
  .order-products-head span:nth-child(4),
  .order-product-row strong,
  .order-products-total b {
    text-align: right;
    font-family: var(--font-mono);
  }
  .order-product-row .num {
    color: var(--text);
    font-weight: 900;
  }
  .order-product-description {
    margin: 8px 0 4px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.55;
    white-space: pre-line;
  }
  .order-product-description h2,
  .order-product-description h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 900;
  }
  .order-product-description p {
    margin: 0 0 8px;
  }
  .order-product-description p:last-child {
    margin-bottom: 0;
  }
  .order-product-description ul,
  .order-product-description ol {
    margin: 8px 0;
    padding-left: 18px;
  }
  .order-product-description strong,
  .order-product-description b {
    color: var(--text);
  }
  .order-products-total {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px 82px 170px;
    gap: 16px;
    align-items: baseline;
    padding-top: 8px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .order-products-total span {
    grid-column: 1 / 4;
    text-align: right;
  }
  .order-products-total b {
    grid-column: 4;
    color: var(--text);
    font-size: 15px;
  }
  .order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
  }
  .order-info-grid .order-section {
    border-bottom: 0;
  }
  .order-info-grid .order-section + .order-section {
    border-left: 1px solid var(--line);
  }
  .order-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "customer delivery"
      "payment delivery"
      "documents delivery";
    align-items: start;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--surface-2) 54%, var(--surface));
    }
  }
  .order-overview-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .order-customer-card {
    grid-area: customer;
  }
  .order-delivery-card {
    grid-area: delivery;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .order-payment-card {
    grid-area: payment;
  }
  .order-documents-card {
    grid-area: documents;
  }
  .order-overview-head,
  .order-modal-card-head,
  .customer-modal-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .order-overview-head > span:first-child,
  .order-modal-card-head > span:first-child,
  .customer-modal-section-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 10px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .order-overview-head > div,
  .order-modal-card-head > div,
  .customer-modal-section-head > div {
    flex: 1;
    min-width: 0;
  }
  .order-overview-card h3,
  .order-modal-card h4,
  .customer-modal-card h4 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
  }
  .order-overview-head small,
  .order-modal-card-head p,
  .customer-modal-section-head p {
    display: block;
    margin: 2px 0 0;
    color: var(--text-3);
    font-size: 12px;
    font-weight: 600;
  }
  .order-overview-card p {
    margin: 6px 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
  }
  .order-overview-card .num {
    font-size: 12px;
  }
  .order-overview-card a {
    color: var(--ink-teal);
    font-weight: 800;
  }
  .order-overview-note {
    padding: 9px 11px;
    border-left: 3px solid var(--color-orange);
    border-radius: 8px;
    background: var(--color-orange-tint);
  }
  .order-delivery-address-block {
    min-width: 0;
    display: grid;
    gap: 10px;
  }
  .order-delivery-main {
    width: 100%;
    max-width: 700px;
    min-height: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    margin-inline: auto;
    padding-block: 12px;
  }
  .order-delivery-address-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .order-delivery-address-row > .order-delivery-address-block,
  .order-delivery-address-row > .order-delivery-street {
    min-width: 0;
    flex: 1;
  }
  .order-delivery-label-btn {
    flex: none;
    border: 0;
    background: var(--surface-2);
    color: var(--text-2);
    box-shadow: none;
  }
  .order-delivery-label-btn:hover:not(:disabled) {
    background: var(--surface-2);
    color: var(--text);
  }
  .order-delivery-street {
    display: grid;
    gap: 3px;
    margin: 0 !important;
    color: var(--text) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }
  .order-delivery-street > span {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .order-delivery-street.empty {
    color: var(--text-3) !important;
  }
  .order-delivery-location {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .order-delivery-location > span,
  .order-delivery-logistics > span {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .order-delivery-location small,
  .order-delivery-logistics small {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
  }
  .order-delivery-location b,
  .order-delivery-logistics b,
  .order-delivery-logistics a {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
  }
  .order-delivery-window {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 5px 14px;
    margin-top: 40px;
    padding: 12px 14px;
    border: 1px solid #f68f60;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-orange) 34%, var(--line));
    }
    border-radius: 12px;
    background: var(--color-orange-tint);
    color: var(--ink-orange);
  }
  .order-delivery-window > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
  }
  .order-delivery-window > strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
  }
  .order-delivery-window > small {
    grid-column: 1 / -1;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 650;
  }
  .order-delivery-logistics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    flex: none;
  }
  .order-delivery-logistics > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .order-delivery-logistics a {
    color: var(--ink-teal);
  }
  .order-delivery-logistics .pill {
    width: fit-content;
    font-size: 12px;
  }
  .order-delivery-logistics.empty b {
    color: var(--text-3);
  }
  .order-overview-documents {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
  }
  .order-overview-documents .btn {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding-inline: 10px;
  }
  .order-overview-documents .btn > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .order-customer-actions,
  .order-customer-head-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .order-customer-actions {
    margin-top: 12px;
  }
  .order-customer-head-actions {
    flex: none;
    margin-left: auto;
  }
  .order-customer-profile-btn,
  .order-customer-history-btn,
  .order-delivery-edit-btn {
    border: 0;
    box-shadow: none;
  }
  .order-customer-profile-btn,
  .order-customer-history-btn {
    background: var(--surface-2);
    color: var(--text-2);
  }
  .order-delivery-edit-btn {
    background: var(--surface-2);
    color: var(--text-2);
  }
  .order-customer-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr);
    gap: 18px;
  }
  .order-customer-contact > span {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .order-customer-contact small,
  .order-customer-warehouse small,
  .order-payment-meta small {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .order-customer-contact b {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
  }
  .order-customer-contact .num {
    font-size: 14px;
  }
  .order-customer-warehouse {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    color: var(--ink-teal);
  }
  .order-customer-warehouse > span {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 7px;
  }
  .order-customer-warehouse b {
    overflow-wrap: anywhere;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 750;
  }
  .order-payment-head {
    margin-bottom: 12px;
  }
  .order-payment-status {
    flex: none;
    font-size: 12px;
  }
  .order-payment-status.pending {
    background: var(--tint-warn);
    color: var(--tint-warn-text);
  }
  .order-payment-status.paid {
    background: var(--color-green-tint);
    color: var(--ink-green);
  }
  .order-payment-status.neutral {
    background: var(--surface-2);
    color: var(--text-2);
  }
  .order-payment-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .order-payment-summary.pending {
    border-color: var(--tint-warn-text);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--tint-warn-text) 22%, var(--line));
    }
    background: var(--tint-warn);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--tint-warn) 72%, var(--surface));
    }
  }
  .order-payment-summary.paid {
    border-color: #56ad7f;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-green) 24%, var(--line));
    }
    background: #e6f3ec;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-green-tint) 68%, var(--surface));
    }
  }
  .order-payment-total {
    min-width: max-content;
    display: grid;
    justify-items: end;
    gap: 3px;
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }
  .order-payment-total > span {
    color: var(--text-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .order-payment-total > strong {
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
  }
  .order-payment-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .order-payment-meta > span {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .order-payment-meta b {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
  }
  .order-payment-note {
    margin: 13px 0 0 !important;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--text-2) !important;
    font-size: 12px !important;
  }
  .order-modal-stack,
  .customer-modal-stack {
    display: grid;
    gap: 14px;
  }
  .order-detail-drawer {
    width: min(620px, 100%);
  }
  .order-detail-drawer .woo-modal-body {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-right: 6px;
  }
  .payment-detail-modal.has-order-panel,
  .invoice-detail-modal.has-order-panel,
  .shipment-detail-modal.has-order-panel {
    width: min(1560px, calc(100vw - 48px));
  }
  .payment-detail-modal.has-order-panel .woo-modal-body,
  .invoice-detail-modal.has-order-panel .woo-modal-body,
  .shipment-detail-modal.has-order-panel .woo-modal-body {
    min-height: 0;
    overflow: hidden;
  }
  .payment-detail-workspace,
  .payment-detail-pane,
  .invoice-detail-workspace,
  .invoice-detail-pane,
  .shipment-detail-workspace,
  .shipment-detail-pane {
    min-width: 0;
  }
  .payment-detail-workspace.has-order-panel,
  .invoice-detail-workspace.has-order-panel,
  .shipment-detail-workspace.has-order-panel {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(620px, 1fr) minmax(420px, 520px);
    align-items: stretch;
    gap: 14px;
  }
  .payment-detail-workspace.has-order-panel .payment-detail-pane,
  .invoice-detail-workspace.has-order-panel .invoice-detail-pane,
  .shipment-detail-workspace.has-order-panel .shipment-detail-pane {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-right: 4px;
  }
  .order-detail-embedded {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
  }
  .order-detail-embedded-head {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }
  .order-detail-embedded-head > div {
    min-width: 0;
  }
  .order-detail-embedded-head h3 {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 16px;
    font-weight: 850;
  }
  .order-detail-embedded-head p {
    margin: 4px 0 0;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.4;
  }
  .order-detail-embedded-head .icobtn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
  }
  .order-detail-embedded-body {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 12px;
  }
  .order-drawer-stack {
    display: grid;
    gap: 12px;
  }
  .order-drawer-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(
      135deg,
      #0d6b75,
      var(--surface)
    );
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-teal) 9%, var(--surface)),
      var(--surface)
    );
    }
  }
  .order-drawer-hero-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 13px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .order-drawer-hero > div {
    min-width: 0;
    display: grid;
    gap: 2px;
    flex: 1;
  }
  .order-drawer-hero small {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .order-drawer-hero strong {
    color: var(--text);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.2;
  }
  .order-drawer-hero > div > span {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 650;
  }
  .order-drawer-hero > .pill {
    align-self: flex-start;
    flex: none;
  }
  .order-drawer-card {
    min-width: 0;
    padding: 15px;
  }
  .order-drawer-card h4 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
  }
  .order-drawer-lines {
    display: grid;
  }
  .order-drawer-line {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    padding-right: 10px;
    padding-bottom: 8px;
  }
  .order-drawer-line > div {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .order-drawer-line b {
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
  }
  .order-drawer-line small {
    color: var(--text-3);
    font-size: 11.5px;
    line-height: 1.35;
  }
  .order-drawer-line > strong {
    flex: none;
    color: var(--text-2);
    font-size: 12.5px;
  }
  .order-drawer-detail-list {
    display: grid;
    gap: 7px;
  }
  .order-drawer-detail-list > div {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
  }
  .order-drawer-detail-list span {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .order-drawer-detail-list b {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.45;
  }
  .order-drawer-loader {
    min-height: 420px;
    display: grid;
    place-items: center;
  }
  @media (max-width: 980px) {
    .payment-detail-modal.has-order-panel .woo-modal-body,
    .invoice-detail-modal.has-order-panel .woo-modal-body,
    .shipment-detail-modal.has-order-panel .woo-modal-body {
      overflow-y: auto;
    }
    .payment-detail-workspace.has-order-panel,
    .invoice-detail-workspace.has-order-panel,
    .shipment-detail-workspace.has-order-panel {
      height: auto;
      grid-template-columns: 1fr;
    }
    .payment-detail-workspace.has-order-panel .payment-detail-pane,
    .invoice-detail-workspace.has-order-panel .invoice-detail-pane,
    .shipment-detail-workspace.has-order-panel .shipment-detail-pane {
      overflow: visible;
      padding-right: 0;
    }
    .order-detail-embedded {
      max-height: min(640px, 68vh);
    }
  }
  .order-modal-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 14px;
    align-items: start;
  }
  .order-modal-card,
  .customer-modal-card {
    padding: 16px;
  }
  .order-modal-card-head > .pill {
    flex: none;
  }
  .order-modal-lines {
    display: grid;
  }
  .order-modal-line {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .order-modal-line > div {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .order-modal-line b {
    color: var(--text);
    font-size: 13px;
  }
  .order-modal-line small {
    color: var(--text-3);
    font-size: 12px;
  }
  .order-modal-line strong {
    flex: none;
    color: var(--text);
    font-size: 13px;
  }
  .order-modal-totals {
    display: grid;
    gap: 9px;
  }
  .order-modal-totals > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-2);
    font-size: 13px;
  }
  .order-modal-totals b {
    color: var(--text);
    text-align: right;
  }
  .order-modal-totals .total {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
  }
  .order-modal-detail-grid,
  .customer-modal-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }
  .order-modal-detail-grid > div,
  .customer-modal-fields > div {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
  }
  .order-modal-detail-grid > .wide,
  .customer-modal-fields > .wide {
    grid-column: 1 / -1;
  }
  .order-modal-detail-grid span,
  .customer-modal-fields span {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .order-modal-detail-grid b,
  .customer-modal-fields b {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
  }
  .order-modal-documents,
  .customer-modal-list {
    display: grid;
    gap: 8px;
  }
  .order-modal-documents > div,
  .customer-modal-list > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-2);
  }
  .order-modal-documents > div > span,
  .customer-modal-list > div > span:not(.pill) {
    display: grid;
    gap: 2px;
  }
  .order-modal-documents b,
  .customer-modal-list b {
    color: var(--text);
    font-size: 13px;
  }
  .order-modal-documents small,
  .customer-modal-list small {
    color: var(--text-3);
    font-size: 12px;
  }
  .order-modal-empty,
  .customer-modal-empty {
    margin: 0;
    color: var(--text-3);
    font-size: 13px;
  }
  .customer-modal-loader {
    min-height: 260px;
    display: grid;
    place-items: center;
  }
  .customer-edit-form {
    display: grid;
    gap: 14px;
  }
  .customer-edit-primary-fields,
  .address-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .customer-address-block {
    display: grid;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .customer-address-block > div:first-child b {
    color: var(--text);
    font-size: 13px;
  }
  .customer-address-block > div:first-child p {
    margin: 3px 0 0;
    color: var(--text-3);
    font-size: 12px;
  }
  .customer-document-note {
    margin: 0;
    color: var(--text-3);
    font-size: 12px;
  }
  .customer-inline-form {
    display: grid;
    grid-template-columns: minmax(150px, 0.7fr) minmax(220px, 1fr) auto;
    align-items: end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .customer-segment-form {
    grid-template-columns: minmax(220px, 1fr) auto;
  }
  .customer-identity-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
    flex: 1;
  }
  .customer-modal-list .btn {
    margin-left: auto;
  }
  .customer-segment-remove {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
  }
  .customer-segment-remove:hover:not(:disabled) {
    background: var(--surface-2);
  }
  .customer-history-card {
    padding: 16px;
  }
  .customer-history-card h4 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
  }
  .customer-modal-table-wrap {
    overflow-x: auto;
  }
  .customer-modal-table th,
  .customer-modal-table td {
    white-space: nowrap;
  }
  .customer-modal-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .customer-modal-segments .pill i {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 999px;
  }
  .order-delivery-grid {
    border-bottom: 1px solid var(--line);
  }
  .paid {
    color: var(--ink-green);
  }
  .pending {
    color: var(--ink-orange);
  }
  .order-note {
    margin: 16px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, #83c5cf 65%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-skyteal) 65%, transparent);
    }
    border-radius: 13px;
    background: color-mix(in srgb, #83c5cf 16%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-skyteal) 16%, transparent);
    }
    color: var(--text);
    font-size: 13px;
    line-height: 1.45;
  }
  .order-note.in-section {
    margin: 12px 0 0;
  }
  .order-note span {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--color-orange);
    color: var(--on-action);
    font-weight: 900;
    font-size: 12px;
  }
  .order-next-step {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    padding: 16px;
    border-top: 1px solid var(--line);
    background: var(--surface);
  }
  .order-next-step-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: var(--color-orange);
    color: var(--on-action);
    padding: 0 18px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
  }
  .order-next-step-btn:hover:not(:disabled) {
    background: var(--color-orange-2);
  }
  .order-next-step-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
  }
  .order-edit-modal {
    width: min(1120px, 100%);
  }
  .order-edit-body {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    align-items: start;
    gap: 16px;
  }
  .order-edit-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .order-edit-title {
    margin: 0;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .order-edit-items {
    display: grid;
    gap: 8px;
  }
  .order-edit-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .order-edit-item.removed {
    opacity: 0.68;
    background: #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-crimson) 7%, var(--surface-2));
    }
  }
  .order-edit-item-main {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .order-edit-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
  }
  .order-edit-item small {
    color: var(--text-3);
    font-size: 12px;
    font-weight: 750;
  }
  .order-edit-item input {
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 900;
  }
  .order-edit-item input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  .order-edit-products-panel {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-2);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--surface-2) 78%, var(--surface));
    }
    box-shadow: var(--shadow-sm);
  }
  .order-edit-products-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
  }
  .order-edit-products-head h4 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
  }
  .order-edit-products-head p {
    max-width: 260px;
    margin: 4px 0 0;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
  }
  .order-edit-total {
    flex: none;
    display: grid;
    gap: 3px;
    text-align: right;
  }
  .order-edit-total span {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .order-edit-total strong {
    color: var(--ink-green);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 900;
  }
  .order-edit-remove-btn,
  .order-edit-restore-btn {
    min-height: 34px;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 900;
  }
  .order-edit-remove-btn {
    border: 1px solid #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-crimson) 55%, var(--line));
    }
    background: transparent;
    color: var(--ink-crimson);
  }
  .order-edit-remove-btn:hover {
    background: color-mix(in srgb, #ba3351 12%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-crimson) 12%, transparent);
    }
  }
  .order-edit-restore-btn {
    border: 1px solid #56ad7f;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-green) 55%, var(--line));
    }
    background: transparent;
    color: var(--ink-green);
  }
  .order-edit-restore-btn:hover {
    background: color-mix(in srgb, #56ad7f 12%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-green) 12%, transparent);
    }
  }
  .order-product-picker {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .order-product-options {
    max-height: 240px;
    display: grid;
    gap: 8px;
    overflow: auto;
    padding-right: 2px;
  }
  .order-product-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    padding: 10px;
    text-align: left;
    box-shadow: var(--shadow-sm);
  }
  .order-product-option:hover:not(.muted):not(.error) {
    border-color: var(--color-orange);
    background: #f68f60;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-orange) 8%, var(--surface));
    }
  }
  .order-product-option span {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .order-product-option b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 900;
  }
  .order-product-option small {
    color: var(--text-3);
    font-size: 12px;
    font-weight: 750;
  }
  .order-product-option svg {
    flex: none;
    color: var(--ink-orange);
  }
  .order-product-option.muted,
  .order-product-option.error {
    display: block;
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 750;
    box-shadow: none;
  }
  .order-product-option.error {
    color: var(--ink-crimson);
  }
  .order-edit-modal .woo-field {
    display: grid;
    gap: 7px;
  }
  .order-edit-modal .woo-field span {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .order-edit-modal .woo-field input,
  .order-edit-modal .woo-field select,
  .order-edit-modal .woo-field textarea,
  .order-edit-item input {
    width: 100%;
    border: 1px solid #83c5cf;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-skyteal) 42%, var(--line));
    }
    border-radius: 12px;
    background: var(--surface-2);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--surface-2) 86%, var(--surface));
    }
    color: var(--text);
    padding: 12px 13px;
    font: inherit;
    font-size: 14px;
    font-weight: 760;
    outline: 0;
    box-shadow: inset 0 0 0 1px var(--surface);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface) 35%, transparent);
    }
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  }
  .order-edit-modal .woo-field select {
    min-height: 45px;
    cursor: pointer;
  }
  .order-edit-modal .woo-field textarea {
    min-height: 104px;
    resize: vertical;
    line-height: 1.45;
  }
  .order-edit-modal .woo-field input:hover,
  .order-edit-modal .woo-field select:hover,
  .order-edit-modal .woo-field textarea:hover,
  .order-edit-item input:hover {
    border-color: #f68f60;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-orange) 65%, var(--line));
    }
  }
  .order-edit-modal .woo-field input:focus,
  .order-edit-modal .woo-field select:focus,
  .order-edit-modal .woo-field textarea:focus,
  .order-edit-item input:focus {
    border-color: var(--color-orange);
    background: var(--surface);
    box-shadow: 0 0 0 3px color-mix(in srgb, #f68f60 18%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-orange) 18%, transparent);
    }
  }
  .order-edit-item:focus-within {
    border-color: #f68f60;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-orange) 65%, var(--line));
    }
  }
  .order-edit-actions {
    justify-content: space-between;
    align-items: center;
  }
  .order-edit-actions-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .order-delete-btn {
    min-height: 38px;
    border: 1px solid var(--color-crimson);
    border-radius: 12px;
    background: transparent;
    color: var(--ink-crimson);
    padding: 0 14px;
    font-size: 13px;
    font-weight: 900;
  }
  .order-delete-btn:hover:not(:disabled) {
    background: color-mix(in srgb, #ba3351 12%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-crimson) 12%, transparent);
    }
  }
  .order-delete-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  .order-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }
  .order-actions button:not(.btn) {
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
  }
  .order-actions button.active {
    background: var(--color-skyteal);
    border-color: var(--color-skyteal);
    color: var(--color-navy-2);
  }
  .woo-stack {
    display: grid;
    gap: 16px;
  }
  .woo-alert,
  .woo-empty {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
    color: var(--text-2);
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
  }
  .woo-alert {
    border-color: #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-crimson) 28%, var(--line));
    }
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
  }
  .woo-alert.success {
    border-color: #56ad7f;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-green) 28%, var(--line));
    }
    background: var(--color-green-tint);
    color: var(--ink-green);
  }
  .toast-alerts {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 120;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 36px));
    pointer-events: none;
  }
  .toast-alert {
    pointer-events: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    color: var(--text);
  }
  .toast-alert.success {
    border-color: #56ad7f;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-green) 34%, var(--line));
    }
  }
  .toast-alert.error {
    border-color: #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-crimson) 34%, var(--line));
    }
  }
  .toast-alert-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-green-tint);
    color: var(--ink-green);
  }
  .toast-alert.error .toast-alert-icon {
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
  }
  .toast-alert p {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
  }
  .toast-alert button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 17px;
    line-height: 1;
  }
  .woo-empty.detail {
    margin: 16px;
  }
  .woo-inventory-grid,
  .woo-taxonomy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: 16px;
    align-items: start;
  }
  .woo-taxonomy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .woo-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
    display: grid;
    gap: 14px;
  }
  .woo-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }
  .woo-panel-head h3,
  .woo-create-form h3 {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.25;
  }
  .woo-panel-head p {
    margin: 4px 0 0;
    color: var(--text-2);
    font-size: 12.5px;
    line-height: 1.4;
  }
  .woo-product-list,
  .woo-attribute-list,
  .woo-category-tree {
    display: grid;
    gap: 8px;
  }
  .woo-list-table {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .woo-list-head,
  .woo-list-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 130px minmax(120px, 0.8fr);
    gap: 12px;
    align-items: center;
  }
  .woo-list-head {
    background: var(--surface-2);
    color: var(--text-2);
    padding: 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .woo-list-row {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    padding: 12px;
    text-align: left;
  }
  .woo-list-row:hover {
    background: var(--surface-2);
  }
  .woo-list-row b {
    display: block;
    color: var(--text);
    font-size: 13.5px;
    margin-bottom: 3px;
  }
  .woo-list-row small,
  .woo-list-row span {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
    min-width: 0;
  }
  .woo-term-preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .woo-product-row {
    width: 100%;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 140px auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    padding: 10px;
    text-align: left;
  }
  .woo-product-row:hover,
  .woo-product-row.active {
    background: var(--surface-2);
    border-color: var(--color-skyteal);
  }
  .woo-product-photo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    color: var(--text-3);
    border: 1px solid var(--line);
  }
  .woo-product-photo.lg {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }
  .woo-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .woo-product-main,
  .woo-product-money {
    min-width: 0;
    display: grid;
    gap: 4px;
  }
  .woo-product-main b,
  .woo-product-money b {
    color: var(--text);
    font-size: 13.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .woo-product-main small,
  .woo-product-money small {
    color: var(--text-2);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .woo-product-money {
    text-align: right;
    font-family: var(--font-mono);
  }
  .woo-product-detail {
    display: grid;
    gap: 14px;
  }
  .woo-detail-hero {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .woo-detail-hero h3 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.2;
  }
  .woo-detail-hero p {
    margin: 5px 0 0;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
  }
  .woo-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .woo-detail-grid div,
  .woo-detail-block {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    padding: 11px;
  }
  .woo-detail-grid span,
  .woo-detail-block span {
    display: block;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
  }
  .woo-detail-grid b,
  .woo-detail-block p {
    margin: 0;
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.45;
  }
  .woo-create-form {
    align-content: start;
    display: grid;
    gap: 10px;
  }
  .woo-create-form input,
  .woo-create-form select,
  .woo-create-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    outline: 0;
    padding: 10px 12px;
  }
  .woo-create-form input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  .woo-field {
    display: grid;
    gap: 6px;
  }
  .woo-field span {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .woo-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .woo-stock-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .woo-stock-copy {
    display: grid;
    gap: 3px;
  }
  .woo-stock-copy b {
    color: var(--text);
    font-size: 13px;
  }
  .woo-stock-copy span {
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.35;
  }
  .woo-switch {
    position: relative;
    width: 46px;
    height: 26px;
    flex: none;
  }
  .woo-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
  }
  .woo-switch span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--line);
    transition: background 0.15s;
  }
  .woo-switch span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s;
  }
  .woo-switch input:checked + span {
    background: var(--color-green);
  }
  .woo-switch input:checked + span::after {
    transform: translateX(20px);
  }
  .woo-switch input:focus-visible + span {
    outline: 2px solid var(--ink-teal);
    outline-offset: 3px;
  }
  .user-actions-menu {
    position: fixed;
    z-index: 80;
    width: 196px;
    display: grid;
    gap: 3px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }
  .user-actions-menu .btn {
    width: 100%;
    justify-content: flex-start;
    border: 0;
  }
  .user-actions-menu .btn:hover:not(:disabled) {
    background: var(--surface-2);
  }
  .user-actions-menu .btn.danger {
    color: var(--ink-crimson);
  }
  .user-actions-menu .btn.positive {
    color: var(--ink-green);
  }
  .order-actions-menu {
    position: fixed;
    z-index: 90;
    width: 244px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    display: grid;
    gap: 3px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }
  .order-actions-menu .btn {
    width: 100%;
    justify-content: flex-start;
    border: 0;
  }
  .order-actions-menu .btn:hover:not(:disabled) {
    background: var(--surface-2);
  }
  .order-actions-menu .btn.danger {
    color: var(--ink-crimson);
  }
  .order-actions-menu .btn.positive {
    color: var(--ink-green);
  }
  .order-actions-menu-label {
    padding: 8px 10px 4px;
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .order-actions-menu-separator {
    height: 1px;
    margin: 5px 4px;
    background: var(--line);
  }
  .users-actions-col {
    width: 1%;
    padding: 8px 10px;
    text-align: right;
    white-space: nowrap;
  }
  td.users-actions-col {
    padding-block: 10px;
  }
  .users-actions-col .icobtn {
    margin-left: auto;
  }
  .user-access-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
  }
  .user-access-control.active {
    border-color: #56ad7f;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-green) 50%, var(--line));
    }
    background: #e6f3ec;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-green-tint) 64%, var(--surface));
    }
  }
  .user-access-control.restricted {
    border-color: #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-crimson) 35%, var(--line));
    }
  }
  .user-access-control > span:first-child {
    display: grid;
    gap: 3px;
  }
  .user-access-control b {
    color: var(--text);
    font-size: 13px;
  }
  .user-access-control > span:first-child > span {
    color: var(--text-2);
    font-size: 12px;
  }
  .user-role-editor {
    display: grid;
    gap: 10px;
  }
  .user-role-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .user-role-editor-head > div {
    display: grid;
    gap: 2px;
  }
  .user-role-editor-head b {
    color: var(--text);
    font-size: 13px;
  }
  .user-role-editor-head > div > span {
    color: var(--text-2);
    font-size: 12px;
  }
  .user-role-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .user-role-choices button {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 700;
    text-align: left;
  }
  .user-role-choices button:hover {
    border-color: var(--text-3);
    color: var(--text);
  }
  .user-role-choices button.selected {
    border-color: var(--color-orange);
    background: var(--color-orange-tint);
    color: var(--ink-orange);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #f68f60 25%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-orange) 25%, transparent);
    }
  }
  .roles-page-head {
    margin-bottom: 0;
  }
  .roles-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .roles-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .roles-summary-icon,
  .role-card-icon,
  .role-editor-section-head > span:first-child {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--color-orange-tint);
    color: var(--ink-orange);
  }
  .roles-summary-icon.teal {
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .roles-summary-icon.neutral {
    background: var(--surface-2);
    color: var(--text-2);
  }
  .roles-summary-item > div:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .roles-summary-item strong {
    overflow: hidden;
    color: var(--text);
    font-size: 17px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .roles-summary-item span:last-child {
    color: var(--text-2);
    font-size: 12px;
  }
  .roles-section {
    display: grid;
    gap: 12px;
  }
  .roles-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }
  .roles-section-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 850;
  }
  .roles-section-head p {
    margin: 3px 0 0;
    color: var(--text-2);
    font-size: 12.5px;
  }
  .roles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .role-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border-radius: 16px;
  }
  .role-card-head {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
  }
  .role-card-head > div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .role-card-head h3 {
    overflow: hidden;
    margin: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .role-card-head .num {
    overflow: hidden;
    color: var(--text-3);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .role-card-head > .pill {
    margin-left: auto;
  }
  .role-card-home {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--ink-teal);
  }
  .role-card-home > span {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .role-card-home small {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .role-card-home b {
    overflow: hidden;
    color: var(--text);
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .role-card-permissions {
    display: grid;
    gap: 9px;
  }
  .role-card-permissions > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .role-card-permissions > div:first-child b {
    color: var(--text-2);
    font-size: 12px;
  }
  .role-card-permissions > div:first-child span {
    color: var(--text-3);
    font-size: 12px;
  }
  .role-card-permission-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .role-card-permissions > p {
    margin: 0;
    color: var(--text-3);
    font-size: 12px;
  }
  .role-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .role-delete-action {
    color: var(--ink-crimson);
  }
  .permissions-directory {
    display: grid;
    gap: 14px;
  }
  .permissions-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .permissions-directory-group {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .permissions-directory-group > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .permissions-directory-group h3 {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
  }
  .permissions-directory-group .num {
    color: var(--text-3);
    font-size: 11px;
  }
  .permissions-directory-group > div:last-child {
    display: grid;
    gap: 5px;
  }
  .permissions-directory-group > div:last-child span {
    overflow: hidden;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .role-editor {
    display: grid;
    gap: 14px;
  }
  .role-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
    gap: 14px;
  }
  .role-editor-main {
    display: grid;
    gap: 12px;
    min-width: 0;
  }
  .role-editor-section {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: none;
  }
  .role-editor-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .role-editor-section-head > div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .role-editor-section-head h4 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 850;
  }
  .role-editor-section-head p {
    margin: 0;
    color: var(--text-2);
    font-size: 12px;
  }
  .role-editor-section-head.permission-head > .pill {
    margin-left: auto;
  }
  .role-editor-name-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
  }
  .role-editor-help {
    margin: 5px 0 0;
    color: var(--text-3);
    font-size: 11.5px;
    line-height: 1.4;
  }
  .role-permission-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .role-permission-search {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-3);
  }
  .role-permission-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 12.5px;
  }
  .role-permission-search input::placeholder {
    color: var(--text-3);
  }
  .role-permission-search button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-3);
  }
  .role-permission-groups {
    display: grid;
    gap: 10px;
  }
  .role-permissions-editor.disabled .role-permission-groups {
    opacity: 0.65;
  }
  .role-permission-group {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .role-permission-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border-bottom: 1px solid var(--line);
  }
  .role-permission-group-head > div {
    display: grid;
    gap: 1px;
  }
  .role-permission-group-head h5 {
    margin: 0;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 850;
  }
  .role-permission-group-head span {
    color: var(--text-3);
    font-size: 11px;
  }
  .role-permission-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 10px;
  }
  .role-permission-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-2);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  }
  .role-permission-options label:hover {
    border-color: var(--text-3);
    color: var(--text);
  }
  .role-permission-options label.selected {
    border-color: var(--color-orange);
    background: var(--color-orange-tint);
    color: var(--ink-orange);
  }
  .role-permission-options input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    accent-color: var(--color-orange);
  }
  .role-permission-options label > span {
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
  }
  .role-permission-options input:disabled,
  .role-permission-options input:disabled + span {
    cursor: not-allowed;
  }
  .role-permission-empty {
    min-height: 130px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    color: var(--text-3);
    text-align: center;
  }
  .role-permission-empty b {
    color: var(--text-2);
    font-size: 13px;
  }
  .role-permission-empty span {
    font-size: 12px;
  }
  .role-editor-summary {
    position: sticky;
    top: 0;
    display: grid;
    gap: 7px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
  }
  .role-editor-summary-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 3px;
    border-radius: 13px;
    background: var(--color-orange-tint);
    color: var(--ink-orange);
  }
  .role-editor-summary > span {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .role-editor-summary h4 {
    overflow-wrap: anywhere;
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 850;
  }
  .role-editor-summary dl {
    display: grid;
    gap: 0;
    margin: 7px 0 0;
  }
  .role-editor-summary dl > div {
    display: grid;
    gap: 2px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
  }
  .role-editor-summary dt {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .role-editor-summary dd {
    margin: 0;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
  }
  .role-editor-summary > p {
    margin: 3px 0 0;
    color: var(--text-2);
    font-size: 11.5px;
    line-height: 1.45;
  }
  .invoice-detail-stack {
    display: grid;
    gap: 14px;
  }
  .invoice-detail-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(
      135deg,
      #0d6b75,
      var(--surface)
    );
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-teal) 9%, var(--surface)),
      var(--surface)
    );
    }
  }
  .invoice-detail-hero-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid #0d6b75;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-teal) 24%, var(--line));
    }
    border-radius: 14px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .invoice-detail-hero-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
    flex: 1;
  }
  .invoice-detail-eyebrow {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .invoice-detail-amount {
    color: var(--text);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.15;
  }
  .invoice-detail-meta {
    display: flex;
    align-items: center;
    gap: 6px 14px;
    flex-wrap: wrap;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
  }
  .invoice-detail-statuses {
    align-self: flex-start;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
  }
  .invoice-detail-statuses .pill {
    padding: 5px 11px;
  }
  .invoice-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
    align-items: stretch;
    gap: 14px;
  }
  .invoice-detail-side {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 14px;
  }
  .invoice-detail-card {
    min-width: 0;
    padding: 16px;
  }
  .invoice-detail-card h4 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
  }
  .invoice-lines-card {
    align-self: stretch;
  }
  .invoice-lines-list {
    display: grid;
  }
  .invoice-line-row {
    min-width: 0;
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(105px, auto);
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
  }
  .invoice-line-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .invoice-line-copy > strong {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
  }
  .invoice-line-copy > span,
  .invoice-line-unit {
    color: var(--text-3);
    font-size: 11.5px;
    line-height: 1.4;
  }
  .invoice-line-total {
    color: var(--text-2);
    font-size: 12.5px;
    text-align: right;
  }
  .invoice-totals {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .invoice-detail-row {
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    color: var(--text-2);
    font-size: 12.5px;
  }
  .invoice-detail-row > strong {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 12.5px;
    text-align: right;
  }
  .invoice-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 15px;
  }
  .invoice-date-list,
  .invoice-fiscal-list {
    display: grid;
    gap: 0;
  }
  .invoice-date-list .invoice-detail-row,
  .invoice-fiscal-list .invoice-detail-row {
    padding: 9px 0;
    border-top: 1px solid var(--line);
  }
  .invoice-void-reason,
  .invoice-fiscal-observations {
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-crimson) 24%, var(--line));
    }
    border-radius: 11px;
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
    font-size: 12px;
    line-height: 1.5;
  }
  .invoice-reference-actions,
  .invoice-download-action {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .invoice-download-action > p {
    margin: 2px 0 0;
    color: var(--ink-crimson);
    font-size: 12px;
    line-height: 1.45;
  }
  .invoice-billing-address {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12.5px;
    line-height: 1.45;
  }
  .invoice-billing-address strong {
    color: var(--text);
    font-size: 13px;
  }
  @media (max-width: 820px) {
    .invoice-detail-grid {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 640px) {
    .invoice-detail-hero {
      align-items: flex-start;
      flex-wrap: wrap;
      padding: 16px;
    }
    .invoice-detail-hero-copy {
      flex-basis: calc(100% - 66px);
    }
    .invoice-detail-statuses {
      width: 100%;
      justify-content: flex-start;
      margin-left: 62px;
    }
    .invoice-detail-amount {
      font-size: 23px;
    }
    .invoice-line-row {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 4px 10px;
    }
    .invoice-line-unit {
      grid-column: 1;
    }
    .invoice-line-total {
      grid-column: 2;
      grid-row: 1 / span 2;
    }
    .invoice-reference-actions .btn,
    .invoice-download-action .btn {
      width: 100%;
    }
  }
  .listing-filter-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
  }
  .listing-filter-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
  }
  .listing-filter-heading-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 11px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .listing-filter-heading > span:last-child {
    display: grid;
    gap: 2px;
  }
  .listing-filter-heading strong {
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
  }
  .listing-filter-heading small {
    color: var(--text-3);
    font-size: 11.5px;
    font-weight: 500;
  }
  .listing-filter-controls {
    display: grid;
    grid-template-columns: minmax(132px, 160px) minmax(240px, 1fr);
    align-items: end;
    gap: 10px;
    min-width: 0;
  }
  .listing-status-filter {
    display: grid;
    gap: 5px;
    min-width: 0;
  }
  .listing-status-filter label {
    color: var(--text-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .listing-status-filter .input,
  .listing-filter-panel .fbar-search,
  .listing-filter-panel .fbar-tool {
    height: 40px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .listing-status-filter.is-active .input {
    border-color: var(--color-orange);
    color: var(--ink-orange);
    font-weight: 700;
  }
  .listing-filter-panel .fbar {
    min-width: 0;
  }
  .listing-filter-panel .fbar-row {
    flex-wrap: nowrap;
  }
  .listing-filter-panel .fbar-chips {
    padding-top: 2px;
  }
  .listing-filter-action {
    align-self: end;
    min-height: 40px;
  }
  .invoice-modal-loader {
    min-height: 320px;
    display: grid;
    place-items: center;
  }
  .payment-detail-stack {
    display: grid;
    gap: 14px;
  }
  .payment-detail-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(
      135deg,
      #0d6b75,
      var(--surface)
    );
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-teal) 9%, var(--surface)),
      var(--surface)
    );
    }
  }
  .payment-detail-hero-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid #0d6b75;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-teal) 24%, var(--line));
    }
    border-radius: 14px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .payment-detail-hero-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
    flex: 1;
  }
  .payment-detail-eyebrow {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .payment-detail-amount {
    color: var(--text);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.15;
  }
  .payment-detail-meta {
    display: flex;
    align-items: center;
    gap: 6px 14px;
    flex-wrap: wrap;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
  }
  .payment-detail-status {
    align-self: flex-start;
    margin-left: auto;
    padding: 5px 11px;
  }
  .payment-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
    align-items: stretch;
    gap: 14px;
  }
  .payment-detail-card {
    min-width: 0;
    padding: 16px;
  }
  .payment-detail-card h4 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
  }
  .payment-amount-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .payment-amount-item {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .payment-amount-item span,
  .payment-reference-list span {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .payment-amount-item strong {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
  }
  .payment-amount-item.is-info {
    border-color: #83c5cf;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-skyteal) 48%, var(--line));
    }
    background: #eaf5f7;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-skyteal-tint) 72%, var(--surface));
    }
  }
  .payment-amount-item.is-info strong {
    color: var(--ink-teal);
  }
  .payment-amount-item.is-positive {
    border-color: #56ad7f;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-green) 44%, var(--line));
    }
    background: #e6f3ec;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-green-tint) 72%, var(--surface));
    }
  }
  .payment-amount-item.is-positive strong {
    color: var(--ink-green);
  }
  .payment-amount-item.is-negative {
    border-color: #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-crimson) 34%, var(--line));
    }
    background: #f8e5ea;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-crimson-tint) 68%, var(--surface));
    }
  }
  .payment-amount-item.is-negative strong {
    color: var(--ink-crimson);
  }
  .payment-detail-alert {
    margin-top: 10px;
  }
  .payment-reference-list {
    display: grid;
    gap: 8px;
  }
  .payment-reference-list > div {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
  }
  .payment-reference-list strong {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.4;
  }
  .payment-reference-actions {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .payment-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 8px;
  }
  .payment-timeline-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 3px 8px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
  }
  .payment-timeline-dot {
    width: 9px;
    height: 9px;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 4px;
    border-radius: 999px;
    background: var(--color-teal);
    box-shadow: 0 0 0 3px var(--color-teal-tint);
  }
  .payment-timeline-item > span:not(.payment-timeline-dot) {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 800;
  }
  .payment-timeline-item strong {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 11.5px;
    font-weight: 700;
  }
  .payment-modal-loader {
    min-height: 360px;
    display: grid;
    place-items: center;
  }
  @media (max-width: 820px) {
    .payment-detail-grid {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 640px) {
    .payment-detail-hero {
      align-items: flex-start;
      flex-wrap: wrap;
      padding: 16px;
    }
    .payment-detail-hero-copy {
      flex-basis: calc(100% - 66px);
    }
    .payment-detail-status {
      margin-left: 62px;
    }
    .payment-detail-amount {
      font-size: 23px;
    }
    .payment-amount-grid {
      grid-template-columns: 1fr;
    }
    .payment-reference-actions .btn {
      width: 100%;
    }
  }
  .shipment-detail-stack {
    display: grid;
    gap: 14px;
  }
  .shipment-detail-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(
      135deg,
      #0d6b75,
      var(--surface)
    );
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-teal) 9%, var(--surface)),
      var(--surface)
    );
    }
  }
  .shipment-detail-hero-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid #0d6b75;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-teal) 24%, var(--line));
    }
    border-radius: 14px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .shipment-detail-hero-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
    flex: 1;
  }
  .shipment-detail-eyebrow {
    color: var(--text-3);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .shipment-detail-tracking {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  .shipment-detail-meta {
    display: flex;
    align-items: center;
    gap: 6px 14px;
    flex-wrap: wrap;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
  }
  .shipment-detail-status {
    align-self: flex-start;
    margin-left: auto;
    padding: 5px 11px;
  }
  .shipment-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
    align-items: start;
    gap: 14px;
  }
  .shipment-detail-main,
  .shipment-detail-side {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 14px;
  }
  .shipment-detail-card {
    min-width: 0;
    padding: 16px;
  }
  .shipment-detail-card h4 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
  }
  .shipment-section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .shipment-section-head > .btn {
    flex: none;
  }
  .shipment-head-actions {
    flex: none !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
  }
  .shipment-items-list {
    display: grid;
  }
  .shipment-item-row {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 2px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 13px;
  }
  .shipment-item-row > span {
    overflow-wrap: anywhere;
  }
  .shipment-item-sku {
    color: var(--text-2);
    font-size: 12px;
  }
  .shipment-item-row > strong {
    flex: none;
    color: var(--text-2);
    font-size: 12.5px;
  }
  .shipment-tracking-empty {
    min-height: 112px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text-3);
    font-size: 12.5px;
    text-align: center;
  }
  .shipment-tracking-list {
    display: grid;
  }
  .shipment-tracking-event {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 13px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
  }
  .shipment-tracking-marker {
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--color-teal);
    box-shadow: 0 0 0 3px var(--color-teal-tint);
  }
  .shipment-tracking-event > div {
    min-width: 0;
    display: grid;
    justify-items: start;
    gap: 5px;
  }
  .shipment-tracking-event p {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--text-2);
    font-size: 12.5px;
    line-height: 1.45;
  }
  .shipment-tracking-event p small {
    color: var(--text-3);
    font-size: inherit;
  }
  .shipment-tracking-event time {
    color: var(--text-3);
    font-size: 11.5px;
  }
  .shipment-detail-list {
    display: grid;
    gap: 0;
  }
  .shipment-detail-row {
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid var(--line);
    color: var(--text-2);
    font-size: 12.5px;
  }
  .shipment-detail-row > strong {
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 12.5px;
    text-align: right;
  }
  .shipment-tracking-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--ink-teal);
    font-size: 12.5px;
    font-weight: 750;
    text-decoration: none;
  }
  .shipment-tracking-link:hover {
    text-decoration: underline;
  }
  .shipment-detail-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.45;
  }
  .shipment-detail-note.is-error {
    border-color: #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-crimson) 24%, var(--line));
    }
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
  }
  .shipment-cancel-action {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .shipment-cancel-action .btn {
    width: 100%;
  }
  .shipment-address {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12.5px;
    line-height: 1.45;
  }
  .shipment-address strong {
    color: var(--text);
    font-size: 13px;
  }
  .shipment-modal-loader {
    min-height: 360px;
    display: grid;
    place-items: center;
  }
  @media (max-width: 820px) {
    .shipment-detail-grid {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 640px) {
    .shipment-detail-hero {
      align-items: flex-start;
      flex-wrap: wrap;
      padding: 16px;
    }
    .shipment-detail-hero-copy {
      flex-basis: calc(100% - 66px);
    }
    .shipment-detail-status {
      margin-left: 62px;
    }
    .shipment-section-head > .btn,
    .shipment-head-actions {
      width: calc(100% - 44px);
      margin-left: 44px;
    }
    .shipment-head-actions .btn {
      width: 100%;
    }
    .shipment-detail-tracking {
      font-size: 19px;
    }
    .shipment-detail-row {
      align-items: flex-start;
      flex-direction: column;
      gap: 4px;
    }
    .shipment-detail-row > strong {
      text-align: left;
    }
  }
  @media (max-width: 980px) {
    .listing-filter-panel {
      grid-template-columns: 1fr;
      align-items: stretch;
    }
    .listing-filter-heading {
      min-width: 0;
    }
    .listing-filter-action {
      justify-self: start;
    }
  }
  @media (max-width: 640px) {
    .listing-filter-panel {
      padding: 12px;
      gap: 12px;
    }
    .listing-filter-controls {
      grid-template-columns: 1fr;
    }
    .listing-filter-panel .fbar-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 40px;
    }
    .listing-filter-action {
      width: 100%;
    }
  }
  .woo-category-node {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    padding: 12px;
  }
  .woo-category-node > div:first-child,
  .woo-attribute-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .woo-category-node b,
  .woo-attribute-row b {
    color: var(--text);
    font-size: 13px;
  }
  .woo-category-node span,
  .woo-attribute-row span {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
  }
  .woo-category-children {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-left: 24px;
  }
  .woo-category-children span {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 8px;
  }
  .woo-attribute-row {
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    padding: 12px;
  }
  .woo-attribute-row div {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .woo-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 700;
  }
  .woo-products-table {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .woo-products-head,
  .woo-products-row {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) 120px 110px minmax(180px, 1fr) 150px;
    gap: 14px;
    align-items: center;
  }
  .woo-products-head {
    background: var(--surface-2);
    color: var(--text-2);
    padding: 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .woo-products-row {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    padding: 12px;
    text-align: left;
  }
  .woo-products-row:hover {
    background: var(--surface-2);
  }
  .woo-product-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .woo-product-cell > span:last-child {
    min-width: 0;
    display: grid;
    gap: 4px;
  }
  .woo-product-cell b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text);
    font-size: 13.5px;
  }
  .woo-product-cell small,
  .woo-products-cats {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
  }
  .woo-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 24, 34, 0.64);
    display: grid;
    place-items: center;
    padding: 24px;
  }
  .woo-modal {
    width: min(1040px, 100%);
    max-height: min(860px, calc(100vh - 48px));
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 14px;
    padding: 18px;
  }
  .woo-modal.compact {
    width: min(680px, 100%);
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  .woo-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .woo-modal-head.product {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
  .woo-modal-product-media {
    width: 58px;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .woo-modal-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .woo-modal-head h3 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
  }
  .woo-modal-head p {
    margin: 5px 0 0;
    color: var(--text-2);
    font-size: 13px;
  }
  .woo-modal-head .icobtn {
    border-radius: 999px;
    font-size: 22px;
    line-height: 1;
  }
  .woo-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    overflow: auto;
    padding-right: 4px;
  }
  .woo-modal-wide {
    grid-column: 1 / -1;
  }
  .woo-modal-wide-frame {
    width: min(1280px, 100%);
  }
  .woo-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 24, 34, 0.64);
    display: flex;
    justify-content: flex-end;
  }
  .woo-sheet {
    width: min(560px, 100%);
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px;
    animation: sheet-slide-in 0.18s ease-out;
  }
  @keyframes sheet-slide-in {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }
  .woo-create-form select[multiple] {
    min-height: 140px;
  }
  .woo-product-attributes {
    display: grid;
    gap: 10px;
  }
  .woo-product-attributes select[multiple] {
    min-height: 72px;
  }
  .woo-values-box {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .woo-values-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .woo-values-head b {
    color: var(--text);
    font-size: 13px;
  }
  .woo-values-head span {
    color: var(--text-3);
    font-size: 12px;
    font-weight: 800;
  }
  .woo-term-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .woo-term-chips span {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
  }
  .woo-term-chips.editable span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 7px 5px 10px;
  }
  .woo-term-chips.editable button:not(.btn) {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 900;
    padding: 3px 7px;
  }
  .woo-term-chips.editable button.danger {
    border-color: #ba3351;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--color-crimson) 32%, var(--line));
    }
    color: var(--ink-crimson);
    background: var(--color-crimson-tint);
  }
  .woo-term-chips small {
    color: var(--text-3);
    font-size: 12px;
  }
  .woo-create-value {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .woo-picker-box,
  .woo-attribute-builder {
    display: grid;
    gap: 10px;
  }
  .woo-picker-selected {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .woo-picker-selected span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    font-weight: 850;
    padding: 6px 8px 6px 10px;
  }
  .woo-picker-selected button {
    width: 20px;
    height: 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-2);
    line-height: 1;
  }
  .woo-picker-selected small,
  .woo-picker-box small {
    color: var(--text-3);
    font-size: 12px;
    font-weight: 700;
  }
  .woo-picker-box.add-attribute {
    padding-top: 2px;
  }
  .woo-attribute-card {
    display: grid;
    grid-template-columns: minmax(150px, 0.9fr) minmax(220px, 1.2fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .woo-attribute-card b {
    display: block;
    color: var(--text);
    font-size: 13px;
  }
  .woo-attribute-card small {
    color: var(--text-3);
    font-size: 12px;
    font-weight: 700;
  }
  .woo-empty.inline {
    padding: 12px;
  }
  .woo-richtext {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-2);
  }
  .woo-richtext-toolbar {
    display: flex;
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }
  .woo-richtext-toolbar button {
    width: 32px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
  }
  .woo-richtext-editor {
    min-height: 170px;
    padding: 12px;
    outline: 0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.55;
  }
  .woo-richtext-editor ul,
  .woo-richtext-editor ol {
    padding-left: 20px;
  }
  .woo-html-preview {
    display: block;
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.4;
  }
  .woo-modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
    flex-wrap: wrap;
  }
  .tasks-shell {
    display: grid;
    gap: 16px;
  }
  .tasks-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .task-stat {
    min-height: 86px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .task-stat span {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .task-stat b {
    color: var(--text);
    font-size: 30px;
    line-height: 1;
  }
  .tasks-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .tasks-toolbar h3 {
    margin: 0;
    font-size: 16px;
    color: var(--text);
  }
  .tasks-toolbar p {
    margin: 4px 0 0;
    color: var(--text-2);
    font-size: 12.5px;
  }
  .task-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }
  .task-inbox-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
    align-items: start;
  }
  .task-list {
    padding: 8px;
    display: grid;
    gap: 6px;
  }
  .task-row {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    padding: 12px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    text-align: left;
  }
  .task-row:hover,
  .task-row.active {
    background: var(--surface-2);
    border-color: var(--line);
  }
  .task-row.active {
    box-shadow: inset 3px 0 0 var(--color-teal);
  }
  .task-row-icon,
  .task-detail-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--color-teal-tint);
    color: var(--ink-teal);
    display: grid;
    place-items: center;
    flex: none;
  }
  .task-row-main {
    min-width: 0;
    display: grid;
    gap: 5px;
  }
  .task-row-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .task-row-top b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.25;
  }
  .task-row-desc {
    color: var(--text-2);
    font-size: 12.5px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .task-row-meta {
    color: var(--text-3);
    font-size: 12px;
    font-weight: 600;
  }
  .task-detail {
    position: sticky;
    top: 16px;
    display: grid;
    gap: 16px;
  }
  .task-detail-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .task-id {
    display: block;
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .task-detail h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: var(--text);
  }
  .task-detail p {
    margin: 0;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.55;
  }
  .task-detail-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .task-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .task-detail-grid div {
    padding: 12px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    display: grid;
    gap: 4px;
  }
  .task-detail-grid span {
    color: var(--text-3);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .task-detail-grid b {
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.3;
  }
  .task-detail-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .kpi {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 154px;
    position: relative;
    overflow: hidden;
  }
  .kpi.feature {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
    color: #fff;
    border-color: var(--color-navy-2);
  }
  .kpi.feature .ki-label,
  .kpi.feature .ki-foot {
    color: #9db0c2;
  }
  .kpi.feature .ki-foot b {
    color: #fff;
  }
  .kpi .ki-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .kpi .ki-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .kpi .ki-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: none;
  }
  .kpi .ki-icon.o {
    background: var(--color-orange-tint);
    color: var(--ink-orange);
  }
  .kpi .ki-icon.t {
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .kpi .ki-icon.g {
    background: var(--color-green-tint);
    color: var(--ink-green);
  }
  .kpi .ki-icon.r {
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
  }
  .kpi.feature .ki-icon {
    background: rgba(246, 143, 96, 0.22);
    color: var(--color-orange);
  }
  .kpi .ki-value {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
  }
  .kpi .ki-value small {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-2);
    margin-right: 4px;
  }
  .kpi.feature .ki-value small {
    color: #9db0c2;
  }
  .kpi .ki-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-3);
  }
  .kpi .ki-foot b {
    color: var(--text);
    font-weight: 600;
  }
  .kpi-spark {
    position: absolute;
    right: -2px;
    bottom: 0;
    width: 120px;
    height: 46px;
    opacity: 0.85;
  }
  .chart-card {
    padding: 20px;
  }
  .chart-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-2);
  }
  .chart-legend .lg {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .chart-legend .sw {
    width: 9px;
    height: 9px;
    border-radius: 3px;
  }
  .chart-host {
    margin-top: 8px;
    position: relative;
  }
  .axis-y text,
  .axis-x text {
    font-family: var(--font-mono);
    font-size: 11px;
    fill: var(--text-3);
  }
  .grid-line {
    stroke: var(--line-2);
    stroke-dasharray: 2 4;
  }
  .hbar-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hbar-row {
    display: grid;
    grid-template-columns: 104px 1fr 30px;
    align-items: center;
    gap: 10px;
  }
  .hbar-label {
    font-size: 12.5px;
    color: var(--text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hbar-track {
    height: 16px;
    border-radius: 4px;
    background: var(--surface-2);
    overflow: hidden;
  }
  .hbar-fill {
    height: 100%;
    border-radius: 0 4px 4px 0;
  }
  .hbar-value {
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 12.5px;
    text-align: right;
  }
  .recent-orders-table {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .recent-orders-head,
  .recent-orders-row {
    display: grid;
    grid-template-columns: minmax(120px, 1.2fr) minmax(140px, 1.6fr) 130px 100px 22px;
    gap: 12px;
    align-items: center;
  }
  .recent-orders-link {
    display: grid;
    place-items: center;
    color: var(--text-3);
    border-radius: 6px;
  }
  .recent-orders-link:hover {
    color: var(--ink-teal);
    background: var(--surface-2);
  }
  .recent-orders-head {
    background: var(--surface-2);
    color: var(--text-2);
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .recent-orders-row {
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    font-size: 13px;
  }
  .recent-orders-client {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
  }
  .recent-orders-client b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .recent-orders-client small {
    font-size: 11px;
  }
  @media (max-width: 1100px) {
    .order-create-grid {
      grid-template-columns: 1fr;
    }
    .recent-orders-row:nth-child(n + 8) {
      display: none;
    }
  }
  @media (max-width: 640px) {
    .recent-orders-row:nth-child(n + 6) {
      display: none;
    }
    .recent-orders-head {
      display: none;
    }
    .recent-orders-row {
      grid-template-columns: 1fr;
      gap: 4px;
    }
  }
  .tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
  }
  .tbl th {
    text-align: left;
    font-weight: 600;
    color: var(--text-3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
  }
  .tbl td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line-2);
    color: var(--text);
    vertical-align: middle;
  }
  .tbl tr:last-child td {
    border-bottom: 0;
  }
  .tbl tr:hover td {
    background: var(--surface-2);
  }
  .sku {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .sku .thumb {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex: none;
  }
  .sku .meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .sku .meta b {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
  }
  .sku .meta small {
    font-size: 12px;
    color: var(--text-3);
    font-family: var(--font-mono);
  }
  .progress {
    height: 6px;
    background: var(--surface-2);
    border-radius: 99px;
    overflow: hidden;
    width: 100%;
    max-width: 120px;
  }
  .progress i {
    display: block;
    height: 100%;
    border-radius: 99px;
  }
  .stock-cell {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .feed {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .fitem {
    display: flex;
    gap: 12px;
    padding: 10px 4px;
    position: relative;
  }
  .fitem .dot {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: none;
  }
  .fitem .meta {
    flex: 1;
    min-width: 0;
  }
  .fitem .meta p {
    margin: 0;
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
  }
  .fitem .meta p b {
    font-weight: 700;
  }
  .fitem .meta time {
    font-size: 12px;
    color: var(--text-3);
    font-weight: 500;
  }
  .fitem .dot.o {
    background: var(--color-orange-tint);
    color: var(--ink-orange);
  }
  .fitem .dot.t {
    background: var(--color-teal-tint);
    color: var(--ink-teal);
  }
  .fitem .dot.g {
    background: var(--color-green-tint);
    color: var(--ink-green);
  }
  .fitem .dot.r {
    background: var(--color-crimson-tint);
    color: var(--ink-crimson);
  }
  .fitem .dot.k {
    background: var(--color-skyteal-tint);
    color: var(--ink-teal);
  }
  .ship {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
  }
  .ship .truck {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--ink-teal);
    border: 1px solid var(--line);
  }
  .ship .info {
    flex: 1;
    min-width: 0;
  }
  .ship .info b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
  }
  .ship .info span {
    font-size: 12px;
    color: var(--text-3);
  }
  .ship .eta {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-teal);
    text-align: right;
    font-family: var(--font-mono);
  }
  .ship .eta small {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    font-weight: 500;
    font-family: var(--font-sans);
  }
  .tt {
    position: absolute;
    background: var(--color-navy);
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -110%);
    transition: opacity 0.12s;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    z-index: 5;
  }
  .tt.show {
    opacity: 1;
  }
  .tt b {
    display: block;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 2px;
  }
  .tt .row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
  }
  .tt .sw {
    width: 7px;
    height: 7px;
    border-radius: 2px;
  }
  .row-bet {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .link {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    cursor: pointer;
  }
  .link:hover {
    color: var(--color-navy);
  }
  .dark .link:hover {
    color: var(--color-skyteal);
  }
  .muted {
    color: var(--text-3);
  }
  .stack {
    display: flex;
    flex-direction: column;
  }
  .pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  .pagination .pg-info {
    font-size: 12px;
    color: var(--text-3);
  }
  .pagination .pg-info b {
    color: var(--text);
    font-weight: 700;
    font-family: var(--font-mono);
  }
  .pagination .pg-pages {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .pg-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-2);
    font-weight: 600;
    font-size: 13px;
    font-family: var(--font-mono);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
  }
  .pg-btn:hover:not(:disabled) {
    border-color: var(--text-3);
    color: var(--text);
  }
  .pg-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .pg-btn.active {
    background: var(--color-navy);
    color: #fff;
    border-color: var(--color-navy);
  }
  .pg-ellipsis {
    color: var(--text-3);
    padding: 0 4px;
    font-family: var(--font-mono);
  }
  .stock-picker-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    margin-top: 4px;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-chip);
    box-shadow: var(--shadow-sm);
  }
  .stock-picker-list {
    overflow-y: auto;
    flex: 1 1 auto;
  }
  .stock-picker-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    font-size: 13px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--text);
  }
  .stock-picker-option:hover {
    background: var(--surface);
  }
}
@layer utilities {
  .grid-gap-16 {
    display: grid;
    gap: 16px;
  }
  .row-gap-16 {
    display: grid;
    gap: 16px;
  }
  .r-kpi {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .r-kpi-col {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .r-2-1 {
    grid-template-columns: 2fr 1fr;
  }
  .r-1-1 {
    grid-template-columns: 1fr 1fr;
  }
  .r-3-2 {
    grid-template-columns: 3fr 2fr;
  }
  @media (max-width: 1200px) {
    .order-overview-grid {
      grid-template-columns: 1fr;
      grid-template-areas: "customer"
        "delivery"
        "payment"
        "documents";
    }
  }
  @media (max-width: 1100px) {
    .role-editor-layout,
    .roles-grid {
      grid-template-columns: 1fr;
    }
    .role-editor-summary {
      position: static;
      order: -1;
    }
    .permissions-directory-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .order-status-tabs {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .r-kpi {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .r-2-1,
    .r-3-2,
    .r-1-1 {
      grid-template-columns: 1fr;
    }
    .task-inbox-grid {
      grid-template-columns: 1fr;
    }
    .orders-board,
    .catalog-board {
      grid-template-columns: 1fr;
    }
    .orders-board {
      align-content: start;
      align-items: start;
      overflow-y: auto;
    }
    .woo-inventory-grid,
    .woo-taxonomy-grid {
      grid-template-columns: 1fr;
    }
    .orders-list-panel {
      position: static;
      width: 100%;
      height: 100%;
      min-height: 480px;
    }
    .orders-page .order-detail-panel {
      display: block;
      overflow: visible;
    }
    .order-detail-scroll {
      overflow: visible;
    }
    .task-detail {
      position: static;
    }
    .order-modal-summary-grid {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 640px) {
    .order-create-modal {
      max-height: calc(100vh - 16px);
    }
    .order-create-stage {
      grid-template-columns: 1fr;
      align-items: stretch;
    }
    .roles-summary,
    .permissions-directory-grid,
    .role-editor-name-grid,
    .role-permission-options {
      grid-template-columns: 1fr;
    }
    .roles-section-head,
    .role-permission-toolbar {
      align-items: stretch;
      flex-direction: column;
    }
    .role-card-actions .btn,
    .role-permission-toolbar .btn {
      width: 100%;
    }
    .role-editor-section-head.permission-head {
      align-items: flex-start;
      flex-wrap: wrap;
    }
    .role-editor-section-head.permission-head > .pill {
      margin-left: 48px;
    }
    .role-permission-group-head {
      align-items: flex-start;
      flex-direction: column;
    }
    .r-kpi {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }
    .r-kpi .kpi {
      min-height: 144px;
      padding: 14px;
      gap: 10px;
    }
    .r-kpi .ki-icon {
      width: 30px;
      height: 30px;
    }
    .r-kpi .ki-value {
      font-size: clamp(20px, 5.5vw, 26px);
    }
    .r-kpi .ki-foot {
      align-items: flex-start;
      flex-direction: column;
      gap: 4px;
      padding-right: 28px;
    }
    .r-kpi .kpi-spark {
      width: 72px;
      height: 36px;
    }
    .page {
      padding-left: 16px;
      padding-right: 16px;
    }
    .topbar {
      padding-left: 16px;
      padding-right: 16px;
    }
    .tasks-summary {
      grid-template-columns: 1fr;
    }
    .tasks-toolbar {
      align-items: stretch;
      flex-direction: column;
    }
    .task-filter-row {
      justify-content: flex-start;
    }
    .task-row {
      grid-template-columns: 34px minmax(0, 1fr);
    }
    .task-row > .pill {
      grid-column: 2;
      width: fit-content;
    }
    .task-detail-grid {
      grid-template-columns: 1fr;
    }
    .order-status-tabs {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .order-status-tabs button:last-child {
      grid-column: 1 / -1;
    }
    .orders-list-tools {
      grid-template-columns: minmax(0, 1fr) 38px 38px;
    }
    .order-detail-head,
    .order-info-grid {
      grid-template-columns: 1fr;
    }
    .order-detail-head {
      align-items: flex-start;
      flex-direction: column;
    }
    .order-head-actions {
      width: 100%;
      justify-content: flex-start;
    }
    .order-overview-grid,
    .order-modal-detail-grid,
    .customer-modal-fields,
    .customer-edit-primary-fields,
    .address-fields-grid,
    .customer-inline-form,
    .customer-segment-form {
      grid-template-columns: 1fr;
    }
    .order-overview-grid {
      padding: 12px;
      grid-template-areas: "customer"
        "delivery"
        "payment"
        "documents";
    }
    .order-modal-detail-grid > .wide,
    .customer-modal-fields > .wide {
      grid-column: auto;
    }
    .customer-modal-list > div {
      align-items: flex-start;
      flex-direction: column;
    }
    .customer-modal-list .btn {
      margin-left: 0;
    }
    .order-customer-actions .btn {
      flex: 1 1 100%;
    }
    .customer-card-head {
      flex-wrap: wrap;
    }
    .order-customer-head-actions {
      width: calc(100% - 44px);
      margin-left: 44px;
    }
    .order-customer-contact,
    .order-payment-meta {
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .order-payment-summary {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .order-payment-total {
      min-width: 0;
      justify-items: start;
      padding-top: 12px;
      padding-left: 0;
      border-top: 1px solid var(--line);
      border-left: 0;
    }
    .order-delivery-window {
      grid-template-columns: 1fr;
    }
    .order-delivery-main {
      padding-block: 4px;
    }
    .order-delivery-address-row {
      align-items: stretch;
      flex-direction: column;
    }
    .order-delivery-label-btn {
      width: 100%;
    }
    .order-delivery-window > small {
      grid-column: auto;
    }
    .order-delivery-logistics {
      grid-template-columns: 1fr;
    }
    .order-overview-documents {
      grid-template-columns: 1fr;
    }
    .order-info-grid {
      display: block;
    }
    .order-info-grid .order-section + .order-section {
      border-left: 0;
      border-top: 1px solid var(--line);
    }
    .order-products-head {
      display: none;
    }
    .order-product-row {
      grid-template-columns: 1fr;
      gap: 4px;
      padding: 10px 0;
      border-bottom: 1px solid var(--line);
    }
    .order-product-row strong {
      text-align: left;
    }
    .order-actions {
      grid-template-columns: 1fr 1fr;
    }
    .woo-product-row {
      grid-template-columns: 48px minmax(0, 1fr);
    }
    .woo-products-head {
      display: none;
    }
    .woo-list-head {
      display: none;
    }
    .woo-list-row {
      grid-template-columns: 1fr;
      gap: 5px;
    }
    .woo-products-row {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    .woo-product-cell {
      align-items: flex-start;
    }
    .woo-product-money {
      grid-column: 2;
      text-align: left;
    }
    .woo-product-row > .pill {
      grid-column: 2;
      width: fit-content;
    }
    .woo-form-row,
    .woo-detail-grid,
    .woo-attribute-card {
      grid-template-columns: 1fr;
    }
    .woo-modal-backdrop {
      padding: 10px;
      place-items: stretch;
    }
    .woo-modal {
      max-height: calc(100vh - 20px);
    }
    .woo-modal-body {
      grid-template-columns: 1fr;
    }
    .woo-sheet {
      width: 100%;
    }
    .order-edit-body,
    .order-edit-fields {
      grid-template-columns: 1fr;
    }
    .order-edit-products-panel {
      order: -1;
    }
    .order-edit-item {
      grid-template-columns: minmax(0, 1fr) 72px;
    }
    .order-edit-remove-btn,
    .order-edit-restore-btn {
      grid-column: 1 / -1;
      width: 100%;
    }
  }
  .catalog-products-card {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }
  .catalog-products-toolbar {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .catalog-products-table {
    min-width: 0;
  }
  .catalog-products-head,
  .catalog-product-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
  }
  .catalog-products-head {
    min-height: 44px;
    color: var(--text-3);
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }
  .catalog-products-head-main,
  .catalog-product-row-main {
    display: grid;
    grid-template-columns: minmax(190px, 1.35fr) minmax(140px, 0.8fr) minmax(190px, 1.2fr) 110px 88px;
    align-items: center;
    gap: 18px;
    min-width: 0;
  }
  .catalog-products-actions-label {
    text-align: center;
    overflow: hidden;
    text-indent: -999px;
  }
  .catalog-product-group + .catalog-product-group {
    border-top: 1px solid var(--line);
  }
  .catalog-product-row {
    min-height: 68px;
    transition: background 0.15s ease;
  }
  .catalog-product-row:hover,
  .catalog-product-row.expanded {
    background: var(--surface-2);
  }
  .catalog-product-row-main {
    align-self: stretch;
    width: 100%;
    padding: 11px 0;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
  }
  .catalog-product-row-main:focus-visible {
    outline: 2px solid var(--ink-teal);
    outline-offset: -2px;
    border-radius: 9px;
  }
  .catalog-product-name-cell,
  .catalog-presentation-name,
  .catalog-presentation-price {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .catalog-product-name-cell b,
  .catalog-presentation-name b {
    overflow: hidden;
    color: var(--text);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 800;
  }
  .catalog-product-name-cell small,
  .catalog-presentation-name small {
    overflow: hidden;
    color: var(--text-3);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
  }
  .catalog-product-categories-cell {
    overflow: hidden;
    color: var(--text-2);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 650;
  }
  .catalog-product-channels-cell {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    flex-wrap: wrap;
  }
  .catalog-product-channels-cell .pill,
  .catalog-product-row-main > span > .pill,
  .catalog-presentation-row .pill {
    padding: 4px 8px;
    font-size: 10.5px;
  }
  .catalog-product-muted {
    color: var(--text-3);
    font-size: 11.5px;
  }
  .catalog-product-presentations-count {
    color: var(--text-2);
    font-size: 12.5px;
  }
  .catalog-product-presentations-count::after {
    content: " uds.";
    color: var(--text-3);
    font-family: var(--font-sans);
    font-size: 10.5px;
  }
  .catalog-product-expand,
  .catalog-product-actions-trigger {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text-2);
  }
  .catalog-product-expand:hover:not(:disabled),
  .catalog-product-actions-trigger:hover:not(:disabled) {
    border-color: var(--line);
    background: var(--surface);
    color: var(--text);
  }
  .catalog-product-expand:disabled {
    cursor: default;
    opacity: 0.28;
  }
  .catalog-product-expand svg {
    transition: transform 0.16s ease;
  }
  .catalog-product-row.expanded .catalog-product-expand svg {
    transform: rotate(90deg);
  }
  .catalog-product-actions-menu {
    width: 214px;
  }
  .catalog-product-actions-menu .btn + .btn.danger:last-child {
    margin-top: 3px;
    border-top: 1px solid var(--line-2);
    border-radius: 0 0 8px 8px;
  }
  .catalog-presentations-panel {
    padding: 4px 14px 14px 60px;
    background: var(--surface-2);
    border-top: 1px solid var(--line-2);
  }
  .catalog-presentations-head,
  .catalog-presentation-row {
    display: grid;
    grid-template-columns: 54px minmax(180px, 1.4fr) 118px 150px 90px 40px;
    align-items: center;
    gap: 14px;
  }
  .catalog-presentations-head {
    min-height: 36px;
    color: var(--text-3);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .catalog-presentation-row {
    min-height: 58px;
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
  }
  .catalog-presentation-row + .catalog-presentation-row {
    margin-top: 7px;
  }
  .catalog-presentation-image {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text-3);
  }
  .catalog-presentation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .catalog-presentation-price {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 650;
  }
  .catalog-presentation-price small {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 500;
    text-decoration: line-through;
  }
  .catalog-presentations-loading,
  .catalog-presentations-empty {
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--text-3);
    background: var(--surface);
    text-align: center;
    font-size: 12px;
  }
  .catalog-products-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    color: var(--text-3);
    text-align: center;
  }
  .catalog-products-empty b {
    color: var(--text);
    font-size: 13.5px;
  }
  .catalog-products-empty span {
    font-size: 12px;
  }
  .catalog-products-pagination {
    padding: 14px 16px;
    border-top: 1px solid var(--line);
  }
  .catalog-product-detail-modal {
    width: min(1280px, 100%);
  }
  .catalog-product-detail-modal .woo-modal-body {
    padding-right: 6px;
  }
  .catalog-product-modal-title {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
  }
  .catalog-product-modal-title > .pill {
    font-size: 10.5px;
  }
  .catalog-product-detail-content {
    display: grid;
    gap: 16px;
  }
  .catalog-product-detail-tabs {
    width: fit-content;
  }
  .catalog-product-create-modal {
    width: min(1280px, 100%);
  }
  .catalog-product-create-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .catalog-product-editor {
    display: grid;
    gap: 14px;
  }
  .catalog-product-editor-section {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
  }
  .catalog-product-editor-section-head {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 66px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-2);
    background: var(--surface-2);
  }
  .catalog-product-editor-section-action-inline .catalog-product-editor-section-head {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .catalog-product-editor-section-copy-inline {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 30px;
    min-width: 0;
  }
  .catalog-product-editor-section-copy-text {
    min-width: 0;
  }
  .catalog-product-editor-step {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--color-orange-tint);
    color: var(--ink-orange);
    font-size: 11px;
    font-weight: 900;
  }
  .catalog-product-editor-section-head h3 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 850;
  }
  .catalog-product-editor-section-head p {
    margin: 3px 0 0;
    color: var(--text-2);
    font-size: 11.5px;
    line-height: 1.4;
  }
  .catalog-product-editor-section-body {
    padding: 15px;
  }
  .catalog-product-editor-fields-stack {
    display: grid;
    gap: 14px;
  }
  .catalog-product-type-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }
  .catalog-product-type-option {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    padding: 10px 12px;
    border-radius: var(--radius-chip);
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
  }
  .catalog-product-type-option b {
    font-size: 13px;
  }
  .catalog-product-type-option small {
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.35;
  }
  .catalog-product-type-option.on {
    border-color: var(--color-teal);
    background: var(--color-teal-tint);
  }
  .catalog-product-type-option:disabled {
    cursor: not-allowed;
    opacity: 0.65;
  }
  .catalog-variations-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-chip);
    background: var(--surface-2, var(--surface));
  }
  .catalog-variations-panel-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .catalog-variations-panel-head b {
    font-size: 13px;
  }
  .catalog-variations-panel-head span {
    color: var(--text-3);
    font-size: 11.5px;
    line-height: 1.4;
  }
  .catalog-variations-panel-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
  }
  .catalog-variations-panel-inputs > * {
    min-width: 140px;
  }
  .catalog-product-editor-basic-fields {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.15fr) minmax(220px, 0.72fr);
    align-items: end;
    gap: 12px;
  }
  .catalog-product-editor-toggle {
    min-height: 61px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .catalog-product-editor-toggle > span:first-child {
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .catalog-product-editor-toggle b {
    color: var(--text);
    font-size: 12.5px;
    font-weight: 800;
  }
  .catalog-product-editor-toggle small {
    color: var(--text-3);
    font-size: 10.5px;
    line-height: 1.35;
  }
  .catalog-product-editor-commercial-fields {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    align-items: stretch;
    gap: 18px;
  }
  .catalog-product-editor-commercial-left {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
  }
  .catalog-product-editor-commercial-item {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .catalog-product-editor-image-field {
    min-width: 0;
    display: grid;
    gap: 7px;
  }
  .catalog-product-editor-image-field > span,
  .catalog-product-editor-field-help,
  .catalog-product-editor-empty-field {
    color: var(--text-3);
    font-size: 10.5px;
    line-height: 1.4;
  }
  .catalog-product-editor-commercial-description-field {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(260px, 1fr);
    align-content: stretch;
  }
  .catalog-product-editor-checks {
    display: flex;
    align-items: center;
    gap: 8px 14px;
    flex-wrap: wrap;
  }
  .catalog-product-editor-checks label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 650;
  }
  .catalog-product-editor-description {
    min-height: 260px;
    height: 100%;
    resize: vertical;
    font-family: inherit;
  }
  .catalog-product-editor-presentations {
    display: grid;
    gap: 11px;
  }
  .catalog-product-editor-presentations-help {
    margin: 0 0 11px;
    color: var(--text-3);
    font-size: 11.5px;
  }
  .catalog-product-editor-presentation-list {
    display: grid;
    gap: 8px;
  }
  .catalog-product-editor-presentation-row {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
  }
  .catalog-product-editor-presentation-thumb {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
  }
  .catalog-product-editor-presentation-index {
    color: var(--text-3);
    font-size: 10.5px;
  }
  .catalog-product-editor-presentation-label {
    color: var(--text);
    font-size: 13px;
  }
  .catalog-product-editor-presentation-row > .pill {
    font-size: 10.5px;
  }
  .catalog-product-editor-presentation-price {
    color: var(--text-2);
    font-size: 11.5px;
  }
  .catalog-product-editor-sale-price {
    color: var(--ink-crimson);
    font-weight: 750;
  }
  .catalog-product-editor-list-price {
    color: var(--text-3);
    text-decoration: line-through;
  }
  .catalog-product-editor-presentation-spacer {
    flex: 1;
  }
  .catalog-product-editor-presentations-empty,
  .catalog-product-create-presentations-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 78px;
    padding: 14px;
    border: 1px dashed var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .catalog-product-editor-presentations-empty > div,
  .catalog-product-create-presentations-empty > div {
    display: grid;
    gap: 3px;
  }
  .catalog-product-editor-presentations-empty b,
  .catalog-product-create-presentations-empty b {
    color: var(--text);
    font-size: 12.5px;
  }
  .catalog-product-editor-presentations-empty span,
  .catalog-product-create-presentations-empty span {
    color: var(--text-3);
    font-size: 11px;
  }
  .catalog-product-editor-add-presentation {
    width: fit-content;
    margin-top: 2px;
  }
  .catalog-product-editor-commercial-config {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
  }
  .catalog-product-editor-commercial-config-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
  }
  .catalog-product-editor-commercial-config-head h4 {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
  }
  .catalog-product-editor-commercial-config-head p {
    margin: 3px 0 0;
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.4;
  }
  .catalog-product-editor-advanced-tabs {
    width: fit-content;
    flex-shrink: 0;
  }
  .catalog-product-editor-attribute-stack {
    display: grid;
    gap: 9px;
  }
  .catalog-product-editor-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
  }
  .catalog-product-editor-loading {
    padding: 24px;
    color: var(--text-3);
    text-align: center;
    font-size: 12px;
  }
  .catalog-product-create-presentation-list {
    display: grid;
    gap: 10px;
  }
  .catalog-product-create-presentation-row {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .catalog-product-create-presentation-head {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 11px;
    border-bottom: 1px solid var(--line-2);
  }
  .catalog-product-create-presentation-head > div {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .catalog-product-create-presentation-head > div:first-child > .num {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-3);
    font-size: 10px;
  }
  .catalog-product-create-presentation-head > div:first-child > span:last-child {
    display: grid;
    gap: 1px;
  }
  .catalog-product-create-presentation-head b {
    color: var(--text);
    font-size: 12.5px;
  }
  .catalog-product-create-presentation-head small {
    color: var(--text-3);
    font-size: 10.5px;
  }
  .catalog-product-create-presentation-fields {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(130px, 0.75fr) minmax(105px, 0.5fr) 92px 110px;
    align-items: end;
    gap: 10px;
    padding: 12px;
  }
  .catalog-product-create-presentation-channels {
    display: grid;
    gap: 7px;
    padding: 0 12px 12px;
  }
  .catalog-product-create-presentation-channels > b {
    color: var(--text-2);
    font-size: 11px;
  }
  .catalog-product-create-presentation-channels > span {
    color: var(--text-3);
    font-size: 10.5px;
  }
  .catalog-product-create-presentation-extra {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
    align-items: start;
    gap: 14px;
    padding: 0 12px 12px;
  }
  .catalog-product-create-promotion {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
  }
  .catalog-product-create-promotion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .catalog-product-create-promotion-head b {
    color: var(--text-2);
    font-size: 11.5px;
  }
  .catalog-product-create-promotion-fields {
    display: grid;
    grid-template-columns: minmax(110px, 0.6fr) minmax(180px, 1fr) minmax(180px, 1fr);
    align-items: end;
    gap: 8px;
  }
  .catalog-product-create-presentation-advanced {
    margin: 0 12px 12px;
    padding: 9px 11px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    background: var(--surface);
  }
  .catalog-product-create-presentation-advanced summary {
    color: var(--text-2);
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
  }
  .catalog-product-create-presentation-advanced p {
    margin: 7px 0 0;
    color: var(--text-3);
    font-size: 10.5px;
    line-height: 1.45;
  }
  .catalog-product-create-progress {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .catalog-product-create-progress > b {
    color: var(--text);
    font-size: 12px;
  }
  .catalog-product-create-progress > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-size: 11.5px;
  }
  .catalog-product-create-progress .pill {
    min-width: 68px;
    text-align: center;
    font-size: 10.5px;
  }
  .catalog-product-editor-requirement {
    margin: 0;
    color: var(--ink-orange);
    text-align: right;
    font-size: 11px;
    font-weight: 750;
  }
  .catalog-variant-axes-field,
  .catalog-variant-axes-section {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
  }
  .catalog-product-create-presentations-empty-hint {
    margin: 0;
    color: var(--text-3);
    font-size: 11.5px;
    line-height: 1.45;
  }
  .catalog-variant-axis-card {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-chip);
    background: var(--surface-2, var(--surface));
  }
  .catalog-variant-axis-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .catalog-variant-axis-card-head b {
    font-size: 12.5px;
  }
  .catalog-variant-axis-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .catalog-variant-axis-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-2);
  }
  .catalog-variant-axis-empty,
  .catalog-variant-axes-empty {
    margin: 0;
    color: var(--text-3);
    font-size: 11.5px;
  }
  .catalog-variant-axis-value-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .catalog-variant-axis-value-pill button {
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    padding: 0;
  }
  .catalog-variant-axis-add {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .catalog-variant-axis-add > * {
    max-width: 220px;
  }
  .catalog-variant-axis-total {
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 11.5px;
  }
  .catalog-variant-axis-total.over {
    color: var(--ink-orange);
    font-weight: 700;
  }
  .catalog-product-create-variation-defaults {
    display: grid;
    grid-template-columns: minmax(140px, 0.8fr) 110px 110px;
    align-items: end;
    gap: 10px;
  }
  .catalog-simple-unit-fields {
    display: grid;
    gap: 14px;
  }
  .catalog-simple-unit-fields-grid {
    display: grid;
    grid-template-columns: minmax(160px, 1.2fr) minmax(105px, 0.6fr) 92px 110px;
    align-items: end;
    gap: 10px;
  }
  .catalog-simple-unit-promotion {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
  }
  .catalog-simple-unit-promotion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .catalog-simple-unit-promotion-head b {
    color: var(--text-2);
    font-size: 11.5px;
  }
  .catalog-simple-unit-promotion-fields {
    display: grid;
    grid-template-columns: minmax(110px, 0.6fr) minmax(180px, 1fr) minmax(180px, 1fr);
    align-items: end;
    gap: 8px;
  }
  .catalog-simple-unit-advanced {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .catalog-simple-unit-advanced > .btn {
    align-self: flex-end;
  }
  .catalog-simple-unit-advanced-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .catalog-combo-unit-card {
    display: grid;
    gap: 10px;
  }
  .catalog-product-expand-spacer {
    pointer-events: none;
  }
  .catalog-sale-unit-modal {
    width: min(1280px, 100%);
  }
  .catalog-sale-unit-form {
    display: grid;
    gap: 14px;
  }
  .catalog-sale-unit-base-section .catalog-product-editor-section-action {
    min-width: 0;
  }
  .catalog-sale-unit-header-config {
    display: flex;
    align-items: end;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
  }
  .catalog-sale-unit-kind {
    width: 132px;
  }
  .catalog-sale-unit-kind-readonly .pill {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 14px;
  }
  .catalog-sale-unit-price-mode {
    width: 210px;
  }
  .catalog-sale-unit-free-qty {
    width: 132px;
  }
  .catalog-sale-unit-base-grid {
    display: grid;
    grid-template-columns: minmax(210px, 1.35fr) minmax(145px, 0.8fr) 120px 96px 110px auto;
    align-items: end;
    gap: 10px;
  }
  .catalog-sale-unit-promotion-trigger {
    width: max-content;
    white-space: nowrap;
  }
  .catalog-sale-unit-promotion-card {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .catalog-sale-unit-promotion-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }
  .catalog-sale-unit-promotion-head h4 {
    margin: 0;
    color: var(--text);
    font-size: 13px;
  }
  .catalog-sale-unit-promotion-head p,
  .catalog-sale-unit-promotion-help {
    margin: 3px 0 0;
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.45;
  }
  .catalog-sale-unit-promotion-fields {
    display: grid;
    grid-template-columns: minmax(150px, 0.55fr) minmax(220px, 1fr) minmax(220px, 1fr);
    align-items: end;
    gap: 10px;
  }
  .catalog-sale-unit-promotion-help {
    margin: -2px 0 0;
  }
  .catalog-sale-unit-help {
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.45;
  }
  .catalog-sale-unit-inventory-section {
    position: relative;
    z-index: 2;
    overflow: visible;
  }
  .catalog-sale-unit-inventory-section .catalog-product-editor-section-head {
    border-radius: 15px 15px 0 0;
  }
  .catalog-sale-unit-stock-editor .combo-wrap,
  .catalog-sale-unit-stock-editor .combo-panel {
    z-index: 40;
  }
  .catalog-sale-unit-commercial-stack {
    display: grid;
    gap: 11px;
  }
  .catalog-sale-unit-subsection {
    min-width: 0;
    display: grid;
    gap: 11px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .catalog-sale-unit-subsection-head h4 {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
  }
  .catalog-sale-unit-subsection-head p {
    margin: 3px 0 0;
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.45;
  }
  .catalog-sale-unit-main-image {
    grid-template-columns: minmax(220px, 0.55fr) minmax(320px, 1.45fr);
    align-items: center;
  }
  .catalog-sale-unit-gallery-list,
  .catalog-sale-unit-stock-list {
    display: grid;
    gap: 7px;
  }
  .catalog-sale-unit-gallery-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 34px 34px 34px;
    align-items: center;
    gap: 7px;
    min-height: 52px;
    padding: 5px 7px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }
  .catalog-sale-unit-gallery-thumb {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
  }
  .catalog-sale-unit-gallery-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
    overflow: hidden;
    color: var(--text-2);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
  }
  .catalog-sale-unit-gallery-copy small {
    overflow: hidden;
    color: var(--text-3);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10.5px;
  }
  .catalog-sale-unit-gallery-row > .btn {
    width: 34px;
  }
  .catalog-sale-unit-gallery-editor {
    display: grid;
    grid-template-columns: minmax(240px, auto) minmax(150px, 0.7fr) minmax(190px, 1fr) auto;
    align-items: end;
    gap: 9px;
  }
  .catalog-sale-unit-stock-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 34px;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }
  .catalog-sale-unit-stock-name {
    overflow: hidden;
    color: var(--text-2);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 700;
  }
  .catalog-sale-unit-stock-qty {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-3);
    font-size: 11px;
  }
  .catalog-sale-unit-stock-qty .input {
    width: 66px;
    min-height: 34px;
    padding: 4px 8px;
  }
  .catalog-sale-unit-stock-row > .btn {
    width: 34px;
  }
  .catalog-sale-unit-stock-editor {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 105px auto;
    align-items: end;
    gap: 9px;
  }
  .catalog-sale-unit-attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
  }
  .catalog-sale-unit-axis {
    color: var(--ink-teal);
  }
  @media (max-width: 980px) {
    .catalog-products-head-main,
    .catalog-product-row-main {
      grid-template-columns: minmax(180px, 1.25fr) minmax(170px, 1fr) 100px 82px;
    }
    .catalog-products-head-main > :nth-child(2),
    .catalog-product-row-main > :nth-child(2) {
      display: none;
    }
    .catalog-presentations-head,
    .catalog-presentation-row {
      grid-template-columns: 48px minmax(160px, 1.2fr) 100px 125px 76px 36px;
      gap: 10px;
    }
    .catalog-product-type-picker {
      grid-template-columns: 1fr;
    }
    .catalog-product-editor-basic-fields {
      grid-template-columns: 1fr 1fr;
    }
    .catalog-product-editor-basic-fields > .catalog-product-editor-toggle {
      grid-column: 1 / -1;
      max-width: 360px;
    }
    .catalog-product-create-presentation-fields {
      grid-template-columns: minmax(180px, 1fr) minmax(130px, 0.75fr) minmax(110px, 0.55fr);
    }
    .catalog-sale-unit-base-grid {
      grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
    .catalog-sale-unit-gallery-editor {
      grid-template-columns: minmax(220px, 1fr) 1fr 1fr;
    }
    .catalog-sale-unit-gallery-editor > .btn {
      grid-column: 3;
      justify-self: end;
    }
  }
  @media (max-width: 700px) {
    .catalog-products-head {
      display: none;
    }
    .catalog-product-row {
      grid-template-columns: 34px minmax(0, 1fr) 38px;
      gap: 5px;
      padding: 0 9px;
    }
    .catalog-product-row-main {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 7px 10px;
      padding: 10px 0;
    }
    .catalog-product-name-cell {
      grid-column: 1;
      grid-row: 1;
    }
    .catalog-product-row-main > :nth-child(2) {
      display: none;
    }
    .catalog-product-channels-cell {
      grid-column: 1 / -1;
      grid-row: 2;
    }
    .catalog-product-presentations-count {
      grid-column: 1;
      grid-row: 3;
    }
    .catalog-product-row-main > :nth-child(5) {
      grid-column: 2;
      grid-row: 1;
    }
    .catalog-presentations-panel {
      padding: 8px 10px 12px;
    }
    .catalog-presentations-head {
      display: none;
    }
    .catalog-presentation-row {
      grid-template-columns: 44px minmax(0, 1fr) auto;
      grid-template-areas: "image name actions"
        "image type actions"
        "image price state";
      gap: 5px 9px;
      padding: 9px;
    }
    .catalog-presentation-row > :nth-child(1) {
      grid-area: image;
    }
    .catalog-presentation-row > :nth-child(2) {
      grid-area: name;
    }
    .catalog-presentation-row > :nth-child(3) {
      grid-area: type;
    }
    .catalog-presentation-row > :nth-child(4) {
      grid-area: price;
    }
    .catalog-presentation-row > :nth-child(5) {
      grid-area: state;
    }
    .catalog-presentation-row > :nth-child(6) {
      grid-area: actions;
    }
    .catalog-product-detail-tabs {
      width: 100%;
      overflow-x: auto;
    }
    .catalog-product-detail-tabs button {
      white-space: nowrap;
    }
    .catalog-product-editor-section-head {
      grid-template-columns: 32px minmax(0, 1fr);
    }
    .catalog-product-editor-section-action {
      grid-column: 2;
    }
    .catalog-product-editor-section-body {
      padding: 12px;
    }
    .catalog-product-editor-basic-fields,
    .catalog-product-editor-commercial-fields,
    .catalog-product-create-presentation-fields {
      grid-template-columns: 1fr;
    }
    .catalog-product-editor-basic-fields > .catalog-product-editor-toggle {
      grid-column: auto;
      max-width: none;
    }
    .catalog-product-create-presentation-extra,
    .catalog-product-create-promotion-fields {
      grid-template-columns: 1fr;
    }
    .catalog-product-editor-image-field {
      justify-items: start;
    }
    .catalog-product-editor-commercial-description-field {
      grid-template-rows: auto;
    }
    .catalog-product-editor-description {
      min-height: 180px;
      height: auto;
    }
    .catalog-product-editor-commercial-config-head {
      align-items: stretch;
      flex-direction: column;
    }
    .catalog-product-editor-advanced-tabs {
      width: 100%;
      overflow-x: auto;
    }
    .catalog-product-editor-advanced-tabs button {
      white-space: nowrap;
    }
    .catalog-product-editor-presentations-empty,
    .catalog-product-create-presentations-empty,
    .catalog-product-create-presentation-head {
      align-items: stretch;
      flex-direction: column;
    }
    .catalog-product-editor-presentations-empty .btn,
    .catalog-product-create-presentations-empty .btn,
    .catalog-product-editor-add-presentation {
      width: 100%;
    }
    .catalog-product-editor-presentation-spacer {
      flex-basis: 100%;
    }
    .catalog-product-editor-presentation-row .btn {
      flex: 1;
    }
    .catalog-product-editor-footer {
      grid-template-columns: 1fr;
    }
    .catalog-product-editor-footer > span {
      display: none;
    }
    .catalog-product-editor-footer .btn {
      width: 100%;
    }
    .catalog-sale-unit-base-grid,
    .catalog-sale-unit-promotion-fields,
    .catalog-sale-unit-main-image,
    .catalog-sale-unit-gallery-editor,
    .catalog-sale-unit-stock-editor {
      grid-template-columns: 1fr;
    }
    .catalog-sale-unit-promotion-trigger {
      width: 100%;
    }
    .catalog-sale-unit-kind {
      width: min(100%, 180px);
    }
    .catalog-sale-unit-header-config,
    .catalog-sale-unit-price-mode,
    .catalog-sale-unit-free-qty {
      width: 100%;
    }
    .catalog-sale-unit-base-section .catalog-product-editor-section-copy-inline {
      grid-template-columns: 1fr;
      align-items: stretch;
      gap: 12px 0;
    }
    .catalog-sale-unit-base-section .catalog-product-editor-section-action {
      width: 100%;
    }
    .catalog-sale-unit-gallery-editor > .btn {
      grid-column: auto;
      justify-self: stretch;
      width: 100%;
    }
    .catalog-sale-unit-gallery-row {
      grid-template-columns: 42px minmax(0, 1fr) repeat(3, 32px);
      gap: 5px;
    }
    .catalog-sale-unit-stock-row {
      grid-template-columns: minmax(0, 1fr) 34px;
    }
    .catalog-sale-unit-stock-qty {
      grid-column: 1 / -1;
      grid-row: 2;
    }
    .catalog-sale-unit-stock-row > .btn {
      grid-column: 2;
      grid-row: 1;
    }
  }
  .attributes-page-head {
    align-items: flex-start;
    flex-wrap: nowrap;
  }
  .attributes-page-heading {
    flex: 1;
    min-width: 0;
  }
  .attributes-page-heading .sub {
    max-width: 1120px;
    margin-bottom: 0;
    line-height: 1.55;
  }
  .attributes-page-head > .btn {
    margin-top: 2px;
  }
  .attributes-filter {
    margin-bottom: 15px;
  }
  .catalog-attributes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .catalog-attribute-card {
    display: grid;
    gap: 14px;
  }
  .catalog-attribute-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .catalog-attribute-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-wrap: wrap;
  }
  .catalog-attribute-title b {
    color: var(--text);
    font-size: 14px;
  }
  .catalog-attribute-title .pill,
  .catalog-attribute-value-list .pill {
    font-size: 11.5px;
  }
  .catalog-attribute-values {
    display: grid;
    gap: 7px;
    padding-top: 12px;
    border-top: 1px solid var(--line-2);
  }
  .catalog-attribute-values-label {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .catalog-attribute-value-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }
  .catalog-attribute-empty {
    color: var(--text-3);
    font-size: 12px;
  }
  .catalog-attribute-actions-menu {
    width: 208px;
  }
  .catalog-attribute-modal {
    width: min(760px, 100%);
  }
  .catalog-attribute-form {
    display: grid;
    gap: 16px;
  }
  .catalog-attribute-basics {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    align-items: start;
    gap: 12px;
  }
  .catalog-attribute-help {
    color: var(--text-3);
    font-size: 11.5px;
    line-height: 1.4;
  }
  .catalog-attribute-unit {
    max-width: 240px;
  }
  .catalog-attribute-value-editor {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
  }
  .catalog-attribute-value-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .catalog-attribute-value-editor-head h4 {
    margin: 0;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 800;
  }
  .catalog-attribute-value-editor-head p {
    margin: 3px 0 0;
    color: var(--text-2);
    font-size: 11.5px;
    line-height: 1.45;
  }
  .catalog-attribute-value-editor-list {
    display: grid;
    gap: 8px;
  }
  .catalog-attribute-value-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
  }
  .catalog-attribute-value-index {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 700;
  }
  .catalog-attribute-value-row > .btn {
    width: 34px;
  }
  .catalog-attribute-value-editor-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    color: var(--text-2);
    font-size: 12px;
  }
  .catalog-category-list {
    display: flex;
    flex-direction: column;
  }
  .catalog-category-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 6px;
    border-top: 1px solid var(--line);
  }
  .catalog-category-row:first-child {
    border-top: 0;
  }
  .catalog-category-branch {
    color: var(--text-3);
  }
  .catalog-category-name {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  .catalog-category-name b {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 13.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .catalog-category-count {
    flex: none;
    font-size: 11.5px;
  }
  .catalog-category-actions-menu {
    width: 196px;
  }
  .rules-page-head {
    align-items: flex-start;
    flex-wrap: nowrap;
  }
  .rules-page-heading {
    flex: 1;
    min-width: 0;
  }
  .rules-page-heading .sub {
    max-width: 1120px;
    margin-bottom: 0;
    line-height: 1.55;
  }
  .rules-page-head > .btn {
    margin-top: 2px;
  }
  .rules-table-card {
    padding: 18px;
  }
  .rules-table-scroll {
    overflow-x: auto;
  }
  .rules-table {
    min-width: 920px;
  }
  .rules-table th:nth-child(1) {
    width: 18%;
  }
  .rules-table th:nth-child(2) {
    width: 15%;
  }
  .rules-table th:nth-child(3),
  .rules-table th:nth-child(4) {
    width: 25%;
  }
  .rules-table th:nth-child(5) {
    width: 11%;
  }
  .rules-table .rules-actions-col {
    width: 52px;
    padding-left: 4px;
    padding-right: 4px;
    text-align: right;
    white-space: nowrap;
  }
  .rules-name-cell b {
    display: block;
    font-size: 13.5px;
  }
  .rules-name-cell small {
    display: block;
    margin-top: 3px;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.4;
  }
  .rules-muted-cell {
    color: var(--text-2) !important;
  }
  .rules-row-inactive td:not(.rules-actions-col) {
    color: var(--text-3);
  }
  .rules-empty {
    padding: 34px 24px !important;
    text-align: center;
  }
  .rules-empty b,
  .rules-empty span {
    display: block;
  }
  .rules-empty b {
    color: var(--text);
    font-size: 14px;
  }
  .rules-empty span {
    margin-top: 4px;
    color: var(--text-2);
    font-size: 12.5px;
  }
  .rule-actions-trigger {
    margin-left: auto;
  }
  .rule-actions-menu {
    width: 232px;
  }
  .rule-status-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
  }
  .rule-status-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .rule-status-copy b {
    color: var(--text);
    font-size: 12.5px;
  }
  .rule-status-copy small {
    color: var(--text-3);
    font-size: 10.5px;
    line-height: 1.35;
  }
  .rule-editor-modal {
    width: min(780px, 100%);
  }
  .rule-editor-form {
    display: grid;
    gap: 14px;
  }
  .rule-editor-section {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
  }
  .rule-editor-section-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .rule-editor-section-head h4,
  .rule-builder-head h5 {
    margin: 0;
    color: var(--text);
  }
  .rule-editor-section-head h4 {
    font-size: 14px;
    font-weight: 800;
  }
  .rule-editor-section-head p,
  .rule-builder-head p {
    margin: 3px 0 0;
    color: var(--text-2);
    font-size: 12px;
    line-height: 1.45;
  }
  .rule-step {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    flex: none;
    border-radius: 999px;
    background: var(--color-orange-tint);
    color: var(--ink-orange);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
  }
  .rule-optional {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 600;
  }
  .rule-field-help {
    color: var(--text-3);
    font-size: 11.5px;
    line-height: 1.4;
  }
  .rule-builder-block {
    display: grid;
    gap: 12px;
    padding-top: 2px;
  }
  .rule-builder-head,
  .rule-action-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .rule-builder-head h5 {
    font-size: 12.5px;
    font-weight: 800;
  }
  .rule-condition-mode {
    max-width: 260px;
  }
  .rule-builder-list {
    display: grid;
    gap: 10px;
  }
  .rule-condition-card,
  .rule-action-card,
  .rule-builder-empty,
  .rule-active-setting {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
  }
  .rule-condition-card,
  .rule-action-card {
    display: grid;
    gap: 9px;
    padding: 11px;
  }
  .rule-item-label {
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .rule-condition-grid {
    display: grid;
    grid-template-columns: minmax(135px, 0.9fr) minmax(130px, 0.8fr) minmax(180px, 1.2fr) 34px;
    align-items: center;
    gap: 8px;
  }
  .rule-condition-grid > .btn {
    width: 34px;
  }
  .rule-action-card-head {
    min-height: 28px;
  }
  .rule-action-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
  }
  .rule-builder-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    color: var(--text-2);
    font-size: 12.5px;
  }
  .rule-settings-grid {
    display: grid;
    grid-template-columns: minmax(160px, 0.7fr) minmax(260px, 1.3fr);
    align-items: stretch;
    gap: 12px;
  }
  .rule-active-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 12px;
    cursor: pointer;
  }
  @media (max-width: 760px) {
    .attributes-page-head {
      flex-wrap: wrap;
    }
    .attributes-page-head > .btn {
      width: 100%;
    }
    .catalog-attribute-basics {
      grid-template-columns: 1fr;
    }
    .catalog-attribute-value-editor-head,
    .catalog-attribute-value-editor-empty {
      align-items: stretch;
      flex-direction: column;
    }
    .rules-page-head {
      flex-wrap: wrap;
    }
    .rules-page-head > .btn {
      width: 100%;
    }
    .rule-settings-grid,
    .rule-action-fields {
      grid-template-columns: 1fr;
    }
    .rule-condition-grid {
      grid-template-columns: 1fr;
    }
    .rule-condition-grid > .btn {
      width: 100%;
    }
    .rule-builder-head,
    .rule-builder-empty {
      align-items: stretch;
      flex-direction: column;
    }
  }
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
    }
  }
}

