:root {
  --ivory: #f8f3e9;
  --ivory-deep: #eee3d2;
  --champagne: #a88a5d;
  --charcoal: #262522;
  --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}
a { color: inherit; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--charcoal);
  color: white;
  padding: .75rem 1rem;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }
.site-header {
  align-items: center;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 5vw, 5rem);
}
.brand { text-decoration: none; letter-spacing: .18em; }
.brand small { display: block; font-size: .55rem; letter-spacing: .32em; }
.brand-mark { color: var(--champagne); margin-right: .35rem; }
nav { align-items: center; display: flex; flex-wrap: wrap; gap: clamp(.75rem, 3vw, 2rem); }
nav a { font-family: system-ui, sans-serif; font-size: .85rem; text-decoration: none; }
.nav-form, .inline-form { display: inline; margin: 0; }
.nav-form button, .text-button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.nav-form button { font-family: system-ui, sans-serif; font-size: .85rem; text-decoration: none; }
.messages { padding: .5rem clamp(1rem, 5vw, 5rem); }
.message { background: var(--white); border-left: .25rem solid var(--champagne); margin: .5rem 0; padding: .75rem 1rem; }
.message.error, .form-error { color: #8a251f; }
.hero {
  align-items: center;
  background: linear-gradient(135deg, var(--ivory), var(--ivory-deep));
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: minmax(0, .9fr) minmax(24rem, 1.1fr);
  min-height: 72vh;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 6vw, 6rem);
}
.hero-copy { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 5.5rem); line-height: 1; margin: .25rem 0 1.5rem; max-width: 11ch; }
.hero p:not(.eyebrow) { font-size: 1.2rem; max-width: 38rem; }
.hero-gallery { display: grid; gap: clamp(.5rem, 1vw, 1rem); grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(30rem, 62vw, 47rem); }
.hero-photo { margin: 0; min-height: 0; overflow: hidden; }
.hero-photo:first-child { grid-row: 1 / -1; }
.hero-photo img { display: block; height: 100%; object-fit: cover; transition: transform .6s ease; width: 100%; }
.hero-photo:hover img { transform: scale(1.02); }
.eyebrow { color: #725d3e; font-family: system-ui, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.button { background: var(--charcoal); color: white; display: inline-block; font-family: system-ui, sans-serif; margin-top: 1rem; padding: .85rem 1.25rem; text-decoration: none; }
.intro { background: var(--white); padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 10vw, 9rem); }
.intro h2 { font-size: clamp(2rem, 5vw, 4rem); margin: 0; }
.story { display: grid; gap: clamp(2rem, 6vw, 7rem); grid-template-columns: minmax(18rem, 1fr) minmax(0, 1.2fr); }
.story-heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; overflow-wrap: break-word; }
.story-body { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 48rem; }
.story-body p:first-child { margin-top: 0; }
footer { font-family: system-ui, sans-serif; font-size: .8rem; padding: 2rem clamp(1rem, 5vw, 5rem); }
.site-footer { background: var(--charcoal); color: var(--white); display: grid; gap: 1.5rem; grid-template-columns: 1fr 2fr 1fr; }
.site-footer p { margin: .25rem 0; }
.site-footer nav { align-content: start; display: grid; gap: .35rem 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer address { display: grid; font-style: normal; }
.site-footer > small { grid-column: 1 / -1; opacity: .7; }
.store-banner { align-items: center; background: var(--charcoal); color: var(--white); display: flex; font-family: system-ui, sans-serif; gap: 1rem; justify-content: center; padding: .7rem 1rem; text-align: center; }
.store-banner a { font-weight: 700; }
.featured-products { background: var(--ivory); padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem); }
.featured-products .panel-heading { margin-bottom: 1.5rem; }
.featured-products h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }

