/* 13.11.2026 (этап «Скорость», Н5; владелец «да на всё»): шрифты Onest и Golos Text — свои файлы (webapp/fonts),
   те же, что раньше грузились с Google Fonts (лицензия SIL OFL 1.1). Правила @font-face — как у Google, только адреса свои:
   приложение больше не ждёт таблицу шрифтов Google (~1 с в медленной сети), а файлы хранятся в телефоне год. */
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic-ext-f9868511.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: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic-d1593288.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/golos-text-latin-ext-86897cd5.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: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/golos-text-latin-4016a99a.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: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic-ext-f9868511.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: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic-d1593288.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/golos-text-latin-ext-86897cd5.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: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/golos-text-latin-4016a99a.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: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic-ext-f9868511.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: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic-d1593288.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/golos-text-latin-ext-86897cd5.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: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/golos-text-latin-4016a99a.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: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-cyrillic-ext-310002a2.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: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-cyrillic-9b144952.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* math */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-math-767cb74d.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-209F, 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;
}
/* symbols */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-symbols-1f418388.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-1F1AE, 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-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-vietnamese-576e2f6b.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: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-latin-ext-2e84fbca.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: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-latin-324d4be3.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: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-cyrillic-ext-310002a2.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: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-cyrillic-9b144952.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* math */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-math-767cb74d.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-209F, 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;
}
/* symbols */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-symbols-1f418388.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-1F1AE, 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-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-vietnamese-576e2f6b.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: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-latin-ext-2e84fbca.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: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/onest-latin-324d4be3.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: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-cyrillic-ext-310002a2.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: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-cyrillic-9b144952.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* math */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-math-767cb74d.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-209F, 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;
}
/* symbols */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-symbols-1f418388.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-1F1AE, 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-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-vietnamese-576e2f6b.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: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-latin-ext-2e84fbca.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: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-latin-324d4be3.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: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/onest-cyrillic-ext-310002a2.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: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/onest-cyrillic-9b144952.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* math */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/onest-math-767cb74d.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-209F, 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;
}
/* symbols */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/onest-symbols-1f418388.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-1F1AE, 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-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/onest-vietnamese-576e2f6b.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: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/onest-latin-ext-2e84fbca.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: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/onest-latin-324d4be3.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;
}

/* AIdost — общий вид (Б1: основа; полный набор деталей листа «Компоненты» — задача Б2, тёмная тема — Б3).
   Цвета — из дизайна (холст «Mini App — главный экран»). */
:root {
  --bg: #F1F2F5;        /* фон экрана */
  --card: #FFFFFF;      /* карточки */
  --ink: #101114;       /* текст */
  --muted: #5C6270;     /* подписи */
  --line: #E2E5EB;      /* разделители */
  --brand: #1D36E8;     /* основное действие */
  --brand-soft: #E3E7FF;/* выбранная вкладка */
  --brand-faint: #F5F6FF; /* выбранный магазин (3.4) */
  --brand-ink: #1D36E8; /* синий как цвет текста и значков (в тёмной теме светлее фона кнопки) */
  --chip-on: #101114;   /* выбранный чип, всплывающее сообщение */
  --grip: #D5D8DE;
  --ok: #0C7A52;        /* деньги, «готово» */
  --warn: #D9480F;      /* срочно, ждёт вас */
  --err: #B42318;
  --err-line: #F3C5B0; /* рамка «Как отозвать» (7.7) */
  --tabs-h: 76px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font: 400 15px/1.45 'Golos Text', system-ui, -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}
button, input { font: inherit; }
/* 10.11 (как на холсте): без одинокого слова в последней строке; заголовки и жирные подписи — ровными строками */
body { text-wrap: pretty; overflow-wrap: break-word; }   /* длинное слово (код, ссылка) переносится, а не вылезает */
h1, h2, h3, b, strong { text-wrap: balance; }
a { color: var(--brand-ink); }

#screen { padding: 16px 16px 24px; }
body.with-tabs #screen { padding-bottom: calc(var(--tabs-h) + 24px + env(safe-area-inset-bottom)); }

h1 { margin: 0; font: 800 28px/1.15 Onest, sans-serif; letter-spacing: -0.025em; }
h2 { margin: 0 0 10px; font: 700 19px/1.2 Onest, sans-serif; }
.sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

.card { background: var(--card); border-radius: 20px; padding: 16px; margin-top: 16px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.row b { font-weight: 600; text-align: right; }

/* список ссылок на вложенные экраны */
.list { background: var(--card); border-radius: 20px; padding: 4px 16px; margin-top: 16px; }
.list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.list a:last-child { border-bottom: none; }
.list a::after { content: "›"; color: var(--muted); font-size: 20px; }

/* «экран в работе» */
.wip { text-align: center; padding: 48px 8px 16px; }
.wip .badge {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--warn-ink);
  background: var(--warn-tint); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px;
}
.wip p { color: var(--muted); margin: 8px 0 0; }

.err { color: var(--err); }
.loading { color: var(--muted); padding: 32px 0; text-align: center; }

/* нижние вкладки — как в дизайне */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--card); border-top: 1px solid var(--line);
  padding: 6px 8px calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tabs[hidden] { display: none; }
.tabs a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 52px; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted);
}
.tabs .pill { width: 52px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.tabs svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current="page"] { color: var(--brand-ink); }
.tabs a[aria-current="page"] .pill { background: var(--brand-soft); }

/* ===================== Б2: детали листа «Компоненты» (07.11.2026) =====================
   Каждый экран собирается только из них. Цвета и размеры — как на листе. */
:root {
  --ink-2: #3D4250; --hint: #8A90A0; --line-2: #DDE0E6; --line-3: #ECEEF2;
  --brand-press: #1328B8; --brand-off: #C9CFF5; --brand-tint: #EEF0FF; --brand-tint-2: #DCE1FF;
  --gray-tint: #E9ECF2; --ok-ink: #0C6A47; --ok-tint: #E2F5EC; --warn-ink: #9A3412; --warn-tint: #FFEDE3;
  --warn-soft: #FFF7F2; --count: #FF6A2B; --switch-off: #C9CDD6; --danger-line: #F3C5B0;
}

/* шрифты */
.num-xl { font: 800 40px/1 Onest, sans-serif; letter-spacing: -0.03em; }
.t-title { font: 800 28px/1.15 Onest, sans-serif; letter-spacing: -0.025em; }
.t-section { font: 700 19px/1.2 Onest, sans-serif; }
.t-body { font-size: 15px; }
.t-caption { font-size: 13px; color: var(--muted); }
.money { color: var(--ok); }

/* верх экрана: заголовок + одна строка «зачем этот экран» */
.head { padding: 0 0 8px; }
.head .sub { margin-top: 2px; font-size: 13px; }

/* метки */
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; line-height: 1.1; }
.badge-warn { color: var(--warn-ink); background: var(--warn-tint); }
.badge-ok { color: var(--ok-ink); background: var(--ok-tint); }
.badge-gray { color: var(--ink-2); background: var(--gray-tint); }
.badge-brand { color: var(--brand-ink); background: var(--brand-tint); }
.badge-count { background: var(--count); color: #101114; font: 700 12px/1 Onest, sans-serif; min-width: 22px; height: 22px; padding: 0 6px; justify-content: center; }

/* чипы */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.ch-quick { display: grid; } .ch-quick .chip { width: 100%; }   /* 10.11 холст 2.1: быстрые ответы ровным столбиком */
.chips-tight { gap: 6px; } .chips-tight .chip { padding: 0 12px; }   /* 10.11: три вкладки в одну строку и по-узбекски */
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.chips-scroll .chip { flex-shrink: 0; }   /* 10.11: фильтры (до пяти) — одной прокручиваемой строкой, а не лесенкой */
.chips-scroll.is-end { -webkit-mask-image: none; mask-image: none; }   /* помещается или докручен до конца — без затухания (app.js chipsEdge) */
.chip[aria-pressed="true"] { border-color: var(--chip-on); background: var(--chip-on); color: #fff; }
.chip:disabled { background: var(--bg); color: var(--hint); text-decoration: line-through; cursor: default; }
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; background: var(--line); border-radius: 14px; padding: 4px; }
.segment button { min-height: 40px; border-radius: 11px; border: none; background: transparent; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.segment button[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 3px rgba(16,17,20,0.12); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; text-decoration: none; font-weight: 700; }
.btn-primary { min-height: 52px; border-radius: 16px; background: var(--brand); color: #fff; font-size: 15px; padding: 0 18px; }
.btn-primary:active { background: var(--brand-press); }
.btn-primary:disabled { background: var(--brand-off); cursor: default; }
.btn-soft { min-height: 44px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-ink); font-size: 14px; padding: 0 14px; }
.btn-soft:active { background: var(--brand-tint-2); color: var(--brand-press); }
.btn-soft:disabled { background: var(--bg); color: var(--hint); cursor: default; }
.btn-outline { min-height: 44px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; padding: 0 14px; }
.btn-outline:active { background: var(--bg); border-color: var(--switch-off); }
.btn-danger { min-height: 44px; border-radius: 14px; border: 1px solid var(--danger-line); background: var(--card); color: var(--err); font-weight: 600; font-size: 14px; padding: 0 14px; }
.btn-block { width: 100%; }
.btn.is-loading { pointer-events: none; }
.btn-primary.is-loading, .btn-primary.is-loading:disabled { background: var(--brand); }   /* по листу: загрузка остаётся яркой, бледная — только «неактивна» */
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* главная кнопка экрана — одна, внизу, во всю ширину */
.main-action { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: var(--bg); padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); }
.main-action .btn-primary { width: 100%; min-height: 54px; font-size: 16px; }
body.with-main-action #screen { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

/* поля */
.field { display: block; margin-top: 10px; }
.field label, .field .label { display: block; font-size: 12px; color: var(--muted); }
.input { width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid var(--line-2); padding: 0 14px; font-size: 15px; margin-top: 4px; background: var(--card); color: var(--ink); outline: none; }
.input:focus { border: 2px solid var(--brand); padding: 0 13px; }
.input.is-error { border: 2px solid var(--err); padding: 0 13px; }
.field-error { font-size: 12px; color: var(--err); margin-top: 4px; }

/* переключатель, количество, галочка */
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.switch { position: relative; width: 50px; height: 30px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--switch-off); transition: background .15s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: 12px; border: none; background: var(--bg); font-size: 20px; color: var(--ink); cursor: pointer; }
.stepper output { font: 700 15px Onest, sans-serif; min-width: 40px; text-align: center; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); margin: 0; }

/* строки списка */
.item { display: flex; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--line-3); color: var(--ink); text-decoration: none; }
.item:last-child { border-bottom: none; }
.item .ico { width: 36px; height: 36px; border-radius: 12px; background: var(--brand-tint); flex-shrink: 0; }
.item .txt { flex: 1; min-width: 0; }
.item .txt b { display: block; font-size: 15px; font-weight: 600; }
.item .txt span { font-size: 13px; color: var(--muted); }
.item .chev { color: var(--hint); font-size: 20px; }
.line { display: flex; justify-content: space-between; align-items: baseline; min-height: 44px; padding-top: 10px; }
.line span { font-size: 14px; color: var(--ink-2); }
.line b { font: 700 15px Onest, sans-serif; }

