@font-face {
  font-family: Inter;
  src: url("/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #17262b;
  --muted: #56646a;
  --paper: #faf9f6;
  --line: #dddeda;
  --amber: #f4b844;
  --amber-ink: #694408;
  --red: #a52c25;
  --green: #246448;
  --radius: 10px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button,
.button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
}
button:hover,
.button:hover {
  background: #f1f0eb;
  border-color: #a8aeaa;
}
button.primary,
.button.primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #272010;
}
button.primary:hover,
.button.primary:hover {
  background: #e8a934;
}
button.quiet,
.button.quiet {
  background: transparent;
  border-color: transparent;
}
button.danger {
  color: var(--red);
}
:focus-visible {
  outline: 3px solid #9e690d;
  outline-offset: 3px;
}
input,
textarea,
select {
  min-height: 46px;
  border: 1px solid #b9beba;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 96px;
}
input[type="checkbox"] {
  min-height: auto;
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}
label {
  font-size: 14px;
  font-weight: 600;
  display: grid;
  gap: 7px;
}
p {
  margin: 0 0 16px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 650;
}
h2 {
  font-size: 26px;
  font-weight: 650;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
small,
.small {
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  background: white;
  z-index: 100;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.masthead {
  background: var(--ink);
  color: #fff;
}
.header-inner {
  max-width: 1420px;
  padding: 22px 40px;
  display: flex;
  gap: 48px;
  align-items: center;
  margin: auto;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  line-height: 1.25;
}
.brand svg {
  width: 32px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.5;
}
.brand small {
  display: block;
  color: #c5cccb;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
  letter-spacing: 0.06em;
}
.masthead nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.masthead nav a {
  font-size: 14px;
  text-decoration: none;
  color: #c5cccb;
  white-space: nowrap;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.masthead nav a:hover,
.masthead nav a[aria-current] {
  color: #fff;
  border-bottom-color: var(--amber);
}
.account-link {
  margin-left: auto;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 14px;
  border: 1px solid #607073;
  border-radius: 6px;
}
.account-link:hover {
  background: #2c3b40;
}
#kit-count:empty {
  display: none;
}
#kit-count {
  margin-left: 5px;
  padding: 2px 6px;
  background: #3e4c4f;
  border-radius: 4px;
  color: white;
  font-size: 12px;
}
main {
  max-width: 1420px;
  margin: auto;
  padding: 48px 40px 64px;
  min-height: 70vh;
}
.intro {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}
.intro h1 {
  max-width: 700px;
  margin-bottom: 12px;
}
.intro p {
  color: var(--muted);
  max-width: 620px;
  margin: 0;
}
.intro aside {
  margin-left: auto;
  max-width: 250px;
  border-left: 2px solid var(--amber);
  padding-left: 18px;
  font-size: 14px;
  flex-shrink: 0;
}
.intro aside strong {
  display: block;
  margin-bottom: 6px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.search-field {
  position: relative;
  flex: 1;
}
.search-field input {
  width: 100%;
  padding-left: 42px;
  font-size: 16px;
}
.search-field svg {
  width: 19px;
  height: 19px;
  position: absolute;
  left: 14px;
  top: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  pointer-events: none;
}
.toolbar select {
  max-width: 220px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 32px;
}
.filters {
  border-right: 1px solid var(--line);
  padding-right: 22px;
}
.filters h2 {
  font-size: 14px;
  letter-spacing: 0;
  margin: 0 0 14px;
}
.category-list {
  display: grid;
  gap: 4px;
}
.category-list button {
  width: 100%;
  justify-content: space-between;
  background: transparent;
  border-color: transparent;
  text-align: left;
  padding: 9px 10px;
  font-weight: 500;
  min-height: 42px;
}
.category-list button.active {
  background: #e9ece8;
  color: #17262b;
  font-weight: 650;
}
.category-list button span {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
.filter-note {
  font-size: 13px;
  color: var(--muted);
  padding: 24px 10px;
  line-height: 1.65;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}
.results-heading p {
  margin: 0;
}
.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gear-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gear-card:hover {
  border-color: #9ba7a1;
}
.gear-open {
  border: 0;
  border-radius: 0;
  background: none;
  display: block;
  min-height: 0;
  padding: 0;
  text-align: left;
  font-weight: 400;
  flex: 1;
  width: 100%;
}
.gear-open:hover {
  background: none;
}
.gear-art {
  height: 124px;
  display: grid;
  place-items: center;
  background: #eff1ed;
  position: relative;
  color: #3b5359;
}
.gear-art.light {
  background: #f5efe3;
}
.gear-art.modifier {
  background: #edece6;
}
.gear-art.camera {
  background: #e8eef0;
}
.gear-art.lens {
  background: #eaeeea;
}
.gear-art.shaping {
  background: #f0e9e5;
}
.gear-art svg {
  width: 80px;
  height: 80px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.gear-art .category-label {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 11px;
  font-weight: 500;
  color: #536366;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gear-info {
  padding: 16px 17px 12px;
  min-height: 100px;
}
.gear-info .brand-name {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 500;
}
.gear-info h3 {
  font-size: 17px;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.gear-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.gear-actions {
  padding: 0 17px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gear-actions button {
  padding: 7px 10px;
  min-height: 38px;
  font-size: 12px;
}
.badge {
  font-size: 11px;
  border-radius: 4px;
  padding: 3px 6px;
  background: #eff1ed;
  color: #56646a;
  white-space: nowrap;
  font-weight: 500;
}
.badge.verified {
  background: #e5f1e9;
  color: #22613f;
}
.badge.suggested {
  background: #fff0cd;
  color: #785211;
}
.research-box {
  margin-top: 30px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.research-box h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.research-box p {
  font-size: 14px;
  color: var(--muted);
  max-width: 720px;
}
.research-box form {
  display: flex;
  gap: 10px;
  max-width: 750px;
}
.research-box input {
  flex: 1;
  min-width: 0;
}
.research-status {
  margin-top: 12px;
  font-size: 14px;
  max-width: 750px;
}
.inline-error,
.error {
  color: var(--red);
  background: #fff2ef;
  border: 1px solid #edc9c3;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  margin: 12px 0;
}
.callout {
  background: #f2f0e8;
  border-left: 3px solid #b08537;
  padding: 14px 18px;
  font-size: 14px;
  margin: 20px 0;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  border: 1px dashed #bfc7c1;
  border-radius: var(--radius);
  background: #fff;
}
.empty h2 {
  font-size: 22px;
}
.empty p {
  max-width: 480px;
  margin: 0 auto 20px;
  color: var(--muted);
}
.loading {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-top h1 {
  font-size: 36px;
  margin: 0;
}
.section-top p {
  margin: 10px 0 0;
  color: var(--muted);
}
.kit-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
}
.kit-list {
  display: grid;
  align-content: start;
  gap: 8px;
}
.kit-list button {
  display: block;
  text-align: left;
  padding: 15px 16px;
  width: 100%;
  background: #fff;
}
.kit-list button.active {
  border-color: #466157;
  background: #edf2ed;
}
.kit-list small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 6px;
  font-size: 12px;
}
.kit-editor {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.kit-editor .fields {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}
.kit-editor label input {
  font-size: 18px;
  font-weight: 600;
}
.kit-items {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.kit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.mini-art {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #eff1ed;
  border-radius: 6px;
  flex-shrink: 0;
}
.mini-art svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.kit-product {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
}
.kit-product small {
  font-size: 12px;
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 6px;
}
.quantity button {
  min-height: 36px;
  min-width: 34px;
  padding: 3px 8px;
}
.quantity input {
  width: 54px;
  min-height: 36px;
  padding: 4px;
  text-align: center;
  font-size: 14px;
}
.remove-item {
  padding: 4px;
  min-width: 34px;
  min-height: 36px;
  font-weight: 400;
}
.kit-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.kit-bottom .status {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
}
.shared-links {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.shared-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  font-size: 13px;
}
.shared-link a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.shared-link button {
  font-size: 12px;
  padding: 6px 10px;
  min-height: 34px;
}
.account-panel {
  max-width: 500px;
  margin: 24px auto 70px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}
.account-panel h1 {
  font-size: 32px;
}
.account-panel > p {
  color: var(--muted);
}
.account-panel form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.account-panel .small {
  margin-top: 20px;
  font-size: 13px;
}
.back-link {
  font-size: 14px;
  display: inline-flex;
  margin-bottom: 25px;
}
.shared-page {
  max-width: 1000px;
  margin: auto;
}
.shared-heading {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: start;
  margin-bottom: 34px;
}
.shared-heading h1 {
  margin-bottom: 14px;
}
.shared-heading .notes {
  white-space: pre-wrap;
  color: var(--muted);
}
.share-action {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 12px;
}
.share-action p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}
.shared-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
}
.shared-list .kit-item:last-child {
  border-bottom: 0;
}
.shared-quantity {
  font-size: 20px;
  white-space: nowrap;
}
.detail-title {
  font-size: 30px;
  margin-bottom: 10px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
}
.detail-layout .gear-art {
  height: 170px;
  border-radius: 8px;
}
.detail-layout .gear-art svg {
  width: 110px;
  height: 110px;
}
.detail-description {
  font-size: 15px;
  color: var(--muted);
  margin: 12px 0 20px;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.specs div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.specs dd {
  margin: 0;
  font-weight: 500;
}
.sources {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.sources ul {
  padding-left: 20px;
}
.sources li {
  padding: 4px 0;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  min-height: 36px;
  min-width: 36px;
  padding: 4px;
  font-size: 20px;
}
.dialog-body {
  padding: 42px 30px 30px;
}
dialog {
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 22px 90px #17262b40;
  color: var(--ink);
}
dialog::backdrop {
  background: #10242a66;
}
dialog h2 {
  padding-right: 24px;
}
#share-dialog {
  max-width: 540px;
}
.qr {
  width: 220px;
  height: 220px;
  display: block;
  margin: 18px auto;
}
.share-url {
  display: flex;
  gap: 8px;
}
.share-url input {
  width: 100%;
  min-width: 0;
  font-size: 13px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}
.admin-list {
  max-height: 75vh;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 6px;
}
.admin-list button {
  display: block;
  text-align: left;
  min-height: 64px;
  padding: 12px;
}
.admin-list .badge {
  display: inline-block;
  margin-top: 6px;
}
.admin-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.admin-form h2 {
  font-size: 23px;
}
.admin-form .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.admin-search {
  width: 100%;
  margin-bottom: 12px;
}
.privacy {
  max-width: 760px;
  margin: auto;
}
.privacy h1 {
  font-size: 36px;
}
.privacy h2 {
  font-size: 22px;
  margin-top: 32px;
}
.privacy p {
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1340px;
  padding: 26px 0;
  margin: auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
footer div {
  display: flex;
  gap: 24px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 14px 22px;
  max-width: calc(100% - 32px);
  z-index: 50;
  box-shadow: 0 4px 24px #17262b30;
  font-size: 14px;
}
.separator {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.mobile-kit {
  display: none;
}
.nowrap {
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  main {
    padding-top: 56px;
  }
}
@media (max-width: 1150px) {
  .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-inner {
    gap: 28px;
  }
  .masthead nav {
    gap: 18px;
  }
  .intro aside {
    display: none;
  }
  .admin-layout {
    grid-template-columns: 240px 1fr;
  }
  footer {
    margin: 0 40px;
  }
}
@media (max-width: 760px) {
  .header-inner {
    padding: 18px 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 16px;
  }
  .brand svg {
    width: 28px;
  }
  .brand small {
    font-size: 11px;
  }
  .masthead nav {
    order: 3;
    width: 100%;
    gap: 24px;
    margin-top: 8px;
  }
  .masthead nav a {
    padding: 8px 0;
    font-size: 13px;
  }
  .account-link {
    font-size: 12px;
    padding: 9px 12px;
  }
  main {
    padding: 30px 20px 44px;
  }
  .intro {
    margin-bottom: 26px;
  }
  .intro h1 {
    font-size: 33px;
  }
  .intro p {
    font-size: 15px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .search-field {
    flex-basis: 100%;
  }
  .toolbar select {
    max-width: none;
    flex: 1;
    font-size: 14px;
  }
  .toolbar .button {
    font-size: 13px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .filters {
    padding: 0;
    border: 0;
  }
  .filters h2,
  .filter-note {
    display: none;
  }
  .category-list {
    display: flex;
    overflow: auto;
    gap: 7px;
    padding: 2px 0 6px;
  }
  .category-list button {
    width: auto;
    white-space: nowrap;
    border: 1px solid var(--line);
    background: white;
    gap: 10px;
    min-height: 38px;
    font-size: 12px;
    padding: 7px 10px;
  }
  .gear-grid {
    gap: 12px;
  }
  .gear-art {
    height: 110px;
  }
  .gear-art svg {
    width: 68px;
    height: 68px;
  }
  .gear-art .category-label {
    font-size: 9px;
    left: 12px;
    top: 10px;
  }
  .gear-info {
    padding: 13px 12px 8px;
    min-height: 105px;
  }
  .gear-info h3 {
    font-size: 15px;
  }
  .gear-info .brand-name {
    font-size: 11px;
  }
  .gear-sub {
    font-size: 11px;
  }
  .gear-actions {
    padding: 0 12px 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .gear-actions button {
    width: 100%;
    min-height: 36px;
  }
  .badge {
    font-size: 10px;
  }
  .results-heading {
    font-size: 12px;
  }
  .results-heading p + p {
    max-width: 150px;
    text-align: right;
  }
  .research-box {
    padding: 22px 0 0;
  }
  .research-box form {
    flex-wrap: wrap;
  }
  .research-box input {
    flex-basis: 100%;
  }
  .research-box button {
    width: 100%;
  }
  .kit-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .kit-list {
    display: flex;
    overflow: auto;
    padding-bottom: 5px;
  }
  .kit-list button {
    min-width: 180px;
    width: auto;
  }
  .kit-editor {
    padding: 20px 16px;
  }
  .section-top {
    align-items: flex-start;
    gap: 12px;
  }
  .section-top h1 {
    font-size: 30px;
  }
  .section-top p {
    font-size: 14px;
  }
  .section-top button {
    font-size: 12px;
    white-space: nowrap;
  }
  .kit-item {
    gap: 9px;
    padding: 15px 0;
  }
  .mini-art {
    width: 38px;
    height: 42px;
  }
  .mini-art svg {
    width: 29px;
    height: 29px;
  }
  .kit-product {
    font-size: 13px;
  }
  .quantity {
    gap: 3px;
  }
  .quantity input {
    width: 40px;
  }
  .quantity button {
    min-width: 29px;
    padding: 3px 6px;
  }
  .kit-bottom {
    gap: 8px;
  }
  .kit-bottom .status {
    flex-basis: 100%;
    margin: 4px 0 0;
  }
  .kit-bottom button,
  .kit-bottom a {
    font-size: 13px;
    padding: 9px 12px;
  }
  .kit-editor label input {
    font-size: 17px;
  }
  .account-panel {
    padding: 28px 22px;
    margin-top: 10px;
  }
  .account-panel h1 {
    font-size: 28px;
  }
  .shared-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .shared-heading h1 {
    font-size: 34px;
  }
  .shared-list {
    padding: 0 16px;
  }
  .shared-heading .share-action {
    padding: 20px;
  }
  .shared-quantity {
    font-size: 16px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-layout .gear-art {
    height: 140px;
  }
  .detail-title {
    font-size: 26px;
  }
  .dialog-body {
    padding: 44px 22px 24px;
  }
  .dialog-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-list {
    max-height: 250px;
    grid-template-columns: 1fr 1fr;
  }
  .admin-list button {
    font-size: 13px;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .admin-form {
    padding: 20px 16px;
  }
  .form-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  footer {
    margin: 0 20px;
    padding: 24px 0;
    flex-direction: column;
    gap: 12px;
  }
  footer div {
    gap: 20px;
  }
  .privacy h1 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background-color 0.12s,
      border-color 0.12s;
  }
  .gear-card {
    transition: border-color 0.12s;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .category-list button {
    min-height: 44px;
  }
  .kit-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 36px;
  }
  .kit-item .quantity {
    grid-column: 2;
    grid-row: 2;
  }
  .kit-item .remove-item {
    grid-column: 3;
    grid-row: 1/3;
  }
  .quantity button {
    min-width: 40px;
    min-height: 44px;
  }
  .quantity input {
    min-height: 44px;
  }
  .gear-actions button {
    min-height: 44px;
  }
  .gear-info .brand-name {
    font-size: 12px;
  }
  .gear-sub {
    font-size: 12px;
  }
  .badge {
    font-size: 11px;
  }
}

.catalog-layout > *,
.kit-layout > *,
.admin-layout > * {
  min-width: 0;
}
@media (max-width: 760px) {
  .catalog-layout,
  .kit-layout,
  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-list {
    max-width: 100%;
  }
}
