@media screen {
  body[data-root] {
    display: flex;
    flex-direction: column;
    min-block-size: 100vh;
    min-block-size: 100dvh;
  }
  body[data-root] > .site-footer { margin-block-start: auto; }
}
.site-header .demo-masthead {
  grid-template-columns: max-content minmax(0, 1fr) auto;
  min-height: 74px;
  gap: .55rem clamp(.8rem, 2.3vw, 1.65rem);
}
.demo-context {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-block-size: 40px;
  color: var(--blue-dark);
  border: 1px solid #c6daeb;
  border-radius: 6px;
  background: #f1f7fc;
  padding: .32rem .55rem;
  font-size: .875rem;
  font-weight: 720;
  text-decoration: none;
}
.demo-context:hover { background: #e2eff9; text-decoration: underline; }
.demo-masthead .masthead-quote { min-height: 44px; }
.main-nav__links > a[aria-current="page"] { color: var(--blue-dark); background: var(--tint); }
.home-hero .showcase-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-grid.demo-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-grid.demo-category-grid .category-tile__text { grid-template-rows: auto 1fr; }
.demo-concept {
  min-width: 0;
  padding: clamp(.9rem, 2.4vw, 1.85rem);
  border: 1px solid #c8dce9;
  border-radius: var(--surface-radius);
  background: #eaf4fb;
}
.demo-concept__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.1rem;
  margin-block-end: .95rem;
}
.demo-concept h2 {
  color: var(--navy);
  font-size: clamp(1.42rem, 2.85vw, 2.3rem);
  letter-spacing: -.025em;
}
.demo-concept__head p {
  max-inline-size: 55ch;
  margin-block-start: .38rem;
  color: var(--muted);
}
.demo-concept__steps li {
  min-width: 0;
  gap: .42rem;
  padding: clamp(.7rem, 1.6vw, 1.1rem);
}
.demo-concept__steps h3 { color: var(--navy); font-size: 1.04rem; }
.demo-concept__steps p { font-size: .94rem; }
.demo-concept__note { margin-block-start: .7rem; color: var(--muted); font-size: .875rem; }
.demo-example {
  margin-block-end: .65rem;
  padding: .64rem .8rem;
  border-inline-start: 3px solid var(--blue);
  border-radius: 0 .45rem .45rem 0;
  background: #eaf4fb;
  color: var(--navy);
}
.demo-example p { overflow-wrap: anywhere; }
.stock-filter-controls #stock-category { padding-inline: .62rem 1.5rem; }
.stock--faceted .stock__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stock__grid .product > button { width: 100%; min-height: 42px; margin-top: .32rem; }
.stock__grid .product .product__art img { mix-blend-mode: multiply; }
.stock__grid .product .product__body { align-self: start; }
.stock__grid .product:target { border-color: var(--blue); outline: 2px solid #a1cce9; outline-offset: 1px; }
.stock-filter-controls .demo-size {
  display: block;
  width: 100%;
  min-height: 34px;
  margin: .3rem 0 0;
  accent-color: var(--blue);
}
.stock-filter-controls output { color: var(--blue-dark); font-weight: 700; }
.stock-filter-controls .stock-facets__options label { min-height: 40px; }
.stock-filter-dialog .stock-facets__options label { min-height: 44px; }
.demo-footer {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .55rem 1.2rem;
  padding-block: .8rem;
}
.demo-footer > span { color: var(--paper); font-weight: 740; }
.demo-footer nav { display: flex; gap: .9rem; flex-wrap: wrap; }
.demo-footer a { color: #c5ddf1; font-size: .94rem; font-weight: 650; }
.demo-footer a:hover { color: var(--paper); }
.demo-quote .quote__help { margin-top: .15rem; }
.demo-quote__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.demo-upload__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .38rem .65rem;
  padding: .3rem;
  border: 1px solid #a9c0d3;
  border-radius: 6px;
  cursor: pointer;
}
.demo-quote .demo-upload input { width: 1px; min-height: 0; padding: 0; border: 0; }
.demo-upload__pick { min-height: 36px; padding: .38rem .62rem; }
.demo-upload:hover .demo-upload__pick { background: var(--tint); }
.demo-upload input:focus-visible + .demo-upload__pick { outline: 3px solid var(--blue); outline-offset: 2px; }
.demo-upload__status {
  min-inline-size: 0;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.demo-quote .quote__draft {
  padding: .72rem .82rem;
  border: 1px solid #cee2ef;
  border-radius: 6px;
  background: #f4f9fd;
}
.demo-quote .quote__draft h3 { color: var(--navy); font-size: 1.03rem; }
.demo-quote .quote__draft output { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (min-width: 901px) {
  .fetek-mega[data-mode="header"] { max-block-size: min(76dvh, 46rem, calc(100dvh - 9rem)); }
}
@media (max-width: 650px) {
  .site-header .demo-masthead {
    grid-template: "brand request" auto "context context" auto / minmax(0,1fr) auto;
    min-height: 0;
    padding: .65rem 0;
  }
  .demo-masthead .brand { grid-area: brand; }
  .demo-masthead .masthead-quote { grid-area: request; }
  .demo-context { grid-area: context; }
  .category-grid.demo-category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-grid.demo-category-grid .category-tile {
    display: grid;
    grid-template-columns: minmax(5rem, .36fr) minmax(0, 1fr);
  }
  .category-grid.demo-category-grid .category-tile__media { height: 100%; min-height: 6.25rem; }
  .category-grid.demo-category-grid .category-tile__text { align-content: center; grid-template-rows: auto auto; }
  .stock--faceted .stock__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .demo-masthead .masthead-quote { padding-inline: .64rem; }
  .stock__grid .product > button { padding-inline: .28rem; }
}
