/*!
 * HonestCoinsLI Smart Quote - form styles.
 * Everything is scoped under .hcl-sq-app. No external requests, font inherited from the theme.
 * Specificity is deliberately 0,2,0 or higher so the theme's global button/input/label rules never win.
 */

/* ---------- tokens ---------- */
.hcl-sq-app {
  --hq-primary: var(--fs-color-primary, #2366f2);
  --hq-primary-hover: #1c52c2;
  --hq-hl: #4da6ff;
  --hq-warm: #f99b1c;
  --hq-err: #ff6b6b;
  --hq-card: #0d0d0d;
  --hq-card-2: #141414;
  --hq-card-3: #1b1b1b;
  --hq-bd: rgba(255, 255, 255, .12);
  --hq-bd-2: rgba(255, 255, 255, .24);
  --hq-text: #f1f1f1;
  --hq-muted: #b8b8b8;
  --hq-ring: 0 0 0 3px rgba(77, 166, 255, .6);
  --hq-gold: radial-gradient(circle at 35% 28%, #f6df8e, #d4a72c 55%, #94700f);
  display: block;
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  color: var(--hq-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}
.hcl-sq-app *, .hcl-sq-app *::before, .hcl-sq-app *::after { box-sizing: border-box; }
.hcl-sq-app [hidden] { display: none !important; }

/* ---------- neutralise theme globals ---------- */
.hcl-sq-app :is(h2, h3, h4, p, ul, ol, li, dl, dd, dt, fieldset, legend, label, button, input, select, textarea, figure, nav, aside, section) {
  margin: 0; padding: 0; text-transform: none; letter-spacing: normal; float: none; min-height: 0;
  text-shadow: none; background-image: none; line-height: inherit;
}
.hcl-sq-app :is(ul, ol) { list-style: none; }
.hcl-sq-app :is(h2, h3, h4) { font-family: inherit; color: #fff; font-weight: 700; }
.hcl-sq-app :is(button, input, select, textarea) { font: inherit; color: inherit; max-width: 100%; }
.hcl-sq-app fieldset { border: 0; min-width: 0; width: 100%; }
.hcl-sq-app legend { border: 0; width: auto; max-width: 100%; display: block; color: #fff; }
.hcl-sq-app label { color: inherit; display: block; width: auto; max-width: none; font-size: inherit; }
.hcl-sq-app a { color: var(--hq-hl); text-decoration: underline; }
.hcl-sq-app :focus-visible { outline: 3px solid rgba(77, 166, 255, .85); outline-offset: 2px; }
.hcl-sq-app .hcl-sq-h:focus, .hcl-sq-app .hcl-sq-h:focus-visible { outline: 0; }
.hcl-sq-app .hcl-sq-sr {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important; white-space: nowrap !important; opacity: 0;
}
.hcl-sq-app .hcl-sq-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hcl-sq-app .hcl-sq-ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; display: inline-block; vertical-align: middle; }

/* ---------- layout ---------- */
.hcl-sq-app .hcl-sq-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "pg" "main" "side";
  gap: 20px;
  align-items: start;
}
.hcl-sq-app .hcl-sq-mhead { display: none; grid-area: mh; }
.hcl-sq-app .hcl-sq-progress { grid-area: pg; }
.hcl-sq-app .hcl-sq-main { grid-area: main; min-width: 0; }
.hcl-sq-app .hcl-sq-side { grid-area: side; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

@media (min-width: 1024px) {
  .hcl-sq-app {
    width: min(1280px, calc(100vw - 40px));
    max-width: none;
    margin-left: calc(50% - min(640px, 50vw - 20px));
    margin-right: 0;
  }
  .hcl-sq-app .hcl-sq-layout {
    grid-template-columns: 224px minmax(0, 1fr) 312px;
    grid-template-areas: "pg main side";
    gap: 24px;
  }
  .hcl-sq-app .hcl-sq-progress, .hcl-sq-app .hcl-sq-side { position: sticky; top: 100px; }
}
@media (min-width: 1200px) {
  .hcl-sq-app .hcl-sq-layout { grid-template-columns: 250px minmax(0, 1fr) 330px; }
}
.hcl-sq-app.hcl-sq-ready { margin-top: 0; }

/* ---------- cards ---------- */
.hcl-sq-app .hcl-sq-card, .hcl-sq-app .hcl-sq-progress, .hcl-sq-app .hcl-sq-sum, .hcl-sq-app .hcl-sq-assure {
  background: linear-gradient(180deg, #121212, var(--hq-card));
  border: 1px solid var(--hq-bd);
  border-radius: 14px;
}
.hcl-sq-app .hcl-sq-card-head { padding: 28px 28px 0; }
.hcl-sq-app .hcl-sq-h {
  text-wrap: balance;
  font-size: 1.5rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; color: #fff; margin: 0 0 8px; font-weight: 700;
}
.hcl-sq-app .hcl-sq-sub { color: var(--hq-muted); font-size: 1rem; margin: 0; }
.hcl-sq-app .hcl-sq-body { padding: 26px 28px 8px; }
.hcl-sq-app .hcl-sq-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 28px; margin-top: 12px; border-top: 1px solid var(--hq-bd);
}
.hcl-sq-app .hcl-sq-muted { color: var(--hq-muted); }
.hcl-sq-app .hcl-sq-fine { color: var(--hq-muted); font-size: 13px; margin-top: 8px; }

/* ---------- progress ---------- */
.hcl-sq-app .hcl-sq-progress { padding: 22px 18px 18px; }
.hcl-sq-app .hcl-sq-pg-title { color: var(--hq-hl); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hcl-sq-app .hcl-sq-pg-count { color: #fff; font-size: 44px; font-weight: 700; line-height: 1.1; margin: 4px 0 12px; }
.hcl-sq-app .hcl-sq-bar { height: 6px; background: rgba(255, 255, 255, .14); border-radius: 99px; overflow: hidden; }
.hcl-sq-app .hcl-sq-bar > span { display: block; height: 100%; background: var(--hq-primary); border-radius: 99px; transition: width .35s ease; }
.hcl-sq-app .hcl-sq-steps { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.hcl-sq-app .hcl-sq-li { display: block; margin: 0; padding: 0; }
.hcl-sq-app button.hcl-sq-step {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 8px 10px; margin: 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--hq-muted); font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
  box-shadow: none; transition: background .2s, color .2s;
}
.hcl-sq-app button.hcl-sq-step:hover:not(:disabled) { background: rgba(255, 255, 255, .07); color: #fff; }
.hcl-sq-app button.hcl-sq-step:disabled { cursor: default; opacity: .6; }
.hcl-sq-app button.hcl-sq-step.is-done { color: #fff; }
.hcl-sq-app button.hcl-sq-step.is-active, .hcl-sq-app button.hcl-sq-step.is-active:hover { background: var(--hq-primary); color: #fff; }
.hcl-sq-app .hcl-sq-dot {
  display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%;
  border: 2px solid var(--hq-bd-2); font-size: 13px; line-height: 1;
}
.hcl-sq-app .hcl-sq-dot .hcl-sq-ico { width: 15px; height: 15px; }
.hcl-sq-app .is-done .hcl-sq-dot { background: var(--hq-hl); border-color: var(--hq-hl); color: #000; }
.hcl-sq-app .is-active .hcl-sq-dot { background: #fff; border-color: #fff; color: var(--hq-primary); }

@media (min-width: 700px) and (max-width: 1023px) {
  .hcl-sq-app .hcl-sq-progress { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; padding: 16px 18px; }
  .hcl-sq-app .hcl-sq-pg-title { grid-column: 1; }
  .hcl-sq-app .hcl-sq-pg-count { grid-column: 1; grid-row: 2; font-size: 30px; margin: 0; }
  .hcl-sq-app .hcl-sq-progress > .hcl-sq-bar { grid-column: 2; grid-row: 1 / 3; }
  .hcl-sq-app .hcl-sq-steps { grid-column: 1 / -1; flex-direction: row; margin-top: 14px; gap: 6px; }
  .hcl-sq-app .hcl-sq-li { flex: 1 1 0; min-width: 0; }
  .hcl-sq-app button.hcl-sq-step { flex-direction: column; gap: 6px; padding: 8px 4px; text-align: center; font-size: 13px; justify-content: flex-start; height: 100%; }
}

/* ---------- option cards ---------- */
.hcl-sq-app .hcl-sq-fs { display: block; }
.hcl-sq-app .hcl-sq-legend, .hcl-sq-app .hcl-sq-label {
  display: block; width: 100%; margin: 0 0 8px; padding: 0; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3;
}
.hcl-sq-app .hcl-sq-req { color: var(--hq-hl); }
.hcl-sq-app .hcl-sq-help { color: var(--hq-muted); font-size: 14px; margin: -2px 0 10px; }
.hcl-sq-app .hcl-sq-note { color: var(--hq-muted); font-size: 13.5px; margin: 12px 0 0; padding-left: 12px; border-left: 2px solid var(--hq-bd-2); }
.hcl-sq-app .hcl-sq-field { margin: 0 0 24px; }
.hcl-sq-app .hcl-sq-grid { display: grid; gap: 10px; margin-top: 10px; }
.hcl-sq-app .hcl-sq-grid--shape { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hcl-sq-app .hcl-sq-grid--size { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.hcl-sq-app .hcl-sq-grid--thickness { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
.hcl-sq-app .hcl-sq-grid--swatch { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.hcl-sq-app .hcl-sq-grid--swatch.hcl-sq-grid--one { grid-template-columns: minmax(0, 220px); }
.hcl-sq-app .hcl-sq-grid--plain { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.hcl-sq-app .hcl-sq-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .hcl-sq-app .hcl-sq-grid--shape { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
  .hcl-sq-app .hcl-sq-grid--shape { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  }
@media (min-width: 1024px) and (max-width: 1199px) { .hcl-sq-app .hcl-sq-grid--shape { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.hcl-sq-app .hcl-sq-opt { position: relative; display: block; margin: 0; cursor: pointer; min-width: 0; }
.hcl-sq-app .hcl-sq-card-body {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; height: 100%; min-height: 48px;
  padding: 14px 8px 12px; text-align: center; background: var(--hq-card-2); border: 2px solid var(--hq-bd-2); border-radius: 12px;
  transition: border-color .2s, background .2s, transform .2s;
}
@media (hover: hover) { .hcl-sq-app .hcl-sq-opt:hover .hcl-sq-card-body { border-color: rgba(255, 255, 255, .6); } }
.hcl-sq-app .hcl-sq-opt input:checked + .hcl-sq-card-body { border-color: var(--hq-primary); background: rgba(35, 102, 242, .15); }
.hcl-sq-app .hcl-sq-opt input:focus-visible + .hcl-sq-card-body { box-shadow: var(--hq-ring); border-color: var(--hq-hl); }
.hcl-sq-app .hcl-sq-tick {
  position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--hq-primary); color: #fff;
  display: none; place-items: center; pointer-events: none;
}
.hcl-sq-app .hcl-sq-tick .hcl-sq-ico { width: 14px; height: 14px; }
.hcl-sq-app .hcl-sq-opt input:checked ~ .hcl-sq-tick { display: grid; }
.hcl-sq-app .hcl-sq-opt-title { color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.hcl-sq-app .hcl-sq-opt-sub { color: var(--hq-muted); font-size: 13px; line-height: 1.35; }
.hcl-sq-app .hcl-sq-opt.is-custom .hcl-sq-card-body { border-style: dashed; }
.hcl-sq-app .hcl-sq-shape { width: 54px; height: 54px; display: block; }
.hcl-sq-app .hcl-sq-opt--shape .hcl-sq-opt-title { font-size: 12.5px; }
.hcl-sq-app .hcl-sq-opt--plain .hcl-sq-card-body, .hcl-sq-app .hcl-sq-opt--product .hcl-sq-card-body { align-items: flex-start; text-align: left; padding: 14px 40px 14px 14px; }
.hcl-sq-app .hcl-sq-opt--product .hcl-sq-card-body { align-items: center; text-align: center; padding: 14px 12px; gap: 8px; }
.hcl-sq-app .hcl-sq-opt--product .hcl-sq-opt-title { font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.hcl-sq-app .hcl-sq-pimg { display: grid; place-items: center; width: 100%; max-width: 150px; aspect-ratio: 1; margin: 0 auto; }
.hcl-sq-app .hcl-sq-pimg img { width: 100%; height: auto; display: block; border-radius: 10px; }
.hcl-sq-app .hcl-sq-pimg .hcl-sq-shape { width: 70%; height: 70%; }
.hcl-sq-app .hcl-sq-opt--product .hcl-sq-tick { top: 10px; right: 10px; }

/* size cards */
.hcl-sq-app .hcl-sq-opt--size .hcl-sq-card-body { padding: 22px 10px 12px; }
.hcl-sq-app .hcl-sq-sizeviz { display: grid; place-items: center; width: 84px; height: 84px; }
.hcl-sq-app .hcl-sq-circle { display: block; border-radius: 50%; background: var(--hq-gold); border: 2px solid #6e520d; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .15); }
.hcl-sq-app .hcl-sq-sizeviz--custom { border: 2px dashed var(--hq-bd-2); border-radius: 50%; color: var(--hq-hl); width: 60px; height: 60px; margin: 12px 0; }
.hcl-sq-app .hcl-sq-sizeviz--custom .hcl-sq-ico { width: 26px; height: 26px; }
.hcl-sq-app .hcl-sq-badge {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 1;
  background: var(--hq-warm); color: #1a1100; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 9px; border-radius: 99px;
}
.hcl-sq-app .hcl-sq-opt--size .hcl-sq-card-body { position: relative; }
.hcl-sq-app .hcl-sq-opt--size .hcl-sq-tick { top: 12px; }
.hcl-sq-app .hcl-sq-tag { margin-top: auto; padding-top: 4px; color: var(--hq-hl); font-size: 11.5px; font-weight: 700; line-height: 1.3; }

/* thickness cards */
.hcl-sq-app .hcl-sq-opt--thickness .hcl-sq-card-body { padding: 12px 4px 10px; gap: 8px; }
.hcl-sq-app .hcl-sq-edge { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 28px; }
.hcl-sq-app .hcl-sq-edge > span { display: block; width: 54px; border-radius: 3px; background: linear-gradient(180deg, #f3d67e, #d4a72c 50%, #94700f); border: 1px solid #6e520d; }
.hcl-sq-app .hcl-sq-edge.is-custom > span { background: transparent; border: 2px dashed var(--hq-bd-2); }
.hcl-sq-app .hcl-sq-opt--thickness .hcl-sq-tick { top: -7px; right: -7px; }
.hcl-sq-app .hcl-sq-detail { margin-top: 14px; padding: 12px 16px; background: var(--hq-card-3); border-left: 3px solid var(--hq-hl); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--hq-text); }
.hcl-sq-app .hcl-sq-detail p + p { margin-top: 2px; color: var(--hq-muted); }
.hcl-sq-app .hcl-sq-detail-head strong { color: #fff; font-size: 15px; }

/* swatches */
.hcl-sq-app .hcl-sq-swgroup { margin-top: 18px; }
.hcl-sq-app .hcl-sq-swgroup:first-of-type { margin-top: 12px; }
.hcl-sq-app .hcl-sq-grouptitle { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 2px; }
.hcl-sq-app .hcl-sq-swgroup .hcl-sq-help { margin: 0 0 4px; }
.hcl-sq-app .hcl-sq-opt--swatch .hcl-sq-card-body { padding: 12px 4px 10px; gap: 8px; justify-content: flex-start; }
.hcl-sq-app .hcl-sq-sw { width: 54px; height: 54px; display: block; flex: 0 0 auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.hcl-sq-app .hcl-sq-sw--q { display: grid; place-items: center; border: 2px dashed var(--hq-bd-2); border-radius: 50%; color: var(--hq-hl); font-size: 26px; font-weight: 700; filter: none; }
.hcl-sq-app .hcl-sq-opt--swatch .hcl-sq-opt-title { font-size: 12.5px; }
.hcl-sq-app .hcl-sq-opt--swatch .hcl-sq-tick { top: 4px; right: 4px; width: 20px; height: 20px; }

/* plating tabs */
.hcl-sq-app .hcl-sq-selname { color: var(--hq-hl); margin-left: 4px; font-weight: 700; }
.hcl-sq-app .hcl-sq-tabs { display: flex; gap: 6px; margin: 12px 0 0; padding: 0 0 8px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--hq-bd); scrollbar-width: thin; -webkit-overflow-scrolling: touch; max-width: 100%; }
.hcl-sq-app button.hcl-sq-tab {
  position: relative; flex: 0 0 auto; min-height: 44px; margin: 0; padding: 0 16px; background: transparent; color: var(--hq-muted);
  border: 1px solid var(--hq-bd-2); border-radius: 99px; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.hcl-sq-app button.hcl-sq-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hcl-sq-app button.hcl-sq-tab[aria-selected="true"] { color: #fff; background: rgba(35, 102, 242, .25); border-color: var(--hq-primary); }
.hcl-sq-app .hcl-sq-tab-dot { display: none; position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--hq-warm); }
.hcl-sq-app button.hcl-sq-tab.has-selected { padding-right: 22px; }
.hcl-sq-app button.hcl-sq-tab.has-selected .hcl-sq-tab-dot { display: block; }
.hcl-sq-app .hcl-sq-tabpanel { margin-top: 14px; }

/* custom reveal + animation */
.hcl-sq-app .hcl-sq-subfields { margin: -8px 0 24px; padding: 18px 18px 0; background: rgba(35, 102, 242, .07); border-left: 3px solid var(--hq-primary); border-radius: 0 12px 12px 0; }
.hcl-sq-app .hcl-sq-subfields > .hcl-sq-note { margin-top: 0; margin-bottom: 16px; }
@keyframes hcl-sq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes hcl-sq-rot { to { transform: rotate(360deg); } }
.hcl-sq-app .hcl-sq-reveal { animation: hcl-sq-in .3s ease both; }

/* ---------- inputs ---------- */
.hcl-sq-app input.hcl-sq-in, .hcl-sq-app select.hcl-sq-in, .hcl-sq-app textarea.hcl-sq-in {
  display: block; width: 100%; height: 50px; min-height: 48px; margin: 0; padding: 0 14px;
  background: #fff; color: #333; border: 1px solid #ddd; border-radius: 10px; font-size: 16px; line-height: 1.3;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); transition: box-shadow .2s, border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.hcl-sq-app textarea.hcl-sq-in { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; }
.hcl-sq-app input.hcl-sq-in::placeholder, .hcl-sq-app textarea.hcl-sq-in::placeholder { color: #8a8a8a; }
.hcl-sq-app input.hcl-sq-in:focus, .hcl-sq-app select.hcl-sq-in:focus, .hcl-sq-app textarea.hcl-sq-in:focus {
  outline: 0; background: #fff; color: #333; border-color: var(--hq-hl); box-shadow: var(--hq-ring);
}
.hcl-sq-app select.hcl-sq-in {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.hcl-sq-app .is-invalid input.hcl-sq-in, .hcl-sq-app .is-invalid select.hcl-sq-in, .hcl-sq-app .is-invalid textarea.hcl-sq-in { border-color: #e5484d; box-shadow: 0 0 0 2px rgba(255, 107, 107, .55); }
.hcl-sq-app .hcl-sq-err { color: var(--hq-err); font-size: 14px; font-weight: 700; margin: 8px 0 0; line-height: 1.35; }
.hcl-sq-app .is-invalid > .hcl-sq-fs .hcl-sq-card-body { border-color: rgba(255, 107, 107, .6); }
.hcl-sq-app .hcl-sq-inwrap { position: relative; }
.hcl-sq-app .hcl-sq-inwrap input.hcl-sq-in { padding-right: 48px; }
.hcl-sq-app .hcl-sq-unit { position: absolute; right: 14px; top: 0; bottom: 0; display: flex; align-items: center; color: #666; font-size: 15px; pointer-events: none; }
.hcl-sq-app .hcl-sq-conv { display: block; min-height: 0; margin: 6px 0 0; color: var(--hq-hl); font-size: 14px; font-weight: 700; }
.hcl-sq-app .hcl-sq-conv:empty { display: none; }
.hcl-sq-app .hcl-sq-stepper { display: flex; align-items: stretch; gap: 8px; max-width: 260px; }
.hcl-sq-app .hcl-sq-stepper input.hcl-sq-in { text-align: center; font-weight: 700; font-size: 18px; flex: 1 1 auto; min-width: 0; -moz-appearance: textfield; }
.hcl-sq-app .hcl-sq-stepper input::-webkit-outer-spin-button, .hcl-sq-app .hcl-sq-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hcl-sq-app button.hcl-sq-stepbtn {
  flex: 0 0 50px; width: 50px; height: 50px; min-height: 50px; padding: 0; margin: 0; display: grid; place-items: center;
  background: transparent; color: #fff; border: 2px solid #fff; border-radius: 10px; cursor: pointer; transition: background .2s;
}
.hcl-sq-app button.hcl-sq-stepbtn:hover { background: rgba(255, 255, 255, .14); }
.hcl-sq-app .hcl-sq-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hcl-sq-app button.hcl-sq-chip {
  min-height: 44px; padding: 0 13px; margin: 0; background: var(--hq-card-2); color: #fff; border: 1px solid var(--hq-bd-2); border-radius: 99px;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s;
}
.hcl-sq-app button.hcl-sq-chip:hover { border-color: var(--hq-hl); background: var(--hq-card-3); }
.hcl-sq-app button.hcl-sq-chip[aria-pressed="true"] { border-color: var(--hq-primary); background: rgba(35, 102, 242, .25); }
.hcl-sq-app .hcl-sq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.hcl-sq-app .hcl-sq-cols > .hcl-sq-wide { grid-column: 1 / -1; }
.hcl-sq-app .hcl-sq-cols > .hcl-sq-field { min-width: 0; }

/* checkbox rows */
.hcl-sq-app .hcl-sq-check { position: relative; }
.hcl-sq-app label.hcl-sq-check-label {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 14px; margin: 0; cursor: pointer;
  background: var(--hq-card-2); border: 1px solid var(--hq-bd-2); border-radius: 10px; color: #fff; font-weight: 700; font-size: 15px;
}
.hcl-sq-app label.hcl-sq-check-label:hover { border-color: var(--hq-hl); }
.hcl-sq-app .hcl-sq-box { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; background: #fff; border: 2px solid #fff; border-radius: 6px; color: #fff; }
.hcl-sq-app .hcl-sq-box .hcl-sq-ico { width: 16px; height: 16px; opacity: 0; }
.hcl-sq-app .hcl-sq-check input:checked + label .hcl-sq-box { background: var(--hq-primary); border-color: var(--hq-primary); }
.hcl-sq-app .hcl-sq-check input:checked + label .hcl-sq-box .hcl-sq-ico { opacity: 1; }
.hcl-sq-app .hcl-sq-check input:checked + label { border-color: var(--hq-primary); background: rgba(35, 102, 242, .12); }
.hcl-sq-app .hcl-sq-check input:focus-visible + label { box-shadow: var(--hq-ring); }
.hcl-sq-app .hcl-sq-field--check .hcl-sq-help { margin: 8px 0 0; }
.hcl-sq-app .hcl-sq-consent { margin-top: 22px; }
.hcl-sq-app .hcl-sq-consent .hcl-sq-field { margin-bottom: 8px; }

/* ---------- buttons ---------- */
.hcl-sq-app .hcl-sq-btn, .hcl-sq-app a.hcl-sq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin: 0; padding: 0 26px;
  border: 2px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 700; letter-spacing: .03em; line-height: 1.2;
  text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; box-shadow: none;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s, opacity .2s;
}
.hcl-sq-app .hcl-sq-btn--primary, .hcl-sq-app a.hcl-sq-btn--primary { background: var(--hq-primary); border-color: var(--hq-primary); color: #fff; }
.hcl-sq-app .hcl-sq-btn--primary:hover:not(:disabled), .hcl-sq-app a.hcl-sq-btn--primary:hover { background: var(--hq-primary-hover); border-color: var(--hq-primary-hover); box-shadow: 0 10px 22px rgba(35, 102, 242, .35); color: #fff; }
.hcl-sq-app .hcl-sq-btn--back, .hcl-sq-app .hcl-sq-btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.hcl-sq-app .hcl-sq-btn--back:hover:not(:disabled), .hcl-sq-app .hcl-sq-btn--ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .14); }
.hcl-sq-app .hcl-sq-btn--small { min-height: 44px; padding: 0 16px; font-size: 13px; }
.hcl-sq-app .hcl-sq-btn:disabled { opacity: .6; cursor: not-allowed; }
.hcl-sq-app .hcl-sq-btn .hcl-sq-ico { width: 18px; height: 18px; }
.hcl-sq-app .hcl-sq-spin {
  display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%;
  animation: hcl-sq-rot .8s linear infinite;
}
.hcl-sq-app .hcl-sq-alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin: 0 0 18px; color: #ff9d9d;
  background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .5); border-radius: 10px; font-weight: 700; font-size: 15px;
}
.hcl-sq-app .hcl-sq-alert .hcl-sq-ico { margin-top: 2px; color: var(--hq-err); }
.hcl-sq-app .hcl-sq-alert > span { flex: 1 1 auto; min-width: 0; }
.hcl-sq-app .hcl-sq-sendbox { margin-top: 18px; }
.hcl-sq-app .hcl-sq-sendbox .hcl-sq-alert { flex-wrap: wrap; align-items: center; }

/* ---------- files ---------- */
.hcl-sq-app .hcl-sq-drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; text-align: center;
  border: 2px dashed var(--hq-bd-2); border-radius: 14px; background: var(--hq-card-2); transition: border-color .2s, background .2s;
}
.hcl-sq-app .hcl-sq-drop.is-over { border-color: var(--hq-hl); background: rgba(77, 166, 255, .1); }
.hcl-sq-app .hcl-sq-drop-ico { color: var(--hq-hl); }
.hcl-sq-app .hcl-sq-drop-ico .hcl-sq-ico { width: 34px; height: 34px; }
.hcl-sq-app .hcl-sq-drop-title { color: #fff; font-weight: 700; }
.hcl-sq-app .hcl-sq-drop-or { color: var(--hq-muted); font-size: 14px; }
.hcl-sq-app .is-small .hcl-sq-drop { padding: 16px; }
.hcl-sq-app .hcl-sq-field--files .hcl-sq-help { margin: 8px 0 0; }
.hcl-sq-app .hcl-sq-ferr { margin: 10px 0 0; padding: 10px 12px; color: var(--hq-err); background: rgba(255, 107, 107, .08); border-radius: 10px; font-size: 14px; font-weight: 700; }
.hcl-sq-app .hcl-sq-ferr li + li { margin-top: 4px; }
.hcl-sq-app .hcl-sq-flist { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.hcl-sq-app .hcl-sq-flist:empty { display: none; }
.hcl-sq-app .hcl-sq-file { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; background: var(--hq-card-3); border: 1px solid var(--hq-bd); border-radius: 10px; }
.hcl-sq-app .hcl-sq-file.is-err { border-color: rgba(255, 107, 107, .6); }
.hcl-sq-app .hcl-sq-file-ico { color: var(--hq-hl); display: grid; }
.hcl-sq-app .is-err .hcl-sq-file-ico { color: var(--hq-err); }
.hcl-sq-app .hcl-sq-file-main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.hcl-sq-app .hcl-sq-file-name { color: #fff; font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hcl-sq-app .hcl-sq-file-meta { color: var(--hq-muted); font-size: 13px; }
.hcl-sq-app .hcl-sq-file-fail { color: var(--hq-err); font-weight: 700; }
.hcl-sq-app .hcl-sq-progress-bar { display: block; height: 6px; background: rgba(255, 255, 255, .14); border-radius: 99px; overflow: hidden; margin-top: 4px; }
.hcl-sq-app .hcl-sq-progress-bar > span { display: block; height: 100%; width: 0; background: var(--hq-hl); border-radius: 99px; transition: width .2s; }
.hcl-sq-app button.hcl-sq-x { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; background: transparent; color: #fff; border: 0; border-radius: 50%; cursor: pointer; }
.hcl-sq-app button.hcl-sq-x:hover { background: rgba(255, 255, 255, .14); }

/* ---------- summary ---------- */
.hcl-sq-app .hcl-sq-sum-panel { padding: 20px 20px 22px; }
.hcl-sq-app .hcl-sq-sum-title { color: var(--hq-hl); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.hcl-sq-app .hcl-sq-sum-toggle { display: none; }
.hcl-sq-app .hcl-sq-sum-prod { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hcl-sq-app .hcl-sq-sum-prod img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #000; }
.hcl-sq-app .hcl-sq-sum-prod strong { color: #fff; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }
.hcl-sq-app .hcl-sq-dl { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 8px 14px; margin: 0 0 12px; padding-top: 12px; border-top: 1px solid var(--hq-bd); font-size: 14px; }
.hcl-sq-app .hcl-sq-dl dt { color: var(--hq-muted); }
.hcl-sq-app .hcl-sq-dl dd { color: #fff; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.hcl-sq-app .hcl-sq-dl--sum { display: block; }
.hcl-sq-app .hcl-sq-dl--sum .hcl-sq-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1px 14px; margin: 0 0 8px; }
.hcl-sq-app .hcl-sq-dl--sum dt { flex: 0 1 auto; max-width: 100%; color: var(--hq-muted); }
.hcl-sq-app .hcl-sq-dl--sum dd { flex: 0 1 auto; max-width: 100%; text-align: right; }
.hcl-sq-app .hcl-sq-dl--sum .is-short dd { white-space: nowrap; }
.hcl-sq-app .hcl-sq-dl--sum .is-long dd { flex: 1 1 100%; text-align: left; font-weight: 400; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
.hcl-sq-app .hcl-sq-price { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--hq-bd); font-size: 14px; }
.hcl-sq-app .hcl-sq-price.is-loading { display: flex; align-items: center; gap: 10px; color: var(--hq-muted); }
.hcl-sq-app .hcl-sq-price-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--hq-muted); }
.hcl-sq-app .hcl-sq-price-unit { color: var(--hq-muted); }
.hcl-sq-app .hcl-sq-price-unit strong { color: #fff; font-size: 16px; }
.hcl-sq-app .hcl-sq-price-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; color: var(--hq-muted); }
.hcl-sq-app .hcl-sq-price-total strong { color: #fff; font-size: 34px; line-height: 1.1; font-weight: 700; }
.hcl-sq-app .hcl-sq-incl-title { margin: 14px 0 6px; color: var(--hq-hl); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hcl-sq-app .hcl-sq-incl li { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; color: var(--hq-text); font-size: 14px; }
.hcl-sq-app .hcl-sq-incl .hcl-sq-ico { color: var(--hq-hl); margin-top: 3px; width: 15px; height: 15px; }
.hcl-sq-app .hcl-sq-price-team { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; margin-bottom: 6px; }
.hcl-sq-app .hcl-sq-price-team .hcl-sq-ico { color: var(--hq-hl); }
.hcl-sq-app .hcl-sq-assure { padding: 16px 18px; }
.hcl-sq-app .hcl-sq-assure li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--hq-text); margin: 8px 0; }
.hcl-sq-app .hcl-sq-assure li:first-child { margin-top: 0; }
.hcl-sq-app .hcl-sq-assure .hcl-sq-ico { color: var(--hq-warm); margin-top: 3px; width: 15px; height: 15px; }
.hcl-sq-app .hcl-sq-assure .hcl-sq-fine { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hq-bd); }

/* ---------- review ---------- */
.hcl-sq-app .hcl-sq-rsec { margin: 0 0 18px; padding: 14px 18px 8px; background: var(--hq-card-2); border: 1px solid var(--hq-bd); border-radius: 12px; }
.hcl-sq-app .hcl-sq-rsec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.hcl-sq-app .hcl-sq-rsec-title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--hq-hl); }
.hcl-sq-app .hcl-sq-dl--review { grid-template-columns: minmax(110px, 190px) minmax(0, 1fr); border-top: 0; padding-top: 4px; font-size: 15px; }
.hcl-sq-app .hcl-sq-dl--review dd { text-align: left; font-weight: 400; color: #fff; }
.hcl-sq-app .hcl-sq-line { display: block; }
.hcl-sq-app .hcl-sq-reviewprice { margin: 0 0 18px; padding: 16px 18px; background: rgba(35, 102, 242, .1); border: 1px solid rgba(35, 102, 242, .5); border-radius: 12px; }
.hcl-sq-app .hcl-sq-reviewprice .hcl-sq-price { margin: 0; padding: 0; border: 0; }

/* ---------- success + boot ---------- */
.hcl-sq-app .hcl-sq-success { max-width: 640px; margin: 0 auto; padding: 40px 28px; text-align: center; }
.hcl-sq-app .hcl-sq-success-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: var(--hq-primary); color: #fff; }
.hcl-sq-app .hcl-sq-success-ico .hcl-sq-ico { width: 32px; height: 32px; }
.hcl-sq-app .hcl-sq-qnum { margin: 8px 0 14px; font-size: 18px; color: var(--hq-text); }
.hcl-sq-app .hcl-sq-qnum-val { color: #fff; font-size: 22px; letter-spacing: .04em; }
.hcl-sq-app .hcl-sq-success .hcl-sq-price { margin: 20px auto 0; max-width: 320px; }
.hcl-sq-app .hcl-sq-success > .hcl-sq-pdf, .hcl-sq-app .hcl-sq-success > .hcl-sq-approve { width: min(100%, 440px); min-width: 0; justify-content: center; }
.hcl-sq-app .hcl-sq-success > .hcl-sq-pdf { margin: 22px auto 0; min-height: 58px; padding: 0 34px; font-size: 16px; }
.hcl-sq-app .hcl-sq-success > .hcl-sq-approve { margin: 14px auto 0; min-height: 58px; padding: 0 34px; font-size: 16px; }
.hcl-sq-app .hcl-sq-approve-note { margin-top: 10px; font-size: 14px; }
.hcl-sq-app .hcl-sq-emailed { margin-top: 14px; }
.hcl-sq-app .hcl-sq-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hcl-sq-app .hcl-sq-boot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; padding: 60px 16px; color: var(--hq-muted); text-align: center; }
.hcl-sq-app .hcl-sq-boot--err { flex-direction: column; }
.hcl-sq-app .hcl-sq-boot--err p { color: var(--hq-err); font-weight: 700; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .hcl-sq-app .hcl-sq-side { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) and (max-width: 1023px) {
  .hcl-sq-app .hcl-sq-side { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
}

/* ---------- phone ---------- */
@media (max-width: 699px) {
  .hcl-sq-app .hcl-sq-layout { grid-template-areas: "mh" "main" "side"; gap: 14px; }
  .hcl-sq-app .hcl-sq-progress { display: none; }
  .hcl-sq-app .hcl-sq-mhead { display: block; padding: 14px 16px; background: var(--hq-card); border: 1px solid var(--hq-bd); border-radius: 12px; }
  .hcl-sq-app .hcl-sq-mh-text { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
  .hcl-sq-app .hcl-sq-card-head { padding: 20px 16px 0; }
  .hcl-sq-app .hcl-sq-h { font-size: 1.25rem; }
  .hcl-sq-app .hcl-sq-body { padding: 20px 16px 4px; }
  .hcl-sq-app .hcl-sq-foot { flex-direction: column-reverse; align-items: stretch; padding: 16px; }
  .hcl-sq-app .hcl-sq-foot > span { display: none; }
  .hcl-sq-app .hcl-sq-btn { width: 100%; padding: 0 16px; }
  .hcl-sq-app .hcl-sq-btn--small { width: auto; }
  .hcl-sq-app .hcl-sq-cols { grid-template-columns: minmax(0, 1fr); }
  .hcl-sq-app .hcl-sq-grid--size { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hcl-sq-app .hcl-sq-grid--thickness { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hcl-sq-app .hcl-sq-grid--swatch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hcl-sq-app .hcl-sq-grid--swatch.hcl-sq-grid--one { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hcl-sq-app .hcl-sq-grid--plain { grid-template-columns: minmax(0, 1fr); }
  .hcl-sq-app .hcl-sq-grid { gap: 8px; }
  .hcl-sq-app .hcl-sq-card-body { padding-left: 4px; padding-right: 4px; }
  .hcl-sq-app .hcl-sq-opt--plain .hcl-sq-card-body { padding: 12px 40px 12px 14px; }
  .hcl-sq-app .hcl-sq-opt--product .hcl-sq-opt-sub { font-size: 12.5px; }
  .hcl-sq-app .hcl-sq-opt--product .hcl-sq-opt-title { font-size: 14px; }
  .hcl-sq-app .hcl-sq-dl--review { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hcl-sq-app .hcl-sq-dl--review dt { margin-top: 8px; font-size: 13px; }
  .hcl-sq-app .hcl-sq-subfields { padding: 14px 12px 0; }
  .hcl-sq-app .hcl-sq-success { padding: 28px 16px; }
  .hcl-sq-app .hcl-sq-success-actions .hcl-sq-btn, .hcl-sq-app .hcl-sq-success > .hcl-sq-btn { width: 100%; }

  /* sticky bottom summary bar */
  .hcl-sq-app .hcl-sq-side { position: sticky; bottom: 0; z-index: 30; display: block; margin: 0 -2px; }
  .hcl-sq-app .hcl-sq-assure { display: none; }
  .hcl-sq-app .hcl-sq-sum { display: flex; flex-direction: column-reverse; background: #111; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .6); }
  .hcl-sq-app button.hcl-sq-sum-toggle {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin: 0; padding: 8px 16px; background: transparent; color: #fff;
    border: 0; border-radius: 14px 14px 0 0; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
  }
  .hcl-sq-app .hcl-sq-sum-t { color: var(--hq-hl); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; flex: 0 0 auto; }
  .hcl-sq-app .hcl-sq-peek { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-size: 15px; }
  .hcl-sq-app .hcl-sq-chev { transition: transform .2s; }
  .hcl-sq-app .hcl-sq-sum.is-open .hcl-sq-chev { transform: rotate(180deg); }
  .hcl-sq-app .hcl-sq-sum-panel { display: none; max-height: 55vh; overflow-y: auto; padding: 16px 16px 8px; border-bottom: 1px solid var(--hq-bd); }
  .hcl-sq-app .hcl-sq-sum.is-open .hcl-sq-sum-panel { display: block; }
  .hcl-sq-app .hcl-sq-sum-title { display: none; }
}
@media (max-width: 380px) {
  .hcl-sq-app .hcl-sq-grid--thickness { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hcl-sq-app .hcl-sq-opt-title { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .hcl-sq-app *, .hcl-sq-app *::before, .hcl-sq-app *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hcl-sq-app .hcl-sq-spin { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
}
