/* The portal's cream paper and pixel edges also frame input feedback. */
body.milk-app .form-guard-note {
  display: block; flex-basis: 100%; min-width: 0; max-width: 100%;
  margin: 4px 0 0; padding: 7px 9px; border: 1px solid #d7aa98;
  border-left: 3px solid #a94e35; border-radius: 3px;
  background: #fff2eb; color: #793321; font-size: var(--ui-type-meta); font-weight: 600;
  line-height: 1.45; white-space: normal; overflow-wrap: anywhere;
}
body.milk-app .form-guard-note.form-guard-warning {
  border-color: #d8c196; border-left-color: #af792d;
  background: #fff4db; color: #644a20;
}
body.milk-app :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea).form-guard-invalid {border-color: #a94e35; box-shadow: inset 0 0 0 1px #a94e35;}
body.milk-app .form-guard-summary {
  grid-column: 1 / -1; flex-basis: 100%; min-width: 0; margin: 0 0 14px;
  padding: 12px 14px; border: 1px solid #d7aa98; border-left: 4px solid #a94e35;
  border-radius: 5px; background: #fff2eb; color: #793321;
  font-size: 13px; line-height: 1.5; box-shadow: 2px 2px 0 #ead7c5;
}
body.milk-app .form-guard-summary ul {margin: 5px 0 0; padding-left: 18px;}
body.milk-app .form-guard-summary .form-guard-link {
  display: inline; min-height: 0; min-width: 0; max-width: 100%; padding: 2px 0;
  border: 0; border-radius: 0; background: transparent; color: inherit; box-shadow: none;
  font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px;
  white-space: normal; overflow-wrap: anywhere; cursor: pointer;
}
body.milk-app .butter-quantity:has(> .form-guard-note:not([hidden])) {flex-wrap: wrap;}
body.milk-app :is(.form-guard-note,.form-guard-summary)[hidden] {display: none;}
@media print {body.milk-app :is(.form-guard-note,.form-guard-summary) {display: none;}}
