/* Nova Stones quote flow. Metrics measured on novastones.com, 2026-10-16.
   V6: Explicit viewport geometry and isolated document scroll locking.
   Retains V5 branded controls and compact, content-sized steps. */
/* The mount never creates a painted block or extra page height below the footer. */
#ns-material-quote-root { display:contents; }
/* Keep page dimensions intact; only the form's own content may scroll. */
html.nsq-page-lock,body.nsq-page-lock { overflow:hidden!important; overscroll-behavior:none!important; scroll-behavior:auto!important; }
dialog.nsq { position:fixed; inset:0; }
dialog.nsq:not([open]) { display:none!important; }
dialog.nsq[open] { display:block; }
.nsq { --nsq-bg:#fff; --nsq-fg:#111; --nsq-border:rgba(17,17,17,.18); --nsq-height:calc(100dvh - 56px); color-scheme:light;
  --nsq-action-bg:#000; --nsq-action-fg:#fff; --nsq-back-bg:#f6f6f4; --nsq-back-border:#f6f6f4;
  font-family:"Futura PT",Futura,"Avenir Next",Avenir,Montserrat,Arial,sans-serif;
  color:var(--nsq-fg); background:var(--nsq-bg); font-size:14px; line-height:1.45; letter-spacing:.1px;
  box-sizing:border-box; border:1px solid transparent; border-radius:0; padding:0; margin:auto;
  width:520px; max-width:calc(100vw - 32px); height:fit-content; min-height:0; max-height:var(--nsq-height); overflow:hidden;
  box-shadow:0 18px 42px rgba(0,0,0,.10),0 38px 90px rgba(0,0,0,.08); }
