/* Unbounded и Montserrat, лицензия SIL OFL 1.1 (см. fonts/LICENSE-*.txt) */
@font-face{font-family:'Unbounded';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ded/unbounded-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ded/unbounded-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ded/unbounded-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/ded/unbounded-cyrillic-800-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/ded/unbounded-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/ded/unbounded-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/ded/unbounded-cyrillic-900-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/ded/unbounded-latin-ext-900-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/ded/unbounded-latin-900-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ded/montserrat-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ded/montserrat-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ded/montserrat-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ded/montserrat-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ded/montserrat-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ded/montserrat-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ded/montserrat-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ded/montserrat-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ded/montserrat-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ded/montserrat-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ded/montserrat-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ded/montserrat-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/ded/montserrat-cyrillic-800-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/ded/montserrat-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/ded/montserrat-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Объём кнопок кабинета Деда — как жёлтые кнопки лендинга. Только data-brand=ded. */
html[data-brand=ded] {
  --ded-y: #f5c842;
  --ded-y-top: #f8d45e;
  --ded-y-deep: #d9a21e;
  --ded-ink: #3b2f0b;
}

html[data-brand=ded] button[class*="primaryButton"],
html[data-brand=ded] button[class*="renewBtn"],
html[data-brand=ded] button[class*="primaryBtn"],
html[data-brand=ded] button[class*="actionPrimary"],
html[data-brand=ded] button[class*="paySubmit"],
html[data-brand=ded] button[class*="saveBtn"],
html[data-brand=ded] button[class*="sendBtn"],
html[data-brand=ded] button[class*="btnPrimary"],
html[data-brand=ded] button[class*="_primary_"],
html[data-brand=ded] button[class*="_save_"],
html[data-brand=ded] a[class*="primaryBtn"],
html[data-brand=ded] a[class*="btnPrimary"] {
  color: var(--ded-ink) !important;
  background: linear-gradient(180deg, var(--ded-y-top), var(--ded-y)) !important;
  border: 0 !important;
  box-shadow: 0 5px 0 var(--ded-y-deep), 0 18px 36px -10px rgba(217, 162, 30, 0.55) !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-brand=ded] button[class*="primaryButton"]:hover,
html[data-brand=ded] button[class*="renewBtn"]:hover,
html[data-brand=ded] button[class*="primaryBtn"]:hover,
html[data-brand=ded] button[class*="actionPrimary"]:hover,
html[data-brand=ded] button[class*="paySubmit"]:hover,
html[data-brand=ded] button[class*="saveBtn"]:hover,
html[data-brand=ded] button[class*="sendBtn"]:hover,
html[data-brand=ded] button[class*="btnPrimary"]:hover,
html[data-brand=ded] button[class*="_primary_"]:hover,
html[data-brand=ded] button[class*="_save_"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ded-y-deep), 0 24px 44px -10px rgba(217, 162, 30, 0.6) !important;
}

html[data-brand=ded] button[class*="primaryButton"]:active,
html[data-brand=ded] button[class*="renewBtn"]:active,
html[data-brand=ded] button[class*="primaryBtn"]:active,
html[data-brand=ded] button[class*="actionPrimary"]:active,
html[data-brand=ded] button[class*="paySubmit"]:active,
html[data-brand=ded] button[class*="saveBtn"]:active,
html[data-brand=ded] button[class*="sendBtn"]:active,
html[data-brand=ded] button[class*="btnPrimary"]:active,
html[data-brand=ded] button[class*="_primary_"]:active,
html[data-brand=ded] button[class*="_save_"]:active {
  transform: translateY(4px) !important;
  box-shadow: 0 1px 0 var(--ded-y-deep) !important;
}

html[data-brand=ded] button[class*="primaryButton"]:disabled,
html[data-brand=ded] button[class*="renewBtn"]:disabled,
html[data-brand=ded] button[class*="_save_"]:disabled {
  transform: none !important;
  opacity: 0.65;
}

html[data-brand=ded] button[class*="plansBtn"],
html[data-brand=ded] button[class*="googleButton"] {
  background: #1a1b20 !important;
  color: #f6f6f9 !important;
  border: 0 !important;
  box-shadow: 0 4px 0 #000, 0 14px 28px -12px rgba(0, 0, 0, 0.55) !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-brand=ded] button[class*="plansBtn"]:active,
html[data-brand=ded] button[class*="googleButton"]:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #000 !important;
}