/* всплывающее сообщение */
.toast { position: fixed; left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 10px; background: var(--chip-on); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 14px; transform: translateY(12px); opacity: 0; transition: .2s; pointer-events: none; }
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast .t-ico { width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast .t-ok { background: #14A06F; } .toast .t-warn { background: var(--warn); }
.toast .t-msg { flex: 1; }
.toast button { background: none; border: none; color: #9CB0FF; font-weight: 700; font-size: 14px; cursor: pointer; padding: 0; }

/* нижний лист */
.sheet-back { position: fixed; inset: 0; z-index: 40; background: rgba(16,17,20,0.45); opacity: 0; transition: opacity .2s; }
.sheet-back.show { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--card); border-radius: 24px 24px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s; touch-action: none; }
.sheet.show { transform: none; }
.sheet .grip { width: 40px; height: 5px; border-radius: 3px; background: var(--grip); margin: 0 auto 14px; }

/* состояния экрана */
.state { background: var(--card); border-radius: 20px; padding: 20px 16px; text-align: center; margin-top: 16px; }
.state b { display: block; font-size: 15px; }
.state p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.state .btn { margin-top: 12px; }
.state-warn { background: var(--warn-soft); }
.skeleton { height: 12px; border-radius: 6px; background: var(--line); margin-top: 10px; animation: pulse 1.2s ease-in-out infinite; }
.skeleton.w70 { width: 70%; }
/* 13.11.2026 (Н7, доска 1.6, владелец «да делай»): заглушки в форме экрана — плашки на месте цифр и строк, на тех же
   контейнерах, что у экрана с данными (app.js SK); мигают, как прежние полоски; без анимации — при «меньше движения» */
.sk { display: block; flex: none; background: var(--line); border-radius: 6px; animation: pulse 1.2s ease-in-out infinite; }
.sk.s2 { background: var(--line-3); }
.hm-profit .sk { background: rgba(255,255,255,.28); }
.hm-profit .sk.s2 { background: rgba(255,255,255,.2); }
.hm-profit .sk.s3 { background: rgba(255,255,255,.16); }
.sk-l { display: flex; align-items: center; }
.sk-top { display: flex; flex-direction: column; gap: 3px; height: 62px; padding-top: 3px; box-sizing: border-box; }
.sk-plan { gap: 6px; }
.sk-cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 56px; margin: 14px 0 36px; }   /* 24 — место подписей дней + 12 до показателей (одним отступом: соседние отступы схлопываются) */
.sk-cols .sk { height: 40px; border-radius: 4px; }
.sk-stats { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; gap: 6px; }
.sk-stat { display: flex; justify-content: space-between; align-items: center; height: 18px; }
.sk-txt { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.sk-r { margin-left: auto; }
.sk-screen .hm-h { height: 24px; }
.sk-screen .m-line { align-items: center; min-height: 41px; box-sizing: border-box; }
.sk-card .p-head2 { min-height: 89px; }
.sk-pill { cursor: default; display: inline-flex; align-items: center; justify-content: center; }
@keyframes pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .spinner, .skeleton, .sk { animation: none; } .toast, .sheet, .sheet-back { transition: none; } }

/* ===================== Б3: тёмная тема (07.11.2026) =====================
   Включается по теме Telegram (app.js ставит data-theme). Цвета — из тёмной схемы дизайна (экраны 11.1, 11.4). */
:root[data-theme="dark"] {
  --bg: #0E1015; --card: #181B22; --ink: #F2F3F5; --muted: #9AA1AE; --line: #262A33;
  --brand: #2B47F0; --brand-ink: #8FA2FF; --brand-soft: #1F2650; --brand-faint: #1A2042; --chip-on: #3A4050; --grip: #3A4050;
  --ok: #4FD39A; --warn: #FF8A57; --err: #FF8A80; --err-line: #5A3326;
  --ink-2: #C3C8D2; --hint: #7C8392; --line-2: #2E333D; --line-3: #262A33;
  --brand-press: #2340D8; --brand-off: #3A4580; --brand-tint: #1F2650; --brand-tint-2: #2A3270;
  --gray-tint: #222630; --ok-ink: #4FD39A; --ok-tint: #10301F; --warn-ink: #FFA77D; --warn-tint: #3A2216;
  --warn-soft: #2A1C14; --switch-off: #4A505C; --danger-line: #5A3326;
  color-scheme: dark;
}

/* ===================== Б4: состояние «ошибка» (07.11.2026) ===================== */
.state-error b { color: var(--err); }
.state-error p { color: var(--ink-2); }

/* ===================== Ширина (владелец 07.11.2026: «ограничь ширину») =====================
   Дизайн — под телефон (390 px). На компьютере и в развёрнутом окне всё стоит колонкой не шире 480 px по центру. */
:root { --app-w: 480px; }
#screen { max-width: var(--app-w); margin: 0 auto; }
.tabs, .main-action, .sheet { max-width: var(--app-w); margin: 0 auto; }
.toast { max-width: calc(var(--app-w) - 32px); margin: 0 auto; }

/* ===================== В1: экран 5.1 «Первый вход» и документы (07.11.2026) ===================== */
.hero { position: relative; overflow: hidden; margin: -16px -16px 0; padding: 24px 20px 22px; background: var(--brand); color: #fff; border-radius: 0 0 30px 30px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); }
.hero::before { right: -40px; top: -40px; width: 180px; height: 180px; }
.hero::after { right: 30px; top: 60px; width: 90px; height: 90px; background: rgba(255,255,255,0.06); }
.hero > * { position: relative; }
.hero-name { font-size: 13px; font-weight: 600; color: #DCE1FF; }
.hero h1 { margin: 10px 0 0; font-size: 32px; line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.hero p { margin: 10px 0 0; font-size: 15px; line-height: 1.4; color: #DCE1FF; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hero-chips span { font-size: 12px; font-weight: 600; background: rgba(255,255,255,0.16); border-radius: 999px; padding: 6px 10px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.tile { background: var(--card); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.tile.wide { grid-column: span 2; }
.tile b { font: 700 15px/1.2 Onest, sans-serif; }
.tile span:last-child { font-size: 12px; color: var(--muted); line-height: 1.35; }
.tile-ico { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.tile-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tone-blue { background: var(--brand-tint); color: var(--brand-ink); }
.tone-green { background: var(--ok-tint); color: var(--ok); }
.tone-orange { background: var(--warn-tint); color: var(--warn-ink); }
.welcome-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; max-width: var(--app-w); margin: 0 auto; background: var(--bg); padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); }
.welcome-bottom .check { font-size: 13px; min-height: 40px; margin-bottom: 4px; }
.welcome-bottom .btn-primary { min-height: 54px; font-size: 16px; }
body.with-welcome #screen { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
.legal { font-size: 14px; line-height: 1.5; }
.legal h2 { font-size: 16px; margin: 18px 0 6px; }
.legal p { margin: 0 0 8px; }
.legal-draft { background: var(--warn-tint); color: var(--warn-ink); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; }
.legal-table { overflow-x: auto; margin: 0 0 8px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 13px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--line); }

/* ===================== В2: шаги подключения и ключ (07.11.2026) ===================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.steps span { height: 4px; border-radius: 2px; background: var(--brand-off); }
.steps span.on { background: var(--brand); }
.step-label { font-size: 12px; color: var(--muted); margin-top: 8px; }
.step-title { margin-top: 4px; font-size: 26px; }
.howto { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.ext-link { display: inline-flex; align-items: center; min-height: 40px; margin-top: 4px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--brand-ink); }
.key-row { display: flex; gap: 8px; margin-top: 6px; }
.key-row .input { flex: 1; min-width: 0; margin-top: 0; }
.key-row .btn-soft { min-height: 48px; flex-shrink: 0; }

/* ===================== В3: выбор магазина (07.11.2026) ===================== */
.ok-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--ok-tint); color: var(--ok-ink); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.ok-note span { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shop-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.shop-opt { display: flex; align-items: center; gap: 12px; min-height: 76px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); padding: 0 14px; text-align: left; color: var(--ink); cursor: pointer; }
.shop-opt[aria-checked="true"] { border: 2px solid var(--brand-ink); background: var(--brand-tint); }
.shop-opt .ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--hint); flex-shrink: 0; }
.shop-opt[aria-checked="true"] .ring { border: 7px solid var(--brand-ink); }
.shop-opt .txt { flex: 1; }
.shop-opt .txt b { display: block; font-size: 16px; }
.shop-opt .txt span { font-size: 13px; color: var(--muted); }
.shop-opt:disabled { opacity: .55; cursor: default; }
.note-warm { background: var(--warn-soft); border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); margin-top: 8px; }
.warn-box { margin-top: 8px; background: var(--warn-tint); color: var(--warn-ink); border-radius: 16px; padding: 12px 14px; font-size: 13px; font-weight: 700; line-height: 1.45; }

