/* V2.98.36 — beta feedback anchored to upper visible viewport */
:root{--feedback-coral:#DE704A;--feedback-ink:#30251F;--feedback-paper:#FFFDF9}

/* The control is injected between title and profile on every screen. */
.global-app-header{grid-template-columns:minmax(0,1fr) auto auto!important;column-gap:8px!important}
.global-feedback-button{
  appearance:none;border:1px solid rgba(255,255,255,.14);outline:0;
  min-width:0;height:34px;padding:0 10px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  background:rgba(255,255,255,.08);color:#F8F2E9;
  box-shadow:none;-webkit-tap-highlight-color:transparent;
  font:800 8.5px/1 "Manrope",sans-serif;letter-spacing:.15px;
  cursor:pointer;white-space:nowrap;
}
.global-feedback-button svg{width:15px;height:15px;flex:0 0 auto}
.global-feedback-button:active{transform:scale(.97)}
.global-feedback-button .feedback-beta-dot{width:5px;height:5px;border-radius:50%;background:#E98A66;box-shadow:0 0 0 3px rgba(233,138,102,.13)}

.beta-feedback-layer[hidden]{display:none!important}
.beta-feedback-layer{
  position:fixed;inset:0;z-index:6000;
  display:grid;place-items:start center;
  padding:calc(env(safe-area-inset-top) + 58px) 12px 14px;
  background:rgba(32,26,22,.34);
  -webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);
}
.beta-feedback-panel{
  width:min(100%,520px);max-height:min(72dvh,650px);overflow:auto;
  padding:18px 16px 16px;border-radius:28px;
  background:rgba(255,252,248,.97);
  border:1px solid rgba(255,255,255,.98);
  box-shadow:0 26px 70px rgba(55,40,30,.22),inset 0 1px 0 rgba(255,255,255,.96);
  color:var(--feedback-ink);
}
.beta-feedback-head{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:12px;align-items:start}
.beta-feedback-kicker{display:inline-flex;width:max-content;align-items:center;gap:7px;padding:7px 9px;border-radius:999px;background:#FBECE5;color:#C75E3C;font:800 7.6px/1 "Manrope",sans-serif;letter-spacing:1px}
.beta-feedback-head h2{margin:10px 0 6px;font:700 28px/.98 "Playfair Display",serif;letter-spacing:-.7px;color:#2E221B}
.beta-feedback-head p{margin:0;color:#777169;font:600 10.5px/1.45 "DM Sans",sans-serif}
.beta-feedback-close{width:38px;height:38px;border:0;border-radius:13px;background:#F5EEE6;color:#65574E;font:800 17px/1 sans-serif;display:grid;place-items:center;cursor:pointer}

.beta-feedback-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:16px}
.beta-feedback-type{position:relative;display:block}
.beta-feedback-type input{position:absolute;opacity:0;pointer-events:none}
.beta-feedback-type span{min-height:39px;padding:0 8px;border-radius:13px;border:1px solid rgba(88,65,49,.08);display:flex;align-items:center;justify-content:center;background:#F8F4EE;color:#766A61;font:800 9px/1 "Manrope",sans-serif;cursor:pointer;transition:.14s ease}
.beta-feedback-type input:checked+span{background:#FFF0E8;border-color:rgba(218,103,68,.18);color:#C55E3D;box-shadow:0 7px 16px rgba(193,86,51,.08)}

.beta-feedback-field{display:block;margin-top:12px}
.beta-feedback-field>span{display:block;margin:0 0 7px;color:#5E5148;font:800 9px/1 "Manrope",sans-serif}
.beta-feedback-field textarea{display:block;width:100%;min-height:132px;max-height:240px;resize:vertical;padding:13px 14px;border-radius:18px;border:1px solid rgba(88,65,49,.10);outline:0;background:#FFF;color:#342821;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);font:600 12px/1.5 "DM Sans",sans-serif}
.beta-feedback-field textarea:focus{border-color:rgba(218,103,68,.34);box-shadow:0 0 0 3px rgba(218,103,68,.07)}
.beta-feedback-meta{display:flex;justify-content:space-between;gap:10px;margin-top:7px;color:#9A938C;font:600 8.2px/1.25 "DM Sans",sans-serif}
.beta-feedback-submit{width:100%;min-height:52px;margin-top:14px;border:0;border-radius:18px;background:linear-gradient(145deg,#EA7A53,#D7603F);color:#fff;box-shadow:0 14px 24px rgba(201,86,51,.18);font:800 12px/1 "Manrope",sans-serif;cursor:pointer}
.beta-feedback-submit:disabled{opacity:.58;box-shadow:none;cursor:default}
.beta-feedback-status{min-height:17px;margin:9px 2px 0;text-align:center;color:#7B746D;font:650 9px/1.35 "DM Sans",sans-serif}
.beta-feedback-status.is-error{color:#B9553A}.beta-feedback-status.is-success{color:#5F7958}
.beta-feedback-success{padding:28px 8px 14px;text-align:center}
.beta-feedback-success i{width:54px;height:54px;margin:0 auto 13px;border-radius:18px;display:grid;place-items:center;background:#EAF3E7;color:#64805D;font-style:normal;font:900 24px/1 "Manrope",sans-serif}
.beta-feedback-success h3{margin:0;font:700 27px/1 "Playfair Display",serif;color:#2F241D}
.beta-feedback-success p{margin:8px auto 0;max-width:31ch;color:#777169;font:600 10.5px/1.45 "DM Sans",sans-serif}

@media(min-width:700px){.beta-feedback-layer{place-items:start center;padding-top:calc(env(safe-area-inset-top) + 76px)}.beta-feedback-panel{padding:21px 20px 19px;max-height:min(76dvh,680px)}}
@media(max-width:355px){
  .global-app-header{column-gap:6px!important}
  .global-feedback-button{width:34px;height:34px;padding:0}
  .global-feedback-button .feedback-label,.global-feedback-button .feedback-beta-dot{display:none}
  .beta-feedback-layer{padding-left:8px;padding-right:8px}
  .beta-feedback-panel{border-radius:24px;padding:16px 13px 14px}
  .beta-feedback-head h2{font-size:25px}
}


/* V2.98.36 keyboard-visible viewport support */
.beta-feedback-layer{
  height:var(--feedback-visible-height,100dvh);
  top:var(--feedback-visible-top,0px);
  bottom:auto!important;
}
.beta-feedback-panel{
  scroll-padding-top:14px;
  scroll-padding-bottom:20px;
}
.beta-feedback-field textarea{
  scroll-margin-top:14px;
  scroll-margin-bottom:18px;
}
@media(max-width:699px){
  .beta-feedback-layer{padding-top:calc(env(safe-area-inset-top) + 18px)!important}
  .beta-feedback-panel{max-height:calc(var(--feedback-visible-height,100dvh) - env(safe-area-inset-top) - 34px)!important}
}

/* V2.98.37.1 — Kupovina header: keep Feedback + profile on the same row */
.global-app-header.shopping-topbar{
  grid-template-columns:minmax(0,1fr) auto auto!important;
  column-gap:8px!important;
}
.global-app-header.shopping-topbar .global-header-copy{min-width:0!important}
.global-app-header.shopping-topbar .global-feedback-button,
.global-app-header.shopping-topbar .global-profile-button{
  align-self:center!important;
  justify-self:end!important;
  flex:0 0 auto!important;
}