.nsq[data-theme="dark"] { --nsq-bg:#000; --nsq-fg:#fff; --nsq-border:#fff; --nsq-action-bg:#fff; --nsq-action-fg:#000; --nsq-back-bg:#000; --nsq-back-border:#fff; color-scheme:dark; border-color:#fff; }
.nsq::backdrop { position:fixed; inset:0; background:rgba(0,0,0,.46); backdrop-filter:none; }
.nsq *, .nsq *::before, .nsq *::after { box-sizing:border-box; }
.nsq [hidden] { display:none!important; }
.nsq :where(button,input,select,textarea) { font:inherit; letter-spacing:inherit; color:inherit; }
.nsq button { cursor:pointer; }
.nsq button:disabled { cursor:wait; }
.nsq button:focus-visible { outline:1px solid currentColor; outline-offset:3px; }
.nsq h2,.nsq h3,.nsq p,.nsq figure { margin:0; }
.nsq h2[tabindex="-1"]:focus,.nsq-success:focus { outline:none; }
.nsq-shell { display:flex; flex-direction:column; height:auto; min-height:0; max-height:calc(var(--nsq-height) - 2px); overscroll-behavior:contain; }
.nsq-header { position:relative; display:flex; align-items:center; justify-content:center; min-height:74px; padding:0 56px; border-bottom:1px solid var(--nsq-border); flex-shrink:0; }
.nsq-dialog-title { font-size:14px; font-weight:500; line-height:20px; letter-spacing:.875px; text-transform:uppercase; text-align:center; }
.nsq-eyebrow,.nsq-step,.nsq-action { font-size:12px; font-weight:500; line-height:1.15; letter-spacing:.75px; text-transform:uppercase; }
.nsq-close { position:absolute; right:22px; top:50%; transform:translateY(-50%); border:0; padding:0; background:transparent; width:38px; height:38px; display:flex; align-items:center; justify-content:center; color:inherit; }
.nsq-close img { display:block; width:13px; height:13px; filter:none; opacity:1; }
.nsq-close .nsq-close-dark,.nsq[data-theme="dark"] .nsq-close-light { display:none; }
.nsq[data-theme="dark"] .nsq-close-dark { display:block; }
.nsq-layout { display:flex; min-height:0; padding:28px 40px 28px; flex:1 1 auto; }
.nsq-form { min-height:0; min-width:0; width:100%; display:flex; flex-direction:column; }
.nsq-steps { display:grid; grid-template-columns:.7fr 1.2fr 1.2fr; gap:14px; padding:0 0 24px; flex-shrink:0; }
.nsq-step { background:transparent; border:0; padding:0 0 12px; text-align:left; position:relative; min-height:40px; color:var(--nsq-fg); font-size:11px; letter-spacing:.6875px; line-height:1.45; }
.nsq-step::after { position:absolute; content:""; height:1px; width:100%; background:transparent; bottom:0; left:0; }
.nsq-step[aria-current="step"]::after { background:currentColor; }
.nsq-step:hover::after,.nsq-step:focus-visible::after { background:currentColor; }
.nsq button.nsq-step:focus-visible { outline:none; }
.nsq-step span { display:block; margin-top:6px; }
.nsq-scroll { overflow:auto; overscroll-behavior:contain; min-height:0; flex:0 1 auto; padding:0 6px 0 0; scrollbar-width:thin; scrollbar-color:var(--nsq-fg) var(--nsq-bg); scroll-padding-top:14px; }
.nsq-title { font-size:12px; line-height:13.8px; font-weight:500; letter-spacing:.75px; text-transform:uppercase; margin-bottom:18px!important; }
.nsq-intro { margin-bottom:24px!important; font-weight:300; }
.nsq-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 24px; }
.nsq-wide { grid-column:1/-1; }
.nsq-field { position:relative; min-width:0; }
.nsq-field>label { display:block; font-size:14px; line-height:20.3px; font-weight:300; color:var(--nsq-fg); margin-bottom:4px; }
.nsq-field input:not([type="file"]),.nsq-field textarea,.nsq-field select,.nsq-select-trigger { width:100%; display:block; min-width:0; height:38px; border:0; border-bottom:1px solid currentColor; border-radius:0; padding:6px 0 10px; background:transparent; font-size:14px; line-height:18px; font-weight:300; outline:none; box-shadow:none; appearance:none; }
.nsq-field { min-height:56px; }
.nsq-field textarea { resize:vertical; min-height:84px; height:84px; }
.nsq-field input:focus,.nsq-field textarea:focus,.nsq-field select:focus,.nsq-select-trigger:focus { border-bottom-width:1px; outline:none; box-shadow:none; }
.nsq-field input:-webkit-autofill { -webkit-text-fill-color:var(--nsq-fg); -webkit-box-shadow:0 0 0 1000px var(--nsq-bg) inset; caret-color:var(--nsq-fg); }
.nsq-field small { display:block; margin-top:8px; font-size:14px; line-height:18px; font-weight:300; }
.nsq-error { display:block; margin-top:8px; font-weight:400; font-size:14px; line-height:18px; }
.nsq-error:empty { display:none; }
.nsq-error:not(:empty)::before { content:"! "; font-weight:500; }
.nsq-select-trigger { text-align:left; cursor:pointer; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.nsq-select-trigger::after { content:none; }
.nsq-menu { position:fixed; margin:0; z-index:5; padding:4px 0; max-height:240px; overflow:auto; border:1px solid rgba(255,255,255,.08); border-top-color:rgba(255,255,255,.14); border-radius:0;
  background:linear-gradient(rgba(255,255,255,.1) 0%,rgba(255,255,255,.05) 16%,rgba(255,255,255,.02) 34%,transparent 52%),linear-gradient(rgba(255,255,255,.02),transparent),rgba(10,10,10,.65);
  backdrop-filter:blur(16px) saturate(145%); color:#fff; box-shadow:none; }
.nsq-option { width:100%; display:block; border:0; background:transparent; color:#fff; text-align:left; padding:9px 18px; font-size:14px; font-weight:400; line-height:1.15; letter-spacing:.1px; transition:background-color .18s ease,color .18s ease; }
.nsq .nsq-option:hover,.nsq .nsq-option:focus { background:rgba(255,255,255,.045); color:#fff; outline:none; text-decoration:none; }
.nsq .nsq-option[aria-selected="true"] { background:rgba(255,255,255,.035); color:#fff; }
/* Existing high-contrast Contact Form treatment: white selection, black text. */
.nsq[data-theme="dark"] .nsq-menu { background:#000; border-color:#fff; backdrop-filter:none; }
.nsq[data-theme="dark"] .nsq-option:is(:hover,:focus,[aria-selected="true"]) { background:#fff; color:#000; -webkit-text-fill-color:#000; }
.nsq-text-button { border:0; background:none; padding:4px 0; text-decoration:underline; text-underline-offset:4px; color:var(--nsq-fg); }
.nsq-footer { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:24px; padding:0; background:var(--nsq-bg); flex-shrink:0; }
.nsq-footer [data-back] { min-height:52px; border:1px solid var(--nsq-back-border); background:var(--nsq-back-bg); color:var(--nsq-fg); border-radius:0; padding:12px 8px; font-size:11px; font-weight:500; line-height:1.15; letter-spacing:.6875px; text-transform:uppercase; text-decoration:none; }
.nsq-next { min-width:0; min-height:52px; border:1px solid var(--nsq-action-bg); border-radius:0; background:var(--nsq-action-bg); color:var(--nsq-action-fg); padding:12px 8px; font-size:11px; line-height:1.15; letter-spacing:.6875px; font-weight:500; text-transform:uppercase; }
.nsq-footer button { transition:background-color .6s cubic-bezier(.22,1,.36,1),color .6s cubic-bezier(.22,1,.36,1),border-color .6s cubic-bezier(.22,1,.36,1); }
.nsq-footer [data-back]:not(:disabled):is(:hover,:focus-visible) { background:var(--nsq-action-bg); color:var(--nsq-action-fg); border-color:var(--nsq-action-bg); text-decoration:none; outline:none; }
.nsq-footer .nsq-next:not(:disabled):is(:hover,:focus-visible) { background:var(--nsq-action-fg); color:var(--nsq-action-bg); border-color:var(--nsq-action-bg); text-decoration:none; outline:none; }
.nsq-footer button:not(:disabled):active { transform:translateY(1px) scale(.995); transition-duration:.08s; }
.nsq-summary { margin-top:24px; }
.nsq-summary h3 { font-size:12px; font-weight:500; line-height:1.15; letter-spacing:.75px; text-transform:uppercase; }
.nsq-summary-head { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.nsq-summary dl { display:grid; grid-template-columns:80px minmax(0,1fr); gap:6px 16px; margin:10px 0 0; }
.nsq-summary dt { font-weight:300; }
.nsq-summary dd { margin:0; overflow-wrap:anywhere; }
.nsq-explanation { font-weight:300; margin-top:20px!important; }
.nsq-global-error { padding:0 0 16px; }
.nsq-status:not(:empty) { margin-top:24px; }
.nsq-success { padding:36px 0; }
.nsq-success .nsq-title { margin:16px 0!important; }
.nsq-hp { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
/* Same narrow-panel behavior as Filters; compact only when the viewport needs it. */
@media(max-width:600px) {
  .nsq { --nsq-height:calc(100dvh - 32px); }
  .nsq-layout { padding:26px 24px 28px; }
  .nsq-header { min-height:66px; }
  .nsq-close { right:10px; }
  .nsq-steps { gap:10px; padding-bottom:24px; }
  .nsq-grid { gap:20px 18px; }
  .nsq-option { min-height:44px; display:flex; align-items:center; }
  .nsq-field input:not([type="file"]),.nsq-field textarea,.nsq-select-trigger,.nsq-field select { font-size:16px; }
}
@media(max-width:370px) {
  .nsq { max-width:calc(100vw - 16px); --nsq-height:calc(100dvh - 16px); }
  .nsq-layout { padding-left:18px; padding-right:18px; }
  .nsq-grid { grid-template-columns:1fr; }
  .nsq-summary dl { grid-template-columns:80px minmax(0,1fr); }
}
@media(max-width:460px) {
  .nsq-contact-grid [data-field="email"],.nsq-contact-grid [data-field="phone"] { grid-column:1/-1; }
}
@media(max-height:650px) {
  .nsq-layout { padding-top:20px; padding-bottom:20px; }
  .nsq-header { min-height:60px; }
  .nsq-steps { padding-bottom:18px; }
  .nsq-footer { margin-top:20px; }
}
@media(max-height:420px) {
  .nsq-shell { overflow:auto; }
  .nsq-layout,.nsq-scroll { overflow:visible; flex-shrink:0; }
}
/* NS_MATERIAL_QUOTE_LOCALE_MOTION_V1
   Match the footer locale modal: 2s slide / .22,1,.36,1;
   600ms outer fade and 1s content fade. Keep the existing quote geometry. */
dialog.nsq[data-nsq-motion] {
  animation:none;
  opacity:0;
  transform:translate3d(calc(50vw + 50% + 40px),0,0);
  transition:transform 2s cubic-bezier(.22,1,.36,1),opacity .6s ease;
  will-change:transform,opacity;
}
dialog.nsq[data-nsq-motion] > .nsq-shell {
  opacity:0;
  transition:opacity 1s ease;
}
dialog.nsq[data-nsq-motion]::backdrop {
  opacity:0;
  transition:opacity .6s ease;
}
dialog.nsq:is([data-nsq-motion="opening"],[data-nsq-motion="open"]) {
  opacity:1;
  transform:translate3d(0,0,0);
}
dialog.nsq:is([data-nsq-motion="opening"],[data-nsq-motion="open"]) > .nsq-shell,
dialog.nsq:is([data-nsq-motion="opening"],[data-nsq-motion="open"])::backdrop {
  opacity:1;
}
/* Remove the transform once settled: fixed dropdowns retain viewport coordinates. */
dialog.nsq[data-nsq-motion="open"] {
  transform:none;
  transition:none;
  will-change:auto;
}
dialog.nsq[data-nsq-motion="starting"],
dialog.nsq[data-nsq-motion="starting"] > .nsq-shell,
dialog.nsq[data-nsq-motion="starting"]::backdrop { transition:none; }
@media (min-width:768px) and (max-width:1201px) {
  dialog.nsq:is([data-nsq-motion="starting"],[data-nsq-motion="closing"]) {
    transform:translate3d(0,calc(50vh + 50% + 40px),0);
  }
}
@media (max-width:767px) {
  dialog.nsq:is([data-nsq-motion="starting"],[data-nsq-motion="closing"]) {
    transform:translate3d(0,calc(50vh + 50% + 120px),0);
  }
}
@media (prefers-reduced-motion:reduce) {
  dialog.nsq[data-nsq-motion],
  dialog.nsq[data-nsq-motion] > .nsq-shell,
  dialog.nsq[data-nsq-motion]::backdrop {
    transition:none;
    transform:none;
    will-change:auto;
  }
}
@media(prefers-reduced-motion:reduce) { .nsq-footer button,.nsq-option { transition:none; } .nsq-footer button:not(:disabled):active { transform:none; } }


.nsq button.nsq-select-trigger:focus-visible { outline:none; box-shadow:none; }

/* NS_MATERIAL_QUOTE_AUTH_FIELDS_V1
   Login/register reference: 56px controls, 14px -> 12px labels,
   bottom 8px -> 34px over 260ms ease; one 1px underline throughout. */
.nsq .nsq-field-control {
  position:relative; min-width:0; height:56px;
  border:0; outline:none; box-shadow:none;
}
.nsq .nsq-field-control > label {
  position:absolute; z-index:2; left:0; top:auto; bottom:8px;
  display:block; max-width:100%; margin:0; padding:0;
  font-size:14px; font-style:normal; font-weight:300;
  letter-spacing:.1px; line-height:1.2857142857;
  color:var(--nsq-fg); -webkit-text-fill-color:var(--nsq-fg);
  pointer-events:none;
  transition:bottom .26s ease,font-size .26s ease,color .26s ease;
}
.nsq .nsq-field-control > :is(input,select,textarea,button.nsq-select-trigger) {
  display:block; width:100%; min-width:0; height:56px;
  margin:0; padding:26px 0 2px; border:0;
  border-bottom:1px solid var(--nsq-field-line,#cfcfcf); border-radius:0;
  font-size:14px; font-weight:300; line-height:18px; letter-spacing:.1px;
  background:transparent; color:var(--nsq-fg); caret-color:var(--nsq-fg);
  outline:none; box-shadow:none;
  transition:border-color .15s ease;
}
.nsq .nsq-field-control > :is(input,select,textarea,button.nsq-select-trigger):focus {
  border-bottom-width:1px; border-bottom-color:var(--nsq-fg); outline:none; box-shadow:none;
}
.nsq .nsq-field-control.is-open > button.nsq-select-trigger { border-bottom-color:var(--nsq-fg); }
.nsq[data-theme="dark"] .nsq-field-control { --nsq-field-line:#fff; }
.nsq .nsq-field-control > :is(input,textarea)::placeholder {
  color:transparent; -webkit-text-fill-color:transparent; opacity:0;
}
.nsq .nsq-field-control:is(:focus-within,.is-filled,.is-open,.nsq-field-control--date) > label {
  bottom:34px; font-size:12px;
}
/* Value-based CSS also catches autofill before a browser dispatches input/change. */
.nsq .nsq-field-control:has(> input[placeholder]:not(:placeholder-shown)) > label {
  bottom:34px; font-size:12px;
}
.nsq .nsq-field-control > input:-webkit-autofill {
  -webkit-text-fill-color:var(--nsq-fg);
  -webkit-box-shadow:0 0 0 1000px var(--nsq-bg) inset;
  caret-color:var(--nsq-fg);
}
/* A textarea can grow; its label remains anchored to the first writing line.
   The opaque top strip keeps scrolled text from showing through the label. */
.nsq .nsq-field-control--multiline { height:auto; min-height:84px; }
.nsq .nsq-field-control--multiline::before {
  content:""; position:absolute; z-index:1; top:0; left:0; right:0;
  height:26px; background:var(--nsq-bg); pointer-events:none;
}
.nsq .nsq-field-control--multiline > textarea { height:84px; min-height:84px; padding-bottom:8px; resize:vertical; }
.nsq .nsq-field-control--multiline > label {
  top:30px; bottom:auto;
  transition:top .26s ease,font-size .26s ease,color .26s ease;
}
.nsq .nsq-field-control--multiline:is(:focus-within,.is-filled) > label,
.nsq .nsq-field-control--multiline:has(> textarea:not(:placeholder-shown)) > label {
  top:6.5714285716px; bottom:auto; font-size:12px;
}
/* Keep the established mobile keyboard behavior: no iOS focus zoom. */
@media(max-width:600px) {
  .nsq .nsq-field-control > :is(input,select,textarea,button.nsq-select-trigger) { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) {
  .nsq .nsq-field-control > :is(label,input,select,textarea,button.nsq-select-trigger) { transition:none; }
}