/* ===================== В4: первая сводка (07.11.2026) ===================== */
.fs-shop { font-size: 13px; font-weight: 700; color: var(--ok-ink); margin-top: 8px; }
.fs-profit { background: var(--brand); color: #fff; border-radius: 22px; padding: 16px; margin-top: 16px; }
.fs-label { font-size: 14px; color: #DCE1FF; }
.fs-profit .fs-label + .fs-num + .fs-label { font-size: 13px; margin-top: 4px; }
.fs-num { font: 800 36px/1.1 Onest, sans-serif; letter-spacing: -0.03em; margin-top: 4px; }
.fs-num span { font-size: 16px; font-weight: 600; color: #DCE1FF; }
.fs-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.fs-actions .btn-primary { min-height: 54px; font-size: 16px; }

/* ===================== В5: тариф и оплата (3.3, 5.6), 07.11.2026 ===================== */
.tf-hero { background: var(--brand); color: #fff; border-radius: 22px; padding: 16px; margin-top: 12px; }
.tf-hero .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tf-hero .name { font: 800 22px/1.2 Onest, sans-serif; }
.tf-hero .shop { font-size: 13px; color: #DCE1FF; }
.tf-hero .until { font-size: 14px; color: #DCE1FF; margin-top: 6px; }
.tf-hero .until b { color: #fff; }
.tf-hero .desc { font-size: 13px; color: #DCE1FF; margin-top: 10px; line-height: 1.45; }
.tf-hero.is-over { background: var(--warn); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.plan-tile { text-align: left; background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 14px; color: var(--ink);
  min-height: 120px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.plan-tile[aria-pressed="true"] { border: 2px solid var(--brand-ink); padding: 13px; }
.plan-tile .pn { font: 700 17px/1.2 Onest, sans-serif; }
.plan-tile .pp { font: 800 18px/1.2 Onest, sans-serif; color: var(--brand-ink); }
.plan-tile .ps { font-size: 12px; color: var(--muted); line-height: 1.4; }
.pay-card { background: var(--card); border-radius: 22px; padding: 16px; margin-top: 12px; }
.pay-card .ttl { font: 700 17px/1.2 Onest, sans-serif; }
.pay-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.pay-step { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.pay-step .n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pay-step .tx { flex: 1; min-width: 0; }
.pay-step .card-no { white-space: nowrap; user-select: all; -webkit-user-select: all; }
.pay-step .holder { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.drop { min-height: 88px; border-radius: 16px; border: 2px dashed var(--line-2); background: var(--bg); color: var(--ink-2); font-size: 14px; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; position: relative; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop.is-busy { pointer-events: none; color: var(--muted); }
.link-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--card); border-radius: 18px; padding: 0 16px;
  min-height: 56px; margin-top: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.link-row span { font-size: 13px; color: var(--muted); font-weight: 500; }
.link-row-stack { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 10px 16px; }   /* 10.11 холст 3.3 */
.file-card { background: var(--card); border-radius: 22px; padding: 14px; display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.file-card .thumb { width: 64px; height: 80px; border-radius: 10px; background: var(--gray-tint); flex-shrink: 0; }
.file-card .txt { flex: 1; min-width: 0; }
.file-card .txt b { display: block; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.file-card .txt span { font-size: 13px; color: var(--muted); }
.file-card .btn-outline { position: relative; overflow: hidden; }
.file-card .btn-outline input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.timeline { background: var(--card); border-radius: 22px; padding: 16px; margin-top: 12px; }
.tl-step { display: flex; gap: 12px; min-height: 52px; }
.tl-step .rail { display: flex; flex-direction: column; align-items: center; }
.tl-step .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--card); color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-step .tail { flex: 1; width: 2px; background: var(--line); }
.tl-step:last-child .tail { display: none; }
.tl-step .tx { padding-bottom: 10px; }
.tl-step .tx b { display: block; font-weight: 600; font-size: 14px; color: var(--muted); }
.tl-step .tx span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.tl-step.done .dot { background: var(--ok); border-color: var(--ok); }
.tl-step.now .dot { border: 7px solid var(--brand-ink); }
.tl-step.fail .dot { background: var(--err); border-color: var(--err); }
.tl-step.done .tx b, .tl-step.now .tx b { color: var(--ink); }
.tl-step.fail .tx b { color: var(--err); }
.tl-note { font-size: 13px; color: var(--muted); line-height: 1.45; padding: 0 4px; margin-top: 12px; }
.warn-box .why { display: block; font-weight: 500; margin-top: 4px; color: var(--ink-2); }

/* В6: поле даты срока ключа — системный календарь в цвет темы */
.input[type="date"] { color-scheme: light; }
:root[data-theme="dark"] .input[type="date"] { color-scheme: dark; }

/* Шаги первой загрузки магазина (экран 5.4, 07.11.2026) */
.load-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.load-step { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.load-step .mark { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px;
  background: var(--line); flex-shrink: 0; }
.load-step.is-done { color: var(--ink); }
.load-step.is-done .mark { background: var(--ok); color: #fff; }
.load-step.is-now { color: var(--ink); font-weight: 600; }
.load-step.is-now .mark { background: var(--brand); color: #fff; animation: ldpulse 1.2s ease-in-out infinite; }
.load-step .t-caption { margin-left: auto; }
@keyframes ldpulse { 50% { opacity: .45; } }

/* 1.3 Деньги и 7.11 Свой период (Г2, 07.11.2026) */
.m-card { border-radius: 24px; padding: 18px; }
.m-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.m-badge { font-size: 11px; font-weight: 600; color: var(--ok); background: var(--ok-tint, rgba(12,122,82,.12)); border-radius: 999px; padding: 3px 7px; white-space: nowrap; }   /* 10.11: «Чистая прибыль · 1–10 ноября» помещается рядом */
.m-num { font: 800 40px/1.1 Onest, sans-serif; letter-spacing: -0.03em; margin-top: 8px; color: var(--ok); font-variant-numeric: tabular-nums; }
.m-num span { font-size: 18px; color: var(--muted); font-weight: 600; }
.m-num.is-neg, .m-line.is-neg b, .is-neg { color: var(--err); }
.m-lines { margin-top: 16px; border-top: 1px solid var(--line); }
.m-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2, var(--ink)); }
.m-line:last-child { border-bottom: none; }
.m-line b { font: 400 15px Onest, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.m-line.is-top, .m-line.is-sum { color: var(--ink); font-weight: 700; }
.m-line.is-top b, .m-line.is-sum b { font-weight: 700; }
.m-line.is-sum b { color: var(--ok); }
.m-line.is-sum.is-neg b { color: var(--err); }
.m-items { padding: 4px 16px; }
.m-item { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); }
.m-item:last-child { border-bottom: none; }
.m-item .txt { flex: 1; min-width: 0; }
.m-item .txt b { display: block; font-weight: 600; font-size: 15px; }
.m-item .txt span { display: block; font-size: 13px; color: var(--muted); }
.m-item > b { font: 700 15px Onest, sans-serif; font-variant-numeric: tabular-nums; }
.m-item > b.is-pos { color: var(--ok); }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head b { font: 800 22px Onest, sans-serif; }
.cal-nav { width: 44px; height: 44px; border-radius: 12px; border: none; background: transparent; color: var(--ink); font-size: 26px; cursor: pointer; }
.cal-nav:disabled { color: var(--line-2); cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-dn span { font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.cal-d { height: 44px; border-radius: 12px; border: none; background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.cal-d:disabled { color: var(--line-2); cursor: default; }
.cal-d.is-in { background: var(--brand-soft); }
.cal-d.is-edge { background: var(--brand); color: #fff; }

/* 7.10 Строка расчёта (Г3, 07.11.2026) */
a.m-line { color: inherit; text-decoration: none; cursor: pointer; }
a.m-line:active { background: var(--bg); }
.ml-num { font: 800 36px/1.1 Onest, sans-serif; letter-spacing: -0.03em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ml-num span { font-size: 16px; color: var(--muted); font-weight: 600; }
.ml-list { padding: 4px 14px; }
.ml-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--line); width: 100%; }
.ml-row:last-child { border-bottom: none; }
.ml-row .txt { flex: 1; min-width: 0; text-align: left; }
.ml-row .txt b { display: block; font-weight: 600; font-size: 14px; }
.ml-row .txt span { display: block; font-size: 12px; color: var(--muted); }
.ml-row > b { font: 700 15px Onest, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
button.ml-more { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
button.ml-more .txt span { color: var(--brand-ink); }
button.ml-order { background: none; border: none; border-bottom: 1px solid var(--line); padding: 0; font: inherit; color: inherit; cursor: pointer; }
button.ml-order:last-child { border-bottom: none; }
button.ml-order:active { background: var(--bg); }
.m-note { margin: 12px 2px 0; line-height: 1.4; }

/* Настройки прибыли (Г5, 07.11.2026) */
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-how { color: var(--brand-ink, var(--brand)); font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ps-card { padding: 4px 14px; margin-top: 12px; }
.ps-row { display: flex; align-items: center; gap: 10px; min-height: 58px; border-bottom: 1px solid var(--line); }
.ps-row .txt { flex: 1; min-width: 0; }
.ps-row .txt b { display: block; font-weight: 400; font-size: 15px; }
.ps-row .txt span { display: block; font-size: 12px; color: var(--muted); }
.ps-sum { font: 700 15px Onest, sans-serif; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ps-rate { min-height: 40px; min-width: 72px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: 700 15px Onest, sans-serif; cursor: pointer; }
.ps-del { width: 32px; height: 32px; border-radius: 10px; border: none; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.ps-add { width: 100%; margin-top: 10px; min-height: 40px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.ps-cancel { margin-top: 4px; background: none; border: none; color: var(--brand-ink, var(--brand)); font-weight: 600; min-height: 44px; }
.m-xls { margin-top: 14px; min-height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; }

/* 3.1 Товары и 7.6 Карточка (Д3, 07.11.2026) */
a.p-card { display: block; color: inherit; text-decoration: none; border-radius: 22px; padding: 14px; margin-top: 10px; }
.p-head b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.p-head .t-caption { display: block; margin-top: 2px; }
.p-badge { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.p-ok { color: var(--ok-ink, var(--ok)); background: var(--ok-tint); }
.p-warn { color: var(--warn-ink); background: var(--warn-tint); }
.p-grey { color: var(--ink-2, var(--muted)); background: var(--gray-tint, var(--line)); }
.p-stats, .p-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.p-stats { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.p-grid { gap: 12px; border-radius: 22px; padding: 14px; }
.p-stats span, .p-grid span { display: block; font-size: 12px; color: var(--muted); }
.p-stats b, .p-grid b { display: block; font: 700 16px Onest, sans-serif; font-variant-numeric: tabular-nums; }
.p-grid b { font-size: 18px; }
.p-grid b.is-word { font-size: 15px; }   /* 16.11: «закончился» в клетке «Хватит» рвался посередине при 18 */
b.is-warn { color: var(--warn-ink); }
b.is-ok { color: var(--ok); }
b.p-staff { font: 600 12px 'Golos Text', sans-serif; color: var(--muted); padding-top: 4px; }
.p-fix { margin-top: 12px; background: var(--warn-soft, var(--warn-tint)); border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.4; color: var(--ink-2, var(--ink)); }
.p-locked { padding: 4px 14px; }
.p-locked .ps-row .txt b { font-weight: 600; }

/* 8.3 Настройки запасов (Д4, 07.11.2026) */
.ps-order { border-radius: 20px; padding: 14px 16px; margin-top: 12px; }
.ps-order b { display: block; font: 700 17px Onest, sans-serif; }
.ps-order span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.ps-order.is-late b { color: var(--warn-ink); }
.ss-how { background: var(--brand); color: #fff; border-radius: 20px; padding: 14px 16px; font-size: 14px; line-height: 1.5; margin-top: 12px; }
.ss-how span { display: block; color: rgba(255,255,255,.8); font-size: 13px; margin-top: 4px; }
.ss-how > span:first-child { font-size: 12px; margin-top: 0; }
.ss-how b { color: #fff; }
.ss-step { display: flex; align-items: center; gap: 6px; }
.ss-step button { width: 44px; height: 44px; border-radius: 10px; border: none; background: var(--bg); color: var(--ink); font-size: 18px; cursor: pointer; }
.ss-step b { font: 700 15px Onest, sans-serif; min-width: 56px; text-align: center; }

/* 1.1 Новая закупка, 7.1 Выбор товара, 9.2 Откуда товар (Д6, 07.11.2026) */
.p-buy { margin-top: 12px; min-height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
button.pu-prod { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: none; cursor: pointer; color: inherit; font: inherit; }
.pu-prod .txt { flex: 1; min-width: 0; }
.pu-prod .txt b { display: block; font-weight: 600; font-size: 15px; margin-top: 2px; }
.pu-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.pu-qty button { width: 48px; height: 48px; border-radius: 14px; border: none; background: var(--bg); font-size: 22px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pu-qty input { flex: 1; min-width: 0; height: 48px; border: none; text-align: center; font: 800 28px Onest, sans-serif; color: var(--ink); background: transparent; outline: none; }
.pu-tip { margin: 8px 0 0; color: var(--ok-ink, var(--ok)); }
.pu-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.pu-stages button { min-height: 48px; white-space: nowrap; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-weight: 600; font-size: 13px; line-height: 1.2; padding: 4px; cursor: pointer; }
.pu-stages button[aria-pressed="true"] { background: var(--chip-on); border-color: var(--chip-on); color: #fff; }
.pk-list { max-height: 60vh; overflow: auto; margin-top: 6px; }
.pk-h { margin: 14px 0 4px; }
button.pk-row { display: flex; align-items: center; gap: 12px; min-height: 60px; width: 100%; border: none; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pk-row .txt { flex: 1; min-width: 0; }
.pk-row .txt b { display: block; font-weight: 600; font-size: 15px; }
.pk-row .txt span { display: block; font-size: 13px; color: var(--muted); }
.pk-ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; box-sizing: border-box; }
.pk-ring.on { border: 7px solid var(--brand); }

/* 7.2 Закупки в пути (Д7, 08.11.2026) */
.pp-card { border-radius: 22px; padding: 16px; margin-top: 12px; }
.pp-card.is-new { border: 2px solid var(--brand); }
.pp-card .m-top b { font-weight: 700; font-size: 15px; }
.pp-tag { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 9px; color: var(--ink-2, var(--ink)); background: var(--gray-tint, var(--line)); white-space: nowrap; }
.pp-tag.is-new { color: var(--brand-ink, var(--brand)); background: var(--brand-tint); }
.pp-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 14px; }
.pp-stages b { display: block; font-size: 11px; font-weight: 600; margin-top: 6px; }
.pp-stages span:not(.pp-bar) { display: block; font-size: 11px; color: var(--muted); }
.pp-bar { display: block; height: 6px; border-radius: 3px; background: var(--line-2); }
.pp-bar.is-done { background: var(--ok); }
.pp-bar.is-now { background: var(--brand); }
.pp-note { font-size: 13px; color: var(--ink-2, var(--ink)); margin: 12px 0 0; line-height: 1.4; }
.pp-mark { margin-top: 12px; }

/* З2: помощник (дизайн 2.4 Assistant / 7.16 AssistantMore) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.as-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.as-list { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 200px; }
.as-q { align-self: flex-end; max-width: 80%; background: var(--brand); color: #fff; border-radius: 18px 18px 4px 18px; padding: 10px 14px; font-size: 15px; line-height: 1.4; }
.as-a { align-self: flex-start; max-width: 92%; background: var(--card); border-radius: 18px 18px 18px 4px; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.as-wait { color: var(--muted); }
.as-err { color: var(--err); }
.as-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.as-tag { font-size: 12px; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 4px 8px; }
.as-open { display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.as-bottom { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); background: var(--bg); }
.as-sugg { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }   /* 10.11: мягкий край вместо обрезки */
.as-sugg .chip { flex-shrink: 0; min-height: 44px; font-size: 13px; font-weight: 500; }
.as-input { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 16px; padding: 0 6px 0 14px; min-height: 52px; border: 1px solid var(--line-2); }
.as-input input { flex: 1; min-width: 0; border: none; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.as-send { width: 40px; height: 40px; border-radius: 12px; border: none; background: var(--brand); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.as-send:disabled { background: var(--brand-off); cursor: default; }
.as-home { padding: 6px; }
.as-hint { text-align: center; margin-top: 24px; }

/* 1 Главная по дизайну (Г7, 07.11.2026) */
.hm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hm-shop { margin-top: 2px; }
.hm-plan { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--brand-ink, var(--brand)); background: var(--brand-tint); border-radius: 12px; padding: 6px 10px; text-decoration: none; margin-top: 4px; }
.hm-profit { background: var(--brand); color: #fff; border-radius: 24px; padding: 18px; margin-top: 14px; }
.hm-profit .m-top span:first-child { font-size: 14px; color: rgba(255,255,255,.8); }
.hm-ok { font-size: 12px; font-weight: 600; background: rgba(255,255,255,.18); border-radius: 999px; padding: 4px 9px; }
.hm-num { font: 800 40px/1.1 Onest, sans-serif; letter-spacing: -0.03em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.hm-num span { font-size: 18px; font-weight: 600; color: rgba(255,255,255,.8); }
.hm-delta { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 4px; }
.hm-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; height: 80px; margin-top: 14px; }
.hm-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.hm-bar span { width: 100%; border-radius: 6px; background: rgba(255,255,255,.45); }
.hm-bar.is-today span { background: #fff; }
.hm-bar.is-neg span { background: rgba(255,160,140,.85); }
.hm-bar b { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.75); margin-top: 4px; }
.hm-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.22); }
.hm-row span { display: block; font-size: 12px; color: rgba(255,255,255,.75); }
.hm-row b { font: 700 16px Onest, sans-serif; font-variant-numeric: tabular-nums; }
.hm-h { margin: 22px 2px 10px; display: flex; align-items: center; gap: 8px; }
.hm-count { font: 700 12px 'Golos Text', sans-serif; color: #fff; background: var(--warn); border-radius: 999px; padding: 2px 8px; }
.hm-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hm-needs .hm-need:only-child { grid-column: 1 / -1; }
.hm-need { margin-top: 0; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.hm-ico { width: 28px; height: 28px; border-radius: 9px; background: var(--warn-tint); color: var(--warn); font-weight: 800; display: inline-grid; place-items: center; }
.hm-tag { font-size: 12px; font-weight: 700; color: var(--warn-ink); margin: 6px 0 4px; }
.hm-big { font: 800 24px Onest, sans-serif; }
.hm-need .btn { margin-top: 10px; min-height: 40px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
.hm-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hm-quick a { background: var(--card); border-radius: 18px; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 600; }
.hm-quick a span { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink, var(--brand)); display: grid; place-items: center; font-size: 16px; font-weight: 800; }

/* сверка с дизайном (07.11): фото товара, порядок карточки */
.p-head2 { display: flex; gap: 12px; }
.p-img { width: 56px; height: 56px; border-radius: 14px; background: var(--gray-tint, var(--line)); flex-shrink: 0; object-fit: cover; }
.p-head2 .p-head { flex: 1; min-width: 0; }
.pc-head { display: flex; gap: 14px; align-items: center; }
.pc-img { width: 84px; height: 84px; border-radius: 18px; background: var(--gray-tint, var(--line)); flex-shrink: 0; object-fit: cover; }
.pc-list { padding: 4px 14px; margin-top: 10px; }
.pc-row { display: flex; align-items: center; gap: 12px; min-height: 58px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.pc-row:last-child { border-bottom: none; }
.pc-row .txt { flex: 1; min-width: 0; }
.pc-row .txt b { display: block; font-weight: 600; font-size: 15px; }
.pc-row .txt span { display: block; font-size: 13px; color: var(--muted); }
.pc-chev { color: var(--muted); font-size: 18px; }
.pc-row.is-locked .txt b { color: var(--ink-2, var(--ink)); }
.list a.pc-row::after { content: none; }

div.p-card { cursor: pointer; border-radius: 22px; padding: 14px; margin-top: 10px; }
a.p-title { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); text-decoration: none; }
div.p-card .p-buy { margin-top: 12px; min-height: 44px; border-radius: 12px; }

/* 1.2 Претензия (Е2, по дизайну Claim.dc.html) */
.cl-cap { margin-top: 4px; font-size: 14px; }
.cl-sum { font: 800 40px/1.1 Onest, sans-serif; letter-spacing: -0.03em; color: var(--ok); margin-top: 2px; }
.cl-sum span { font-size: 18px; font-weight: 600; color: var(--muted); }
.cl-rows { padding: 4px 16px; }
.cl-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; box-sizing: border-box; }
.cl-row + .cl-row { border-top: 1px solid var(--line); }
.cl-row[hidden] { display: none; }
.cl-row .txt { min-width: 0; }
.cl-row .txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; }
.cl-row .txt span { display: block; font-size: 13px; color: var(--muted); }
.cl-more { display: block; width: 100%; min-height: 48px; border: none; border-top: 1px solid var(--line); background: none; color: var(--brand-ink, var(--brand)); font-weight: 600; font-size: 14px; text-align: left; padding: 0; cursor: pointer; }
.cl-v { font: 700 15px Onest, sans-serif; white-space: nowrap; }
.cl-h { font-size: 17px; margin: 0; }
.cl-steps { list-style: none; margin: 12px 0 0; padding: 0; }
.cl-step { display: flex; gap: 12px; min-height: 48px; position: relative; padding-bottom: 12px; }
.cl-step:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.cl-dot { width: 24px; height: 24px; flex: none; border-radius: 50%; box-sizing: border-box; border: 2px solid var(--line-2); background: var(--card); color: var(--muted);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cl-step.is-done .cl-dot { background: var(--ok); border: none; color: #fff; }
.cl-step.is-now .cl-dot { background: var(--brand); border: none; color: #fff; }
.cl-step .txt b { display: block; font-size: 14px; font-weight: 600; }
.cl-step:not(.is-done):not(.is-now) .txt b { color: var(--muted); }
.cl-step .txt span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.main-action .btn-primary svg { margin-right: 8px; vertical-align: -3px; }
.main-action .cl-sent { width: 100%; min-height: 48px; margin-top: 8px; font-size: 15px; border-radius: 16px; }
body.with-two-actions #screen { padding-bottom: calc(152px + env(safe-area-inset-bottom)); }
body.with-two-actions .toast { bottom: calc(152px + env(safe-area-inset-bottom)); }

/* 8.6 / 7.14 / 7.15 компенсации (Е3) */
.cs-card { padding: 6px 14px; }
.cs-card .t-caption { padding-top: 8px; }
.cs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 8px 0; box-sizing: border-box; cursor: pointer; }
.cs-row + .cs-row { border-top: 1px solid var(--line); }
.cs-row .txt { min-width: 0; } .cs-row .txt b { display: block; font-size: 15px; font-weight: 400; } .cs-row .txt span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.cs-row input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--brand-ink); }
.cs-links a { min-height: 60px; } .cs-links .txt b { display: block; font-size: 15px; } .cs-links .txt span { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.cs-formula { font-size: 13px; line-height: 1.5; } .cs-formula b { display: block; margin-top: 4px; font-size: 14px; } .cs-formula p { margin: 4px 0 0; color: var(--ink-2, var(--ink)); }
.cs-note { margin-top: 12px; background: var(--gray-tint); border-radius: 16px; padding: 12px 14px; font-size: 12px; line-height: 1.45; }
.cll-card { padding: 14px; margin-top: 10px; }
.cll-top, .cll-mid { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cll-top b { font-size: 15px; font-weight: 600; } .cll-mid { margin-top: 8px; font-size: 14px; } .cll-mid span { color: var(--muted); } .cll-mid b { font-family: Onest, sans-serif; }
.cll-note { margin-top: 6px; line-height: 1.4; }
.cll-wait { color: var(--brand-ink); background: var(--brand-soft); } .cll-ok { color: var(--ok-ink); background: var(--ok-tint); }
.badge.cll-rej { color: var(--warn-ink); background: var(--warn-tint); }
.cll-btns { display: flex; gap: 8px; margin-top: 10px; } .cll-btns .btn { flex: 1; min-height: 44px; border-radius: 12px; font-size: 14px; }
.cll-paid { border: none; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.cll-back { display: block; margin-top: 8px; background: none; border: none; padding: 0; cursor: pointer; font-size: 13px; }
.rb-act { padding: 6px 14px 10px; } .rb-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 8px; } .rb-top b { font-size: 15px; }
.rb-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 13px; } .rb-row + .rb-row { border-top: 1px solid var(--line); } .rb-row span:last-child { white-space: nowrap; color: var(--muted); }
.rb-form b { font-size: 15px; font-weight: 600; }
.rb-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; } .rb-two .input, .rb-form label .input { margin-top: 4px; }
.rb-pick { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 8px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); padding: 0 12px; font-size: 15px; text-align: left; cursor: pointer; }
.rb-pick span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 3.2 Ещё (Ж1, по дизайну More.dc.html) */
.mo-lang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; width: 100%; box-sizing: border-box; }
.mo-group { padding: 4px 16px; margin-top: 14px; }
.mo-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 0; box-sizing: border-box; text-decoration: none; color: var(--ink); }
.mo-row + .mo-row { border-top: 1px solid var(--line-3, var(--line)); }
.mo-row .txt { flex: 1; min-width: 0; } .mo-row .txt b { display: block; font-size: 15px; font-weight: 600; }
.mo-row .txt span { display: block; font-size: 13px; color: var(--muted); } .mo-row .txt span.mo-ok { color: var(--ok-ink); }
.mo-row .chev { color: var(--hint, var(--muted)); font-size: 18px; }
.mo-g2 .mo-row { min-height: 52px; }
.mo-row.is-off .txt b { color: var(--muted); }

/* 3.4 Ваши магазины (Ж2, по дизайну Shops.dc.html) */
.sp-h { font: 800 22px/1.2 Onest, sans-serif; margin: 0 0 12px; }
.sp-row { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); margin-top: 8px; box-sizing: border-box; }
.sp-row:first-child { margin-top: 0; }
.sp-row.is-on { background: var(--brand-faint, var(--brand-faint)); border: 2px solid var(--brand-ink); color: var(--brand-ink); }
.sp-row .txt { flex: 1; min-width: 0; } .sp-row .txt b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); } .sp-row .txt span { display: block; font-size: 13px; color: var(--muted); }
.sp-ava { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--gray-tint); color: var(--ink-2); font: 800 16px Onest, sans-serif; display: flex; align-items: center; justify-content: center; }
.sp-row.is-on .sp-ava { background: var(--brand); color: #fff; }
.sp-row.is-off { opacity: .6; }
.sp-go { font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.sp-add { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; background: var(--bg); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 14px; }

/* 7.7 Доступ к кабинету, 9.4 Как отозвать (Ж3) */
.ac-card { margin-top: 10px; }
.ac-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ac-h { font: 700 17px Onest, sans-serif; }
.ac-txt { font-size: 14px; line-height: 1.6; margin-top: 8px; } .ac-txt span { color: var(--muted); }
.ac-ok { color: var(--ok-ink); background: var(--ok-tint); } .ac-warn { color: var(--warn-ink); background: var(--warn-tint); } .ac-grey { color: var(--muted); background: var(--gray-tint); }
.ac-btn { display: flex; align-items: center; justify-content: center; margin-top: 10px; min-height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.ac-out { background: var(--card); border: 1px solid var(--err-line); color: var(--err); font-weight: 600; box-sizing: border-box; }
.ac-row { display: flex; justify-content: space-between; min-height: 48px; align-items: center; font-size: 15px; } .ac-row + .ac-row { border-top: 1px solid var(--line-3, var(--line)); }
.ac-row span:last-child { color: var(--muted); font-size: 13px; }

/* 3.5 Уведомления (Ж4) — строки как в 8.6 (cs-row) */
.nt-card { margin-top: 10px; }
.nt-t { display: flex !important; align-items: baseline; gap: 8px; color: var(--ink) !important; font-size: 15px !important; }
.nt-t b { font-weight: 600 !important; } .nt-t em { font-style: normal; font-size: 12px; color: var(--muted); }
.cs-row input:disabled { opacity: .55; }

/* 7.8 Журнал (Ж6) */
.jr-tabs { margin-top: 12px; }   /* 10.11: по-узбекски «Pul» уходил на 2-ю строку — теперь прокрутка (.chips-scroll) */
.jr-card { padding: 6px 14px; margin-top: 14px; }
.jr-row { display: flex; gap: 12px; padding: 12px 0; } .jr-row + .jr-row { border-top: 1px solid var(--line-3, var(--line)); }
.jr-time { font-size: 12px; color: var(--muted); width: 44px; flex-shrink: 0; padding-top: 2px; }
.jr-row .txt { flex: 1; min-width: 0; } .jr-row .txt b { display: block; font-size: 12px; font-weight: 700; } .jr-row .txt span { display: block; font-size: 14px; line-height: 1.4; margin-top: 2px; }
.jr-me { color: var(--ok-ink); } .jr-system { color: var(--brand-ink); } .jr-team { color: var(--ink-2); }

/* закрытый доступ (08.11.2026, сессия админки): экран, когда владелец сервиса закрыл доступ */
.closed-box { text-align: left; padding: 20px 18px; }
.closed-box b { font-size: 17px; color: var(--warn-ink); }
.closed-box .closed-why { color: var(--ink); font-weight: 600; margin-top: 8px; }
.closed-box .btn { margin-top: 16px; }

/* 1 Главная — блоки точно по Bento2 (08.11: шапка, «Нужно решить», «Агенты», «Быстро») */
.hm-top { align-items: flex-end; }
a.hm-shop { display: flex; align-items: center; gap: 6px; min-height: 40px; text-decoration: none; color: var(--ink); margin-top: 0; }
a.hm-shop > span:first-child { font: 800 26px/1.15 Onest, sans-serif; letter-spacing: -0.025em; }
.hm-chip { width: 24px; height: 24px; border-radius: 8px; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.hm-plan { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; background: var(--card); border-radius: 14px; padding: 7px 12px; min-height: 44px; box-sizing: border-box; margin-top: 0; }
.hm-plan b { font: 700 13px Onest, sans-serif; color: var(--brand-ink); } .hm-plan span { font-size: 11px; font-weight: 400; color: var(--muted); }
.hm-h { margin: 22px 2px 10px; display: flex; align-items: center; gap: 8px; }
.hm-h h2 { margin: 0; font: 700 19px Onest, sans-serif; }
.hm-count { font: 700 12px Onest, sans-serif; color: #101114; background: #FF6A2B; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.hm-need { background: var(--card); color: var(--ink); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.hm-need-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.hm-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--brand-tint); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; }
.hm-ic.is-warn { background: var(--warn-tint); color: var(--warn); } .hm-ic.is-ok { background: var(--ok-tint); color: var(--ok); } .hm-ic.is-off { background: var(--gray-tint); color: var(--muted); }
.hm-pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 9px; text-align: right; }
.hm-pill.is-warn { color: var(--warn-ink); background: var(--warn-tint); } .hm-pill.is-ok { color: var(--ok-ink); background: var(--ok-tint); }
.hm-lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.hm-need .hm-big { display: block; font: 800 30px/1.05 Onest, sans-serif; letter-spacing: -0.03em; margin-top: 4px; }
.hm-need .hm-big.is-ok { font-size: 24px; color: var(--ok); }
.hm-sub { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 6px; }
.hm-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: 14px; text-decoration: none; margin-top: auto; }
.hm-state { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-left: auto; color: var(--ok); }
.hm-state i { width: 8px; height: 8px; border-radius: 50%; background: #14A06F; } .hm-state.is-off { color: var(--muted); } .hm-state.is-off i { background: var(--muted); }
/* 11.11: агент подключён, но не работает — как проблемное состояние на доске Bento2 (оранжевое) */
.hm-state.is-warn { color: var(--warn-ink); } .hm-state.is-warn i { background: var(--warn); }
.hm-agents { background: var(--card); border-radius: 24px; padding: 4px 14px; }
.hm-ag { display: flex; align-items: center; gap: 12px; min-height: 60px; text-decoration: none; color: var(--ink); }
.hm-ag + .hm-ag { border-top: 1px solid var(--line-3, var(--line)); }
.hm-ag .txt { flex: 1; min-width: 0; } .hm-ag .txt b { display: block; font-weight: 600; font-size: 15px; } .hm-ag .txt span { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.hm-ag.is-off .txt b { color: var(--muted); }
.hm-alert { background: var(--warn-tint); color: var(--warn-ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.hm-chev { color: var(--hint, var(--muted)); flex: none; }
/* 10.11 (М1, макет 13.10): «Важно сейчас» — дела списком в стиле строк агентов */
.hm-note { margin-left: auto; font-size: 12px; color: var(--muted); }
.hm-todo .hm-ag { min-height: 64px; }
.hm-todo .hm-ag .txt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-tag { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.hm-tag.is-warn { color: var(--warn-ink); } .hm-tag.is-ok { color: var(--ok-ink); }
.hm-done { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 0 4px; font-size: 13px; color: var(--muted); text-decoration: none; }
.hm-done svg { color: var(--ok); flex: none; }
/* 10.11 (владелец, образец «Главная — было и станет»): сравнение цифрой, показатели строками, у строки «Важно сейчас» одно число с единицей
   в начале второй строки (цветом по смыслу), пояснение — не больше двух строк; агенты без сотрудника — одним блоком */
.hm-delta { font-size: 13px; line-height: 18px; color: #DCE1FF; margin-top: 6px; white-space: nowrap; }
.hm-bar b { font-size: 12px; }
.hm-stats { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.22); }
.hm-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hm-stat span { font-size: 13px; line-height: 18px; color: #DCE1FF; }
.hm-stat b { font: 700 15px/18px Onest, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-todo .hm-ag { padding: 12px 0; box-sizing: border-box; }
.hm-todo .hm-ag .txt { display: flex; flex-direction: column; gap: 2px; }
.hm-todo .hm-ag .txt b { line-height: 20px; }
.hm-todo .hm-ag .txt span.hm-sub { margin-top: 0; line-height: 18px; white-space: normal; text-overflow: clip; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hm-val { font: 700 14px/18px Onest, sans-serif; font-style: normal; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm-val.is-warn { color: var(--warn-ink); } .hm-val.is-ok { color: var(--ok-ink); }
.hm-staff { margin-top: 10px; background: var(--card); border-radius: 24px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.hm-staff b { font-size: 15px; font-weight: 600; line-height: 20px; }
.hm-staff span { font-size: 13px; line-height: 18px; color: var(--muted); text-wrap: balance; }
.hm-staff .btn { margin-top: 10px; }
.hm-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-q { background: var(--card); border-radius: 18px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 82px; box-sizing: border-box; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 600; }
.hm-q .hm-ic { width: 38px; height: 38px; }
.hm-q.is-off { color: var(--muted); } .hm-q em { font-style: normal; font-size: 11px; font-weight: 500; margin-top: -6px; }

/* блок «Спросите помощника» на главной — доска «1 · Главная» (08.11.2026, сессия админки) */
.card.as-home { border-radius: 24px; padding: 16px; }
.as-h { font: 700 17px/1.25 Onest, sans-serif; color: var(--ink); }
.as-hsub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.as-input.as-gray { background: var(--bg); border: none; border-radius: 14px; margin-top: 12px; min-height: 48px; }
.as-chips { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.as-chips .chip { flex-shrink: 0; }   /* 10.11: подсказки одной строкой с мягким краем, как на экране помощника */
.as-chips:empty { display: none; }
.as-chips .chip { min-height: 44px; font-size: 13px; font-weight: 500; border: 1px solid var(--line-2); }
.as-input.as-gray .as-send { width: 34px; height: 34px; border-radius: 10px; }
.as-input.as-gray { padding: 0 7px 0 14px; }
.hm-quick a.hm-q > span:not(.hm-ic) { width: auto; height: auto; background: none; color: inherit; font-size: 12px; font-weight: 600; display: block; border-radius: 0; }

/* Ж7: команда — сотрудник «только смотрит» */
body.is-viewer .main-action, body.is-viewer [data-owner], body.is-viewer .p-buy { display: none !important; }
body.is-viewer.with-main-action #screen { padding-bottom: 24px; }
.ac-rm { background: none; border: none; padding: 0; color: var(--err); font: inherit; font-size: 13px; cursor: pointer; }

/* 2.6 Конкуренты, 2.7 За кем следить, 9.3 Скрытые магазины (И2) */
.cp-pick { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); border-radius: 999px; padding: 0 14px; min-height: 40px; font-weight: 600; font-size: 14px; cursor: pointer; }
.cp-sum { margin-top: 12px; background: var(--brand); color: #fff; border-radius: 22px; padding: 14px 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cp-sum span { display: block; font-size: 12px; color: #DCE1FF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cp-sum b { font: 700 17px Onest, sans-serif; white-space: nowrap; }
.cp-card { background: var(--card); border-radius: 22px; padding: 4px 14px; }
.cp-ev { display: flex; gap: 12px; padding: 12px 0; } .cp-ev + .cp-ev { border-top: 1px solid var(--line-3, var(--line)); }
.cp-ev .hm-ic { width: 34px; height: 34px; border-radius: 11px; }
.cp-ev .txt b { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; } .cp-ev .txt span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.cp-r { display: flex; align-items: center; gap: 12px; min-height: 64px; } .cp-r + .cp-r { border-top: 1px solid var(--line-3, var(--line)); }
.cp-ava { width: 40px; height: 40px; border-radius: 12px; background: var(--gray-tint); flex-shrink: 0; }
.cp-r .txt { flex: 1; min-width: 0; } .cp-r .txt b { display: block; font-weight: 600; font-size: 15px; } .cp-r .txt span { display: block; font-size: 13px; color: var(--muted); } .cp-r .txt span.is-warn { color: var(--warn-ink); } .cp-r .txt em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.cp-sold { font: 700 16px Onest, sans-serif; text-align: right; }
.cp-row { justify-content: flex-start; } .cp-row input { order: -1; }
.cp-add { display: flex; gap: 8px; margin-top: 10px; } .cp-add .input { flex: 1; min-width: 0; } .cp-add .btn { min-height: 44px; padding: 0 14px; border-radius: 12px; border: none; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: 14px; }
.cp-hid { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 8px; font-size: 13px; } .cp-hid span { color: var(--muted); } .cp-hid a { font-weight: 600; text-decoration: none; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--chip-on); color: #fff; font-size: 14px; font-weight: 600; }
.cp-chip button { position: relative; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(255,255,255,0.18); color: #fff; cursor: pointer; }
.cp-chip-add { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--line-2); background: var(--card); font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.cp-daily { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 14px; } .cp-daily label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cp-daily input { width: 22px; height: 22px; accent-color: var(--brand-ink); margin: 0; }
.hs-add { margin-top: 12px; } .hs-row { display: flex; align-items: center; justify-content: space-between; min-height: 54px; } .hs-row + .hs-row { border-top: 1px solid var(--line-3, var(--line)); }
.hs-row span.is-off { color: var(--muted); } .hs-row .btn { min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
.as-a.as-draft { color: var(--ink-2); opacity: .75; }   /* п.6: черновик ответа, числа ещё не проверены */

/* 1.4 Цена, 9.1 Своя цена, 7.3 Подтвердить (И3) */
.pr-prod { margin-top: 10px; width: 100%; box-sizing: border-box; background: var(--card); border: none; border-radius: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--ink); min-height: 64px; cursor: pointer; }
.pr-prod .txt { flex: 1; min-width: 0; } .pr-prod .txt b { display: block; font-weight: 600; font-size: 15px; } .pr-prod .txt span { display: block; font-size: 13px; color: var(--muted); }
.pr-ch { font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.pr-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-tint); border-radius: 999px; padding: 4px 9px; }
.pr-head { font: 700 18px/1.3 Onest, sans-serif; margin-top: 10px; }
.pr-list { margin: 10px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2, var(--ink)); line-height: 1.55; }
.pr-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pr-opts.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 10.11 (М4, макет 13.5): «Границы цены» — линейка, подписи, наценка */
.pr-bh { font: 700 17px Onest, sans-serif; }
.pr-scale { position: relative; height: 22px; margin-top: 14px; }
.pr-scale i { position: absolute; display: block; }
.pr-track { left: 0; right: 0; top: 7px; height: 8px; border-radius: 4px; background: var(--gray-tint, var(--line)); }
.pr-zone { left: 0; top: 7px; height: 8px; border-radius: 4px 0 0 4px; background: var(--warn); }
.pr-dot { top: 2px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; box-sizing: border-box; border: 3px solid var(--card); }
.pr-dot.is-zero, .pr-legend .is-zero i { background: var(--warn); } .pr-dot.is-mk, .pr-legend .is-mk i { background: var(--ok); }
.pr-dot.is-tip, .pr-legend .is-tip i { background: var(--brand-ink); } .pr-dot.is-now, .pr-legend .is-now i { background: var(--ink); }
.pr-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.pr-legend { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pr-legend div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pr-legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; display: block; }
.pr-legend b { font-family: Onest, sans-serif; min-width: 74px; } .pr-legend span { color: var(--muted); }
.pr-legend .is-zero b, .pr-legend .is-zero span { color: var(--warn-ink); }
.pr-mk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.pr-mk button { min-height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.pr-mk button[aria-pressed="true"] { background: var(--chip-on); border-color: var(--chip-on); color: #fff; }
.pr-mkline { font-size: 14px; line-height: 1.45; margin: 10px 0 0; }
/* 10.11 (М5, макеты 13.7 и 13.7б): вид расхода, «Расходы за месяц», ссылка из «Денег» */
.ex-kind { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 12px; padding: 4px; border-radius: 14px; background: var(--bg); }
.ex-kind button { min-height: 40px; border-radius: 10px; border: none; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ex-kind button[aria-pressed="true"] { background: var(--card); font-weight: 700; }
.ex-card { border-radius: 22px; }
.ex-total { font: 800 30px Onest, sans-serif; letter-spacing: -0.02em; } .ex-total span { font-size: 16px; font-weight: 600; color: var(--muted); }
.ex-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-top: 4px; font-size: 14px; }
.ex-share .is-ok { color: var(--ok-ink); font-weight: 600; } .ex-share .is-warn { color: var(--warn-ink); font-weight: 600; }
.ex-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 14px; gap: 2px; }
.ex-bar i { display: block; height: 100%; }
.ex-rows { margin-top: 8px; }
.ex-row { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.ex-row + .ex-row { border-top: 1px solid var(--line-3, var(--line)); }
.ex-row > i { width: 10px; height: 10px; border-radius: 3px; flex: none; display: block; }
.ex-row .txt { flex: 1; min-width: 0; } .ex-row .txt b { display: block; font-weight: 600; font-size: 15px; }
.ex-row .txt span { display: block; font-size: 12px; color: var(--muted); } .ex-row > b { font: 700 15px Onest, sans-serif; white-space: nowrap; }
.is-c0 { background: var(--brand-ink); } .is-c1 { background: var(--ok); } .is-c2 { background: var(--warn); } .is-c3 { background: var(--muted); }
.is-c4 { background: var(--brand-tint); } .is-c5 { background: var(--line-2); } .is-c6 { background: var(--ok-tint); }
.ex-note { margin: 6px 0 0; }
.m-exp { display: flex; align-items: center; gap: 12px; margin-top: 12px; border-radius: 20px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.m-exp .txt { flex: 1; min-width: 0; } .m-exp .txt b { display: block; font-weight: 600; font-size: 15px; } .m-exp .txt span { display: block; font-size: 13px; color: var(--muted); }
.m-exp svg { color: var(--hint, var(--muted)); flex: none; }
/* 10.11 (М8, макет 13.3б): «Отметить по претензии» на «Уже возмещено» */
.rbb-line { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 0; border: none; border-bottom: 1px solid var(--line-3, var(--line)); background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.rbb-line:last-of-type { border-bottom: none; }
.rbb-box { width: 22px; height: 22px; border-radius: 6px; box-sizing: border-box; border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; flex: none; }
.rbb-line[aria-pressed="true"] .rbb-box { background: var(--brand-ink); border-color: var(--brand-ink); }
.rbb-line[aria-pressed="false"] > b { color: var(--muted); }
.rbb-line .txt { flex: 1; min-width: 0; } .rbb-line .txt b { display: block; font-weight: 600; font-size: 15px; } .rbb-line .txt span { display: block; font-size: 13px; color: var(--muted); }
.rbb-line > b { font: 700 15px Onest, sans-serif; white-space: nowrap; }
.rbb-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; font-size: 14px; } .rbb-sum span { color: var(--muted); }
.rbb-sum .money { font: 700 18px Onest, sans-serif; color: var(--ok); white-space: nowrap; }
/* 10.11 (М6, макет 13.8): «Лежит без продаж» на «Товарах» */
.p-idle { margin-top: 12px; border-radius: 22px; }
.p-idle-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .p-idle-h b { font: 700 17px Onest, sans-serif; }
.p-idle-h span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.p-idle-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--ink); }
.p-idle-row + .p-idle-row { border-top: 1px solid var(--line-3, var(--line)); }
.p-idle-row .txt { flex: 1; min-width: 0; } .p-idle-row .txt b { display: block; font-weight: 600; font-size: 15px; }
.p-idle-row .txt span { display: block; font-size: 13px; color: var(--muted); } .p-idle-row svg { color: var(--hint, var(--muted)); flex: none; }
.p-idle-tip { font-size: 13px; line-height: 1.45; color: var(--ink-2, var(--ink)); margin: 10px 0 0; }
.p-idle-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.pr-opts button { min-height: 64px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); padding: 6px; cursor: pointer; }
.pr-opts button b { display: block; font: 700 16px Onest, sans-serif; } .pr-opts button span { display: block; font-size: 11px; margin-top: 2px; color: var(--muted); }
.pr-opts button[aria-pressed="true"] { background: var(--chip-on); border-color: var(--chip-on); color: #fff; } .pr-opts button[aria-pressed="true"] span { color: #C9CDD6; }
.pr-unit { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-3, var(--line)); font-size: 14px; } .pr-unit span { color: var(--muted); } .pr-unit b { font-family: Onest, sans-serif; }
.pr-key p { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.45; } .pr-key b { font-size: 15px; }
.pr-note { text-align: center; margin: 12px 0 0; }
.pr-in { display: flex; align-items: center; gap: 8px; margin-top: 14px; border: 2px solid var(--brand-ink); border-radius: 16px; padding: 0 14px; min-height: 60px; }
.pr-in.is-bad { border-color: var(--err); } .pr-in input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: 800 26px Onest, sans-serif; color: var(--ink); } .pr-in span:last-child { font-size: 15px; color: var(--muted); font-weight: 600; }
.pr-calc { background: var(--bg); border-radius: 16px; padding: 4px 14px; margin-top: 12px; }
.pr-calc > div { display: flex; justify-content: space-between; min-height: 44px; align-items: center; font-size: 14px; } .pr-calc > div + div { border-top: 1px solid var(--line); }
.pr-calc > div > span:first-child { color: var(--muted); } .pr-calc s { color: var(--muted); } .pr-calc .is-bad { color: var(--err); } .pr-calc .is-ok { color: var(--ok-ink); }
.pf-cancel { background: none; border: none; min-height: 48px; margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.pf-done { display: flex; align-items: center; gap: 10px; } .pf-done > span { width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
/* 16.11.2026 (Н8, доска 7.3б): «Приняли — ставим цену…» — кружок ожидания вместо зелёной галочки, итог придёт в окне или в Telegram */
.pf-wait > span { background: var(--brand-tint); }
.pf-wait .spinner, .as-wait .spinner { border-color: var(--brand-off); border-top-color: var(--brand-ink); }
.pf-why { margin: 12px 0 0; font-size: 13px; line-height: 1.4; text-wrap: balance; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 2.5 Агенты (К1) */
.ag-all { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.ag-list { margin-top: 14px; }
.ag-row { display: flex; align-items: center; gap: 10px; min-height: 64px; } .ag-row + .ag-row { border-top: 1px solid var(--line-3, var(--line)); }
.ag-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; text-decoration: none; color: var(--ink); }
.ag-main .txt { min-width: 0; } .ag-main .txt b { display: block; font-weight: 600; font-size: 15px; } .ag-main .txt span { display: block; font-size: 13px; color: var(--muted); }
.ag-row.is-off .ag-main .txt b { color: var(--muted); }
.ag-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: #14A06F; } .ag-dot.is-warn { background: var(--warn); } .ag-dot.is-off { background: var(--switch-off, #B9BDC7); }
.ag-sw { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; cursor: pointer; }
.ag-sw input { width: 22px; height: 22px; accent-color: var(--brand-ink); margin: 0; } .ag-sw input:disabled { opacity: .4; }
.ag-ai-top { display: flex; justify-content: space-between; font-size: 14px; } .ag-ai-top b { font-weight: 600; } .ag-ai-top span { color: var(--muted); }
.ag-bar { height: 8px; border-radius: 4px; background: var(--gray-tint); margin-top: 10px; overflow: hidden; } .ag-bar i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.ag-jr { background: var(--card); border-radius: 18px; padding: 0 16px; margin-top: 12px; min-height: 56px; }

/* К3: «Чат» (2.1) и «Все диалоги» (7.4) */
.ch-all { color: var(--brand-ink); font-size: 14px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ch-av { width: 36px; height: 36px; border-radius: 50%; background: var(--gray-tint); color: var(--ink-2, var(--muted)); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ch-head { display: flex; align-items: center; gap: 10px; }
.ch-head .txt { flex: 1; min-width: 0; } .ch-head .txt b { display: block; font-weight: 600; font-size: 15px; } .ch-head .txt span { display: block; font-size: 12px; color: var(--muted); }
.ch-bub { margin-top: 12px; background: var(--bg); border-radius: 4px 16px 16px 16px; padding: 10px 12px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.ch-bub + .ch-bub { margin-top: 6px; }
.ch-bub.is-out { background: var(--brand-tint, var(--brand-tint)); border-radius: 16px 4px 16px 16px; margin-left: 32px; }
.ch-tr { margin: 4px 0 0; }
.ch-why { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; background: var(--warn-soft); border-radius: 12px; padding: 10px 12px; color: var(--warn-ink); }
.ch-why svg { flex-shrink: 0; margin-top: 2px; } .ch-why span { font-size: 13px; color: var(--ink-2, var(--ink)); line-height: 1.4; }
.ch-ans { margin-top: 12px; min-height: 72px; padding: 12px; resize: none; line-height: 1.4; font: inherit; font-size: 15px; }
.ch-ans:focus { padding: 11px; }
.ch-rem { display: flex; align-items: center; gap: 12px; margin-top: 12px; min-height: 44px; cursor: pointer; }
.ch-rem input { width: 22px; height: 22px; accent-color: var(--brand-ink); margin: 0; flex-shrink: 0; } .ch-rem span { font-size: 14px; line-height: 1.35; }
.ch-note p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.ch-tabs { margin-top: 12px; }
.ch-list { margin-top: 14px; }
.ch-row { display: flex; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--ink); }
.ch-row + .ch-row { border-top: 1px solid var(--line-3, var(--line)); }
.ch-row .ch-av { width: 40px; height: 40px; }
.ch-row .txt { flex: 1; min-width: 0; }
.ch-top { display: flex; justify-content: space-between; gap: 8px; } .ch-top b { font-size: 15px; font-weight: 600; } .ch-top span { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.ch-msg { display: block; font-size: 13px; color: var(--ink-2, var(--muted)); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-row .badge { margin-top: 6px; display: inline-block; }
.ch-by { margin: 10px 0 0; text-align: right; }
.ch-by + .ch-bub { margin-top: 4px; }

/* К4: «Агент чата» (8.1), «Выученные ответы» (7.12), «Инструкции производителя» (7.13) */
.ch-reset { border: none; background: none; cursor: pointer; padding: 0; font: inherit; font-size: 15px; }
.cs-card { margin-top: 12px; }
.cs-esc { margin-top: 10px; padding: 0 14px 2px; }
.cs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 0; cursor: pointer; }
.cs-row + .cs-row { border-top: 1px solid var(--line-3, var(--line)); }
.cs-row .txt b { display: block; font-size: 15px; font-weight: 400; } .cs-row .txt span { display: block; font-size: 12px; color: var(--muted); }
.cs-row input { width: 22px; height: 22px; accent-color: var(--brand-ink); margin: 0; flex-shrink: 0; }
.cs-row input:disabled { opacity: .6; }
.cs-miss { color: var(--warn-ink); font-weight: 600; }
.cs-fixed { background: var(--gray-tint); border-radius: 16px; padding: 12px 14px; font-size: 12px; color: var(--ink-2); line-height: 1.45; margin-top: 10px; }
.ln-card { margin-top: 10px; padding: 14px; }
.ln-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ln-top .badge { white-space: nowrap; }
.ln-q { font-size: 13px; color: var(--ink-2); margin: 8px 0 0; line-height: 1.4; }
.ln-a { font-size: 14px; margin-top: 8px; line-height: 1.45; background: var(--bg); border-radius: 12px; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ln-btns { display: flex; gap: 8px; margin-top: 10px; } .ln-btns .btn-soft { flex: 1; font-weight: 700; } .ln-btns .btn-outline { min-height: 44px; padding: 0 16px; }
.mn-card { margin-top: 10px; padding: 14px; }
.mn-head { display: flex; gap: 12px; align-items: center; }
.mn-img { width: 44px; height: 44px; border-radius: 12px; background: var(--gray-tint); flex-shrink: 0; object-fit: cover; }
.mn-head .txt { flex: 1; min-width: 0; } .mn-head .txt b { display: block; font-weight: 600; font-size: 15px; }
.mn-head .txt span { display: block; font-size: 12px; color: var(--muted); } .mn-head .txt span.mn-ok { color: var(--ok-ink); } .mn-head .txt span.mn-miss { color: var(--warn-ink); font-weight: 600; }
.mn-parts { margin-top: 12px; gap: 6px; } .mn-part { font-size: 12px; background: var(--bg); border-radius: 10px; padding: 5px 10px; }   /* 10.11: длинная тема в 2 строки — аккуратный прямоугольник, не «таблетка» */
.mn-btns { display: flex; gap: 8px; margin-top: 12px; } .mn-btns .btn { flex: 1; min-height: 44px; font-size: 14px; }
.mn-btns label.btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mn-drop { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 12px; min-height: 88px; border-radius: 16px; border: 2px dashed var(--switch-off); background: var(--bg); color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; box-sizing: border-box; text-align: center; padding: 0 12px; }
.mn-h { font-size: 15px; margin: 14px 0 4px; } .mn-p { margin: 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }

/* К5: «Отзывы» (2.2), «Агент отзывов» (7.5), «Новый факт» (9.5) */
.rv-stats { display: flex; gap: 16px; margin-top: 8px; font-size: 14px; color: var(--muted); flex-wrap: wrap; } .rv-stats b { color: var(--ink); }
.rv-card { margin-top: 10px; padding: 14px; }
.rv-card.is-draft { border: 2px solid var(--count); padding: 12px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .rv-top b { font-weight: 600; font-size: 15px; }
.rv-stars { font-size: 14px; color: #B7791F; letter-spacing: 1px; white-space: nowrap; } .rv-stars.is-low { color: var(--warn-ink); }
.rv-text { font-size: 14px; margin: 8px 0 0; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.rv-reply { margin-top: 10px; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.rv-reply > b { display: block; font-size: 12px; font-weight: 700; color: var(--ok-ink); }
.rv-reply.is-draft { background: var(--warn-soft); } .rv-reply.is-draft > b { color: var(--warn-ink); }
.rv-reply p { font-size: 14px; color: var(--ink-2); margin: 4px 0 0; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.rv-edit { margin-top: 6px; min-height: 96px; padding: 8px 10px; font: inherit; font-size: 14px; line-height: 1.45; resize: none; }
.rs-stars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.rs-stars .chip { min-height: 44px; padding: 0; border-radius: 12px; font-weight: 700; }
.rs-facts p { font-size: 14px; line-height: 1.55; margin: 6px 0 0; }
.btn-link { background: none; border: none; color: var(--brand-ink); font-weight: 600; font-size: 15px; min-height: 44px; cursor: pointer; }

/* К6: «Буст» (2.3), «Агент Буста» (8.2), «Новый запрос» (9.6) */
.bs-top { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.bs-run { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
.bs-run input { width: 22px; height: 22px; accent-color: var(--brand-ink); margin: 0; }
.bs-card { margin-top: 12px; }
.bs-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.bs-nums span { display: block; font-size: 12px; color: var(--muted); }
.bs-nums b { display: block; font-family: Onest, sans-serif; font-weight: 800; font-size: 24px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.bs-nums b.bs-big { font-size: 28px; line-height: 1.2; } .bs-nums b.is-muted { color: var(--muted); }
.bs-bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; align-items: end; height: 82px; margin-top: 8px; }
.bs-bars div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; }
.bs-bars b { font-size: 11px; font-weight: 700; } .bs-bars i { display: block; width: 100%; border-radius: 4px; background: var(--brand-tint-2, #C9CFF5); }
.bs-bars i.is-ok { background: var(--brand); } .bs-bars span { font-size: 11px; color: var(--muted); }
.bs-spend { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-3, var(--line)); font-size: 14px; }
.bs-spend span { color: var(--muted); } .bs-spend b { text-align: right; }
.bs-goals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.bs-goals .chip { min-height: 44px; padding: 0; border-radius: 12px; font-weight: 700; font-size: 15px; }
.bs-cap { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.bs-cap > span:first-child span { display: block; }
.bs-step { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }   /* 10.11: подписи слева хватает места */
.bs-step button { width: 40px; height: 40px; border-radius: 12px; border: none; background: var(--bg); font-size: 20px; font-weight: 600; color: var(--ink); cursor: pointer; }
.bs-step b { font-family: Onest, sans-serif; font-weight: 800; font-size: 18px; min-width: 64px; text-align: center; white-space: nowrap; }
.bs-log { margin-top: 12px; padding: 2px 16px; }
.bs-ev { display: flex; gap: 12px; padding: 10px 0; font-size: 14px; } .bs-ev + .bs-ev { border-top: 1px solid var(--line-3, var(--line)); }
.bs-ev span:first-child { color: var(--muted); min-width: 56px; flex-shrink: 0; white-space: nowrap; }   /* 10.11: «31 октября» в одну строку */ .bs-ev span:last-child { line-height: 1.4; }
.bt-head { display: flex; justify-content: space-between; padding-top: 10px; font-size: 12px; color: var(--muted); }
.bt-q .txt b { font-weight: 600; } .bt-cap { width: 108px; min-height: 40px; flex-shrink: 0; text-align: center; font-family: Onest, sans-serif; font-weight: 700; font-size: 14px; padding: 0 8px; margin: 0; }
.bt-add { width: 100%; margin: 10px 0 12px; min-height: 40px; border-radius: 12px; border: 1px dashed var(--switch-off); background: var(--card); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.bt-stepcard .txt b { display: block; font-size: 15px; font-weight: 400; } .bt-stepcard .txt span { display: block; font-size: 12px; color: var(--muted); }
.cs-row input.bt-cap { width: 108px; height: auto; min-height: 40px; margin: 0; }

/* К7: «Слоты» (1.5, 6.1, 6.2) */
.sl-card { margin-top: 12px; padding: 14px; }
.sl-inv { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; margin-top: 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); padding: 8px 12px; text-align: left; color: var(--ink); cursor: pointer; font: inherit; }
.sl-inv.is-on { border: 2px solid var(--brand-ink); background: var(--brand-tint, var(--brand-faint)); padding: 7px 11px; }
.sl-ring { width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box; border: 2px solid var(--switch-off); flex-shrink: 0; }
.sl-inv.is-on .sl-ring { border: 6px solid var(--brand-ink); }
.sl-inv .txt b { display: block; font-weight: 600; font-size: 15px; } .sl-inv .txt span { display: block; font-size: 13px; color: var(--muted); }
.sl-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.sl-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.sl-day { min-height: 56px; padding: 2px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sl-day span { font-size: 11px; color: var(--muted); font-weight: 400; } .sl-day[aria-pressed="true"] span { color: #C9CDD6; }
.sl-day b { font-family: Onest, sans-serif; font-weight: 700; font-size: 17px; }
.sl-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.sl-times .chip { min-height: 44px; padding: 0; border-radius: 12px; }
.sl-times .chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.sl-hours b { min-width: 0; font-size: 16px; padding: 0 4px; }
.sl-mode { align-items: flex-start; padding: 12px 0; } .sl-mode input { margin-top: 2px; }
.sw-head { display: flex; align-items: center; gap: 10px; } .sw-head b { font-family: Onest, sans-serif; font-weight: 800; font-size: 20px; }
.sw-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px var(--brand-tint-2, var(--brand-soft)); }
.sw-ok { width: 28px; height: 28px; border-radius: 50%; background: #0C7A52; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sw-rule { font-size: 14px; line-height: 1.5; margin: 10px 0 0; }
.sw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-3, var(--line)); }
.sw-grid span { display: block; font-size: 12px; color: var(--muted); } .sw-grid b { font-weight: 600; font-size: 14px; }
.sw-checks b { font-size: 14px; } .sw-checks p { font-size: 13px; color: var(--ink-2); margin: 4px 0 0; line-height: 1.5; }
.sw-stop { color: var(--err, #B42318); border-color: var(--danger-line); }
.sw-off { background: var(--warn-soft); } .sw-title { font-family: Onest, sans-serif; font-weight: 800; font-size: 20px; }
.sw-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--danger-line); }
.sl-card .cs-row, .sl-mode { justify-content: flex-start; } .sl-card .cs-row .txt, .sl-mode .txt { flex: 1; min-width: 0; }
.sl-card .cs-row .txt b { font-weight: 600; } .sl-mode .txt b { font-weight: 600; } .sl-mode .txt span { font-size: 13px; line-height: 1.35; margin-top: 2px; }
.ms-ex { font-size: 14px; line-height: 1.45; margin: 6px 0 0; }

/* К9: «Сотрудник для агентов» (5.5) */
.as-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; } .as-steps i { height: 4px; border-radius: 2px; background: var(--brand); }
.as-f { justify-content: flex-start; } .as-f .txt { flex: 1; } .as-f .txt b { font-weight: 600; }
.as-num { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 10px; }
.as-num > span span { display: block; } .as-num b { font-family: Onest, sans-serif; font-size: 18px; }
.as-num .btn { min-height: 40px; padding: 0 12px; font-size: 13px; width: auto; }
.as-role { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-3, var(--line)); } .as-role b { font-size: 15px; }
.as-ok { background: var(--ok-tint); color: var(--ok-ink); border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.45; margin-top: 10px; } .as-ok a { color: var(--brand-ink); font-weight: 700; }
.as-no { background: var(--warn-soft); color: var(--ink-2); border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.45; margin-top: 10px; } .as-no b { color: var(--warn-ink); }
/* 16.11.2026 (Н8, доска 5.5б): «Приняли — проверяем доступ…» — экран сотрудника и шаг 4 подключения */
.as-wait { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-tint); color: var(--ink-2); border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.45; margin-top: 10px; }
.as-wait b { color: var(--brand-ink); }
.as-wait .spinner { flex: none; margin-top: 2px; }
.fs-next b { font-family: Onest, sans-serif; font-weight: 700; font-size: 17px; } .fs-next p { font-size: 13px; color: var(--muted); margin: 4px 0 0; line-height: 1.45; }

/* 08.11 (макет 3.1 и 7.6): «Закупка» и «Цена» — две кнопки в ряд */
.p-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.p-btns .p-buy { margin-top: 0; }
body.is-viewer .p-btns { display: none !important; }
.ps-cost-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ps-cost-link { font-size: 14px; font-weight: 600; color: var(--brand, #1D36E8); text-decoration: none; text-transform: none; letter-spacing: 0; }
/* 08.11 (макет 8.5): «Вернуть как было» не переносится на две строки */
.ch-reset { white-space: nowrap; flex-shrink: 0; }
/* 08.11 (макет 5.4): карточки «что уже нашли» на первой сводке */
.fs-found { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; text-decoration: none; color: inherit; }
.fs-found b { display: block; font-size: 15px; line-height: 1.3; } .fs-found b em { font-style: normal; color: var(--ok, var(--ok-ink)); }
.fs-found span > span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.fs-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fs-ic.is-ok { background: var(--ok-tint); color: var(--ok-ink); } .fs-ic.is-warn { background: var(--warn-tint); color: #D9480F; }
:root[data-theme="dark"] .fs-ic.is-ok { background: #10301F; color: #4FD39A; }
:root[data-theme="dark"] .fs-ic.is-warn { background: #3A2216; color: #FF8A57; }
:root[data-theme="dark"] .fs-found b em { color: #4FD39A; }
:root[data-theme="dark"] .ps-cost-link { color: var(--brand-ink); }
/* .list a рисует строку-ссылку со стрелкой — ссылке «Закупки ›» это не нужно */
.list a.ps-cost-link { display: inline; min-height: 0; padding: 0; border: none; color: var(--brand); font-size: 14px; font-weight: 600; }
.list a.ps-cost-link::after { content: none; }
:root[data-theme="dark"] .list a.ps-cost-link { color: var(--brand-ink); }
/* 17.11.2026: синий блок баланса Uzum на «Деньгах» убран (Uzum не отдаёт баланс сотруднику AIdost) */

/* 08.11: «приложение откроется после подтверждения» — плашка, как на доске 5.6 (вариант «первая оплата») */
.tl-note.tl-wait { background: var(--brand-faint, var(--brand-tint)); color: var(--ink); border-radius: 16px; padding: 12px 14px; font-size: 14px; }
/* 08.11 (макет 7.9): «Пригласить продавца» */
.iv-card { margin-top: 14px; }
.iv-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.iv-link { flex: 1; min-width: 0; background: var(--bg); border-radius: 12px; padding: 12px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.iv-stats span { display: block; font-size: 13px; color: var(--muted); } .iv-stats b { font-family: Onest, sans-serif; font-weight: 800; font-size: 26px; }
.pay-disc { margin: 4px 0 8px 34px; font-size: 13px; color: var(--ok); font-weight: 600; }

/* 09.11 видео-инструкция на шаге «Ключ» (макет AddKey: тёмная карточка 150px, ▶ и подпись). Язык — только язык приложения */
.vid-card { width: 100%; margin-top: 14px; border: none; font: inherit; background: var(--chip-on); color: #fff; border-radius: 20px; min-height: 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px; cursor: pointer; }
.vid-ico { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.vid-label { font-size: 14px; font-weight: 600; }
.vid-card.is-open { padding: 0; overflow: hidden; cursor: auto; }
.vid-card video { width: 100%; max-height: 70vh; aspect-ratio: 9 / 16; background: #000; display: block; }

/* 09.11.2026 — 2.8 «Помощник: сделать с подтверждением» (только владелец сервиса) */
.as-act { margin-top: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 10px; }
.as-act-h { font-family: Onest, sans-serif; font-weight: 700; font-size: 16px; }
.as-act-row { display: flex; justify-content: space-between; gap: 10px; min-height: 36px; align-items: center; border-bottom: 1px solid var(--line); font-size: 14px; }
.as-act-row:last-of-type { border-bottom: none; }
.as-act-row .k { color: var(--muted); }
.as-act-row s { color: var(--muted); }
.as-act-note { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.as-act-btns { display: flex; gap: 8px; margin-top: 10px; }
.as-act-btns .btn { min-height: 46px; border-radius: 14px; font-size: 15px; }
.as-act-btns .btn-primary { flex: 1; }
.as-act-warn { margin-top: 10px; border: 1px solid var(--err-line); background: var(--warn-soft); border-radius: 16px; padding: 12px; }
.as-act-warn b { color: var(--warn-ink); }
.as-act-warn .btn-warn { flex: 1; background: var(--warn); color: #fff; border: none; font-weight: 700; }
.as-act-done { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; background: var(--ok-tint); color: var(--ok-ink); border-radius: 14px; padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.as-act-done i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 13px; }
.as-act-off { margin-top: 10px; background: var(--bg); border-radius: 14px; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: var(--ink); }
@media (prefers-color-scheme: dark) { .as-act-warn { background: #2A1C14; } .as-act-warn b { color: #FFA77D; } .as-act-done { background: #10301F; color: #4FD39A; } }

/* 09.11 «Последний шаг: включите агентов» — первая сводка и главная (доски 12.5, 12.6): для «Про»/пробного без сотрудника */
.ag-setup { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding: 16px; border-radius: 22px; background: var(--brand); color: #fff;
  text-decoration: none; position: relative; overflow: hidden; }
.ag-setup::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ag-setup-bars { display: flex; gap: 6px; } .ag-setup-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }
.ag-setup-bars i.on { background: #fff; }
.ag-setup-k { font-size: 13px; color: #DCE1FF; font-weight: 600; }
.ag-setup-h { font-family: Onest, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.15; }
.ag-setup-p { font-size: 14px; color: #DCE1FF; line-height: 1.4; }
.ag-setup-btn { align-self: flex-start; background: #fff; color: var(--brand); font-weight: 700; font-size: 15px; border-radius: 14px; padding: 12px 18px; position: relative; z-index: 1; }
.hm-setup { margin-top: 12px; }
.fs-up { display: flex; align-items: center; gap: 12px; margin-top: 16px; text-decoration: none; color: var(--ink); background: var(--brand-faint); }
.fs-up span { flex: 1; font-size: 13px; line-height: 1.4; } .fs-up b { color: var(--brand-ink); font-size: 14px; white-space: nowrap; }
/* 09.11 макет 5.5: подсказка «добавляйте номер только в …» под ролью */
.stf-hint { display: flex; gap: 8px; align-items: flex-start; text-align: left; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-3, var(--line)); font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.stf-hint svg { flex-shrink: 0; margin-top: 1px; color: var(--brand-ink); }

/* ===================== 09.11 Подключение v2 (доски 12.1–12.6) ===================== */
/* 12.1 Первый вход */
.ob-hero { margin: -4px -4px 0; background: #101426; color: #fff; border-radius: 28px; padding: 20px 20px 76px; display: flex; flex-direction: column; gap: 14px; }
.ob-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ob-brand { display: flex; align-items: center; gap: 10px; } .ob-brand b { font: 800 18px Onest, sans-serif; }
.ob-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.ob-for { font-size: 12px; color: #A9B0C4; }
.ob-hero h1 { margin: 6px 0 0; font-size: 29px; line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
.ob-hero h1 em { font-style: normal; color: #8FA2FF; }
.ob-hero p { margin: 0; font-size: 15px; line-height: 1.45; color: #C3C8D6; }
.ob-offer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #A9B0C4; }
.ob-pill { background: #fff; color: #101426; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; }
.ob-preview { margin: -56px 10px 0; position: relative; background: var(--card); border-radius: 20px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(16,20,38,.14); display: flex; flex-direction: column; gap: 10px; }
.ob-pv-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; }
.ob-tag { font-size: 11px; font-weight: 700; color: var(--ok-ink); background: var(--ok-tint); border-radius: 999px; padding: 3px 8px; }
.ob-pv-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ob-pv-main > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ob-pv-k { font-size: 12px; color: var(--muted); } .ob-pv-main b { font: 700 18px/1.2 Onest, sans-serif; }
.ob-bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; flex-shrink: 0; }
.ob-bars i { width: 8px; border-radius: 3px; background: var(--brand-tint-2); } .ob-bars i.on { background: var(--brand); }
.ob-pv-row { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line-3); font-size: 13px; color: var(--ink-2); }
.ob-pv-row b { color: var(--ok-ink); white-space: nowrap; }
.ob-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 4px 10px; }
.ob-sec span { font: 700 17px Onest, sans-serif; } .ob-sec em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ok-ink); }
.ob-list { background: var(--card); border-radius: 20px; padding: 4px 14px; }
.ob-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-3); } .ob-row:last-child { border-bottom: none; }
.ob-row > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ob-row b { font-size: 14px; font-weight: 600; line-height: 1.3; } .ob-row b + span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.ob-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--ok-tint); color: var(--ok); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ob-pro { margin-top: 16px; background: var(--brand-tint); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ob-pro-h { display: flex; justify-content: space-between; align-items: center; padding: 0 2px; }
.ob-pro-h span { font: 700 17px Onest, sans-serif; } .ob-pro-h b { font-size: 12px; color: #fff; background: var(--brand); border-radius: 999px; padding: 4px 10px; }
.ob-pro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ob-pro-t { background: var(--card); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-height: 108px; box-sizing: border-box; }
.ob-pro-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; }
.ob-pro-t b { font: 700 15px/1.2 Onest, sans-serif; } .ob-pro-t > span:last-child { font-size: 12px; color: var(--muted); line-height: 1.35; }
/* 17.11: «Логистика» в «Про» на первом входе — плитка во всю ширину под четырьмя агентами: значок слева, текст справа */
.ob-pro-t.is-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; min-height: 0; }
.ob-pro-t.is-wide .ob-pro-ic { margin-bottom: 0; flex-shrink: 0; }
.ob-pro-t.is-wide > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: inherit; color: inherit; }
.ob-pro-t.is-wide > span:last-child > span { font-size: 12px; color: var(--muted); line-height: 1.35; }
/* 12.2 Ключ: плашка «поменяйте 2 поля» */
.ob-keyfix { margin-top: 12px; background: var(--warn-soft); border: 1px solid var(--danger-line); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ob-keyfix-h { display: flex; gap: 10px; align-items: center; } .ob-keyfix-h b { font: 700 16px/1.25 Onest, sans-serif; }
.ob-keyfix-h span { width: 28px; height: 28px; border-radius: 50%; background: var(--warn); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ob-keyfix-g { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; font-size: 13px; }
.ob-kf-k { color: var(--muted); }
.ob-keyfix-g s { background: var(--card); border-radius: 10px; padding: 8px 10px; color: var(--hint); }
.ob-keyfix-g b { background: var(--card); border: 2px solid var(--ok); border-radius: 10px; padding: 7px 9px; color: var(--ok-ink); }
.ob-kf-ar { color: var(--warn-ink); font-weight: 800; }
.ob-keyfix p { margin: 0; font-size: 12px; color: var(--warn-ink); }
/* 12.3 Тариф */
.pl-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.pl-card { text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.pl-card[aria-checked="true"] { border: 2px solid var(--brand); padding: 15px; }
.pl-top { display: flex; align-items: center; gap: 10px; } .pl-top b { font: 800 20px Onest, sans-serif; }
.pl-top .ring { width: 22px; height: 22px; border-radius: 50%; box-sizing: border-box; border: 2px solid var(--switch-off); flex-shrink: 0; }
.pl-card[aria-checked="true"] .ring { border: 7px solid var(--brand); }
.pl-top em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--gray-tint); color: var(--ink-2); }
.pl-top em.is-rec { background: var(--brand-soft); color: var(--brand-ink); }
.pl-price { font: 700 17px Onest, sans-serif; color: var(--brand-ink); }
.pl-rows { display: flex; flex-direction: column; gap: 6px; }
.pl-r { display: flex; gap: 8px; font-size: 14px; line-height: 1.35; } .pl-r i { font-style: normal; font-weight: 800; width: 14px; flex-shrink: 0; }
.pl-r.is-no { color: var(--hint); }
.pl-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.4; }
/* 12.4 Агенты */
.os-load { margin-top: 14px; background: var(--card); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.os-load-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .os-load-h b { font-size: 13px; color: var(--ok-ink); } .os-load-h span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.os-bar { display: block; height: 6px; border-radius: 3px; background: var(--ok-tint); overflow: hidden; } .os-bar i { display: block; height: 6px; border-radius: 3px; background: var(--ok); }
.os-load-p { font-size: 12px; color: var(--muted); }
.os-steps { margin-top: 10px; background: var(--card); border-radius: 20px; padding: 2px 14px; }
.os-step { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-3); } .os-step:last-child { border-bottom: none; } .os-step.is-top { align-items: flex-start; }
.os-n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.os-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.os-t > b { font-size: 15px; font-weight: 600; color: var(--ink); } .os-role { font-size: 15px; color: var(--ink); }
.os-phone { font: 700 18px Onest, sans-serif !important; color: var(--ink); white-space: nowrap; letter-spacing: .01em; }
.os-btn { min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-weight: 700; font-size: 13px; font-family: inherit; display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; cursor: pointer; }
.os-btn.is-done { background: var(--ok-tint); color: var(--ok-ink); }
.os-link { font-size: 13px; font-weight: 600; color: var(--brand-ink); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.os-hint { border-top: none; padding: 0 4px; margin-top: 12px; }
.os-note { margin-top: 10px; background: var(--card); border-radius: 16px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.os-note-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--gray-tint); color: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.os-ok { margin-top: 10px; background: var(--ok-tint); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; color: var(--ok-ink); font-size: 13px; }
.os-ok b { font: 700 16px Onest, sans-serif; }
.os-warn { margin-top: 10px; background: var(--warn-soft); border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); } .os-warn b { color: var(--warn-ink); }
.os-later { display: flex; flex-direction: column; align-items: center; margin-top: 4px; }
.os-later a { min-height: 40px; display: flex; align-items: center; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.os-later span { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.35; }
/* 12.5 Готово */
.fs-shop { color: var(--ok-ink); font-weight: 700; font-size: 13px; }
.fs-list { margin-top: 10px; background: var(--card); border-radius: 22px; padding: 4px 14px; }
.fs-list .fs-found { background: none; border-radius: 0; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--line-3); } .fs-list .fs-found:last-child { border-bottom: none; }
.fs-ag { margin-top: 10px; background: var(--card); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.fs-ag-h { display: flex; justify-content: space-between; align-items: center; } .fs-ag-h b { font: 700 17px Onest, sans-serif; }
.fs-ag-b { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.fs-ag-b.is-ok { background: var(--ok-tint); color: var(--ok-ink); } .fs-ag-b.is-wait { background: var(--warn-tint); color: var(--warn-ink); } .fs-ag-b.is-off { background: var(--gray-tint); color: var(--ink-2); }
.fs-ag-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.fs-ag-g span { display: flex; align-items: center; gap: 8px; font-size: 13px; } .fs-ag-g i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fs-ag-g .is-on i { background: #14A06F; } .fs-ag-g .is-wait i { background: var(--warn); } .fs-ag-g .is-off i { background: var(--switch-off); } .fs-ag-g .is-off { color: var(--hint); }
.fs-ag-go { display: flex; align-items: center; gap: 12px; background: var(--brand); color: #fff; border-radius: 16px; padding: 12px 14px; text-decoration: none; }
.fs-ag-go > span { flex: 1; display: flex; flex-direction: column; gap: 2px; } .fs-ag-go b { font-size: 15px; } .fs-ag-go span span { font-size: 12px; color: #DCE1FF; } .fs-ag-go em { font-style: normal; font-size: 22px; }
.fs-ag-up { display: flex; align-items: center; gap: 12px; background: var(--brand-faint); border-radius: 16px; padding: 12px 14px; text-decoration: none; color: var(--ink); font-size: 13px; line-height: 1.4; }
.fs-ag-up b { color: var(--brand-ink); white-space: nowrap; }
:root[data-theme="dark"] .ob-hero { background: #1A2040; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ob-hero { background: #1A2040; } }
/* 09.11: «Буст — скоро» в списке тарифа */
.pl-r.is-soon { color: var(--hint); } .pl-r.is-soon i { font-weight: 800; }

/* Логотип AIdost (10.11.2026) */
.logo { display: block; height: 28px; width: auto; }
.ob-brand .logo { color: #fff; height: 30px; }
.h1-logo { margin-bottom: 14px; color: var(--ink); }
.hm-logo { color: var(--ink); margin-bottom: 10px; } .hm-logo .logo { height: 22px; }

/* М11 (10.11.2026, макеты 13.1 / 13.1б): Буст по доле показов — цели, лестница «доля → ставка», подсказка, порог «дёшево» */
.bs-goals.bs-goals-4 { grid-template-columns: auto repeat(3, minmax(0, 1fr)); }   /* 10.11: «Дёшево в топ» по ширине текста */
.bs-goals.bs-goals-4 .chip { padding: 0 14px; }   /* 10.11 (вживую): у «Дёшево в топ» были поля 0 — текст касался краёв */
.bs-goals.bt-cheap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bs-goals .chip { line-height: 1.15; }
.bs-lad { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.bs-lr { display: grid; grid-template-columns: 48px max-content minmax(0, 1fr); align-items: center; gap: 8px; min-height: 36px; padding: 0 10px; border-radius: 10px; }
.bs-lr.is-held { background: var(--brand-soft); }
.bs-lr > span { font-size: 14px; font-weight: 500; } .bs-lr.is-held > span { font-weight: 700; }
.bs-lr b { font-family: Onest, sans-serif; font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; } .bs-lr.is-held b { font-weight: 700; }
.bs-lr b.is-muted { color: var(--muted); }
.bs-lr em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); text-align: right; }
.bs-lr em.is-held { color: var(--brand-ink); } .bs-lr em.is-hi { color: var(--warn-ink); }
.bs-status { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--ok-ink); } .bs-status.is-warn { color: var(--warn-ink); }
.bs-capline { padding-top: 12px; border-top: 1px solid var(--line-3, var(--line)); }

/* 10.11 (аудит дизайна, шаги 1–3): журнал — дата в одну строку; политика данных на телефоне — строки таблицы карточками;
   кнопка в чипе конкурента — область нажатия 44 px при прежнем виде; блок «ждут сотрудника» на вкладке «Агенты» */
.jr-time { white-space: nowrap; }
.cp-chip button::after { content: ""; position: absolute; inset: -9px; }
/* 10.11 аудит, шаг 1: остальное нажимаемое меньше 40 px — область нажатия от 44 px, вид тот же */
.as-send, .ps-del, #sa-any, .os-link, a.p-title { position: relative; }
.as-send::after, .ps-del::after, #sa-any::after { content: ""; position: absolute; inset: calc(50% - 22px); }
.os-link::after { content: ""; position: absolute; inset: -6px 0; }
a.p-title::after { content: ""; position: absolute; inset: -12px 0; }
.ag-staff { margin-top: 12px; }
@media (max-width: 520px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: auto; min-width: 0; }   /* без min-width: 0 строки обрезались справа (таблица держала 420 px) */
  .legal thead { display: none; }
  .legal tr { padding: 10px 0; border-top: 1px solid var(--line); }
  .legal td { padding: 2px 0; border: none; }
  .legal td:first-child { font-weight: 600; }
  .legal td:nth-child(2)::before { content: "Откуда: "; color: var(--muted); }
  .legal td:nth-child(3)::before { content: "Зачем: "; color: var(--muted); }
}

/* 16.11.2026 — Буст: минус-слова (доски 7.18–7.18в), неделя по запросам (7.19), вход на «Бусте» (2.3). Только токены ui.css. */
.mw-lead { margin: 6px 0 0; line-height: 1.4; }
.mw-product { display: block; font-weight: 600; font-size: 15px; }
.rbb-line .txt b.mw-n, .mw-n { display: inline; font: 700 14px Onest, sans-serif; color: var(--ink); white-space: nowrap; }
.mw-n.is-ok, .rbb-line .txt b.mw-n.is-ok { color: var(--ok-ink); }
#mw .rbb-line { min-height: 60px; }
#mw .rbb-line[aria-pressed="false"] .txt > b, #mw .rbb-line[aria-pressed="false"] .txt b.mw-n { color: var(--muted); }
.rbb-sum .mw-total { font: 700 15px Onest, sans-serif; white-space: nowrap; }
.mw-kept { margin: 8px 0 0; line-height: 1.4; }
.mw-words { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }
.mw-empty { text-align: center; } .mw-empty .hm-ic { margin: 4px auto 10px; width: 44px; height: 44px; border-radius: 50%; } .mw-empty > b { display: block; font-weight: 600; font-size: 15px; }
.mw-empty .t-caption { margin: 6px 0 0; line-height: 1.4; }
.mw-hint { text-align: center; margin: 16px 4px 0; line-height: 1.4; }
.mw-later { margin-top: 10px; }
.bs-minus { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px; text-decoration: none; color: var(--ink); }
.bs-minus .txt { flex: 1; min-width: 0; } .bs-minus .txt > b { display: block; font-weight: 600; font-size: 15px; }
.bs-minus .txt > span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
a.bs-spend { align-items: center; color: var(--ink); text-decoration: none; min-height: 44px; }
a.bs-spend .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; } a.bs-spend .txt b { text-align: left; font: 700 14px Onest, sans-serif; white-space: nowrap; }
.bw-lead { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.bw-kpi { padding-top: 6px; padding-bottom: 6px; }
.bw-kpi > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.bw-kpi > div + div { border-top: 1px solid var(--line-3, var(--line)); }
.bw-kpi span { font-size: 13px; color: var(--muted); } .bw-kpi b { font: 700 15px Onest, sans-serif; white-space: nowrap; }
.bw-row { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 8px 0; box-sizing: border-box; }
.bw-row + .bw-row { border-top: 1px solid var(--line-3, var(--line)); }
.bw-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .bw-top > b { font-weight: 600; font-size: 15px; min-width: 0; }
.bw-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* 16.11.2026 «Логистика Uzum» (доска 7.20 LogisticsFee): верхняя карточка — как «Платное хранение» на 7.6; история и размеры —
   строки .bw-row и .bw-kpi с доски 7.19; подсказка — .cs-fixed. Новых цветов и размеров нет: токены и шрифты уже в ui.css */
.lg-top { padding: 14px 16px; }
.lg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.lg-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.lg-tag.is-warn { color: var(--warn-ink); } .lg-tag.is-warn svg { color: var(--warn); }
.lg-tag.is-ok { color: var(--ok-ink); } .lg-tag.is-ok svg { color: var(--ok); }
.lg-tag.is-gray { color: var(--ink-2); } .lg-tag.is-gray svg { color: var(--muted); }
.lg-when { color: var(--muted); white-space: nowrap; }
.lg-big { font: 800 24px Onest, sans-serif; margin-top: 8px; }
.lg-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.lg-over { font-size: 13px; color: var(--ink-2); margin-top: 2px; } .lg-over b { color: var(--warn-ink); font-weight: 700; white-space: nowrap; }   /* 17.11: переплата с 01.06.2026 (dims: over) */
.lg-why { font-size: 13px; line-height: 1.45; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-3, var(--line)); color: var(--ink-2); }
.lg-list { padding: 14px 16px 6px; }
.lg-title { display: block; font-weight: 600; font-size: 15px; }
.bw-top > b.lg-fee { font: 700 15px Onest, sans-serif; white-space: nowrap; } .bw-top > b.lg-fee.is-warn { color: var(--warn-ink); }
.lg-dh { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .lg-dh b { font-weight: 600; font-size: 15px; }
.lg-do { margin-top: 16px; }
/* «Товары» → «Габариты»: строка, где нужна реакция, — тёмно-оранжевым; «Скачать таблицу» — кнопка в виде ссылки, как «Сколько можно снизить цену ›» */
.p-idle-h span.is-warn, .p-idle-row .txt span.is-warn { color: var(--warn-ink); }
.p-idle-row .txt b.lg-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }   /* как .cl-row: название — не больше двух строк */
.p-idle-row .lg-img { width: 44px; height: 44px; border-radius: 12px; }   /* 17.11: фото товара в «Габаритах» — как строка «Лежит без продаж» на доске 3.1 */
button.p-idle-link { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }

/* 16.11.2026 — Буст: новые слова (доска 7.21). Строка слова в 4 строки: слово, «150 показов · охват»,
   «17 из 20 в выдаче — как ваш», метка «почему предлагаем» (обычная .badge). Остальное — как у минус-слов (#mw). */
#mw .nw-line { min-height: 96px; padding: 10px 0; }
#mw .nw-line .txt .nw-share { white-space: nowrap; }
#mw .nw-line .nw-why { margin-top: 6px; font-style: normal; white-space: nowrap; }
#mw .nw-line[aria-pressed="false"] .nw-why { opacity: .6; }

/* 17.11.2026 — аудит Буста C5 (проверка на 360 px). Кнопки доли: «100%» не помещалась — поля 14 px нужны только
   «Дёшево в топ» / «Arzon topga», процентам хватает 4 px. Метки «Доля показов» / «Ko‘rsatuv ulushi» на узком телефоне —
   11 px (правило текстов 2в: не меньше 11), чтобы не переносились. «Ставка теста» / «Test stavkasi» — в одну строку. */
.bs-goals.bs-goals-4 .chip:not(:first-child) { padding: 0 4px; }
@media (max-width: 374px) { .bs-nums span { font-size: 11px; } }
#mw .rbb-sum > span { white-space: nowrap; }
