.fm{max-width:860px;margin:0 auto;padding:28px 0 72px}
.fm h1{margin:0 0 8px;font-size:clamp(26px,4vw,34px);letter-spacing:-.3px}
.fm-lead{color:#5b6169;line-height:1.55;margin:0 0 22px;max-width:640px}
.fm-nav{font-size:14px;color:#6b7178;margin:0 0 18px}
.fm-nav a{color:#16181c;font-weight:700}
.fm-group{margin:0 0 28px}
.fm-group h2{margin:0 0 10px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#9aa0a8}
.fm-group--niches{display:grid;grid-template-columns:1fr;gap:0}
@media(min-width:720px){
  .fm-group--niches{grid-template-columns:1fr 1fr;gap:0 8px}
  .fm-group--niches h2{grid-column:1/-1}
}
.fm-card{display:block;background:#fff;border:1px solid #e6e8ec;border-radius:14px;padding:14px 16px;margin:0 0 8px;text-decoration:none;color:inherit}
.fm-card:hover{border-color:#c9ced6}
.fm-card b{display:block;font-size:16px}
.fm-card span{display:block;margin-top:4px;color:#5b6169;font-size:14px;line-height:1.45}
.fm-card em{display:block;margin-top:8px;font-style:normal;color:#9aa0a8;font-size:12px}
.fm-empty{background:#fff;border:1px dashed #d5d9de;border-radius:14px;padding:28px 18px;color:#6b7178;line-height:1.6}
.fm-thread{background:#fff;border:1px solid #e6e8ec;border-radius:14px;padding:16px 16px 14px;margin:0 0 10px}
.fm-thread__who{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:#6b7178}
.fm-thread__who b{color:#16181c;font-size:14px}
.fm-thread__who a{color:#16181c;font-weight:700}
.fm-thread__body{margin:10px 0 0;white-space:pre-wrap;line-height:1.5}
.fm-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.fm-photos a{display:block;width:120px;height:90px;border-radius:10px;overflow:hidden;background:#f0f2f4}
.fm-photos img{width:100%;height:100%;object-fit:cover}
.fm-est{display:inline-flex;margin-top:12px;padding:8px 12px;border-radius:10px;background:#eef8f0;color:#1d6b3a;font-weight:700;font-size:13px;text-decoration:none}
.fm-form{background:#fff;border:1px solid #e6e8ec;border-radius:16px;padding:16px;margin:18px 0 0}
.fm-form h2{margin:0 0 12px;font-size:18px}
.fm-form label{display:block;font-size:12px;font-weight:700;color:#6b7178;margin:0 0 4px}
.fm-form input[type=text],.fm-form textarea,.fm-form select{width:100%;padding:10px 12px;border:1px solid #e6e8ec;border-radius:10px;font:inherit;margin:0 0 10px;background:#fff}
.fm-form textarea{min-height:110px;resize:vertical}
.fm-form .fm-row{margin:0 0 10px}
.fm-form .btn{margin-top:4px;display:inline-flex;align-items:center;justify-content:center;
  padding:10px 18px;border:0;border-radius:12px;background:#16181c;color:#fff;font:700 14px inherit;cursor:pointer}
.fm-gate{background:#fff;border:1px solid #e6e8ec;border-radius:14px;padding:16px;margin:18px 0 0;line-height:1.55}
.fm-gate a{font-weight:700;color:#16181c}
.fm-err{background:#fdf0f0;color:#b03636;border-radius:10px;padding:10px 12px;margin:0 0 12px}
.fm-ok{background:#eef8f0;color:#1d6b3a;border-radius:10px;padding:10px 12px;margin:0 0 12px}
.fm-hint{font-size:13px;color:#6b7178;margin:0 0 10px;line-height:1.45}
.fm-how{margin:0 0 22px;padding:0 0 0 18px;color:#5b6169;line-height:1.55;max-width:640px}
.fm-how li{margin:0 0 6px}
.fm-im{--im-bg:#e8eaed;max-width:680px;margin:28px auto 40px;height:min(640px, calc(100dvh - 188px));
  min-height:360px;display:flex;flex-direction:column;background:var(--im-bg);border:1px solid #e6e8ec;
  border-radius:20px;overflow:hidden;box-shadow:0 10px 40px rgba(16,18,22,.06)}
.fm-im-top{flex:none;display:flex;align-items:center;gap:10px;padding:10px 12px;
  background:rgba(247,248,249,.92);border-bottom:1px solid #e6e8ec;min-height:56px}
.fm-im-back{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  font-size:28px;line-height:1;color:#16181c;flex:none;text-decoration:none}
.fm-im-who{min-width:0;flex:1}
.fm-im-name{margin:0;font-weight:800;font-size:16px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-im-sub{font-size:12px;color:#6b7178;margin-top:1px}
.fm-im-mod{font-size:12px;font-weight:700;color:#16181c;flex:none}
.fm-im-sys{align-self:center;margin:8px 12px 0;padding:8px 12px;border-radius:12px;
  background:rgba(255,246,229,.95);color:#6a4a00;font-size:13px;text-align:center}
.fm-im-thread{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:12px 12px 8px;
  display:flex;flex-direction:column;gap:6px}
.fm-b{max-width:78%;padding:8px 12px 6px;border-radius:18px;font-size:16px;line-height:1.4;word-wrap:break-word}
.fm-b--me{align-self:flex-end;background:#16181c;color:#fff;border-bottom-right-radius:5px}
.fm-b--you{align-self:flex-start;background:#fff;color:#16181c;border-bottom-left-radius:5px;
  box-shadow:0 1px 1px rgba(16,18,22,.06)}
.fm-b--hid{opacity:.55}
.fm-b__name{font-size:12px;font-weight:700;margin:0 0 4px}
.fm-b--me .fm-b__name{display:none}
.fm-b__name a{color:inherit}
.fm-b__txt{white-space:pre-wrap}
.fm-b time{display:block;opacity:.55;font-size:11px;margin-top:3px;text-align:right}
.fm-b .fm-photos{margin-top:8px}
.fm-b .fm-photos a{width:140px;height:100px}
.fm-b .fm-est{margin-top:8px}
.fm-b--me .fm-est{background:rgba(255,255,255,.12);color:#fff}
.fm-b__mod{margin-top:4px}
.fm-b__mod button{border:0;background:transparent;color:inherit;opacity:.6;font:700 11px inherit;cursor:pointer;padding:0}
.fm-im-dock{flex:none;background:#f7f8f9;border-top:1px solid #e6e8ec;
  padding:8px 10px calc(8px + var(--im-kb, 0px))}
.fm-im-dock--gate{text-align:center;line-height:1.5;padding:14px 12px}
.fm-im-dock--gate a{font-weight:700;color:#16181c}
.fm-im-tools{display:flex;gap:8px;align-items:center;padding:0 2px 6px}
.fm-im-ico{width:36px;height:36px;border-radius:50%;background:#eceef1;display:grid;place-items:center;cursor:pointer;flex:none}
.fm-im-tools select,.fm-im-esturl{flex:1;min-width:0;border:1px solid #e6e8ec;border-radius:12px;padding:7px 10px;font:13px inherit;background:#fff}
.fm-im-composer{display:flex;align-items:flex-end;gap:6px}
.fm-im-composer textarea{flex:1;min-width:0;border:0;background:#fff;border-radius:20px;
  padding:10px 14px;font:16px/1.35 inherit;resize:none;max-height:120px;min-height:40px;
  outline:none;box-shadow:inset 0 0 0 1px #e6e8ec}
.fm-im-send{width:40px;height:40px;border:0;border-radius:50%;background:#16181c;color:#fff;
  display:grid;place-items:center;flex:none;cursor:pointer}
body.sk-im-chat .ska-fab,body.sk-im-chat .ska-panel{display:none !important}
body.sk-im-chat .sk-main{min-height:0}
@media(min-width:701px){
  body.sk-im-chat{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
  body.sk-im-chat .sk-foot{display:none !important}
  body.sk-im-chat .sk-main{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
  .fm-im{flex:0 0 auto;height:520px;max-height:calc(100% - 32px);min-height:0;
    width:min(640px,calc(100% - 48px));margin:16px auto}
}
@media(max-width:700px){
  .fm{padding:18px 0 56px}
  .fm-photos a{width:calc(50% - 4px);height:110px}
  .fm-form{position:sticky;bottom:var(--sk-dock-space, 72px);z-index:4;border-radius:16px 16px 0 0;margin:18px 0 0;box-shadow:0 -8px 24px rgba(16,18,22,.06)}
  body.sk-im-chat.sk-has-dock{padding-bottom:0}
  .fm-im{position:fixed;z-index:40;top:64px;left:0;right:0;bottom:var(--sk-dock-space, 72px);
    width:auto;max-width:none;height:auto;min-height:0;margin:0;border:0;border-radius:16px 16px 0 0;box-shadow:none}
}
