@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02FF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02FF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02FF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --paper: #f8f8f6;
  --ink: #20211f;
  --muted: #686a65;
  --line: #ddded8;
  --tile: #eeefeb;
  --white: #fff;
  --radius: 6px;
  font-family: Inter,Arial,sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none!important;
}

body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,select,textarea {
  font: inherit;
  color: inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: .5;
  cursor: wait;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.site-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

.site-header {
  height: 100px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  transition: background .15s,color .15s;
}

.button-quiet {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.button-quiet:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: #40423d;
}

.button-outline {
  border-color: var(--line);
  background: transparent;
}

.button-outline:hover {
  background: var(--tile);
}

.hero {
  padding: 74px 0 66px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 500;
  margin: 0 0 22px;
  color: #555851;
}

h1,h2,h3,p {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(46px,5.6vw,72px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -4px;
  margin: 0;
}

.hero h1 {
  font-size: clamp(44px,4.7vw,60px);
  letter-spacing: -2.5px;
  text-wrap: balance;
}

.hero-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 25px 0 0;
}

.collection-toolbar {
  min-height: 80px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 22px;
}

.collection-toolbar h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  background: #e9eae5;
  color: #55584f;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 400;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

select {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 28px 9px 11px;
  font-size: 11px;
  max-width: 220px;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 42px 25px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-image {
  aspect-ratio: 1.18;
  background: var(--tile);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
}

.image-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #797c73;
  font-size: 11px;
}

.image-fallback::before {
  content: '↗';
  font-size: 32px;
  font-weight: 400;
  border: 1px solid #c4c8bd;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.item-number {
  position: absolute;
  top: 14px;
  left: 15px;
  z-index: 1;
  font-size: 9px;
  color: #55594e;
  letter-spacing: 1px;
  background: #f8f8f6cf;
  border-radius: 20px;
  line-height: 22px;
  padding: 0 8px;
}

.card-details {
  padding: 17px 1px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.card-title-row h3 {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.3px;
  margin: 0;
}

.price {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 8px 0 0;
}

.buy-link {
  font-size: 11px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-top: auto;
  padding: 20px 0 10px;
  gap: 12px;
}

.buy-link:hover {
  border-color: var(--ink);
}

.buy-link span:last-child {
  font-size: 17px;
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  padding: 26px 0 34px;
  margin-top: 76px;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}

.empty-state {
  padding: 65px 20px 70px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-mark {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  height: 48px;
  width: 48px;
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 14px;
}

.empty-state h2,.empty-state h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.7px;
  margin: 0 0 8px;
}

.empty-state p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 20px;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: 12px;
  box-shadow: 0 8px 30px #0002;
  z-index: 5;
  max-width: calc(100% - 32px);
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.admin-main {
  min-height: 60vh;
}

.login-panel {
  max-width: 380px;
  margin: 80px auto 100px;
}

.login-panel h1 {
  font-size: 46px;
  letter-spacing: -2.5px;
  line-height: 1.14;
}

.login-panel form {
  margin-top: 28px;
}

.login-panel .button {
  width: 100%;
}

label:not(.sort-label):not(.file-label) {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}

input,textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.6;
  min-width: 0;
}

input::placeholder,textarea::placeholder {
  color: #8b8e85;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 64px 0 48px;
}

.dashboard-heading h1 {
  font-size: 54px;
  letter-spacing: -2.8px;
}

.dashboard-heading .eyebrow {
  margin-bottom: 15px;
}

.dashboard-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  margin: 15px 0 0;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 22px;
}

.tab {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.tab.active {
  color: var(--ink);
  font-weight: 500;
}

.tab.active .count {
  background: var(--ink);
  color: white;
}

.card-admin-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 7px;
}

.card-admin-actions .button {
  font-size: 11px;
  min-height: 34px;
}

.watch-settings {
  margin: -10px 0 30px;
  font-size: 12px;
}

.watch-settings summary {
  cursor: pointer;
  width: fit-content;
  padding: 8px 0;
}

.watch-settings summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.watch-settings form {
  max-width: 500px;
  margin-top: 18px;
}

.alert-email-row {
  display: flex;
  gap: 8px;
}

.alert-email-row .button {
  flex-shrink: 0;
}

.watch-button {
  font-size: 11px;
  min-height: 32px;
}

.watch-on::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.watch-product {
  margin: -8px 0 24px;
  font-size: 14px;
}

#watch-form .watch-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.watch-toggle input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  padding: 0;
  accent-color: var(--ink);
}

