/* Вписы: the profile's own pieces (cc-head, chips, edit inputs, calendar rows), only the glue lives here. */
[data-stays]{--cal-gold:#F5B800;margin-top:32px;padding-top:28px;border-top:1px solid rgba(255,255,255,.06)}
[data-stays] .cc-head{align-items:center}
.stay-chips{display:flex;gap:8px;margin:0 0 16px;overflow-x:auto;scrollbar-width:none}
.stay-chips::-webkit-scrollbar{display:none}
.stay-chips .chip span{color:rgba(255,255,255,.4);font-weight:600}
.stay-chips .chip.active span{color:inherit}
.stay-form{position:relative;margin:0 0 18px;padding:22px;border:1px solid rgba(245,184,0,.18);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.03),rgba(255,255,255,.005))}
.stay-form .cc-title{font-size:17px;margin:0 0 18px}
.stay-form .edit-help{margin:-8px 0 18px}
.stay-form .stay-chips{display:grid;grid-template-columns:1fr 1fr;margin:0}
.stay-form .stay-chips .chip{justify-content:center;white-space:normal;text-align:center;line-height:1.3}
.stay-form .stay-actions .gold-btn{flex:1 1 auto}
.stay-form .edit-input{min-height:48px;font-size:16px;color-scheme:dark}
.stay-form .cp-search input{font-size:16px}
.stay-results{display:grid;gap:2px}
.stay-result{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 10px;border:0;border-radius:14px;background:transparent;color:#fff;font:inherit;text-align:left;cursor:pointer;transition:background .2s}
.stay-result:hover,.stay-result:focus-visible{background:rgba(245,184,0,.07);outline:none}
.stay-result span{display:flex;flex-direction:column;min-width:0}
.stay-result b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stay-result small{font-size:12px;color:rgba(255,255,255,.45)}
.stay-none{font-size:12.5px;color:rgba(255,255,255,.45);margin:4px 2px}
.stay-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#F5B800,#ff7a00);color:#000;font-size:15px;font-weight:700}
.stay-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.stay-picked{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 8px 8px 10px;border:1px solid rgba(245,184,0,.25);border-radius:14px;background:rgba(245,184,0,.06);margin-bottom:18px}
.edit-field .stay-picked{margin-bottom:0}
.stay-picked>span:not(.stay-avatar){flex:1;min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stay-actions{display:flex;flex-wrap:wrap;gap:8px}
.stay-row{align-items:center}
.stay-row .stay-actions{flex-basis:100%;padding-left:72px}
.stay-row .stay-actions{align-items:center;column-gap:4px}
.stay-row .stay-actions .sm{min-height:36px;margin-right:4px}
.stay-link{display:inline-flex;align-items:center;text-decoration:none;min-height:36px;padding:6px 10px;border:0;border-radius:10px;background:transparent;color:rgba(255,255,255,.5);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;transition:color .15s,background .15s}
.stay-link:hover{color:#fff;background:rgba(255,255,255,.05)}
.stay-link[data-stay=delete]:hover{color:#ff8a8a}
.stay-person{display:flex;align-items:center;gap:8px;min-width:0;color:inherit;text-decoration:none}
.stay-person .stay-avatar{width:22px;height:22px;font-size:11px}
.stay-person:hover .cal-city{color:var(--cal-gold)}
.stay-row.is-pending{background:rgba(245,184,0,.055)}
.stay-row.is-pending .stay-status{color:var(--cal-gold)}
.stay-row.is-confirmed .stay-status{color:#88e0a4}
.stay-row.is-rejected .stay-status,.stay-row.is-cancelled .stay-status{color:rgba(255,255,255,.35)}
.stay-row.is-rejected,.stay-row.is-cancelled{opacity:.7}
.stay-more{margin-top:12px}
.stay-error{color:#ff8a8a;font-size:12.5px;margin:0}
.stay-error:empty{display:none}
.stay-error:not(:empty){margin:0 0 12px}
.stay-empty{padding:48px 24px}
.stay-note{display:flex;gap:6px;align-items:flex-start}
.stay-note svg{flex-shrink:0;margin-top:2px}
[data-stays] .empty-tab-cta,[data-stays] .gold-btn,[data-stays] .ghost-btn:not(.sm),.stay-chips .chip{min-height:44px}
.stay-offer{margin:0 0 18px;padding:16px 18px;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(255,255,255,.02);transition:border-color .2s,background .2s}
.stay-offer.is-on{border-color:rgba(245,184,0,.22);background:rgba(245,184,0,.04)}
.stay-offer-head{display:flex;align-items:center;gap:12px}
.stay-offer-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:rgba(245,184,0,.08);border:1px solid rgba(245,184,0,.18);color:#F5B800}
.stay-offer-icon svg{width:20px;height:20px}
.stay-offer-text{flex:1;min-width:0}
.stay-offer-text b{display:block;font-size:14.5px;color:#fff}
.stay-offer-text p{margin:2px 0 0;font-size:12px;line-height:1.45;color:rgba(255,255,255,.5)}
.stay-offer.is-on .stay-offer-text p{color:rgba(245,184,0,.85)}
.stay-switch{position:relative;width:48px;height:28px;flex-shrink:0;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.12);cursor:pointer;transition:background .2s}
.stay-switch::before{content:"";position:absolute;inset:-8px}
.stay-switch i{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s}
.stay-switch[aria-checked=true]{background:#F5B800}
.stay-switch[aria-checked=true] i{transform:translateX(20px);background:#000}
.stay-switch:disabled{opacity:.4;cursor:not-allowed}
.stay-switch:focus-visible{outline:2px solid #F5B800;outline-offset:3px}
.stay-offer-form{margin-top:16px}
.stay-offer-note{margin:12px 0 0;padding-left:52px;font-size:13px;line-height:1.5;color:rgba(255,255,255,.65);overflow-wrap:anywhere}
.stay-offer-hosted{margin:12px 0 0;padding-left:52px;font-size:12px;color:rgba(255,255,255,.45)}
.stay-stepper{display:flex;align-items:center;gap:6px}
.stay-stepper .sm{width:44px;min-height:44px;padding:0;font-size:18px}
.stay-stepper output{min-width:40px;text-align:center;font-size:18px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
.stay-stepper .sm:disabled{opacity:.35;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){.stay-switch,.stay-switch i{transition:none}}
@media(max-width:540px){
  .stay-offer-note,.stay-offer-hosted{padding-left:0}
  .stay-form{padding:18px 16px}
  .stay-row .stay-actions{padding-left:0}
  [data-stays] .cc-head{flex-direction:column;align-items:stretch;gap:14px}
  [data-stays] .cc-head .gold-btn{align-self:flex-start}
}
