/* Listor · Tus compras, en orden. */
:root {
  --bg: #f5f3e8;
  --paper: #fffef8;
  --ink: #454b31;
  --muted: #6d735b;
  --border: #dedfce;
  --green: #454b31;
  --olive: #737c4b;
  --ivory: #f5f3e8;
  --list-color: #737c4b;
  color-scheme: light;
}
body {
  background: #f5f3e8;
  color: #454b31;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
h1,
h2,
.brand {
  font-family: Georgia, 'Times New Roman', serif;
}
h1 {
  font-weight: 600;
  letter-spacing: -0.7px;
}
h2 {
  font-weight: 600;
  letter-spacing: -0.35px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #737c4b;
  font-size: 35px;
  letter-spacing: -1px;
}
.brand img {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand span {
  color: #6d735b;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.1px;
  line-height: 1.35;
  margin-top: 5px;
}
.eyebrow {
  color: #454b31;
  font-size: 9px;
  letter-spacing: 1.7px;
}
aside {
  background: #fffef8;
  border-color: #dedfce;
}
.primary {
  background: #454b31;
  color: #f5f3e8;
  border: 1px solid #737c4b;
}
.primary:hover {
  background: #575f3b;
}
.text-button,
a {
  color: #454b31;
}
.danger {
  color: #a74432;
}
.nav.active {
  background: #e6e8d6;
  color: #454b31;
}
.nav:hover {
  background: #eeeedf;
}
.list-tab {
  border-left: 3px solid var(--list-color);
}
.list-tab.selected {
  background: #454b31;
  border-left: 3px solid var(--list-color);
  color: #f5f3e8;
}
.list-tab b {
  background: #e3e6d1;
  color: #454b31;
}
.list-tab.selected b {
  background: #f5f3e826;
  color: #f5f3e8;
}
.quick-add {
  border-color: #d8dcc2;
  background: #fffef8;
}
.quick-add > span {
  color: #737c4b;
}
.product-card,
.catalog-card,
.panel {
  background: #fffef8;
  border-color: #dedfce;
}
.shop-tag {
  background: #ebedd9;
  border-color: #dedfce;
  color: #454b31;
}
.checked {
  background: #e9ecd9;
  opacity: 0.85;
}
.checkmark {
  border-color: #a8af8b;
}
.checked .checkmark {
  background: #454b31;
  border-color: #454b31;
}
.done summary {
  color: #61694d;
}
.product-preview,
.icon-choice,
.icon-picker button {
  background: #eaedd9;
}
.empty {
  border-color: #bfc6a5;
}
.empty > span {
  color: #737c4b;
}
.muted,
.footnote,
footer,
.account small {
  color: #6d735b;
}
.login {
  background: radial-gradient(ellipse at top left, #e8e9d4, transparent 65%), #f5f3e8;
}
.login-card {
  background: #fffef8;
  border-color: #dedfce;
  box-shadow: 0 18px 60px #454b310c;
}
.login-card h1 {
  font-weight: 500;
}
.login .brand {
  font-size: 37px;
}
.login .muted {
  font-size: 12px;
}
#notice {
  background: #454b31;
  color: #f5f3e8;
}
.suggestions {
  background: #fffef8;
}
#pair-code {
  background: #e6ead2;
  color: #454b31;
}
dialog::backdrop {
  background: #373d2578;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline-color: #8d985d;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #737c4b;
  outline-offset: 1px;
}
@media (max-width: 650px) {
  aside {
    background: #fffef8;
    border-top-color: #dedfce;
  }
  .nav.active {
    background: #e6e8d6;
    color: #454b31;
  }
  .nav {
    border-radius: 9px;
  }
  h1 {
    font-size: 23px;
  }
  header > .outline {
    white-space: nowrap;
    flex: none;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .login .brand {
    font-size: 34px;
  }
  .list-toolbar h2 {
    font-size: 24px;
  }
}

.login .brand {
  align-items: center;
  gap: 12px;
}
.login .brand img {
  width: 56px;
  height: 56px;
}
.login .login-brand-copy {
  min-width: 0;
  line-height: 1.2;
}
.login .login-brand-copy span {
  display: block;
  text-align: left;
  font-weight: 700;
  margin: 5px 0 0;
}

.login-card {
  container-type: inline-size;
}
.login-card h1 {
  font-size: clamp(10px, 4.3cqi, 19px);
  white-space: nowrap;
  letter-spacing: -0.3px;
  line-height: 1.35;
}
.login .login-brand-copy span {
  font-size: 13px;
  margin-top: 1px;
  line-height: 1.3;
}
@media (max-width: 380px) {
  .login-card {
    padding: 25px 22px;
  }
  .login .login-brand-copy span {
    font-size: 12px;
  }
}

.login .login-brand-copy span {
  position: relative;
  top: -5px;
}

aside .brand {
  gap: 8px;
  align-items: center;
  font-size: 35px;
  line-height: 1.2;
}
aside .brand img {
  width: 44px;
  height: 44px;
}
aside .sidebar-brand-copy {
  min-width: 0;
}
aside .sidebar-brand-copy span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 1px 0 0;
  position: relative;
  top: -5px;
  white-space: nowrap;
  text-align: left;
}
@media (min-width: 651px) and (max-width: 900px) {
  aside .brand {
    font-size: 31px;
    gap: 6px;
  }
  aside .brand img {
    width: 40px;
    height: 40px;
  }
  aside .sidebar-brand-copy span {
    font-size: 9px;
  }
}
