/* Round 12: the Owners page estimate form uses the pop-up's fields (mock/r12-modals/_build.mjs): same label, control, chevron and unit suffix.
   The html.r8.df prefix and !important outrank r7.css, which forces .formcard label colours with !important. */
html.r8.df .gest .formcard .pf-f { display:flex; flex-direction:column; gap:8px; min-width:0; }
html.r8.df .gest .formcard .pf-f > label { font:600 .875rem/1.3 var(--sans); color:var(--n25) !important; }
html.r8.df .gest .formcard .pf-f > label i { font-style:normal; font-weight:400; color:var(--n400) !important; }
.pf-ctl { display:block; width:100%; height:48px; margin:0; padding:0 14px; border:1px solid var(--n500); border-radius:8px; background:rgb(9 15 21/.55); color:var(--n25); font:400 1rem/1 var(--sans); -webkit-appearance:none; appearance:none; }
.pf-ctl::placeholder { color:var(--n400); }
select.pf-ctl { padding-right:38px; text-overflow:ellipsis; background:rgb(9 15 21/.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b3b8be' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
select.pf-ctl.pf-ph { color:var(--n300); }
.pf-sfx { position:relative; }
.pf-sfx .pf-ctl { padding-right:64px; }
.pf-sfx span { position:absolute; right:14px; top:50%; transform:translateY(-50%); font:400 .8125rem/1 var(--mono); color:var(--n300); pointer-events:none; }
.pf-pair { display:grid; grid-template-columns:minmax(0,1fr) 112px; gap:8px; }
.pf-ctl:focus-visible { outline:2px solid var(--b200); outline-offset:2px; }
/* The estimate panel without its own title block: fields start at the panel's top, rows a little tighter, so the
   panel fits a 1440 x 900 window with room below. The #estimate anchor is a zero-height mark at the top of the
   section's content (level with the panel on laptops, with the words on phone, where the panel is hidden). */
html.r8.df .formcard .grid2 { margin-top:0; row-gap:10px; }
html.r8.df .formcard .btn { margin-top:16px; }
.est-anchor { display:block; height:0; }
/* Windows 821 px and taller: the estimate section fills the window, its top landing flush with the window top (the
   mark sits level with the panel, 121 px into the section; 120 lands the section's top edge just above the window, so no sub-pixel of the section above shows) and its height a full window, so no light section shows
   above or below. Shorter windows land the panel's top 24 px under the window top. */
#estimate.est-anchor { scroll-margin-top:120px; }
@media (min-width:761px){ .section.gest:has(> #estimate) { min-height:calc(100svh / var(--s, 1) + 2px); border-top-color:var(--n950); } }
@media (min-width:761px) and (max-height:820px){
  #estimate.est-anchor { scroll-margin-top:24px; }
  .section.gest:has(> #estimate) { min-height:calc(100svh / var(--s, 1) + 97px); }
}
/* On phone the estimate button opens the sheet rather than scrolling, so its down arrow goes. */
@media (max-width:760px){ .arr-dn { display:none; } }