.page-heading { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) 2rem; }
.page-heading h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin: 0; }
.catalog-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(13rem, 18rem) 1fr;
  padding: 0 clamp(1rem, 5vw, 5rem) 5rem;
}
.filters { background: var(--white); padding: 1.25rem; }
.filters form { display: grid; gap: .65rem; }
.filters label, .result-count, .stock-state {
  font-family: system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 650;
}
input, select {
  background: var(--white);
  border: 1px solid #b8aa94;
  border-radius: 0;
  color: var(--charcoal);
  font: inherit;
  min-height: 2.75rem;
  padding: .55rem .65rem;
  width: 100%;
}
input:focus, select:focus, button:focus, a:focus-visible { outline: 3px solid #806943; outline-offset: 2px; }
.price-fields { display: grid; gap: .5rem; grid-template-columns: 1fr 1fr; }
.price-fields label { display: grid; gap: .25rem; }
.check-row { align-items: center; display: flex; gap: .5rem; margin: .5rem 0; }
.check-row input { min-height: auto; width: auto; }
button.button { border: 0; cursor: pointer; width: 100%; }
button.button:disabled { cursor: not-allowed; opacity: .5; }
.clear-link { font-family: system-ui, sans-serif; font-size: .8rem; text-align: center; }
.product-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { background: var(--white); min-width: 0; }
.product-card > a { display: block; text-decoration: none; }
.product-card img, .product-gallery img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}
.image-placeholder {
  align-items: center;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, #eee4d5, #ddd0bb);
  color: #7c6748;
  display: flex;
  justify-content: center;
  letter-spacing: .25em;
}
.product-card-copy { padding: 1rem; }
.product-card h2 { font-size: 1.15rem; margin: 0; }
.product-card p { margin: .25rem 0; }
.stock-state { color: #645638; }
.pagination { align-items: center; display: flex; justify-content: space-between; margin-top: 2rem; }
.product-detail {
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .8fr);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 6vw, 6rem);
}
.product-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.product-gallery > :first-child { grid-column: 1 / -1; }
.product-summary { align-self: start; position: sticky; top: 1rem; }
.product-summary h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; margin: .25rem 0 1rem; }
.product-price { font-size: 1.35rem; }
.variant-form { display: grid; gap: .6rem; margin: 2rem 0; }
.related-products { background: var(--white); padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem); }
.compact-heading { padding-bottom: 1rem; }
.cart-page { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.cart-lines { display: grid; gap: 1rem; }
.cart-line { align-items: center; background: var(--white); display: grid; gap: 1rem; grid-template-columns: 7rem minmax(10rem, 1fr) 7rem 7rem; padding: 1rem; }
.cart-line img, .cart-thumb { aspect-ratio: 4 / 5; height: auto; object-fit: cover; width: 100%; }
.cart-line h2 { font-size: 1.15rem; margin: 0; }
.cart-line p { margin: .2rem 0; }
.cart-line-total { text-align: right; }
.cart-summary, .dashboard-panel { align-self: start; background: var(--white); padding: 1.5rem; }
.cart-summary > p:first-child { display: flex; justify-content: space-between; }
.secondary-link { display: block; margin-top: 1rem; text-align: center; }
.muted, .help-text { color: #625d55; font-family: system-ui, sans-serif; font-size: .82rem; }
.empty-state { background: var(--white); grid-column: 1 / -1; padding: clamp(2rem, 7vw, 5rem); text-align: center; }
.auth-page { background: var(--white); margin: clamp(2rem, 7vw, 6rem) auto; max-width: 38rem; padding: clamp(1.5rem, 5vw, 3rem); }
.auth-page h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; margin: .25rem 0 1rem; }
.wide-form { max-width: 48rem; }
.account-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .3rem; }
.field label, .account-form label { font-family: system-ui, sans-serif; font-size: .85rem; font-weight: 650; }
.field input[type="checkbox"] { min-height: auto; width: auto; }
.help-text ul { margin: .25rem 0; padding-left: 1.2rem; }
.form-error { font-family: system-ui, sans-serif; font-size: .85rem; margin: .2rem 0; }
.dashboard-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.dashboard-wide { grid-column: 1 / -1; }
.panel-heading { align-items: center; display: flex; justify-content: space-between; }
.address-card { border-top: 1px solid var(--ivory-deep); padding: 1rem 0; }
.address-card h3 { margin-bottom: .25rem; }
.tag { background: var(--ivory-deep); display: inline-block; font-family: system-ui, sans-serif; font-size: .72rem; margin: 0 .25rem .25rem 0; padding: .2rem .45rem; }
.tier-note, .tier-achieved { color: #645638; font-family: system-ui, sans-serif; font-size: .8rem; }
.tier-achieved { font-weight: 700; }
.status { background: var(--ivory-deep); display: inline-block; font-family: system-ui, sans-serif; font-size: .8rem; font-weight: 700; padding: .3rem .55rem; }
.status-active { background: #dcebd8; color: #24451f; }
.status-suspended { background: #f4d9d5; color: #6f211a; }
.account-facts, .order-totals { margin: 1.5rem 0; }
.account-facts div, .order-totals div { border-bottom: 1px solid var(--ivory-deep); display: flex; justify-content: space-between; padding: .55rem 0; }
.account-facts dt, .order-totals dt { font-family: system-ui, sans-serif; font-weight: 650; }
.account-facts dd, .order-totals dd { margin: 0; }
.quick-order { padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.quick-product { background: var(--white); margin-bottom: 1.5rem; padding: clamp(1rem, 3vw, 2rem); }
.quick-product-heading { align-items: baseline; display: flex; gap: 1rem; justify-content: space-between; }
.quick-product-heading h2 { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; font-family: system-ui, sans-serif; min-width: 40rem; width: 100%; }
th, td { border-bottom: 1px solid var(--ivory-deep); padding: .65rem; text-align: left; }
th { background: var(--charcoal); color: white; font-size: .8rem; }
td input { min-width: 5rem; }
.visually-hidden { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0 0 0 0); }
.form-actions { display: flex; justify-content: flex-end; }
.form-actions .button { width: auto; }
.checkout-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.order-review > div, .order-line { border-bottom: 1px solid var(--ivory-deep); display: flex; gap: 1rem; justify-content: space-between; padding: .75rem 0; }
.order-total { font-size: 1.15rem; }
.order-list { display: grid; gap: 1rem; padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.order-list > article { align-items: center; background: var(--white); display: flex; justify-content: space-between; padding: 1.25rem; }
.order-list h2 { font-size: 1.2rem; margin: 0; }
.order-list p { margin: .2rem 0; }

.operations-heading { align-items: flex-end; display: flex; gap: 2rem; justify-content: space-between; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) 2rem; }
.operations-heading h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 1; margin: .25rem 0; }
.operations-heading .button { flex: 0 0 auto; }
.heading-actions { align-items: center; display: flex; gap: 1.25rem; }
.operations-date { color: #625d55; margin: .5rem 0 0; }
.metric-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 clamp(1rem, 5vw, 5rem) 1.5rem; }
.metric-card { background: var(--white); border-top: .25rem solid var(--champagne); display: grid; min-height: 10rem; padding: 1.25rem; text-decoration: none; }
.metric-card span, .metric-card small { font-family: system-ui, sans-serif; }
.metric-card span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.metric-card strong { align-self: center; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1; }
.metric-card small { align-self: end; color: #625d55; }
.metric-attention { border-top-color: #8a642d; background: #fffaf0; }
.metric-warning { border-top-color: #8a251f; background: #fff7f5; }
.operations-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.operations-panel { background: var(--white); min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); }
.operations-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; margin: .2rem 0; }
.operations-wide { grid-column: 1 / -1; }
.responsive-table { overflow-x: auto; }
.operations-table { min-width: 52rem; }
.operations-table th { background: transparent; border-bottom: 2px solid var(--charcoal); color: var(--charcoal); }
.priority-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.priority-list li { align-items: center; border-top: 1px solid var(--ivory-deep); display: flex; gap: 1rem; justify-content: space-between; padding: .9rem 0; }
.priority-list small { color: #625d55; display: block; font-family: system-ui, sans-serif; }
.priority-list > li > strong { flex: 0 0 auto; font-family: system-ui, sans-serif; font-size: .8rem; }
.stock-zero { color: #8a251f; }
.operations-links { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; width: 100%; }
.operations-links a { border: 1px solid var(--ivory-deep); display: grid; padding: 1rem; }
.operations-links strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.operations-links span { color: #625d55; font-size: .75rem; }
.compact-operations-heading { padding-bottom: 1.5rem; }
.compact-operations-heading h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.secondary-action { font-family: system-ui, sans-serif; }
.report-filter { background: var(--white); margin: 0 clamp(1rem, 5vw, 5rem) 1.5rem; padding: 1.25rem; }
.report-filter form { align-items: end; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.report-filter .button { margin: 0; white-space: nowrap; width: auto; }
.report-filter .form-error { grid-column: 1 / -1; }
.report-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-metrics .metric-card strong { font-size: clamp(1.65rem, 3vw, 2.5rem); white-space: nowrap; }
.reporting-grid { align-items: start; }
.compact-table { min-width: 0; }
.compact-table th { background: transparent; border-bottom: 2px solid var(--charcoal); color: var(--charcoal); }
.compact-table td:last-child, .compact-table th:last-child { text-align: right; }
.compact-table small { color: #625d55; display: block; }
.export-grid { display: grid; gap: .75rem; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 1rem; }
.export-grid a { border: 1px solid var(--ivory-deep); display: grid; padding: 1rem; text-decoration: none; }
.export-grid strong { font-size: 1.15rem; }
.export-grid span { color: #625d55; font-family: system-ui, sans-serif; font-size: .75rem; }
.audit-list { display: grid; gap: .75rem; padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.audit-list article { align-items: start; background: var(--white); display: grid; gap: 1rem; grid-template-columns: 9rem 6rem minmax(0, 1fr) 10rem; padding: 1.25rem; }
.audit-list time, .audit-category, .audit-list > article > strong { font-family: system-ui, sans-serif; font-size: .78rem; }
.audit-category { color: #725d3e; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.audit-list h2 { font-size: 1rem; margin: 0; }
.audit-list p { margin: .25rem 0 0; }
.audit-list > article > strong { text-align: right; }
.workflow-navigation { border-bottom: 1px solid #d7cbb8; border-top: 1px solid #d7cbb8; margin: 0 clamp(1rem, 5vw, 5rem) 1.5rem; padding: .8rem 0; }
.workflow-navigation a { font-weight: 650; }
.workflow-list { display: grid; gap: 1rem; padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.workflow-card { background: var(--white); padding: clamp(1.25rem, 3vw, 2rem); }
.workflow-card > header { align-items: start; display: flex; gap: 1rem; justify-content: space-between; }
.workflow-card h2 { margin: 0; }
.workflow-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1rem 0; }
.workflow-facts div { border-left: 1px solid var(--ivory-deep); padding: .5rem 1rem; }
.workflow-facts dt { color: #625d55; font-family: system-ui, sans-serif; font-size: .75rem; text-transform: uppercase; }
.workflow-facts dd { margin: .2rem 0 0; }
.workflow-action { align-items: end; background: var(--ivory); display: grid; gap: 1rem; grid-template-columns: minmax(10rem, .55fr) minmax(16rem, 1fr) auto; padding: 1rem; }
.workflow-action label, .inline-search label { font-family: system-ui, sans-serif; font-size: .8rem; font-weight: 650; }
.workflow-action textarea { background: var(--white); border: 1px solid #b8aa94; display: block; font: inherit; min-height: 4.2rem; padding: .55rem .65rem; resize: vertical; width: 100%; }
.workflow-action .button { margin: 0; white-space: nowrap; width: auto; }
.card-actions { display: flex; gap: 1.25rem; justify-content: flex-end; padding: 1rem 0 0; }
.workflow-split { display: grid; gap: 1.5rem; grid-template-columns: minmax(20rem, .8fr) minmax(0, 1.2fr); padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.workflow-split .operations-panel h2 { margin-top: 0; }
.inline-search > div { display: grid; gap: .5rem; grid-template-columns: 1fr auto; margin: .35rem 0 1.5rem; }
.inline-search .button { margin: 0; width: auto; }
.quote-results { border-top: 1px solid var(--ivory-deep); margin-top: 2rem; padding-top: 1rem; }
.quote-results > div { border-top: 1px solid var(--ivory-deep); display: grid; grid-template-columns: 1fr auto; padding: .75rem 0; }
.quote-results small { color: #625d55; grid-column: 1 / -1; }
.content-page { margin: 0 auto; max-width: 58rem; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem); }
.content-page h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; margin: .25rem 0 1.5rem; }
.content-summary { font-size: 1.25rem; max-width: 42rem; }
.prose { font-size: 1.08rem; }
.prose p { margin: 1.25rem 0; }
.faq-list { margin-top: 2rem; }
.faq-list details { border-top: 1px solid var(--ivory-deep); padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-size: 1.15rem; font-weight: 700; }
.size-table { margin: 2rem 0; }
.help-layout { align-items: start; display: grid; gap: 3rem; grid-template-columns: 15rem minmax(0, 1fr); padding: 0 clamp(1rem, 5vw, 5rem) 6rem; }
.help-contents { align-items: stretch; background: var(--white); display: grid; gap: 0; padding: 1rem; position: sticky; top: 1rem; }
.help-contents strong { margin-bottom: .5rem; }
.help-contents a { border-top: 1px solid var(--ivory-deep); padding: .45rem 0; }
.help-manual { max-width: 60rem; }
.help-manual section { background: var(--white); margin-bottom: 1.5rem; padding: clamp(1.5rem, 4vw, 3rem); scroll-margin-top: 1rem; }
.help-manual h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin: .2rem 0 1.25rem; }
.help-manual h3 { margin: 1.75rem 0 .5rem; }
.help-manual li { margin-bottom: .5rem; }
.help-definitions > div { border-top: 1px solid var(--ivory-deep); display: grid; gap: 1rem; grid-template-columns: 10rem 1fr; padding: .7rem 0; }
.help-definitions dt { font-weight: 700; }
.help-definitions dd { margin: 0; }
.help-manual code { background: var(--ivory); padding: .15rem .3rem; }
.prelaunch-banner { background: #29251f; color: #fffaf0; font-family: system-ui, sans-serif; font-size: clamp(.72rem, 1.4vw, .86rem); font-weight: 700; letter-spacing: .055em; line-height: 1.5; padding: .8rem clamp(1rem, 5vw, 5rem); text-align: center; }
.security-choice-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
.security-card { background: var(--white); border: 1px solid var(--ivory-deep); padding: clamp(1.25rem, 3vw, 2rem); }
.security-card h2 { margin-top: 0; }
.security-key { background: var(--ivory); display: block; font-family: ui-monospace, monospace; font-size: 1rem; overflow-wrap: anywhere; padding: 1rem; }
.security-uri { font-size: .75rem; overflow-wrap: anywhere; }

@media (max-width: 42rem) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  nav { width: 100%; }
  .hero, .story, .catalog-layout, .product-detail, .cart-page, .dashboard-grid, .checkout-layout, .workflow-split, .help-layout, .security-choice-grid, .site-footer { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .hero-gallery { height: min(125vw, 38rem); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-summary { position: static; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery > :first-child { grid-column: auto; }
  .cart-line { align-items: start; grid-template-columns: 5rem 1fr; }
  .cart-line form, .cart-line-total { grid-column: 2; text-align: left; }
  .dashboard-wide { grid-column: auto; }
  .operations-heading { align-items: flex-start; flex-direction: column; }
  .heading-actions { align-items: flex-start; flex-direction: column; }
  .metric-grid, .operations-grid { grid-template-columns: 1fr; }
  .operations-wide { grid-column: auto; }
  .report-filter form, .report-metrics, .export-grid { grid-template-columns: 1fr; }
  .audit-list article { grid-template-columns: 1fr; }
  .audit-list > article > strong { text-align: left; }
  .workflow-navigation { align-items: flex-start; }
  .workflow-facts, .workflow-action { grid-template-columns: 1fr; }
  .help-contents { position: static; }
  .help-definitions > div { grid-template-columns: 1fr; }
  .site-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer > small { grid-column: auto; }
}

@media (max-width: 24rem) {
  .product-grid { grid-template-columns: 1fr; }
  .operations-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
