body.feedback-active,html:has(body.feedback-active) { overflow:hidden; }
html:has(body.feedback-active) { scrollbar-gutter:auto; }
.feedback-drawer {
  --edge:14px;
  position:fixed; inset:var(--edge) var(--edge) var(--edge) auto; margin:0;
  width:min(540px,calc(100% - 2 * var(--edge)));
  height:calc(100% - 2 * var(--edge)); height:calc(100dvh - 2 * var(--edge));
  max-width:none; max-height:none; padding:0; border:0; border-radius:24px;
  color:var(--ink); background:#fff; overflow:hidden;
  box-shadow:0 12px 55px #0f0a2338;
}
.feedback-drawer[open] { animation:feedback-enter .3s cubic-bezier(.16,1,.3,1) both; }
.feedback-drawer::backdrop { background:rgba(24,16,49,.55); animation:feedback-dim .22s ease-out both; }
.feedback-drawer.is-closing { animation:feedback-leave .19s ease-in both; }
.feedback-drawer.is-closing::backdrop { animation:feedback-dim .19s ease-in reverse both; }
@keyframes feedback-enter { from {transform:translateX(calc(100% + var(--edge)));} to {transform:translateX(0);} }
@keyframes feedback-leave { from {transform:translateX(0);} to {transform:translateX(calc(100% + var(--edge)));} }
@keyframes feedback-dim { from {opacity:0;} to {opacity:1;} }
.feedback-panel {
  --pad:32px; background:#fff; color:var(--ink); position:relative;
  font:400 1rem/1.5 Inter,Arial,sans-serif; text-align:left;
}
.feedback-drawer .feedback-panel { height:100%; overflow:auto; overscroll-behavior:contain; }
.feedback-page { background:var(--soft); padding:20px; }
.feedback-page .feedback-panel { width:min(540px,100%); margin:0 auto; border-radius:24px; }
.feedback-top {
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:20px var(--pad); border-bottom:1px solid var(--line); background:#fff;
}
.feedback-drawer .feedback-top { position:sticky; top:0; z-index:2; }
.feedback-top img { display:block; width:124px; height:auto; }
.feedback-close {
  display:grid; place-items:center; width:42px; height:42px; padding:0;
  border:0; border-radius:50%; background:var(--soft); color:var(--ink); cursor:pointer;
}
.feedback-close:hover { background:var(--line); }
.feedback-entry,.feedback-success { padding:26px var(--pad) max(28px,env(safe-area-inset-bottom)); }
.feedback-entry h1,.feedback-success h2 {
  font-weight:600; font-size:2.15rem; line-height:1.12; letter-spacing:-.045em; margin:0 0 26px;
}
.feedback-entry h1:focus,.feedback-success:focus { outline:none; }
.feedback-panel .feedback-form { margin:0; display:grid; gap:18px; }
.feedback-field { min-width:0; display:grid; gap:6px; font-size:.875rem; line-height:1.4; font-weight:550; }
.feedback-field :is(input,select,textarea) {
  display:block; min-width:0; width:100%; padding:11px 13px; min-height:46px; margin:0;
  border:1px solid var(--line); border-radius:10px; background:var(--soft); color:var(--ink);
  font:400 1rem/1.45 Inter,Arial,sans-serif;
}
.feedback-field textarea { min-height:94px; resize:vertical; }
.feedback-field select {
  appearance:none; padding-right:38px; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23464050' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center;
}
.feedback-field :is(input,select,textarea):focus-visible { outline:2px solid #efa828; outline-offset:2px; border-color:#a7a3af; background-color:#fff; }
.feedback-field :is(input,textarea)::placeholder { color:#6b6873; opacity:1; }
.feedback-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.feedback-contacts p { font-size:.8125rem; color:#605f6b; margin:7px 0 0; }
.feedback-context {
  font-size:.875rem; line-height:1.45; color:var(--navy); margin:-5px 0 0;
  border-left:2px solid var(--red); padding:2px 0 2px 11px; overflow-wrap:anywhere;
}
.feedback-gas { min-width:0; margin:0; border:1px solid var(--line); padding:12px 14px; border-radius:12px; }
.feedback-gas legend,.feedback-gas summary { font-size:.875rem; font-weight:500; }
.feedback-gas legend { padding:0 5px; }
.feedback-gas summary { cursor:pointer; padding:10px 0 0; }
.feedback-gas details > :is(.feedback-field,.feedback-row) { margin-top:12px; }
.feedback-consent { display:flex; align-items:flex-start; gap:10px; color:#595765; font-size:.8125rem; line-height:1.5; cursor:pointer; }
.feedback-consent input { width:18px; height:18px; margin:1px 0 0; accent-color:var(--red); flex:none; }
.feedback-panel .feedback-submit { width:100%; height:50px; font-weight:600; }
.feedback-submit:hover,.feedback-finish:hover { background:#ca2934; color:#fff; }
.feedback-submit:disabled { opacity:.62; cursor:wait; }
.feedback-error { color:#a42631; font-size:.875rem; line-height:1.45; }
.feedback-trap { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; }
.feedback-success { padding-top:48px; }
.feedback-check { display:grid; width:54px; height:54px; place-items:center; background:var(--soft); color:var(--navy); border-radius:50%; margin-bottom:24px; }
.feedback-success h2 { margin-bottom:14px; }
.feedback-success p { color:#605f6b; }
.feedback-finish { margin-top:28px; }
@media (max-width:600px) {
  .feedback-drawer { --edge:7px; border-radius:20px; }
  .feedback-panel { --pad:20px; }
  .feedback-page { padding:8px; }
  .feedback-top { padding-block:13px; }
  .feedback-top img { width:110px; }
  .feedback-entry { padding-top:22px; }
  .feedback-entry h1,.feedback-success h2 { font-size:1.85rem; margin-bottom:22px; }
  .feedback-panel .feedback-form { gap:15px; }
}
@media (max-width:420px) {
  .feedback-row { grid-template-columns:1fr; gap:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .feedback-drawer[open],.feedback-drawer::backdrop { animation:none; }
}
