#fcw-widget {
  --fcw-navy: #25394a;
  --fcw-red: #e92936;
  --fcw-bottom: 20px;
  --fcw-bg: #25394a;
  --fcw-bg-end: #7142dd;
  --fcw-fg: #fff;
  --fcw-width: 292px;
  --fcw-height: 66px;
  --fcw-font-size: 14px;
  --fcw-radius: 18px;
  --fcw-mobile-width: 248px;
  --fcw-mobile-height: 56px;
  position: fixed;
  z-index: 9990;
  bottom: calc(var(--fcw-bottom) + env(safe-area-inset-bottom, 0px));
  width: var(--fcw-width);
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fcw-navy);
  font: 400 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
  letter-spacing: normal;
}
#fcw-widget.fcw-right { right: max(20px, env(safe-area-inset-right, 0px)); }
#fcw-widget.fcw-left { left: max(20px, env(safe-area-inset-left, 0px)); }
#fcw-widget *, #fcw-widget *::before, #fcw-widget *::after { box-sizing: border-box; }
#fcw-widget svg { display: block; width: 24px; height: 24px; }
#fcw-widget .fcw-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: var(--fcw-height);
  margin: 0;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(20,36,50,.1);
  border-radius: var(--fcw-radius);
  background: var(--fcw-bg);
  color: var(--fcw-fg);
  cursor: pointer;
  list-style: none;
  box-shadow: 0 12px 32px -12px rgba(16,32,48,.45), 0 3px 8px rgba(16,32,48,.08), inset 0 1px 0 rgba(255,255,255,.12);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease;
}
#fcw-widget .fcw-toggle::-webkit-details-marker { display: none; }
#fcw-widget .fcw-toggle::marker { content: ""; }
#fcw-widget .fcw-toggle::before, #fcw-widget .fcw-toggle::after { content: none; }
#fcw-widget .fcw-main-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.09); }
#fcw-widget .fcw-button-text { flex: 1; min-width: 0; }
#fcw-widget .fcw-title { display: block; font-size: var(--fcw-font-size); font-weight: 650; line-height: 1.3; letter-spacing: -.2px; overflow-wrap: anywhere; }
#fcw-widget .fcw-subtitle { display: block; margin-top: 4px; color: inherit; opacity: .76; font-size: 11px; line-height: 1.3; }
#fcw-widget .fcw-subtitle:empty { display: none; }
#fcw-widget.fcw-gradient .fcw-toggle { background: linear-gradient(120deg, var(--fcw-bg), var(--fcw-bg-end)); }
#fcw-widget.fcw-no-shadow .fcw-toggle { box-shadow: none; }
#fcw-widget.fcw-icon-only { width: var(--fcw-height); }
#fcw-widget.fcw-icon-only .fcw-toggle { justify-content: center; min-height: var(--fcw-height); height: var(--fcw-height); border-radius: 50%; padding: 8px; gap: 0; }
#fcw-widget.fcw-icon-only .fcw-main-icon { background: transparent; border: 0; }
#fcw-widget.fcw-icon-only .fcw-button-text, #fcw-widget.fcw-icon-only .fcw-chevron { display: none; }
#fcw-widget .fcw-chevron { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; opacity: .65; }
#fcw-widget .fcw-chevron svg { width: 14px; height: 14px; transition: transform .2s ease; }
#fcw-widget[open] .fcw-chevron svg { transform: rotate(180deg); }
#fcw-widget .fcw-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 348px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - var(--fcw-bottom) - 110px - env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - var(--fcw-bottom) - 110px - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 22px 18px 12px;
  border: 1px solid #e6ebf0;
  border-radius: 26px;
  background: linear-gradient(155deg, #f7faff 0, #fff 38%);
  box-shadow: 0 24px 72px -20px rgba(19,38,57,.23), 0 3px 12px rgba(19,38,57,.05);
  transform-origin: bottom right;
  scrollbar-width: thin;
}
#fcw-widget:not([open]) .fcw-panel { display: none; }
#fcw-widget.fcw-left .fcw-panel { left: 0; right: auto; }
#fcw-widget[open] .fcw-panel { animation: fcw-panel-appear .2s ease-out both; }
#fcw-widget.fcw-left .fcw-panel { transform-origin: bottom left; }
#fcw-widget .fcw-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 0 0 20px; }
#fcw-widget .fcw-heading-group { padding: 0 4px; min-width: 0; }
#fcw-widget .fcw-eyebrow { display: block; margin: 0 0 7px; color: #637385; font-size: 10px; line-height: 1.4; font-weight: 650; letter-spacing: 1.1px; text-transform: uppercase; }
#fcw-widget #fcw-heading { margin: 0; padding: 0; border: 0; color: #172f43; font: 650 22px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; text-transform: none; letter-spacing: -.6px; }
#fcw-widget .fcw-intro { margin: 7px 0 0; padding: 0; color: #647586; font: 400 12px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
#fcw-widget .fcw-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: -8px -6px 0 0; padding: 12px; border: 0; border-radius: 50%; background: transparent; color: #647586; cursor: pointer; box-shadow: none; transition: background .15s ease, color .15s ease; }
#fcw-widget .fcw-close svg { width: 18px; height: 18px; }
#fcw-widget .fcw-close[hidden] { display: none; }
#fcw-widget .fcw-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 8px; }
#fcw-widget .fcw-link { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 68px; margin: 0; padding: 12px 6px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: #21394c; font: inherit; text-decoration: none; box-shadow: none; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
#fcw-widget .fcw-link::before, #fcw-widget .fcw-link::after { content: none; }
#fcw-widget .fcw-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 14px; }
#fcw-widget .fcw-icon svg { width: 22px; height: 22px; }
#fcw-widget .fcw-icon-max { color: #fff; background: linear-gradient(140deg, #2778fa, #6255e6 70%, #8a40d8); box-shadow: 0 5px 12px rgba(83,82,213,.15); }
#fcw-widget .fcw-icon-telegram { color: #fff; background: #249fd8; box-shadow: 0 5px 12px rgba(36,159,216,.14); }
#fcw-widget .fcw-icon-phone { color: #c92e43; background: #fff0f2; }
#fcw-widget .fcw-icon-email { color: #52697c; background: #f0f4f7; }
#fcw-widget .fcw-link-text { flex: 1; min-width: 0; }
#fcw-widget .fcw-label { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: -.1px; }
#fcw-widget .fcw-hint { display: block; margin-top: 3px; color: #647586; font-size: 11px; font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; }
#fcw-widget .fcw-link-arrow { display: grid; place-items: center; color: #8795a2; }
#fcw-widget .fcw-link-arrow svg { width: 17px; height: 17px; }
#fcw-widget .fcw-link:is([data-fcw-channel="max"], [data-fcw-channel="telegram"]) { flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 136px; padding: 15px; gap: 13px; border-color: #e6e8f6; background: #f5f5ff; border-radius: 19px; }
#fcw-widget .fcw-link[data-fcw-channel="telegram"] { border-color: #dfedf6; background: #f0f8fe; }
#fcw-widget .fcw-link:is([data-fcw-channel="max"], [data-fcw-channel="telegram"]) .fcw-label { font-size: 15px; font-weight: 650; }
#fcw-widget .fcw-link:is([data-fcw-channel="max"], [data-fcw-channel="telegram"]) .fcw-icon { flex-basis: auto; width: 40px; height: 40px; border-radius: 13px; }
#fcw-widget .fcw-link:is([data-fcw-channel="max"], [data-fcw-channel="telegram"]) .fcw-link-arrow { position: absolute; top: 16px; right: 13px; color: #71869b; }
#fcw-widget .fcw-link:is([data-fcw-channel="phone"], [data-fcw-channel="email"]) { grid-column: 1 / -1; }
#fcw-widget .fcw-link[data-fcw-channel="email"] { border-top: 1px solid #edf0f3; border-radius: 0 0 16px 16px; }
#fcw-widget .fcw-link[data-fcw-channel="phone"] .fcw-hint { color: #344f65; font-size: 13px; letter-spacing: .1px; }
#fcw-widget.fcw-single-messenger .fcw-link:is([data-fcw-channel="max"], [data-fcw-channel="telegram"]) { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 76px; }
#fcw-widget.fcw-single-messenger .fcw-link:is([data-fcw-channel="max"], [data-fcw-channel="telegram"]) .fcw-link-arrow { position: static; margin-left: auto; }
#fcw-widget :is(summary, button, a):focus-visible { outline: 3px solid #1979b7; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  #fcw-widget .fcw-toggle:hover { transform: translateY(-2px); }
  #fcw-widget .fcw-link:hover { background: #f3f6f9; color: #21394c; text-decoration: none; }
  #fcw-widget .fcw-link:is([data-fcw-channel="max"], [data-fcw-channel="telegram"]):hover { transform: translateY(-2px); border-color: #c5d2e8; background: #eef2fd; }
  #fcw-widget .fcw-close:hover { background: #edf2f7; color: #21394c; }
}
@media (max-width: 600px) {
  #fcw-widget { width: var(--fcw-mobile-width); }
  #fcw-widget.fcw-right { right: max(12px, env(safe-area-inset-right, 0px)); }
  #fcw-widget.fcw-left { left: max(12px, env(safe-area-inset-left, 0px)); }
  #fcw-widget .fcw-toggle { min-height: var(--fcw-mobile-height); padding: 8px 11px 8px 8px; gap: 9px; }
  #fcw-widget .fcw-title { font-size: max(12px, calc(var(--fcw-font-size) - 1px)); }
  #fcw-widget .fcw-subtitle { display: none; }
  #fcw-widget .fcw-main-icon { flex-basis: 36px; height: 36px; border-radius: 12px; }
  #fcw-widget .fcw-panel { border-radius: 22px; padding: 20px 15px 10px; }
  #fcw-widget .fcw-panel-header { margin-bottom: 16px; }
  #fcw-widget .fcw-link:is([data-fcw-channel="max"], [data-fcw-channel="telegram"]) { padding: 13px; }
  #fcw-widget.fcw-icon-only, #fcw-widget.fcw-mobile-compact { width: var(--fcw-mobile-height); }
  #fcw-widget:is(.fcw-icon-only, .fcw-mobile-compact) .fcw-toggle { justify-content: center; min-height: var(--fcw-mobile-height); height: var(--fcw-mobile-height); border-radius: 50%; padding: 8px; gap: 0; }
  #fcw-widget.fcw-mobile-compact .fcw-main-icon { background: transparent; border: 0; }
  #fcw-widget.fcw-mobile-compact .fcw-button-text, #fcw-widget.fcw-mobile-compact .fcw-chevron { display: none; }
}
@keyframes fcw-panel-appear { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  #fcw-widget *, #fcw-widget *::before, #fcw-widget *::after { transition: none !important; animation: none !important; }
}
@media print { #fcw-widget { display: none !important; } }
