@font-face{font-family:"YS Display";src:url("/static/fonts/ys-display-800.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"YS Display";src:url("/static/fonts/ys-display-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"YS Text";src:url("/static/fonts/ys-text-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"YS Text";src:url("/static/fonts/ys-text-500.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"YS Text";src:url("/static/fonts/ys-text-700.woff2") format("woff2");font-weight:700;font-display:swap}

:root{
  --brand:#7d24ff;
  --brand-dark:#6913ea;
  --brand-soft:#f0e7ff;
  --brand-line:#d9c6ff;
  --ink:#21201f;
  --muted:#8a8691;
  --line:#e9e6ef;
  --card:#f5f2fa;
  --green:#dff7e5;
  --green-ink:#16713a;
  --radius:16px;
  --shell:480px;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
button,a,[role="button"]{touch-action:manipulation}
body{
  margin:0;
  background:#e9e6ee;
  color:var(--ink);
  font:400 15px/1.45 "YS Text",Arial,sans-serif;
  letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;
}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:"YS Display",Arial,sans-serif;font-weight:800;letter-spacing:-.035em;line-height:1.02}

.shell{
  width:100%;
  max-width:var(--shell);
  margin:0 auto;
  min-height:100dvh;
  background:#fff;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}

.header{
  height:58px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fff;
  flex:0 0 auto;
  position:relative;
  z-index:5;
}
.logo{display:flex;align-items:center;gap:7px;color:#1d1c1b}
.logo-yandex{width:66px;height:22px}
.logo-mark{width:23px;height:23px}
.logo-arenda{width:70px;height:22px}
.burger{
  width:38px;height:38px;border:0;background:none;
  display:flex;flex-direction:column;justify-content:center;gap:4.5px;align-items:flex-end;
  padding:8px 2px;
}
.burger span{display:block;width:20px;height:2px;border-radius:2px;background:var(--ink)}
.burger span:nth-child(2){width:15px}
.top-nav{display:none}

.hero{
  position:relative;
  padding:34px 20px 30px;
  text-align:center;
  background:linear-gradient(160deg,#f7f2ff 0%,#eee4ff 55%,#faf7ff 100%);
  overflow:hidden;
  flex:0 0 auto;
}
.hero::before{
  content:"";
  position:absolute;
  width:280px;height:280px;
  right:-130px;top:-150px;
  background:rgba(125,36,255,.07);
  transform:rotate(34deg);
}
.hero::after{
  content:"";
  position:absolute;
  width:190px;height:190px;
  left:-120px;bottom:-140px;
  background:rgba(255,255,255,.55);
  transform:rotate(24deg);
}
.hero h1{font-size:33px;position:relative;z-index:1}
.hero .sub{margin-top:10px;color:#7c7784;font-size:15px}
.hero--check{padding-top:26px;padding-bottom:34px}
.hero--check h1{font-size:35px}

.spinner{
  width:56px;height:56px;
  margin:0 auto 22px;
  border-radius:50%;
  border:5px solid #d9c4ff;
  border-top-color:var(--brand);
  border-right-color:#b184ff;
  animation:spin 1.05s linear infinite;
  position:relative;
  z-index:1;
}
.spinner--sm{width:26px;height:26px;border-width:3px;margin:0}
.spinner--xs{width:18px;height:18px;border-width:2.5px;margin:0}
@keyframes spin{to{transform:rotate(360deg)}}

.check-meta{
  margin:18px auto 0;
  display:inline-flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  position:relative;z-index:1;
}
.check-meta span{
  background:rgba(255,255,255,.75);
  border:1px solid rgba(125,36,255,.12);
  color:#6c6577;
  border-radius:999px;
  padding:5px 11px;
  font-size:12px;
  max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

.wrap{padding:18px 16px 8px;flex:1 0 auto}
.wrap--check{padding-top:4px}

.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:16px;
  display:flex;
  gap:13px;
  margin-bottom:12px;
}
.card p{font-size:14.5px;color:#494551;line-height:1.42}
.card b{font-weight:700}
.icon{
  flex:0 0 auto;
  width:38px;height:38px;
  border-radius:50%;
  display:grid;place-items:center;
  color:var(--brand);
}
.icon svg{width:21px;height:21px}
.icon--soft{background:#e9dcff}
.icon--lg{width:44px;height:44px}
.icon--green{background:var(--green);color:var(--green-ink)}
.icon--red{background:#fbe3e3;color:#c03535}

.wait-card h3{font-size:17px;color:var(--brand);margin-bottom:5px;letter-spacing:-.02em}
.wait-card p{color:#57525e}
.wait-card p b{color:#221f27}
.trust-card h3{font-size:16px;margin-bottom:5px}
.trust-card p{font-size:13.5px;color:#7b7681}
.proceed-card{align-items:center;font-size:15px;font-weight:700}
.check-note{padding:10px 20px 26px;text-align:center}
.check-note p{font-size:13px;color:#8b8692}

.summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 6px 22px rgba(43,24,90,.06);
  margin-bottom:12px;
  overflow:hidden;
}
.summary-cell{padding:14px 16px 15px;min-width:0}
.summary-cell+.summary-cell{border-left:1px solid var(--line)}
.summary-label{display:block;font-size:12px;color:#6f6a79;margin-bottom:3px;white-space:nowrap}
.summary-amount{font:800 27px/1.1 "YS Display",sans-serif;color:var(--brand);letter-spacing:-.02em;white-space:nowrap}
.summary-timer{font:800 25px/1.1 "YS Display",sans-serif;color:var(--brand);display:flex;align-items:center;gap:5px}
.summary-timer svg{width:21px;height:21px}

.property{padding:0;overflow:hidden;display:block;background:#fff;border:1px solid var(--line)}
.property-photo{width:100%;height:150px;object-fit:cover}
.property-body{padding:12px 15px 14px}
.property-tag{display:inline-block;font-size:11px;font-weight:700;color:var(--brand);background:var(--brand-soft);padding:3px 8px;border-radius:6px;margin-bottom:7px}
.property-body h3{font-size:17px;line-height:1.25;letter-spacing:-.02em}
.property-note,.property-dates{font-size:13px;color:#7f7a86;margin-top:5px}

.tenant{align-items:center}
.tenant-label{display:block;font-size:11.5px;color:#8b8692;margin-bottom:2px}
.tenant b{display:block;font-size:15px}
.tenant p{font-size:13px;color:#7c7783;margin-top:2px;word-break:break-word}

.info{align-items:flex-start}
.info p{font-size:14px}
.info--tall p{font-size:13.5px;color:#5a5562}

.pay{padding-top:10px}
.pay h2{font-size:23px;margin:2px 0 12px;letter-spacing:-.03em}
.requisites{display:block;background:#fff;border:1px solid var(--line);box-shadow:0 8px 26px rgba(43,24,90,.07)}
.qr-box{text-align:center;padding:4px 0 12px}
.qr{width:190px;height:190px;margin:0 auto 8px;border-radius:10px;image-rendering:pixelated}
.qr-box span{font-size:12.5px;color:#8c8793}
.qr-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 8px 20px;text-align:center;color:#6f6a79}
.qr-empty b{font-size:15px}
.qr-empty span:last-child{font-size:13px;color:#928d99}
.qr-empty .spinner{margin-bottom:4px}
.req{margin:0 0 14px;border-top:1px solid var(--line)}
.req>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.req dt{font-size:13px;color:#8a8591;flex:0 0 auto}
.req dd{margin:0;font-size:13.5px;font-weight:500;text-align:right;word-break:break-word}
.btn{
  width:100%;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:15px;border:0;margin-top:8px;
  transition:transform 160ms ease-out,background-color 160ms ease-out;
}
.btn:active{transform:scale(.97)}
.btn--primary{background:var(--brand);color:#fff}
.btn--primary:active{background:var(--brand-dark)}
.btn--ghost{background:#fff;border:1px solid var(--brand-line);color:var(--brand)}
.btn--ghost:active{background:var(--brand-soft)}
.verifying{display:flex;align-items:center;gap:9px;font-weight:700;color:var(--brand);margin-top:12px;padding:6px 0}
.pay-hint{font-size:13px;color:#85808c;margin-top:5px}
.warn{align-items:flex-start;margin-top:12px}
.warn p{font-size:13.5px;color:#5d5864}
.success{background:#eefaf2;border:1px solid #c9eed6;align-items:flex-start}
.cancelled{background:#fdf1f1;border:1px solid #f4d4d4;align-items:flex-start}
.cancelled b{font-size:16px}
.cancelled p{font-size:13.5px;color:#7c5555;margin-top:3px}
.summary-timer--muted{color:#8a8691}
.summary-timer--sm{font-size:20px}
.success b{font-size:16px}
.success p{font-size:13.5px;color:#436a51;margin-top:3px}

.instruction{background:var(--card);border-radius:var(--radius);margin-top:14px;overflow:hidden}
.instruction summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;font-weight:700;font-size:14.5px}
.instruction summary::-webkit-details-marker{display:none}
.instruction .chev{width:20px;height:20px;margin-left:auto;color:#8c8793;transition:transform 200ms cubic-bezier(0.23,1,0.32,1)}
.instruction[open] .chev{transform:rotate(180deg)}
.instr{padding:2px 14px 18px}
.instr h2{font-size:28px;line-height:1.06;margin:6px 0 8px}
.instr-sub{color:#6e6976;font-size:15px;margin-bottom:16px}
.instr-hero{background:linear-gradient(135deg,#8a4dff,#6d20e8);border-radius:16px;color:#fff;overflow:hidden;margin-bottom:18px}
.instr-hero p{padding:16px;font-size:15px;line-height:1.4;font-weight:500;color:#fff}
.instr-hero img{width:100%;height:160px;object-fit:cover;opacity:.92}
.step{margin-bottom:18px}
.step-num{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1.5px solid var(--ink);font-weight:700;font-size:14px;margin-bottom:7px}
.step h3{font-size:21px;line-height:1.12;margin-bottom:10px}
.step-card{display:block;background:#fff;margin-bottom:9px;padding:15px}
.step-card p{font-size:14px;color:#3f3b46}
.step-card p+p{margin-top:10px}
.step-card .icon{margin-top:12px}
.green{background:var(--green);color:var(--green-ink);border-radius:12px;padding:12px 13px;font-size:13.5px;line-height:1.4;margin-top:12px}
.instr-finish{background:linear-gradient(135deg,#8a4dff,#6d20e8);border-radius:16px;padding:16px;color:#fff;font-size:14.5px;line-height:1.45;font-weight:500}

.disclaimer{font-size:12.5px;color:#938e9a;text-align:center;padding:14px 8px 20px}
.footer{margin-top:auto;padding:18px 16px 84px;background:#faf9fc;border-top:1px solid #f0edf4;text-align:center}
.footer p{font-size:11.5px;color:#9a95a1;line-height:1.5}
.footer p:first-child{font-weight:700;color:#7e7986}

.chat-fab{
  position:fixed;
  right:max(16px,calc(50% - var(--shell)/2 + 16px));
  bottom:calc(22px + env(safe-area-inset-bottom));
  width:56px;height:56px;border-radius:50%;border:0;
  background:radial-gradient(circle at 32% 26%,#9d7bff 0%,#7d24ff 48%,#5313c2 100%);
  color:#fff;display:grid;place-items:center;
  box-shadow:0 10px 26px rgba(78,24,180,.35);
  z-index:30;
}
.chat-fab{transition:transform 160ms ease-out}
.chat-fab:active{transform:scale(.94)}
.chat-fab svg{width:27px;height:27px}
.fab-badge{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#e53935;color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center;border:2px solid #fff;box-sizing:content-box}
.fab-badge[hidden]{display:none}
.chat-backdrop{
  position:fixed;inset:0;background:rgba(23,17,38,.34);z-index:40;backdrop-filter:blur(1px);
  transition:opacity 200ms ease-out;
  @starting-style{opacity:0}
}
.chat{
  position:fixed;
  left:50%;bottom:0;transform:translateX(-50%);
  width:min(100%,var(--shell));
  height:min(78dvh,620px);
  background:#f7f7fa;
  border-radius:20px 20px 0 0;
  z-index:41;
  display:flex;flex-direction:column;
  overflow:hidden;
  box-shadow:0 -14px 50px rgba(30,16,60,.28);
  transition:transform 380ms cubic-bezier(0.32,0.72,0,1),opacity 240ms ease-out;
  @starting-style{opacity:0;transform:translateX(-50%) translateY(100%)}
}
.chat-head{
  background:linear-gradient(115deg,#8d68ff 0%,#b39cff 100%);
  color:#fff;padding:12px 14px;
  display:flex;align-items:center;gap:10px;flex:0 0 auto;
}
.chat-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.75)}
.chat-who{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.chat-who b{font-size:15px}
.chat-who span{font-size:12px;opacity:.82}
.chat-close{
  margin-left:auto;width:34px;height:34px;border:0;border-radius:50%;
  background:rgba(255,255,255,.16);color:#fff;font-size:23px;line-height:1;
  display:grid;place-items:center;
}
.chat-body{flex:1;overflow-y:auto;padding:14px 12px 8px;display:flex;flex-direction:column;gap:8px;background:#f4f3f8}
.msg{max-width:84%;padding:9px 11px 7px;border-radius:12px;font-size:14px;line-height:1.4;position:relative;word-break:break-word;background:#fff;align-self:flex-start;box-shadow:0 1px 2px rgba(20,12,40,.05)}
.msg--guest{align-self:flex-end;background:linear-gradient(135deg,#7d47f5,#6a20e9);color:#fff}
.msg-img{display:block;max-width:230px;max-height:280px;width:auto;border-radius:9px;margin-bottom:4px;object-fit:cover}
.msg time{display:block;font-size:10px;opacity:.55;text-align:right;margin-top:3px}
.msg--guest time{color:#f0e8ff;opacity:.8}
.chat-typing{display:flex;align-items:center;gap:7px;padding:4px 14px 6px;background:#f4f3f8;font-size:12px;color:#8b8594}
.chat-typing img{width:22px;height:22px;border-radius:50%;object-fit:cover}
.chat-form{display:flex;align-items:center;gap:7px;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ebe8f0}
.chat-clip{border:0;background:none;color:#8c8793;width:30px;height:34px;display:grid;place-items:center;padding:0}
.chat-clip svg{width:21px;height:21px}
.chat-clip:disabled{opacity:.4;cursor:default}
.chat-input{flex:1;min-width:0;height:40px;border:0;background:#f2f0f6;border-radius:10px;padding:0 12px;outline:none;font-size:16px}
.chat-input:focus{box-shadow:0 0 0 2px var(--brand-line)}
.chat-send{width:40px;height:40px;border:0;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;flex:0 0 auto}
.chat-send svg{width:20px;height:20px}
.chat-send:disabled{opacity:.45}
.chat-send{transition:transform 160ms ease-out}
.chat-send:active{transform:scale(.94)}

.menu{
  position:fixed;inset:0;z-index:50;background:rgba(23,17,38,.4);display:grid;place-items:start center;padding-top:58px;
  transition:opacity 200ms ease-out;
  @starting-style{opacity:0}
}
.menu-panel{
  width:min(92%,var(--shell));background:#fff;border-radius:0 0 18px 18px;padding:18px;
  display:flex;flex-direction:column;gap:4px;position:relative;
  transform-origin:top center;
  transition:transform 220ms cubic-bezier(0.23,1,0.32,1),opacity 200ms ease-out;
  @starting-style{opacity:0;transform:translateY(-8px)}
}
.menu-panel a,.menu-panel button{
  text-align:left;padding:13px 8px;border:0;background:none;font-size:16px;font-weight:500;border-bottom:1px solid #f1eef5;
}
.menu-panel a:last-of-type,.menu-panel button:last-child{border-bottom:0}
.menu-close{position:absolute;right:10px;top:8px;border:0;background:none;font-size:26px;line-height:1;width:38px;height:38px}

:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

@media (min-width:520px) and (max-width:899px){
  .shell{box-shadow:0 0 60px rgba(35,20,70,.12)}
  .chat-fab{right:calc(50% - var(--shell)/2 + 16px)}
}

@media (min-width:900px){
  body{background:#f1eef6}
  .shell{max-width:none;min-height:100dvh;box-shadow:none;overflow:visible}
  .header{
    height:68px;
    padding:0 max(32px,calc((100vw - 1160px)/2));
    border-bottom:1px solid #f1edf6;
  }
  .logo-yandex{width:78px;height:26px}
  .logo-mark{width:27px;height:27px}
  .logo-arenda{width:82px;height:26px}
  .burger{display:none}
  .top-nav{
    display:flex;align-items:center;gap:6px;
    margin-left:auto;
  }
  .top-nav a,.top-nav-chat{
    border:0;background:none;padding:10px 14px;border-radius:10px;
    font-size:14px;font-weight:500;color:#57525f;cursor:pointer;
  }
  @media (hover:hover) and (pointer:fine){
    .top-nav a:hover,.top-nav-chat:hover{background:#f5f1fc;color:var(--brand)}
  }
  .top-nav-chat{color:var(--brand);font-weight:700}

  .hero{padding:56px 32px 48px}
  .hero::before{width:420px;height:420px;right:-140px;top:-220px}
  .hero::after{width:300px;height:300px;left:-160px;bottom:-200px}
  .hero h1{font-size:46px;line-height:1.03}
  .hero .sub{font-size:16px;margin-top:12px}
  .hero--check{padding:44px 32px 40px}
  .hero--check h1{font-size:44px}
  .check-meta span{font-size:12.5px;padding:6px 13px}

  .wrap{
    width:100%;max-width:1160px;margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) 396px;
    column-gap:28px;
    padding:28px 32px 8px;
    align-items:start;
  }
  .wrap--check{display:block;max-width:720px}

  .summary{grid-column:1;grid-row:1}
  .property{
    grid-column:1;grid-row:2;
    display:grid;grid-template-columns:300px minmax(0,1fr);align-items:stretch;
  }
  .property-photo{height:100%;min-height:200px}
  .property-body{padding:20px 22px;display:flex;flex-direction:column;justify-content:center}
  .property-body h3{font-size:21px}
  .property-tag{font-size:11.5px;margin-bottom:9px}
  .property-note,.property-dates{font-size:13.5px;margin-top:7px}
  .tenant{grid-column:1;grid-row:3;padding:18px 20px}
  .tenant b{font-size:16px}
  .info{grid-column:1;grid-row:4;padding:18px 20px}
  .info--tall{grid-column:1;grid-row:5;padding:18px 20px}
  .info--tall p{font-size:14px}
  .card p{font-size:15px}

  .pay{
    grid-column:2;grid-row:1 / span 7;
    align-self:start;position:sticky;top:20px;
    padding-top:0;
  }
  .pay h2{font-size:26px;margin-top:0}
  .qr{width:200px;height:200px}
  .requisites{padding:20px}
  .req dd{font-size:14px}
  .btn{height:52px;font-size:15.5px}

  .instruction{grid-column:1;grid-row:6;margin-top:16px}
  .instruction summary{padding:16px 20px;font-size:15px}
  .instr{padding:4px 20px 24px}
  .instr h2{font-size:34px}
  .instr-hero{display:grid;grid-template-columns:1.15fr .85fr;align-items:stretch}
  .instr-hero p{padding:24px;font-size:16px;display:flex;align-items:center}
  .instr-hero img{height:100%;min-height:220px}
  .step h3{font-size:24px}
  .step-card{padding:18px 20px}
  .step-card p{font-size:15px}
  .instr-finish{padding:22px 24px;font-size:15.5px}
  .disclaimer{grid-column:1;grid-row:7;padding:18px 8px 26px;font-size:13px}

  .check-note{max-width:720px;margin:0 auto;padding-bottom:34px}
  .check-note p{font-size:13.5px}

  .footer{padding:26px 32px 40px}

  .chat-fab{
    right:28px;
    bottom:28px;
    width:60px;height:60px;
  }
  .chat-backdrop{display:none!important}
  .chat{
    left:auto;right:28px;
    transform:none;
    bottom:100px;
    width:400px;
    height:min(640px,calc(100dvh - 140px));
    border-radius:20px;
    box-shadow:0 24px 70px rgba(30,16,60,.3);
    transform-origin:bottom right;
    transition:transform 220ms cubic-bezier(0.23,1,0.32,1),opacity 180ms ease-out;
    @starting-style{opacity:0;transform:scale(.96)}
  }
  .chat-head{padding:14px 16px}
  .menu-panel{width:min(92%,520px)}

  .instr + *{margin-top:0}
}

@media (prefers-reduced-motion:reduce){
  .spinner{animation-duration:2s}
  .chat,.menu-panel,.toast{transition-property:opacity}
  *{scroll-behavior:auto}
}
