/* CÉZAR: kontrolní vstup a odeslání vedle sebe, 21. 10. 2026. */
/* Height stays overridable by the inline size created by native resizing. */
html:root body form :is(textarea,#Zprava):not([readonly]):not([disabled]) {
  height:79.5px;
  min-height:79.5px!important;
  max-height:none!important;
  field-sizing:fixed!important;
  resize:vertical!important;
}
html:root body form .cezar-check-submit-row {
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px 20px!important;
  grid-column:1/-1!important;
  width:100%;
  min-width:0;
}
html:root body form .cezar-check-submit-row>label {
  flex:0 1 230px;
  width:230px!important;
  min-width:0!important;
  max-width:40%!important;
  margin:0!important;
}
html:root body form .cezar-check-submit-row>label input { width:100%!important; }
/* The form keeps its entrance; the two controls stay aligned during it. */
html:root body form .cezar-check-submit-row>label,
html:root body form .cezar-check-submit-row>button,
html:root body form .cezar-check-submit-row>input[type="submit"] {
  transform:none!important;
  translate:none!important;
  scale:none!important;
  animation:none!important;
  opacity:1!important;
}
html:root body form .cezar-check-submit-row>button,
html:root body form .cezar-check-submit-row>input[type="submit"] {
  flex:0 1 auto;
  width:auto!important;
  min-width:0!important;
  max-width:calc(60% - 20px)!important;
  margin:0 0 0 auto!important;
  align-self:flex-end!important;
  white-space:normal!important;
  text-align:center;
}
html:root body form :is(.inquiry-submit-row,.order-submit-row,.contact-submit-row) {
  border-top:0!important;
  padding-top:0!important;
}
html:root body form :is(.inquiry-submit-row,.order-submit-row,.contact-submit-row):has(>.cezar-check-submit-row) {
  display:block!important;
}
html:root body form :is(.inquiry-submit-row,.order-submit-row,.contact-submit-row):not(:has(*)) {
  display:none!important;
}
html:root body form .cezar-required-note { display:none!important; }
html:root body form .cezar-submit-notes:empty { display:none!important; }
@media(max-width:680px) {
  html:root body form .cezar-check-submit-row { gap:12px!important; }
  html:root body form .cezar-check-submit-row>label {
    flex-basis:110px;
    max-width:40%!important;
  }
  html:root body form .cezar-check-submit-row>button,
  html:root body form .cezar-check-submit-row>input[type="submit"] {
    max-width:calc(60% - 12px)!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
}
