/* Onest static fonts: SIL Open Font License 1.1, see fonts/onest/OFL.txt. */
/* onest-cyrillic-ext-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./onest-cyrillic-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* onest-cyrillic-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./onest-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-math-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./onest-math-400-normal.woff2') format('woff2');
  unicode-range: U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF;
}

/* onest-symbols-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./onest-symbols-400-normal.woff2') format('woff2');
  unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF;
}

/* onest-vietnamese-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./onest-vietnamese-400-normal.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;
}

/* onest-latin-ext-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./onest-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* onest-latin-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./onest-latin-400-normal.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;
}

/* onest-cyrillic-ext-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./onest-cyrillic-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* onest-cyrillic-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./onest-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-math-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./onest-math-500-normal.woff2') format('woff2');
  unicode-range: U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF;
}

/* onest-symbols-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./onest-symbols-500-normal.woff2') format('woff2');
  unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF;
}

/* onest-vietnamese-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./onest-vietnamese-500-normal.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;
}

/* onest-latin-ext-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./onest-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* onest-latin-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./onest-latin-500-normal.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;
}

/* onest-cyrillic-ext-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./onest-cyrillic-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* onest-cyrillic-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./onest-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-math-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./onest-math-600-normal.woff2') format('woff2');
  unicode-range: U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF;
}

/* onest-symbols-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./onest-symbols-600-normal.woff2') format('woff2');
  unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF;
}

/* onest-vietnamese-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./onest-vietnamese-600-normal.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;
}

/* onest-latin-ext-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./onest-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* onest-latin-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./onest-latin-600-normal.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;
}

/* onest-cyrillic-ext-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./onest-cyrillic-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* onest-cyrillic-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./onest-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-math-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./onest-math-700-normal.woff2') format('woff2');
  unicode-range: U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF;
}

/* onest-symbols-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./onest-symbols-700-normal.woff2') format('woff2');
  unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF;
}

/* onest-vietnamese-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./onest-vietnamese-700-normal.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;
}

/* onest-latin-ext-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./onest-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* onest-latin-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./onest-latin-700-normal.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;
}

/* onest-cyrillic-ext-800-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('./onest-cyrillic-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* onest-cyrillic-800-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('./onest-cyrillic-800-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-math-800-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('./onest-math-800-normal.woff2') format('woff2');
  unicode-range: U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF;
}

/* onest-symbols-800-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('./onest-symbols-800-normal.woff2') format('woff2');
  unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF;
}

/* onest-vietnamese-800-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('./onest-vietnamese-800-normal.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;
}

/* onest-latin-ext-800-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('./onest-latin-ext-800-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* onest-latin-800-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('./onest-latin-800-normal.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;
}

:root {
  color-scheme: light dark;
  --bg: var(--tg-theme-bg-color, #f3f6fb);
  --surface: var(--tg-theme-secondary-bg-color, #ffffff);
  --text: var(--tg-theme-text-color, #17243d);
  --muted: var(--tg-theme-hint-color, #68758b);
  --accent: var(--tg-theme-button-color, #3157d5);
  --on-accent: var(--tg-theme-button-text-color, #ffffff);
  --line: color-mix(in srgb, var(--text) 13%, transparent);
  --soft: color-mix(in srgb, var(--accent) 8%, var(--surface));
  --danger: #a92b35;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font: 16px/1.45 Onest, system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
/* Do not use display:none: some embedded Telegram WebViews cannot resolve a
   <use> reference from a non-rendered SVG tree. */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { display: inline-block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
button:disabled { cursor: not-allowed; opacity: .58; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 62%, white); outline-offset: 3px; }
.shell { max-width: 920px; min-height: 100vh; margin: 0 auto; padding: max(20px, env(safe-area-inset-top), var(--tg-content-safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right), var(--tg-content-safe-area-inset-right, 0px)) calc(126px + env(safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left), var(--tg-content-safe-area-inset-left, 0px)); }
.topbar, .brand, .heading-row, .panel-head, .tabs, .selection-bar, .action-bar, .item-top, .item-bottom, .review-row, .order-head { display: flex; align-items: center; justify-content: space-between; }
.topbar { gap: 16px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.brand { justify-content: flex-start; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font: 800 20px Georgia, serif; }
.app-version { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.topbar-note, .timezone, .eyebrow, .step-kicker { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.heading-row { gap: 16px; align-items: flex-end; margin-top: 34px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); }
h1 { max-width: 620px; margin: 0; font-size: clamp(30px, 5.4vw, 50px); line-height: 1.05; letter-spacing: -.055em; }
.timezone { white-space: nowrap; padding: 8px 10px; border: 1px solid var(--line); border-radius: 100px; }
.intro { margin: 14px 0 24px; color: var(--muted); }
.tabs { justify-content: flex-start; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab { position: relative; min-height: 52px; padding: 12px 2px; background: none; border: 0; color: var(--muted); font-weight: 700; }
.tab.active { color: var(--text); }
.tab.active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.panel { padding: clamp(20px, 4vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 16px 50px rgba(23, 40, 31, .035); }
.panel-head { align-items: flex-start; gap: 20px; }
.step-kicker { margin: 0 0 8px; color: var(--accent); }
h2 { margin: 0; font-size: clamp(23px, 3.5vw, 31px); letter-spacing: -.045em; line-height: 1.14; }
.panel-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 13px; background: var(--soft); color: var(--accent); }
.panel-icon .icon { width: 22px; height: 22px; }
.supporting { margin: 12px 0 28px; color: var(--muted); }
.date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 19px; font-weight: 700; }
.field input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); color: var(--text); font-weight: 500; }
.field select, .field textarea { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); color: var(--text); }
.field input::placeholder { color: var(--muted); opacity: .8; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field small { color: var(--muted); font-size: 12px; font-weight: 500; }
.field .field-error { color: var(--danger); font-weight: 700; }
.field .identity-field-error { display: block; margin-top: 2px; color: var(--danger); font-weight: 700; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border: 2px solid var(--danger); }
.address-search { position: relative; }
.address-search input { width: 100%; }
.address-suggestions { position: absolute; z-index: 20; top: calc(100% + 5px); left: 0; right: 0; max-height: min(45vh, 320px); overflow-y: auto; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.address-suggestion { display: block; width: 100%; padding: 12px; border: 0; border-radius: 8px; background: transparent; color: var(--text); text-align: left; line-height: 1.35; }
.address-suggestion:hover, .address-suggestion:focus-visible { background: var(--soft); }
.address-suggestion-status { margin: 0; padding: 11px; color: var(--muted); font-size: 14px; }
.info-strip, .notice { padding: 14px 16px; border-radius: 13px; background: var(--soft); color: var(--text); }
.info-strip { display: flex; gap: 12px; margin-top: 10px; }
.info-strip p { margin: 0; font-size: 13px; }
.info-icon { width: 18px; height: 18px; flex: 0 0 18px; color: var(--accent); }
.notice { margin: 0 0 18px; font-size: 14px; }
.notice.error { color: var(--danger); background: color-mix(in srgb, var(--danger) 9%, var(--surface)); }
.mode-banner { margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13px; }
.items-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.item-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 170px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; color: var(--text); }
.item-card.unavailable { background: var(--soft); }
.item-card.selected { border: 2px solid var(--accent); background: var(--soft); padding: 17px; }
.item-card:hover { border-color: var(--accent); }
.item-card:focus-visible { outline-offset: 2px; }
.item-top { gap: 14px; align-items: flex-start; }
.item-name { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.25; }
.item-number { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.available-badge { display: inline-block; margin-top: 9px; padding: 3px 7px; border-radius: 5px; background: var(--soft); color: var(--accent); font-size: 11px; font-weight: 800; }
.item-description { margin: 9px 0 0; color: var(--muted); font-size: 13px; font-weight: 400; }
.item-check { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border: 1px solid var(--line); border-radius: 7px; font-size: 15px; }
.item-card.selected .item-check { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.item-photo { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 9px; margin-bottom: 12px; background: var(--soft); }
.item-placeholder, .article-placeholder { display: grid; place-items: center; gap: 4px; background: linear-gradient(135deg, var(--soft), color-mix(in srgb, var(--accent) 18%, var(--surface))); color: var(--accent); }
.item-placeholder { width: 100%; height: 150px; margin-bottom: 12px; border-radius: 9px; }
.placeholder-icon { width: 44px; height: 44px; }.item-placeholder small { font-weight: 750; }
.item-type, .article-type { display: block; color: var(--muted); font-size: 12px; font-weight: 750; }
.item-bottom { align-items: flex-end; gap: 8px; }
.item-bottom small { color: var(--muted); }
.item-bottom strong { font-size: 20px; letter-spacing: -.04em; }
.selection-bar { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.unavailable-details { margin-top: 18px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; }
.unavailable-details summary { cursor: pointer; color: var(--text); font-weight: 700; }
.unavailable-details p { margin: 10px 0 0; }
.selection-bar strong { font-size: 20px; }
.quantity-control { display: grid; grid-template-columns: 46px 36px 46px; align-items: center; justify-content: end; gap: 6px; }
.quantity-control strong { text-align: center; }
.quantity-control .button { min-height: 42px; padding: 6px; }
.privacy-note { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.review-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review-group:last-child { border-bottom: 0; }
.review-heading { margin: 0 0 8px; color: var(--text); font-size: 14px; font-weight: 800; }
.review-items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.review-items li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px; background: var(--soft); }
.review-items li span { overflow-wrap: anywhere; }
.review-items li strong { flex: 0 0 auto; white-space: nowrap; }
.review-row { gap: 18px; align-items: flex-start; padding: 4px 0; }
.review-row span { color: var(--muted); }
.review-row strong { max-width: 68%; text-align: right; overflow-wrap: anywhere; }
.review-total { font-size: 23px; }
.done-panel { text-align: center; padding-top: 54px; padding-bottom: 54px; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.success-mark .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.done-panel p:not(.step-kicker) { max-width: 450px; margin: 18px auto; color: var(--muted); }
.done-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.button { min-height: 50px; border: 0; border-radius: 11px; padding: 12px 20px; font-weight: 750; }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.secondary { background: var(--soft); color: var(--accent); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button.compact { min-height: 36px; padding: 7px 11px; font-size: 14px; }
.action-bar { position: fixed; left: 50%; bottom: 0; width: min(920px, 100%); transform: translateX(-50%); gap: 12px; padding: 14px max(18px, env(safe-area-inset-right), var(--tg-content-safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left), var(--tg-content-safe-area-inset-left, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
.action-bar .primary { min-width: 220px; flex: 1; }
.order-card { border: 1px solid var(--line); border-radius: 15px; padding: 17px; margin-top: 12px; }
.contact-editor { width: 100%; margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--soft); }
.contact-editor .field { margin-bottom: 12px; }
.contact-editor .field input { min-height: 46px; }
.order-head { gap: 10px; align-items: flex-start; }
.order-head strong { font-size: 18px; }
.status-pill { padding: 5px 10px; border-radius: 100px; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 800; white-space: nowrap; }
.status-pill.status-pending { color: #8a5700; background: #fff0c2; }
.status-pill.status-confirmed { color: #2458a5; background: #e5efff; }
.status-pill.status-preparing { color: #7042a1; background: #f0e7ff; }
.status-pill.status-ready { color: #137344; background: #ddf6e7; }
.status-pill.status-issued { color: #087b78; background: #dbf4f0; }
.status-pill.status-return_inspection { color: #a34d13; background: #ffeadb; }
.status-pill.status-returned { color: #386344; background: #e6f0e5; }
.status-pill.status-cancelled { color: #9b2f39; background: #ffe4e6; }
.status-pill.status-expired { color: #59616a; background: #e9ecef; }
.order-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.order-card .button { margin-top: 16px; min-height: 42px; }
.customer-order-card { padding: 0; overflow: hidden; }
.customer-order-toggle { position: relative; display: grid; gap: 6px; padding: 16px 42px 16px 16px; list-style: none; cursor: pointer; }
.customer-order-toggle::-webkit-details-marker { display: none; }
.customer-order-toggle::after { position: absolute; right: 16px; top: 16px; content: "›"; color: var(--accent); font-size: 24px; line-height: 1; }
.customer-order-accordion[open] > .customer-order-toggle { border-bottom: 1px solid var(--line); }
.customer-order-accordion[open] > .customer-order-toggle::after { transform: rotate(90deg); }
.customer-order-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.customer-order-toggle .order-head { flex-wrap: wrap; gap: 6px; }
.customer-order-period, .customer-order-items { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.customer-order-body { padding: 0 16px 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.consent-box { max-height: 260px; overflow: auto; padding: 16px; border: 1px solid var(--line); border-radius: 12px; white-space: pre-wrap; background: var(--soft); }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; }
.check-row input { width: 22px; height: 22px; flex: 0 0 22px; }
.admin-tabs, .action-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.admin-tabs > .button, #admin-content > .action-row > .button { min-height: 36px; padding: 7px 11px; font-size: 14px; }
.admin-card { margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; }
.admin-card .action-row { gap: 6px; margin: 10px 0; }
.admin-card .action-row > .button { min-height: 36px; padding: 7px 11px; font-size: 14px; }
.admin-card .action-row > .workflow-next { display: flex; align-items: center; justify-content: space-between; flex: 1 1 100%; width: 100%; min-height: 56px; margin: 12px 0 4px; padding: 13px 17px; border: 2px solid var(--accent); font-size: 16px; text-align: left; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 26%, transparent); }
.admin-card .action-row > .workflow-next::after { content: "→"; margin-left: 14px; font-size: 22px; line-height: 1; }
.admin-card .action-row > .workflow-next:disabled { box-shadow: none; }
.calendar-sync { margin: 4px 0 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.calendar-sync > summary { color: var(--accent); font-weight: 750; cursor: pointer; }
.calendar-sync > p { margin: 8px 0; color: var(--muted); font-size: 14px; }
.calendar-sync .action-row { margin: 8px 0; }
.calendar-sync input { width: 100%; min-height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
.calendar-sync input[hidden] { display: none; }
.calendar-sync-status { overflow-wrap: anywhere; }
.catalog-import { margin: 12px 0 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.catalog-import summary { color: var(--accent); font-weight: 750; cursor: pointer; }
.catalog-import p { margin: 12px 0; color: var(--muted); font-size: 14px; }
.catalog-import a { color: var(--accent); font-weight: 700; }
.catalog-import-form { margin-top: 14px; }
.catalog-import-form .field { margin-bottom: 10px; }
.admin-card h3 { margin: 0 0 8px; }
.admin-card p { margin: 6px 0; color: var(--muted); }
.booking-maintenance { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.booking-maintenance summary { color: var(--muted); font-size: 13px; cursor: pointer; }
.booking-maintenance .button { margin-top: 10px; }
.workflow-hint { flex: 1 1 100%; margin: 4px 0 !important; color: var(--muted); font-size: 14px; }
.identity-feedback { margin: 0 0 18px; padding: 14px 16px; border-left: 4px solid var(--danger); border-radius: 10px; background: color-mix(in srgb, var(--danger) 9%, var(--surface)); overflow-wrap: anywhere; }
.file-draft-status { min-height: 1.2em; color: var(--accent); font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; overflow-y: auto; padding: 16px; background: rgba(8, 15, 28, .72); }
.dialog-card { display: grid; gap: 12px; width: min(100%, 560px); max-height: min(90vh, 760px); overflow-y: auto; padding: clamp(18px, 4vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 20px 70px rgba(0, 0, 0, .24); }
.dialog-card h2 { font-size: clamp(22px, 5vw, 28px); }
.dialog-card .supporting { margin: 0; }
.review-field-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
.review-field-option { min-width: 0; margin: 0; padding: 8px 0; font-size: 14px; font-weight: 550; }
.review-field-option input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.dialog-card textarea { width: 100%; min-height: 84px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); color: var(--text); }
.field.needs-fix > span { color: var(--danger); }
.field.needs-fix input, .field.needs-fix select, .field.needs-fix textarea { border: 2px solid var(--danger); background: color-mix(in srgb, var(--danger) 5%, var(--surface)); }
.admin-card.inactive { opacity: .72; border-style: dashed; }
.catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 8px; margin: 12px 0; }
.catalog-controls input, .catalog-controls select { width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--text); }
.catalog-summary { margin: 10px 0 2px; color: var(--muted); font-size: 13px; }
.article-card { overflow: hidden; }.article-card-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 13px; align-items: center; }
.article-photo, .article-placeholder { width: 76px; height: 76px; border-radius: 15px; object-fit: cover; }.article-placeholder .placeholder-icon { width: 28px; height: 28px; }.article-placeholder small { font-size: 10px; font-weight: 750; }
.article-main h3 { margin: 2px 0 3px; }.article-main .order-head { align-items: flex-start; }.article-meta { margin: 0 !important; font-size: 13px; }
.article-details { margin-top: 12px; padding: 10px 12px; border-radius: 11px; background: var(--soft); }.article-details summary { color: var(--accent); font-weight: 750; cursor: pointer; }.article-details p { font-size: 13px; }
.editor-card { border: 2px solid var(--accent); background: var(--soft); }
.catalog-form { margin-top: 18px; }
.equipment-list { display: grid; gap: 8px; margin-top: 14px; }
.equipment-row, .dependency-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.equipment-row span { display: grid; gap: 4px; }
.equipment-row small { color: var(--muted); }
.condition-pill { width: max-content; padding: 2px 7px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 11px; font-weight: 800; }
.condition-maintenance .condition-pill { background: color-mix(in srgb, #d88000 14%, var(--surface)); color: #9a5c00; }.condition-retired .condition-pill { background: color-mix(in srgb, var(--danger) 11%, var(--surface)); color: var(--danger); }
.catalog-more { margin-top: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dependency-list { margin-top: 10px; }
.inspection-editor { border: 2px solid var(--accent); background: var(--soft); }
.inspection-editor .check-row { margin: 4px 0; font-weight: 600; }
.inspection-state { display: inline-flex; align-items: center; gap: 8px; margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.inspection-state.checked { color: var(--success, #16835b); font-weight: 700; }
.inspection-group { display: grid; flex: 1 1 100%; gap: 0; width: 100%; min-width: 0; margin-top: 10px; }
.inspection-group-title { margin: 8px 0 0; font-size: 16px; }
.inspection-progress { margin: 3px 0 6px; color: var(--muted); font-size: 13px; }
.inspection-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.inspection-unit { display: grid; gap: 1px; min-width: 0; }
.inspection-unit-name { overflow-wrap: anywhere; }
.inspection-row > .button { flex: 0 0 auto; min-height: 40px; padding: 8px 12px; }
.inspection-all-pass { width: 100%; margin-top: 10px; }
.assignment-editor { border: 2px solid var(--accent); background: var(--soft); }
.assignment-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); min-width: 0; gap: 10px; margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.assignment-group legend { padding: 0 6px; font-weight: 750; }
.assignment-slot { display: grid; gap: 5px; }
.assignment-slot span { color: var(--muted); font-size: 13px; font-weight: 650; }
.assignment-group select { min-height: 48px; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--surface); color: var(--text); }
.document-viewer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(8, 15, 28, .86); }
.document-viewer[hidden] { display: none; }
.document-viewer-card { width: min(100%, 900px); max-height: 94vh; overflow: auto; background: var(--surface); border-radius: 18px; padding: 16px; }
.document-viewer-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.document-viewer-body img { display: block; width: 100%; max-height: 76vh; object-fit: contain; background: #111; border-radius: 10px; }
.document-actions { width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.document-actions > summary { color: var(--accent); font-weight: 750; cursor: pointer; }
.document-actions[open] > summary { margin-bottom: 8px; }
.document-group-title, .document-group-caption { display: block; }
.document-group-caption { margin-top: 3px; color: var(--muted); font-size: 14px; }
.document-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.document-button { min-height: 36px; font-size: 14px; }
.asset-list { margin: 10px 0; padding-left: 18px; }
.danger { color: var(--danger) !important; }
@media (max-width: 620px) {
  .shell { padding-top: max(17px, env(safe-area-inset-top)); }
  .topbar { padding-bottom: 22px; }
  .topbar-note { display: none; }
  .heading-row { align-items: flex-start; margin-top: 26px; }
  .timezone { margin-top: 4px; font-size: 10px; }
  .date-grid, .items-grid, .form-grid { grid-template-columns: 1fr; }
  .catalog-controls { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .panel { border-radius: 18px; }
  .item-card { min-height: 140px; }
  .done-actions { flex-direction: column; }
  .panel-head, .order-head { flex-wrap: wrap; }
  .panel-head > *, .order-head > * { max-width: 100%; }
  .action-row { width: 100%; }
  .action-row > .button { flex: 1 1 140px; min-width: 0; max-width: 100%; padding-left: 12px; padding-right: 12px; }
  .admin-tabs > .button { flex: 1 1 120px; min-width: 0; }
  .document-group > .button { flex: 1 1 150px; min-width: 0; }
  .review-field-list { grid-template-columns: 1fr; }
  .inspection-row { align-items: flex-start; }
  .inspection-row > .button { min-height: 38px; }
  .tabs { gap: 12px; flex-wrap: wrap; }
  .equipment-row, .dependency-row { flex-wrap: wrap; overflow-wrap: anywhere; }
  .admin-card p, .asset-list, .review-row span { overflow-wrap: anywhere; }
  .assignment-slot, .assignment-group select, .field { min-width: 0; }
  .document-viewer-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-viewer-body img { grid-row: 1; grid-column: 1 / -1; min-height: 180px; max-height: 60vh; }
  .document-viewer-body .button { min-width: 0; padding-left: 8px; padding-right: 8px; }
  .action-bar { gap: 8px; }
  .action-bar .button { min-width: 0; padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .item-card { transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
  .button:active, .item-card:active { transform: scale(.99); }
}

/* The period is the first screen, including six-week months. */
.dates-view .heading-row, .dates-view .intro,
.dates-view #step-dates .step-kicker, .dates-view #step-dates .panel-icon,
.dates-view .topbar-note, .dates-view .mode-banner { display: none; }
.dates-view .shell { padding-top: max(4px, env(safe-area-inset-top), var(--tg-content-safe-area-inset-top, 0px)); padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
.dates-view .topbar { min-height: 30px; padding-bottom: 0; border: 0; }
.dates-view .tabs { margin-bottom: 4px; gap: 14px; flex-wrap: nowrap; }
.dates-view .tab { min-height: 44px; padding: 8px 0; font-size: 14px; }
.dates-view #step-dates { padding: 8px; }
.dates-view #step-dates h2 { font-size: 18px; line-height: 24px; }
.range-calendar { width: 100%; min-width: 0; min-height: 326px; }
.range-calendar .calendar-head { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.calendar-nav { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--soft); color: var(--text); font-size: 24px; }
.range-calendar .calendar-weekdays, .range-calendar .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(44px, 1fr)); gap: 0; text-align: center; }
.range-calendar .calendar-weekdays { height: 18px; margin: 0; font-size: 12px; color: var(--text); }
.range-calendar .calendar-days { height: 264px; grid-template-rows: repeat(6, 44px); }
.range-calendar .calendar-day { min-width: 44px; width: 100%; min-height: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--text); font-size: 15px; }
.range-calendar .calendar-day.in-range { border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.range-calendar .calendar-day.selected { background: var(--accent); color: var(--on-accent); font-weight: 800; }
.range-calendar .calendar-day:disabled { opacity: .4; text-decoration: line-through; }
.range-calendar .calendar-day.outside-month:not(.selected):not(.in-range) { background: transparent; color: var(--muted); }
.dates-view .date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.dates-view .date-grid .field { margin: 0; gap: 2px; }
.dates-view .date-grid .field > span { font-size: 12px; }
.dates-view .date-grid input[type="time"] { min-height: 44px; height: 44px; padding: 6px 10px; }
.period-row { display: flex; align-items: center; gap: 4px; min-height: 44px; }
.period-row p { flex: 1; margin: 0; font-size: 12px; color: var(--text); }
.period-error { min-height: 30px; margin: 0; font-size: 12px; line-height: 15px; color: var(--danger); }
.dates-view .action-bar { padding-top: 6px; padding-bottom: max(6px, env(safe-area-inset-bottom), var(--tg-content-safe-area-inset-bottom, 0px)); }
.dates-view .action-bar .button { min-height: 44px; }
.article-photo, .article-placeholder { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; min-width: 0; }
.item-photo, .item-placeholder { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
/* Preserve at least 44px touch targets in the existing operator controls. */
.button.compact, .admin-tabs > .button, .admin-card .action-row > .button,
.document-button, .quantity-control .button, .inspection-row > .button,
.order-card .button, .catalog-controls input, .catalog-controls select { min-height: 44px; }
@media (max-width: 359px) {
  .dates-view .shell { padding-left: 5px; padding-right: 5px; }
  .dates-view #step-dates { padding-left: 0; padding-right: 0; border: 0; }
  .dates-view .brand { gap: 5px; font-size: 16px; }
  .dates-view .tabs { gap: 10px; }
}

:root[data-theme="dark"] {
  --bg: var(--tg-theme-bg-color, #17212b);
  --surface: var(--tg-theme-secondary-bg-color, #232e3c);
  --text: var(--tg-theme-text-color, #ffffff);
  --muted: var(--tg-theme-hint-color, #b4c0cc);
  --accent: var(--tg-theme-button-color, #90adff);
  --on-accent: var(--tg-theme-button-text-color, #102141);
  --danger: #ff8993;
}

/* Request processing stays in the selected card on every screen size. */
.request-card { padding: 0; overflow-anchor: none; background: var(--surface); box-shadow: 0 3px 14px color-mix(in srgb, var(--text) 4%, transparent); }
.request-toggle { position: relative; display: grid; gap: 5px; min-height: 100px; padding: 16px 42px 16px 16px; list-style: none; cursor: pointer; border-radius: 15px; }
.request-toggle::-webkit-details-marker { display: none; }
.request-toggle::after { position: absolute; right: 17px; top: 18px; content: "+"; font-size: 24px; line-height: 1; }
.request-accordion[open] > .request-toggle::after { content: "−"; }
.request-accordion[open] > .request-toggle { border-bottom: 1px solid var(--line); border-radius: 15px 15px 0 0; }
.request-toggle:focus-visible, .request-card summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.request-toggle .order-head { flex-wrap: wrap; gap: 7px; }
.request-toggle .order-head strong { font-size: 16px; }
.request-client { font-weight: 650; overflow-wrap: anywhere; }
.request-period { font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.request-body { padding: 0 16px 16px; }
.request-section { min-width: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.request-section:last-child { border-bottom: 0; padding-bottom: 0; }
.request-section h4 { margin: 0 0 14px; font-size: 17px; font-weight: 750; }
.request-section h5 { margin: 0 0 10px; font-size: 15px; }
.request-card .request-section p, .request-card .request-section .workflow-hint { color: var(--text); line-height: 1.5; }
.request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.request-fields > div { min-width: 0; }
.request-fields dt { font-size: 12px; color: var(--text); }
.request-fields dd { margin: 3px 0 0; font-size: 15px; font-weight: 650; overflow-wrap: anywhere; white-space: pre-wrap; }
.identity-check-review { margin-top: 18px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.identity-check-review .request-section:last-child { padding-bottom: 14px; }
.document-verdict { margin-bottom: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.document-verdict .request-fields { grid-template-columns: 1fr; gap: 10px; }
.review-advisory, .stage-lock { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); font-size: 14px; }
.stage-lock-expired { border-style: dashed; }
.request-next-step { font-weight: 650; }
.request-history-list { display: grid; gap: 14px; margin: 0; padding-left: 21px; }
.request-history-list li { padding-left: 3px; }
.request-history-list strong, .request-history-list span { display: block; overflow-wrap: anywhere; }
.request-history-list strong { font-size: 14px; }
.request-history-list span { margin-top: 3px; font-size: 12px; }
.request-card .button, .request-card summary:not(.request-toggle) { min-height: 44px; }
.request-card summary:not(.request-toggle) { align-content: center; }
.request-card .action-row { margin-bottom: 0; }
.review-field-option { min-height: 44px; }
@media (max-width: 620px) {
  .request-body { padding-left: 12px; padding-right: 12px; }
  .request-fields { grid-template-columns: 1fr; gap: 12px; }
  .identity-check-review { padding-left: 10px; padding-right: 10px; }
  .request-toggle .status-pill { white-space: normal; }
}
@media (prefers-reduced-motion: no-preference) {
  .request-accordion[open] > .request-body { animation: request-open .18s ease-out; }
  @keyframes request-open { from { opacity: .35; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
}

html.role-pending main, html.role-pending .action-bar { display: none; }
#profile-header { margin-top: 24px; }
.profile-settings { padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.profile-settings > summary { min-height: 48px; align-content: center; color: var(--accent); font-size: 14px; font-weight: 700; cursor: pointer; }
.profile-settings[open] { padding-bottom: 16px; }
#profile-search .field { flex: 1 1 100%; margin: 0; }
#profile-name { font-weight: 700; }
#onboarding-dialog .button { min-height: 44px; }

.delete-snackbar { position: fixed; z-index: 50; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(94vw, 560px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 6px 24px #0004; }
.delete-snackbar .button { min-height: 44px; }

.request-equipment-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.request-equipment-full { flex-basis: 100%; color: var(--muted); overflow-wrap: anywhere; }

.request-equipment { position: relative; min-height: 1.5em; }
.workflow-dialog { z-index: 90; }
.workflow-dialog .dialog-card { max-height: min(88dvh, 900px); overflow-y: auto; overscroll-behavior: contain; }
.workflow-dialog input, .workflow-dialog select, .workflow-dialog textarea { min-height: 44px; max-width: 100%; }
.workflow-dialog iframe { width: 100%; min-height: 50dvh; border: 1px solid var(--line); }
.stage-notice { border-left: 3px solid var(--accent, #5884ef); padding: 10px; }
.stage-toast { position: fixed; z-index: 60; bottom: max(92px, env(safe-area-inset-bottom)); right: 12px; width: min(88vw, 400px); display:flex; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--text); box-shadow:0 6px 24px #0004; pointer-events:none; }
.stage-toast .button { pointer-events:auto; min-width:44px; min-height:44px; }
.request-actions .action-row { align-items: center; justify-content: center; }
.request-actions .button { min-height: 44px; }
.equipment-row { flex-wrap: wrap; }
.assignment-slot { display: grid; gap: 6px; }
.replacement-list { display: grid; gap: 4px; }
.replacement-list .button { min-height: 44px; text-align: left; }
.button, .admin-card .action-row > .button, .admin-tabs > .button { min-height:44px; }
.check-row { min-height:44px; align-items:center; }
.check-row input { width:18px; height:18px; flex-basis:18px; }
.request-actions > .button.danger, .request-actions .action-row > .button.danger { width:min(180px,100%); min-height:44px; margin-inline:auto; justify-content:center; }
.request-history > h4 { margin-bottom:6px; }
.request-equipment-empty { position: absolute; inset: 0 auto auto 0; margin: 0; }

/* Catalog and document upload cards */
.items-grid { grid-template-columns: 1fr; }
.item-card, .item-card.selected { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; min-height: 144px; padding: 12px; align-items: stretch; }
.item-card .item-photo, .item-card .item-placeholder { width: 112px; height: 120px; margin: 0; }
.item-card .item-placeholder { align-content: center; }
.item-main { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; }
.item-main .item-top { min-width: 0; }
.item-main .item-name { overflow-wrap: anywhere; font-size: 15px; }
.item-main details { margin-top: 8px; color: var(--muted); font-size: 12px; }
.item-main p { margin: 6px 0; color: var(--muted); font-size: 12px; }
.quantity-control { grid-template-columns: 36px 30px 36px; gap: 0; width: max-content; margin-left: auto; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.quantity-control .button { min-height: 36px; padding: 2px; border: 0; border-radius: 0; }
.quantity-control strong { font-size: 14px; }
.review-items li { justify-content: flex-start; align-items: stretch; padding: 10px; background: var(--surface); border: 1px solid var(--line); }
.review-photo, .review-placeholder { width: 76px; height: 84px; flex: 0 0 76px; object-fit: cover; border-radius: 9px; }
.review-placeholder { display: grid; place-content: center; text-align: center; background: var(--soft); color: var(--accent); }
.review-placeholder span { font-size: 24px; }.review-placeholder small { font-size: 10px; }
.review-item-main { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
.review-items li .review-item-main > strong { white-space: normal; overflow-wrap: anywhere; }
.review-item-main > span { color: var(--muted); font-size: 12px; }
.review-item-main .quantity-control { margin-top: auto; }
#consent-step .check-row { align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
#consent-check { accent-color: var(--accent); margin: 0; }
.document-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.document-photo-group { min-width: 0; }.document-photo-group h4 { margin: 0 0 10px; font-size: 14px; }
.photo-field { position: relative; margin-bottom: 4px; }
.photo-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 110px; padding: 10px; border: 1px dashed var(--muted); border-radius: 10px; background: var(--soft); color: var(--muted); text-align: center; font-size: 12px; cursor: pointer; }
.photo-placeholder > span { color: var(--accent); font-size: 30px; line-height: 1; margin-bottom: 8px; }
.photo-field input[type=file] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; }
.photo-field:focus-within .photo-placeholder { outline: 3px solid color-mix(in srgb, var(--accent) 62%, white); outline-offset: 3px; }
.document-photo-group .photo-actions { margin: 2px 0 12px; }
.document-photo-group .photo-actions .button { min-height: 36px; padding: 6px 8px; }
@media (max-width: 380px) { .item-card, .item-card.selected { grid-template-columns: 84px minmax(0, 1fr); } .item-card .item-photo, .item-card .item-placeholder { width: 84px; height: 110px; } }

.handover-progress { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-size: 14px; }
.handover-progress ul { list-style: none; padding: 0; margin: 8px 0 0; }
.handover-progress li { margin: 5px 0; overflow-wrap: anywhere; }

/* Figma: keep the period and its edit action together without hiding either. */
.catalog-period { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 18px; }
.catalog-period .supporting { min-width: 0; margin: 0; }
.catalog-period #change-dates { flex: 0 0 auto; min-height: 48px; padding: 10px 12px; border: 0; color: var(--accent); font-size: 14px; }
.catalog-period #change-dates span { margin-left: 4px; font-size: 18px; }
.contact-card { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact-card h3 { margin: 0; font-size: 16px; }
.contact-card .supporting { margin: 8px 0 16px; font-size: 13px; }
.contact-card .field { margin-bottom: 16px; font-size: 14px; }
.contact-card .field input { min-height: 48px; }

/* Shared mobile shell and cards from the Figma layouts. The booking steps and
   operator actions remain real controls, rather than prototype-only links. */
.shell { min-height: 100dvh; }
html { scroll-padding-bottom: calc(150px + max(env(safe-area-inset-bottom), var(--tg-content-safe-area-inset-bottom, 0px))); }
.heading-row, .intro { display: none; }
.topbar { min-height: 40px; padding-bottom: 12px; border-bottom: 0; }
.brand { font-size: 16px; letter-spacing: 0; }
.brand-mark { width: 28px; height: 28px; }
.tabs { gap: 20px; margin-bottom: 16px; }
.tab { min-height: 48px; font-size: 14px; }
#booking-flow .step-kicker { display: none; }
.tabs { position: fixed; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%); width: min(920px, 100%); min-height: 56px; gap: 0; margin: 0; padding: 0 max(16px, env(safe-area-inset-right), var(--tg-content-safe-area-inset-right, 0px)) max(env(safe-area-inset-bottom), var(--tg-content-safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left), var(--tg-content-safe-area-inset-left, 0px)); border-top: 1px solid var(--line); border-bottom: 0; background: var(--bg); }
.tab { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 0; min-width: 0; min-height: 56px; padding: 12px 4px; text-align: center; }
.tab-icon { flex: 0 0 auto; width: 18px; height: 18px; }
.tab.active::after { top: 0; bottom: auto; left: 18%; right: 18%; border-radius: 0 0 3px 3px; }
.action-bar, .dates-view .action-bar { z-index: 29; bottom: calc(56px + max(env(safe-area-inset-bottom), var(--tg-content-safe-area-inset-bottom, 0px))); padding-top: 10px; padding-bottom: 10px; }
.shell { padding-bottom: calc(150px + max(env(safe-area-inset-bottom), var(--tg-content-safe-area-inset-bottom, 0px))); }
.dates-view .tabs { gap: 0; margin: 0; }
.dates-view #step-dates { padding: 0; border: 0; background: transparent; box-shadow: none; }
.dates-view #step-dates .panel-head { margin: 16px 0 8px; }
.dates-view #step-dates h2 { font-size: 24px; line-height: 1.2; }
.date-instruction { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.dates-view .date-grid { grid-template-columns: 1fr; gap: 12px; margin: 0 0 16px; }
.dates-view .date-grid .field { gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.dates-view .date-grid .field > span { font-size: 14px; }
.dates-view .date-grid input[type="time"] { height: 44px; min-height: 44px; }
.range-calendar { padding: 12px 16px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.panel-head { margin-bottom: 16px; }
.panel-head h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.panel-icon { display: none; }
#booking-flow .step-panel:not(#step-dates), #admin-panel, #orders-panel, #identity-panel {
  padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
#booking-flow .step-panel:not(#step-dates) .panel-head, #admin-panel > .panel-head, #orders-panel > .panel-head { margin-bottom: 16px; }
.item-card, .order-card, .admin-card, .contact-card, .review-group {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: none;
}
.item-card.selected { padding: 12px; border: 1px solid var(--accent); background: var(--surface); }
.item-card.unavailable { background: var(--surface); }
.available-badge { padding: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 500; }
.review-group { margin: 12px 0; padding: 16px; }
.review-group:last-child { border-bottom: 1px solid var(--line); }
.review-group .review-items li { padding: 0; border: 0; }
.quantity-control { grid-template-columns: 44px 30px 44px; }
.quantity-control .button { min-width: 44px; min-height: 44px; }
.button { border-radius: 12px; }
.admin-tabs { flex-wrap: wrap; gap: 0; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.admin-tabs > .button { position: relative; flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 10px 4px; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 12px; }
.admin-tabs > .button[aria-pressed="true"] { color: var(--accent); }
.admin-tabs > .button[aria-pressed="true"]::after { position: absolute; right: 12px; bottom: 0; left: 12px; height: 2px; border-radius: 2px; background: var(--accent); content: ""; }
.admin-settings { margin: 0 0 16px; }
.admin-settings > summary { display: flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 700; cursor: pointer; }
.admin-settings > summary::before { content: "▸"; margin-right: 8px; }
.admin-settings[open] > summary::before { content: "▾"; }
.request-card { background: var(--surface); }
.request-assignee, .request-sla { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.request-sla-overdue { color: var(--danger); font-weight: 700; }
.request-next-overview { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.request-next-overview h4 { margin: 0 0 6px; font-size: 14px; }
.request-card .request-next-overview p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.45; }
.inspection-group { gap: 8px; margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.inspection-group-title { margin: 0; font-size: 14px; }
.inspection-progress { margin: 0 0 4px; }
.inspection-row { flex-wrap: wrap; padding: 12px 0; }
.inspection-unit { flex: 1 1 140px; }
.inspection-row > .button { min-height: 44px; }
.identity-section, #consent-step { margin: 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.identity-section h3 { margin: 0 0 16px; font-size: 16px; }
.identity-section .supporting { margin: 0 0 16px; font-size: 13px; }
.identity-section .field { font-size: 14px; }
.identity-section .form-grid > .field:last-child { margin-bottom: 0; }
#identity-submit, #consent-next { width: 100%; }
#support-dialog .dialog-card { gap: 16px; }
#support-dialog .dialog-card > p { margin: 0; color: var(--muted); font-size: 14px; }
#support-faq { display: grid; gap: 12px; }
#support-faq details { padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
#support-faq summary { min-height: 48px; align-content: center; color: var(--text); font-size: 14px; font-weight: 700; cursor: pointer; }
#support-faq details p { margin: 0 0 16px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
#support-form { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
#support-form .field { margin-bottom: 12px; font-size: 14px; }
#support-form .action-row { margin-bottom: 0; }
@media (max-width: 620px) {
  .shell { padding-left: max(20px, env(safe-area-inset-left), var(--tg-content-safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right), var(--tg-content-safe-area-inset-right, 0px)); }
  .dates-view .shell { padding-left: max(8px, env(safe-area-inset-left), var(--tg-content-safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right), var(--tg-content-safe-area-inset-right, 0px)); }
  .catalog-period { flex-wrap: wrap; gap: 0 8px; }
  .catalog-period .supporting { flex: 1 1 100px; }
}
@media (max-width: 379px) {
  .dates-view .shell { padding-left: max(5px, env(safe-area-inset-left), var(--tg-content-safe-area-inset-left, 0px)); padding-right: max(5px, env(safe-area-inset-right), var(--tg-content-safe-area-inset-right, 0px)); }
  .range-calendar { padding-left: 0; padding-right: 0; border-left: 0; border-right: 0; }
  .tab { gap: 4px; font-size: 12px; }
}

/* DESIGN-01: mobile controls, focused editors and progressive disclosure. */
.catalog-operations { margin: 12px 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; }
.catalog-operations > summary, .equipment-actions > summary, .article-details > summary { min-height: 44px; align-content: center; cursor: pointer; color: var(--accent); }
.catalog-operations > p { font-size: 14px; color: var(--muted); }
#admin-content > .action-row > .button { min-height: 44px; }
.equipment-actions { flex: 1 1 100%; }
.equipment-actions .action-row { margin-top: 4px; }
.equipment-row > span { flex: 1 1 200px; min-width: 0; }
.article-main, .article-main .order-head > div { min-width: 0; }
.article-main h3 { overflow-wrap: anywhere; }
.editor-card { margin-top: 0; scroll-margin-top: 16px; }
.request-actions { scroll-margin-top: 16px; }
.request-next-overview .button { margin-top: 10px; }
@media (max-width: 620px) {
  .shell, .dates-view .shell { padding-top: max(12px, env(safe-area-inset-top), var(--tg-content-safe-area-inset-top, 0px)); }
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; }
  .dates-view .date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dates-view .date-grid .field { padding: 10px; }
  .dates-view .date-grid .field > span { font-size: 13px; }
  .dates-view .date-grid input[type=time] { min-width: 0; padding: 6px; }
  .article-card-head { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .article-main .order-head { display: block; }
  .article-main .status-pill { display: inline-block; margin-top: 6px; }
}

/* Client catalog display preference */
.catalog-layout { display: flex; justify-content: flex-end; gap: 6px; margin: 0 0 12px; }
.catalog-layout .button[aria-pressed="true"] { background: var(--soft); color: var(--accent); border-color: var(--accent); }
.items-grid.items-grid-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items-grid-tiles .item-card, .items-grid-tiles .item-card.selected { display: flex; flex-direction: column; min-width: 0; gap: 10px; }
.items-grid-tiles .item-card .item-photo, .items-grid-tiles .item-card .item-placeholder { width: 100%; height: 120px; }
.items-grid-tiles .item-main { flex: 1; }
.items-grid-tiles .quantity-control { margin-top: auto; }

.request-catalog-results { display: grid; gap: 10px; }
.request-catalog-card { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.request-catalog-card > span { color: var(--muted); font-size: 13px; }
.request-catalog-controls { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.request-catalog-controls .button { min-width: 44px; }
.client-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; margin: 12px 0; }
.client-categories h3 { grid-column: 1 / -1; margin: 4px 0; }
.category-card { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px; border: 1px solid var(--border, #d8dce3); border-radius: 14px; background: var(--surface, #fff); color: inherit; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
.category-card .icon { width: 30px; height: 30px; flex: none; }
.category-card span:last-child { margin-left: auto; font-size: 22px; }
.category-card:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.rental-period { display:flex; justify-content:space-between; gap:1rem; font-size:13px; }
.rental-progress { width:100%; accent-color:var(--progress-color); }
.rental-progress::-webkit-progress-value { background:var(--progress-color); }
.rental-progress::-moz-progress-bar { background:var(--progress-color); }
.rental-overdue { background:#d83d3d; color:white; border-radius:8px; padding:8px 12px; text-align:center; font-weight:700; }