.watch-facts {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 10px 16px;
  padding: 22px 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.watch-facts dt {
  color: var(--muted);
}

.watch-facts dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.watch-history-heading {
  font-size: 14px;
  font-weight: 500;
  margin: 24px 0 10px;
}

.watch-history {
  padding: 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  font-size: 12px;
}

.watch-history li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.watch-history strong {
  white-space: nowrap;
  font-weight: 500;
}

dialog {
  width: 560px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 100px #0002;
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: #181a1866;
  backdrop-filter: blur(4px);
}

body:has(dialog[open]) {
  overflow: hidden;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.dialog-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 8px;
}

.dialog-heading h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  font-weight: 500;
  margin: 0;
}

.icon-button {
  border: 0;
  background: none;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.icon-button:hover {
  background: var(--tile);
}

.required-note,.optional-note {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.url-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.url-row .button {
  white-space: nowrap;
  font-size: 11px;
  padding: 9px 12px;
}

.field-help {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 7px 0 0;
}

.form-message {
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0;
  min-height: 0;
}

.form-message.error {
  color: #842d2d;
}

.form-message:empty {
  margin: 0;
}

#item-form>input,#item-form>textarea {
  margin-bottom: 20px;
}

#item-form>.url-row {
  margin-bottom: 0;
}

#preview-message {
  margin-bottom: 20px;
}

.photo-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 24px;
}

.photo-preview {
  height: 78px;
  width: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tile);
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--muted);
}

.photo-preview img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.file-label {
  cursor: pointer;
  font-size: 11px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
}

.file-label:has(+.file-input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.dialog-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}

@media(min-width:1450px) {
  .site-shell {
    max-width: 1350px;
  }
  .hero {
    padding-top: 90px;
    padding-bottom: 80px;
  }
}

@media(max-width:850px) {
  .site-shell {
    padding: 0 30px;
  }
  .hero {
    padding: 58px 0;
  }
  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px 20px;
  }
  .card-title-row {
    flex-wrap: wrap;
    gap: 3px 10px;
  }
  .dashboard-heading h1 {
    font-size: 46px;
  }
}

@media(max-width:560px) {
  .site-shell {
    padding: 0 20px;
  }
  .site-header {
    height: 78px;
  }
  .share-button {
    font-size: 10px;
    gap: 8px;
  }
  .hero {
    padding: 44px 0;
  }
  h1 {
    font-size: 53px;
    letter-spacing: -3px;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 21px;
  }
  .collection-toolbar {
    align-items: flex-start;
    gap: 12px;
    min-height: 86px;
    padding-top: 19px;
  }
  .collection-toolbar h2 {
    font-size: 12px;
    gap: 7px;
    padding-top: 5px;
  }
  .sort-label {
    font-size: 0;
    gap: 0;
  }
  select {
    font-size: 10px;
    padding: 9px 18px 9px 8px;
    max-width: 160px;
  }
  .product-grid {
    gap: 30px 14px;
  }
  .product-image {
    aspect-ratio: .9;
  }
  .item-number {
    top: 9px;
    left: 9px;
    font-size: 8px;
    line-height: 18px;
    padding: 0 6px;
  }
  .card-details {
    padding-top: 12px;
  }
  .card-title-row {
    display: block;
  }
  .card-title-row h3 {
    font-size: 12px;
  }
  .price {
    font-size: 11px;
    display: block;
    margin-top: 5px;
  }
  .card-note {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 6px;
  }
  .buy-link {
    font-size: 10px;
    padding-top: 15px;
  }
  .site-footer {
    margin-top: 50px;
    font-size: 9px;
    padding-top: 21px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .button {
    font-size: 10px;
  }
  .header-actions a {
    max-width: 90px;
    text-align: right;
  }
  .dashboard-heading {
    padding: 42px 0 32px;
    display: block;
  }
  .dashboard-heading h1 {
    font-size: 44px;
  }
  .dashboard-heading .button {
    margin-top: 22px;
  }
  .tabs {
    gap: 13px;
  }
  .tab {
    font-size: 11px;
    gap: 6px;
    white-space: nowrap;
  }
  .count {
    min-width: 20px;
    height: 20px;
    font-size: 9px;
  }
  .card-admin-actions {
    display: block;
  }
  .card-admin-actions .button {
    font-size: 10px;
    min-height: 30px;
    padding: 4px 0;
  }
  .card-admin-actions .button+.button {
    margin-left: 12px;
  }
  .login-panel {
    margin-top: 54px;
  }
  .login-panel h1 {
    font-size: 43px;
  }
  dialog {
    padding: 24px 20px;
    max-height: calc(100dvh - 24px);
  }
  .dialog-heading h2 {
    font-size: 27px;
  }
  .empty-state {
    padding: 45px 14px;
  }
  .empty-state h3 {
    font-size: 18px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
