:root { --modal-rail-background: #262e3b; --nm-viewport-width: 100vw; --nm-viewport-height: 100dvh; --nm-viewport-top: 0px; --nm-viewport-left: 0px; --nm-layout-height: 100dvh; }
.feedback-modal {
  --feedback-border-size: 0px;
  container: feedback-dialog / inline-size;
  --feedback-rail-background: var(--modal-rail-background);
  --feedback-rail-width: var(--icon-rail-width);
  position: fixed;
  inset: 0;
  width: 543px;
  max-width: calc(var(--nm-viewport-width) - 32px);
  max-height: calc(var(--nm-viewport-height) - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  color: #666;
  background: #fff;
  box-shadow: 8px 10px 14px rgba(0,0,0,.42), 18px 24px 44px rgba(0,0,0,.48);
  font-family: "Open Sans", ui-sans-serif, sans-serif;
}
.feedback-modal:not([open]) { display: none; }
.feedback-modal::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(8px); }
.feedback-modal__surface { display: flex; min-width: 0; max-height: calc(var(--nm-viewport-height) - 32px - var(--feedback-border-size)); }
.feedback-modal__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: 1; background: #fff; }
.feedback-modal__header { display: flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; min-height: 64px; padding: 18px 26px; }
.feedback-modal__title { position: relative; top: 4px; display: none; margin: 0; color: #223955; font-size: 23px; font-weight: 400; line-height: 28px; }
.feedback-modal__divider { flex: 0 0 2px; height: 2px; background: linear-gradient(90deg, #ff825d, #cf62d8, #4ec8f4); }
.feedback-modal__body { display: flex; flex: 1 1 auto; min-height: 0; height: 259px; overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: center; justify-content: safe center; padding: 32px 40px; text-align: center; }
.feedback-modal__emblem { --feedback-emblem-size: 78px; --feedback-emblem-margin: 4px; position: relative; isolation: isolate; display: block; width: var(--feedback-emblem-size); height: var(--feedback-emblem-size); flex: 0 0 var(--feedback-emblem-size); }
.feedback-modal__emblem::before { content: ""; position: absolute; inset: calc(-1 * var(--feedback-emblem-margin)); z-index: -1; border-radius: 50%; background: #fff; pointer-events: none; }
.feedback-modal__emblem img { display: block; width: 100%; height: 100%; object-fit: contain; }
.feedback-modal__message { margin: 24px 0 0; color: #666; font-size: 16px; line-height: 24px; white-space: pre-line; overflow-wrap: anywhere; }
.feedback-modal[data-message-align="left"] .feedback-modal__message { text-align: left; }
.feedback-modal__rail { display: none; flex: 0 0 var(--feedback-rail-width); flex-direction: column; align-items: center; gap: 10px; min-height: 0; overflow-y: auto; padding: 20px 0; background: var(--feedback-rail-background); }
.feedback-modal[data-interactive="true"] {
  --feedback-border-size: 4px;
  width: 578px;
  box-sizing: border-box;
  border: 2px solid rgba(255,255,255,.22);
  color: #fff;
  background: var(--panel-acrylic-background, linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.035)), rgba(25,22,38,.78));
  box-shadow: 10px 12px 22px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.16);
  -webkit-backdrop-filter: var(--panel-acrylic-filter, blur(18px));
  backdrop-filter: var(--panel-acrylic-filter, blur(18px));
  color-scheme: dark;
}
.feedback-modal[data-interactive="true"] .feedback-modal__main { background: transparent; }
.feedback-modal[data-interactive="true"] .feedback-modal__title { color: #fff; }
.feedback-modal[data-interactive="true"] .feedback-modal__message { color: rgba(255,255,255,.78); }
.feedback-modal[data-interactive="true"] .feedback-modal__header { justify-content: flex-start; padding: 18px 34px; }
.feedback-modal[data-interactive="true"] .feedback-modal__title { display: block; }
.feedback-modal[data-interactive="true"] .feedback-modal__close { display: none; }
.feedback-modal[data-interactive="true"] .feedback-modal__body { height: 310px; padding: 36px 32px; }
.feedback-modal[data-interactive="true"] .feedback-modal__rail { display: flex; }
.feedback-modal[data-interactive="true"] .feedback-modal__message { font-size: 15px; line-height: 21px; }
p[id$="Status"]:empty { display: none; }
.feedback-busy__spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: feedback-busy-spin .8s linear infinite; }
.feedback-busy__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes feedback-busy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
}
@media (max-width: 560px) {
  .feedback-modal__body { padding-inline: 24px; }
  .feedback-modal[data-interactive="true"] .feedback-modal__header { padding-inline: 22px; }
  .feedback-modal[data-interactive="true"] .feedback-modal__body { padding-inline: 20px; }
}

.feedback-modal__title { min-width: 0; max-height: var(--nm-feedback-title-limit, max(28px, calc(100dvh - 180px))); overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }

@media (max-width: 768px) {
  :is(body, .help-shell, .account-field, .profile-form__field, .gantt-calendar-modal__editor, .audit-log__filters) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]), select, textarea, [contenteditable="true"]):not(.map-canvas *):not(.gantt-workspace__viewport *) { font-size: 16px !important; line-height: 22px !important; }
}

@container feedback-dialog (max-width: 260px) {
  .feedback-modal__main { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .feedback-modal__body { height: auto; min-height: 259px; overflow: visible; }
  .feedback-modal[data-interactive="true"] .feedback-modal__body { height: auto; min-height: 310px; }
  .feedback-modal .feedback-modal__emblem { --feedback-emblem-size: min(78px, max(24px, calc(var(--nm-viewport-width) - 114px))); }
  .feedback-modal[data-interactive="true"] .feedback-modal__header { padding-inline: 12px; }
  .feedback-modal[data-interactive="true"] .feedback-modal__body { padding-inline: 8px; }
}
