/* Append after faq-form-polish and existing common/layout CSS.
   Figma About form observed read-only: left heading; consent beside right submit;
   light translucent pill with cyan arrow disk. No form/quiz JS changes. */
body :is(.sf2-form-box,.sf2Win) :is(.sf2-body>.row,.sf2-body>.container>.row)>div.col-lg-6:first-child{
  justify-content:center!important;
  align-items:flex-start!important;
  text-align:left!important;
  gap:28px;
}
body :is(.sf2-form-box,.sf2Win) :is(.sf2-body>.row,.sf2-body>.container>.row)>div.col-lg-6:first-child>.page-header{
  width:100%;max-width:430px;margin:0;text-align:left!important;
  font-size:clamp(40px,4vw,64px);line-height:1.04;text-transform:none;
  letter-spacing:-.02em;hyphens:none;overflow-wrap:break-word;
}
body :is(.sf2-form-box,.sf2Win) :is(.sf2-body>.row,.sf2-body>.container>.row)>div.col-lg-6:first-child>.page-header>span{
  display:block;color:inherit;
}
body :is(.sf2-form-box,.sf2Win) :is(.sf2-body>.row,.sf2-body>.container>.row)>div.col-lg-6:first-child>.page-header>span+span::before{content:none}
body :is(.sf2-form-box,.sf2Win) :is(.sf2-body>.row,.sf2-body>.container>.row)>div.col-lg-6:first-child>.description{
  width:100%;max-width:440px;margin:0;text-align:left!important;font-size:18px;line-height:1.6;
}
/* This row was forced to two full-width items by layout-repair.css.
   Restore the native consent/submit relationship only when both exist. */
body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group .sf2-checkbox-label):has(>.sf2-form-group button[type="submit"]){
  display:flex;align-items:center!important;flex-wrap:nowrap;column-gap:20px;row-gap:20px;margin-inline:0;
}
body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group button[type="submit"])>.sf2-form-group:has(.sf2-checkbox-label){
  flex:1 1 0;max-width:none;width:auto;min-width:0;margin:0;padding:0;
}
body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group .sf2-checkbox-label)>.sf2-form-group:has(button[type="submit"]){
  display:flex;justify-content:flex-end;flex:0 0 192px;max-width:192px;width:192px;margin:0;padding:0;
}
body :is(.sf2-form-box,.sf2Win) .sf2-body .sf2-checkbox-label{margin:0;font-size:13px;line-height:1.5}
body :is(.sf2-form-box,.sf2Win) .sf2-body .sf2-checkbox-label>span{line-height:1.5}
body :is(.sf2-form-box,.sf2Win) .sf2-body .sf2-form-group :is(input[type="text"],input[type="tel"],input[type="email"],textarea).sf2-element{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.3);border-radius:10px;
  color:#fff;font-size:18px;padding:18px 22px;box-shadow:none;
}
body :is(.sf2-form-box,.sf2Win) .sf2-body .sf2-form-group :is(input[type="text"],input[type="tel"],input[type="email"]).sf2-element{height:64px;line-height:normal}
body :is(.sf2-form-box,.sf2Win) .sf2-body .sf2-form-group textarea.sf2-element{height:120px;min-height:120px;line-height:1.5;resize:vertical}
body :is(.sf2-form-box,.sf2Win) .sf2-body button.sf2-element[type="submit"]{
  display:inline-flex;align-items:center;justify-content:space-between;gap:12px;
  width:192px;max-width:100%;height:56px;min-height:56px;margin:0;padding:3px 3px 3px 26px;
  background:rgba(255,255,255,.24)!important;background-image:none!important;
  border:1px solid rgba(255,255,255,.12);border-radius:32px;box-shadow:none;
  color:#fff!important;font-size:16px;font-weight:600;line-height:1.2;text-transform:none;
  white-space:nowrap;transform:none;
}
body :is(.sf2-form-box,.sf2Win) .sf2-body button.sf2-element[type="submit"]::after{
  content:"›";display:flex;align-items:center;justify-content:center;flex:0 0 48px;
  width:48px;height:48px;margin:0;border:0;border-radius:50%;
  background:linear-gradient(140deg,#8be3ff,#3bb7e8);color:#fff;
  font-family:Arial,sans-serif;font-size:34px;font-weight:400;line-height:1;
  transform:none;filter:none;box-shadow:none;
}
body :is(.sf2-form-box,.sf2Win) .sf2-body button.sf2-element[type="submit"]:hover{background:rgba(255,255,255,.32)!important}
body :is(.sf2-form-box,.sf2Win) .sf2-body button.sf2-element[type="submit"]:focus-visible{outline:2px solid #8bdfff;outline-offset:4px}
/* Temporary visual counterpart of the guarded native simpleCode removal.
   Never select the consent label/link, only the independent redundant paragraph. */
body :is(.sf2-form-box,.sf2Win) .sf2-body p.teplo-privacy-policy{display:none}
@media(max-width:1199.98px) and (min-width:992px){
  body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group .sf2-checkbox-label):has(>.sf2-form-group button[type="submit"]){flex-wrap:wrap}
  body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group button[type="submit"])>.sf2-form-group:has(.sf2-checkbox-label){flex-basis:100%}
  body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group .sf2-checkbox-label)>.sf2-form-group:has(button[type="submit"]){margin-left:auto}
}
@media(max-width:575.98px){
  body :is(.sf2-form-box,.sf2Win) .sf2-body .sf2-form-group :is(input[type="text"],input[type="tel"],input[type="email"],textarea).sf2-element{font-size:16px;padding:16px}
  body :is(.sf2-form-box,.sf2Win) .sf2-body .sf2-form-group :is(input[type="text"],input[type="tel"],input[type="email"]).sf2-element{height:56px}
  body :is(.sf2-form-box,.sf2Win) :is(.sf2-body>.row,.sf2-body>.container>.row)>div.col-lg-6:first-child>.page-header{font-size:36px;line-height:1.1;letter-spacing:normal}
  body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group .sf2-checkbox-label):has(>.sf2-form-group button[type="submit"]){flex-wrap:wrap}
  body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group button[type="submit"])>.sf2-form-group:has(.sf2-checkbox-label){flex-basis:100%}
  body :is(.sf2-form-box,.sf2Win) .sf2-body .row.align-items-center:has(>.sf2-form-group .sf2-checkbox-label)>.sf2-form-group:has(button[type="submit"]){margin-left:auto}
}
