/* Canterivo 1.8.4: wspólny, czytelny wygląd formularzy panelu. */
:where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form)
  label:not(.check-line):not(.check-label):not(.subscription-plan-option):not(.subscription-period-option) {
  display: grid;
  gap: .5rem;
  min-width: 0;
  color: #31483f;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}

:where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form)
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 3.125rem;
  padding: .72rem .85rem;
  color: var(--ink, #15211d);
  background: #fff;
  border: 1px solid #aebdb6;
  border-radius: .75rem;
  box-shadow: 0 1px 0 rgba(22, 72, 61, .04);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

:where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form)
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea):hover {
  border-color: #829a90;
}

:where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form)
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea):focus-visible {
  outline: 3px solid rgba(227, 173, 67, .4);
  outline-offset: 2px;
  border-color: #8a651b;
  box-shadow: 0 0 0 1px rgba(138, 101, 27, .12);
}

:where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form)
  :is(input, textarea)::placeholder {
  color: #778982;
  opacity: 1;
}

:where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form) textarea {
  min-height: 7.5rem;
  line-height: 1.5;
  resize: vertical;
}

:where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form)
  input[type="file"] {
  padding: .45rem;
}

:where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form)
  input[type="file"]::file-selector-button {
  min-height: 2.25rem;
  margin-right: .7rem;
  padding: 0 .8rem;
  color: var(--forest, #16483d);
  background: #eef4f0;
  border: 1px solid #b7c8c0;
  border-radius: .55rem;
  font-weight: 800;
  cursor: pointer;
}

.stage7-form {
  width: 100%;
  max-width: none;
  gap: 1.15rem;
}

.stage7-form .form-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.stage7-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 1.05rem;
  background: #fbfaf5;
  border: 1px solid #cfdad5;
  border-radius: .9rem;
}

.stage7-form legend {
  padding: 0 .35rem;
  color: #263d36;
  font-weight: 850;
}

.stage7-form .field-help {
  margin: .2rem 0 .85rem;
  color: var(--muted, #60716a);
  font-size: .78rem;
  line-height: 1.45;
}

.stage7-check-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: .55rem;
}

.stage7-check-grid .check-line {
  min-height: 3rem;
  padding: .65rem .75rem;
  align-items: center;
  color: #20362f;
  background: #fff;
  border: 1px solid #d2dcd7;
  border-radius: .7rem;
  cursor: pointer;
}

.stage7-check-grid .check-line:hover {
  border-color: #8da399;
  background: #f7faf8;
}

.stage7-check-grid .check-line:has(input:checked) {
  color: #123e33;
  background: #e8f2ed;
  border-color: #7fa491;
}

.stage7-form :is(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--forest, #16483d);
}

.stage7-form > .button[type="submit"] {
  width: 100%;
  min-height: 3.125rem;
}

.platform-required-plan {
  margin-top: .35rem !important;
  color: #315f51 !important;
  font-weight: 800;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .stage7-form .form-columns {
    grid-template-columns: 1fr;
  }

  .stage7-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .stage7-check-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.stage7-form, .feedback-compose form, .ad-admin-form, .logo-settings, .dialog form) * {
    transition-duration: .01ms !important;
  }
}

.app-privacy-controls{padding:12px;text-align:center}.app-privacy-controls button:focus-visible{outline:3px solid #b98b25;outline-offset:3px}
