:root {
  color-scheme: light;
  --ink: #151515;
  --text-subtle: #595959;
  --white: #fff;
  --surface-muted: #f5f5f5;
  --line: #dedede;
  --line-strong: #858585;
  --success-text: #14532d;
  --success-surface: #ecfdf3;
  --success-border: #86c29c;
  --danger-text: #991b1b;
  --danger-surface: #fff1f2;
  --danger-border: #e7a1a4;
  --radius: .45rem;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--white);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--ink); }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.site-header { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 1rem max(1rem, calc((100% - 72rem)/2)); gap: .5rem 1rem; }
.wordmark { font-weight: 800; letter-spacing: .04em; color: inherit; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--text-subtle); margin: 0 .25rem; }
nav { display: flex; flex-wrap: wrap; gap: .2rem; }
nav button { background: transparent; border: 1px solid transparent; border-radius: .3rem; color: var(--ink); padding: .35rem .55rem; }
nav button[aria-current="page"] { background: var(--ink); color: var(--white); }
main, footer { max-width: 74rem; margin: auto; padding: 1rem; }
.site-footer {
  display: grid;
  justify-items: center;
  gap: .35rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--line);
  font-size: .875rem;
}
.site-footer > span { letter-spacing: .08em; }
.site-footer nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: min(100%, 26rem);
  gap: .5rem;
  text-align: center;
}
.site-footer nav a { justify-content: center; color: var(--ink); }
.site-footer a, .site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
  text-underline-offset: .2em;
}
.site-footer a[aria-current="page"] { font-weight: 700; }
.info-page { max-width: 49rem; }
.info-page section { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-page section p { margin-bottom: 0; }
.info-page section p + p { margin-top: .65rem; }
.info-list { margin: 0; padding-inline-start: 1.35rem; }
.info-list li + li { margin-top: .55rem; }
.info-list + p { margin-top: .65rem; }
main { min-height: 65vh; padding-bottom: 3rem; }
.home-view, .shop-view { max-width: 56rem; margin-inline: auto; }
.account-view, .lookup-view { max-width: 42rem; margin-inline: auto; }
h1, h2, h3, p { margin: 0 0 .7rem; }
h1 { font-size: clamp(1.7rem, 4.5vw, 3rem); margin-top: .6rem; line-height: 1.15; letter-spacing: -.055em; overflow-wrap: anywhere; }
h2 { font-size: 1.18rem; letter-spacing: -.025em; }
h3 { font-size: 1rem; }
.muted, small { color: var(--text-subtle); }
.demo, .notice { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-muted); padding: .6rem .85rem; margin-bottom: .8rem; }
.notice.success { color: var(--success-text); background: var(--success-surface); border-color: var(--success-border); }
.demo, .notice.error, .notice.warning { color: var(--danger-text); background: var(--danger-surface); border-color: var(--danger-border); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#notice {
  position: fixed;
  z-index: 2;
  inset: max(.75rem, env(safe-area-inset-top)) 1rem auto;
  max-width: 36rem;
  margin: 0 auto;
  padding: .25rem .35rem .25rem .85rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .35rem;
  box-shadow: 0 4px 16px rgb(0 0 0 / .12);
}
#notice-message { margin: 0; overflow-wrap: anywhere; }
#notice-dismiss {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: .3rem;
  background: transparent;
  color: inherit;
  font-size: 1.3rem;
}
#notice-dismiss:hover { background: rgb(0 0 0 / .06); }
.intro { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; padding: 1rem 0 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.stack { display: grid; gap: .8rem; }
.order-layout { gap: clamp(1.4rem, 4vw, 2.4rem); }
.shop-view .intro { margin-bottom: 0; }
.categories { display: grid; gap: 1.25rem; }
.category-title { padding-bottom: .35rem; margin: 0; border-bottom: 2px solid var(--ink); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.product h3 { font-size: 1.28rem; margin-bottom: .15rem; overflow-wrap: anywhere; }
.product p { margin: .15rem 0 0; overflow-wrap: anywhere; }
.product .field { min-width: 0; }
.panel, details.section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; min-width: 0; }
details.section > summary { cursor: pointer; font-weight: 750; }
details.section[open] > summary { margin-bottom: .8rem; }
form { margin: 0; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .65rem .8rem; align-items: end; }
.field { display: grid; gap: .25rem; font-size: .9rem; font-weight: 650; }
.field.check { display: flex; align-items: center; gap: .5rem; min-height: 2.3rem; }
.signup-form .field.check { grid-column: 1 / -1; }
.signup-form .field.check input { order: -1; flex: 0 0 1rem; }
input:not([type=checkbox]), select, textarea { min-width: 0; width: 100%; background: #fff; border: 1px solid var(--line-strong); border-radius: .3rem; padding: .48rem .52rem; color: var(--ink); }
input[type=checkbox] { accent-color: var(--ink); width: 1rem; height: 1rem; }
textarea { min-height: 6rem; resize: vertical; }
.action { border: 1px solid var(--ink); border-radius: .3rem; background: var(--ink); color: white; padding: .5rem .78rem; font-weight: 650; }
.action.secondary { background: var(--white); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sum { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: .55rem 0; padding: .55rem 0; }
.sum div { display: flex; justify-content: space-between; gap: 1rem; }
.sum dt, .sum dd { margin: 0; }
.sum div:last-child {
  font-weight: 800;
  margin-top: .35rem;
  padding-top: .5rem;
  border-top: 1px solid var(--line);
}
.sum dd { text-align: end; font-variant-numeric: tabular-nums; }
.receipt { overflow-wrap: anywhere; }
.receipt .deposit-code { color: var(--danger-text); }
.receipt .long { font-family: ui-monospace, SFMono-Regular, monospace; font-size: .88rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .89rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-muted); white-space: nowrap; }
td { overflow-wrap: anywhere; }
pre { overflow: auto; }
form button[type=submit] { justify-self: start; }
@media (max-width: 720px) { .site-header { align-items: flex-start; } }
.admin-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.admin-areas button {
  min-height: 44px;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--white);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.admin-areas button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 750; }
details.section.form-options { border: 0; background: transparent; padding: .25rem 0; }
details.form-options > summary { font-size: .9rem; color: var(--text-subtle); }
.order-review { width: min(36rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); overflow-wrap: anywhere; }
.order-review::backdrop { background: rgb(0 0 0 / .5); }
.shipping-form > .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.delivery-address, .shipping-form .field.check { grid-column: 1 / -1; }
.delivery-address { display: grid; gap: .65rem; }
.delivery-address input[name=postcode] { max-width: 8rem; }
.delivery-address .notice { margin-bottom: 0; }
.review-delivery {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .45rem .8rem;
  margin: .9rem 0 1rem;
}
.review-delivery dt { color: var(--text-subtle); }
.review-delivery dd { margin: 0; }
.review-actions { justify-content: flex-end; }
input:not([type=checkbox]):is(:user-invalid, [aria-invalid="true"]) { border-color: var(--danger-text); }

.home-section h2, .home-intro p:last-child { margin-bottom: 0; }
.round-status { color: var(--ink); font-weight: 750; margin: 0; }
.round-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0; color: var(--text-subtle); }
.round-progress li { border-top: 2px solid var(--line); padding-top: .35rem; }
.round-progress li.passed { border-color: var(--line-strong); }
.round-progress li[aria-current="step"] { color: var(--ink); border-color: var(--ink); font-weight: 750; }
.round-schedule { display: grid; gap: .2rem; }
.round-schedule p { margin: 0; }
.home-products table { table-layout: fixed; }
.home-products th { background: transparent; }
.home-products th, .home-products td { vertical-align: middle; }
.home-products tr > :first-child { width: 45%; padding-inline-start: 0; }
.home-products tr > :last-child { width: 27%; padding-inline-end: 0; text-align: right; font-variant-numeric: tabular-nums; }
.home-products tbody tr:last-child td { border-bottom: 0; }
.home-product-name small { display: block; }
@media (max-width: 540px) {
  body { font-size: .9375rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.0625rem; }
  h3 { font-size: .9375rem; }
  .product h3 { font-size: 1.125rem; }
  .site-header nav { width: 100%; font-size: .875rem; }
  input:not([type=checkbox]), select, textarea { font-size: 1rem; min-height: 44px; }
  .action { min-height: 44px; }
  .site-header nav button { flex: 1; min-height: 44px; white-space: nowrap; padding-inline: .15rem; }
  .home-intro .action { width: 100%; }
  .home-intro { margin-bottom: 0; }
  .home-section { padding: .75rem; }
  .shipping-form > .fields { grid-template-columns: minmax(0, 1fr); }
  .review-actions > .action { flex: 1 1 auto; }
  .admin-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .round-progress { font-size: .75rem; gap: .35rem; }
  .home-products table { font-size: .83rem; }
  .home-products th, .home-products td { padding-inline: .25rem; }
}
.product-order, .product-order .fields {
  display: flex;
  align-items: flex-end;
  gap: .35rem;
}
.product-order .field { white-space: nowrap; }
.product-order input[type=number], .cart-item input[type=number] {
  appearance: textfield;
  width: 2.75rem;
  min-height: 44px;
  padding-inline: .3rem;
  text-align: center;
}
.product-order input[type=number]::-webkit-inner-spin-button,
.cart-item input[type=number]::-webkit-inner-spin-button { appearance: none; }
.product-order input[name=bulkMeters] { width: 3.5rem; }
.product-order .action { min-width: 44px; min-height: 44px; padding-inline: .4rem; white-space: nowrap; }
.bulk-unit-price { font-size: .86rem; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.cart-item > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.cart-item small { display: block; }
.cart-item-controls { display: flex; flex: 0 0 auto; align-items: flex-end; gap: .35rem; }
.cart-item-controls .fields { display: block; }
.cart-item-controls .action { min-width: 44px; min-height: 44px; padding-inline: .4rem; }
.mail-preview-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; margin: 0; }
.admin-summary div { border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem .75rem; }
.admin-summary dt { color: var(--text-subtle); font-size: .82rem; }
.admin-summary dd { margin: .12rem 0 0; font-weight: 750; }
@media (max-width: 540px) {
  .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.packing-checklist { overflow-wrap: anywhere; }
.packing-checklist .field span { min-width: 0; }
.packing-checklist .field input { flex: 0 0 1rem; }
.packing-checklist > .action { margin-top: .6rem; }
.packing-print { display: none; }

@media print {
  body:has(> .packing-print) > :not(.packing-print) { display: none !important; }
  body:has(> .packing-print) { background: white; color: black; }
  .packing-print { display: block; overflow-wrap: anywhere; }
  .packing-sheet + .packing-sheet { page-break-before: always; break-before: page; }
  .packing-print .table-wrap { overflow: visible; }
  .packing-print th { background: white; }
  .packing-print td:first-child { width: 55%; }
  .packing-print tr { break-inside: avoid; }
}

@media (max-width: 540px) {
  .packing-checklist .action { white-space: normal; }
}
#admin-area-3 details.section > summary, #admin-area-3 .action { overflow-wrap: anywhere; }