html[data-brand=ded] [class*="fabCircle"] {
  background: linear-gradient(180deg, var(--ded-y-top), var(--ded-y)) !important;
  color: var(--ded-ink) !important;
  box-shadow: 0 4px 0 var(--ded-y-deep), 0 12px 24px -8px rgba(217, 162, 30, 0.7), 0 0 0 3px #111215 !important;
}

html[data-brand=ded] [class*="heroCard"] {
  background: linear-gradient(180deg, var(--ded-y-top), var(--ded-y)) !important;
  box-shadow: 0 6px 0 var(--ded-y-deep), 0 22px 40px -16px rgba(217, 162, 30, 0.5) !important;
}

html[data-brand=ded] [class*="heroCard"] [class*="heroLabel"],
html[data-brand=ded] [class*="heroCard"] [class*="heroReward"],
html[data-brand=ded] [class*="heroCard"] [class*="heroRewardNote"],
html[data-brand=ded] [class*="heroCard"] [class*="heroDesc"] {
  color: var(--ded-ink) !important;
}

html[data-brand=ded] button[class*="heroBtn"] {
  background: #111215 !important;
  color: var(--ded-y) !important;
  box-shadow: 0 4px 0 #000 !important;
}

html[data-brand=ded] button[class*="heroBtn"]:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #000 !important;
}

html[data-brand=ded] [class*="statusCard"],
html[data-brand=ded] [class*="settingsCard"],
html[data-brand=ded] [class*="_mode_"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 32px -18px rgba(0, 0, 0, 0.85);
}

html[data-brand=ded] [class*="_mode_"][data-on="true"] {
  box-shadow: inset 0 0 0 1px var(--ded-y), 0 5px 0 rgba(217, 162, 30, 0.35), 0 16px 32px -16px rgba(217, 162, 30, 0.35) !important;
}

@keyframes ded-shine {
  0% { transform: translateX(-160%) skewX(-20deg); }
  55%, 100% { transform: translateX(420%) skewX(-20deg); }
}

html[data-brand=ded] button[class*="primaryButton"]::after,
html[data-brand=ded] button[class*="renewBtn"]::after,
html[data-brand=ded] button[class*="primaryBtn"]::after,
html[data-brand=ded] button[class*="actionPrimary"]::after,
html[data-brand=ded] button[class*="paySubmit"]::after,
html[data-brand=ded] button[class*="saveBtn"]::after,
html[data-brand=ded] button[class*="sendBtn"]::after,
html[data-brand=ded] button[class*="btnPrimary"]::after,
html[data-brand=ded] button[class*="_primary_"]::after,
html[data-brand=ded] button[class*="_save_"]::after,
html[data-brand=ded] a[class*="primaryBtn"]::after,
html[data-brand=ded] a[class*="btnPrimary"]::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%) skewX(-20deg);
  animation: ded-shine 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  pointer-events: none;
  z-index: 0;
}

html[data-brand=ded] button[class*="primaryButton"] > *,
html[data-brand=ded] button[class*="renewBtn"] > *,
html[data-brand=ded] button[class*="primaryBtn"] > *,
html[data-brand=ded] button[class*="actionPrimary"] > *,
html[data-brand=ded] button[class*="paySubmit"] > *,
html[data-brand=ded] button[class*="saveBtn"] > *,
html[data-brand=ded] button[class*="sendBtn"] > *,
html[data-brand=ded] button[class*="btnPrimary"] > *,
html[data-brand=ded] button[class*="_primary_"] > *,
html[data-brand=ded] button[class*="_save_"] > * {
  position: relative;
  z-index: 1;
}

html[data-brand=ded] body {
  font-family: "Montserrat", system-ui, sans-serif !important;
}
html[data-brand=ded] body * {
  font-family: inherit !important;
}
html[data-brand=ded] body :is(h1, h2, h3, button) {
  font-family: "Unbounded", system-ui, sans-serif !important;
  letter-spacing: -0.02em;
}
html[data-brand=ded] body :is(code, pre, kbd, samp) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  letter-spacing: 0;
}
