/* Lifted 1:1 from Formularz zwrotu Bejesa.dc.html <helmet>.
   The prototype's Google Fonts <link> (Cormorant Garamond + Nunito Sans) is dropped: CSP allows only 'self' fonts
   and the two families are not vendored yet, so the stacks fall back to Georgia / system sans. */
html,body{margin:0;min-height:100%;background:#F7F1EB}
body{color:#2B2320;font-family:'Nunito Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:24px;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
button,input,textarea,select{font-family:inherit;font-size:15px;color:inherit;margin:0}
a{color:#8A2E3F;text-decoration:underline;text-underline-offset:3px}
a:hover{color:#5E1A28}

/* Phone widths (not in the prototype, which is drawn at 960 px): one column, aside under the form. */
@media (max-width: 760px) {
  .rf-main{grid-template-columns:minmax(0,1fr) !important;gap:24px !important;padding:24px 16px 48px !important}
  .rf-aside{position:static !important}
  .rf-line{grid-template-columns:22px 56px minmax(0,1fr) !important;gap:12px !important;padding:14px 16px !important}
  .rf-line > span:nth-child(2){width:56px !important;height:56px !important}
  .rf-line > span:nth-child(4){grid-column:3 !important}
  .rf-sum{grid-template-columns:minmax(0,1fr) !important;gap:4px !important}
  .rf-sum > span:nth-child(odd){margin-top:8px}
  h1{font-size:32px !important;line-height:38px !important}
}
/* Printing the instructions (step 4): only the confirmation card. */
@media print{.rf-aside,.rf-noprint,header,footer{display:none !important}}
