:root {
  --ink: #19221c;
  --paper: #f8f6f2;
  --line: #dddcd4;
  --muted: #70766e;
  --accent: #fd763e;
  --peach: #fff2ec;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.hidden {
  display: none !important;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.4px;
  font-weight: 600;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font: 52px/1.08 var(--serif);
  letter-spacing: -1.8px;
  font-weight: 400;
}
h1 em {
  font-weight: 400;
}
h2 {
  font: 25px/1.2 var(--serif);
  letter-spacing: -0.5px;
}
h3 {
  font: 21px/1.2 var(--serif);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--ink);
  padding: 15px 20px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border-radius: 2px;
  min-height: 45px;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #2b392f;
}
.secondary {
  border-color: var(--line);
}
.text-button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-size: 12px;
  line-height: 1.5;
}
.error {
  padding: 14px 16px;
  background: #fff0ed;
  border: 1px solid #e0b8aa;
  color: #8e3a27;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.login {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.login-brand {
  width: 300px;
  background: var(--ink);
  padding: 24px 30px;
  margin-bottom: 38px;
  border-radius: 2px;
}
.login-brand img {
  width: 100%;
  display: block;
}
.login-card {
  width: 100%;
  max-width: 400px;
}
.login h1 {
  font-size: 43px;
  margin: 16px 0;
}
.login p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.login form {
  margin-top: 30px;
}
.login label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.login input {
  width: 100%;
  height: 50px;
  border: 1px solid #cccec5;
  background: #fff;
  padding: 0 14px;
  border-radius: 2px;
  color: var(--ink);
  margin-bottom: 24px;
}
.login input[readonly] {
  background: #edece6;
  color: var(--muted);
}
#code {
  letter-spacing: 8px;
  font-size: 22px;
}
.login .button {
  width: 100%;
}
.login .text-button {
  margin: 20px 20px 0 0;
  color: var(--muted);
}
.login .privacy-note {
  font-size: 11px;
  margin: 22px 0 35px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.back-link {
  font-size: 12px;
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: #151c16;
  color: #f4f0e8;
  display: flex;
  flex-direction: column;
  padding: 42px 24px 28px;
  position: sticky;
  top: 0;
  height: 100dvh;
}
.brand {
  display: block;
  margin: 0 0 58px;
}
.brand img {
  width: 100%;
  display: block;
}
.sidebar-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #aab2a8;
  margin: 0 12px 18px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.nav {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 12px;
  color: inherit;
  font-size: 12px;
  text-align: left;
}
.nav.active {
  background: #29332b;
  color: #ffc3a8;
}
.nav:hover {
  background: #252e27;
}
.account-menu {
  margin-top: auto;
  border-top: 1px solid #3a423b;
  padding: 24px 10px 0;
  display: grid;
  gap: 16px;
  color: #bac2b8;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.account-menu .text-button {
  text-align: left;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.topbar a {
  letter-spacing: 0;
  font-size: 11px;
}
.content {
  padding: 52px;
  max-width: 1440px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 58px;
}
.page-heading h1 {
  margin: 20px 0 0;
}
.page-heading p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 3px;
}
.section-heading {
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 20px;
  gap: 15px;
}
.order {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: left;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
  color: inherit;
}
.order:hover .order-name {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.thumb {
  width: 90px;
  height: 104px;
  background: #eeece5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.thumb span {
  font: 28px var(--serif);
  color: #9c9f94;
}
.order-brand {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.order-name {
  font: 24px/1.25 var(--serif);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.order-meta {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.order-end {
  display: flex;
  align-items: center;
  gap: 30px;
}
.arrow {
  font-size: 20px;
  font-weight: 400;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  padding: 7px 10px;
  background: #eaece5;
  border: 1px solid transparent;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status.attention {
  background: var(--peach);
  color: #a64622;
  border-color: #f0d1c0;
}
.status.authentic {
  background: #e6ece3;
  color: #345334;
}
.status.counterfeit {
  background: #f2e8e3;
  color: #7d4130;
}
.empty {
  padding: 70px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.empty h3 {
  margin-bottom: 12px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 11px;
  color: var(--muted);
}
.pagination button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 15px;
  color: var(--ink);
}
.pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}
.detail-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 30px;
}
.detail-heading h1 {
  font-size: 40px;
  margin: 12px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
  gap: 40px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}
.gallery a {
  display: flex;
  aspect-ratio: 1;
  background: #eeece5;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery figcaption {
  font-size: 10px;
  color: var(--muted);
  grid-column: 1/-1;
  line-height: 1.7;
}
.case-panel {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.case-panel:first-child {
  padding-top: 0;
}
.case-panel h2 {
  margin-bottom: 15px;
}
.case-panel p,
.finding {
  font-size: 13px;
  line-height: 1.8;
  color: #535d52;
  white-space: pre-line;
}
.case-panel .status {
  margin-bottom: 15px;
}
.photo-request {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.photo-request h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.photo-request label {
  margin-top: 14px;
}
.file-button {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  cursor: pointer;
  background: #fff;
}
.file-button:hover {
  border-color: var(--ink);
}
.file-button input {
  display: block;
  font-size: 11px;
  width: 100%;
  margin-top: 12px;
}
.upload-list {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 15px 0;
}
.finding {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.finding strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 5px;
}
.case-panel ul {
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
#submit-evidence {
  width: 100%;
  margin-top: 18px;
}
.upload-progress {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .content {
    padding-top: 65px;
  }
  .page-heading {
    margin-bottom: 70px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .sidebar {
    padding: 35px 20px;
  }
  .content {
    padding: 38px 30px;
  }
  .topbar {
    padding: 0 30px;
  }
  .page-heading p {
    max-width: 170px;
  }
  .page-heading p br {
    display: none;
  }
  .order {
    gap: 18px;
  }
  .order-end {
    gap: 15px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 24px;
  }
  .brand {
    width: 220px;
    margin: 0 0 22px;
  }
  .sidebar-label {
    display: none;
  }
  .sidebar nav {
    display: flex;
    justify-content: space-between;
  }
  .nav {
    padding: 12px;
    gap: 30px;
  }
  .account-menu {
    padding: 18px 12px 0;
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .topbar {
    height: 56px;
    padding: 0 24px;
  }
  .content {
    padding: 34px 24px;
  }
  .page-heading {
    display: block;
    margin-bottom: 40px;
  }
  .page-heading h1 {
    font-size: 46px;
  }
  .page-heading p {
    max-width: none;
    margin-top: 20px;
  }
  .order {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 22px 0;
  }
  .thumb {
    width: 64px;
    height: 80px;
  }
  .order-name {
    font-size: 22px;
    margin-bottom: 6px;
  }
  .order-end {
    grid-column: 2;
    justify-content: space-between;
  }
  .order .thumb {
    grid-row: span 2;
  }
  .order-brand {
    font-size: 9px;
  }
  .detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-heading h1 {
    font-size: 36px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    font-size: 8px;
    gap: 20px;
  }
  .login-brand {
    width: 265px;
  }
  .login-card {
    max-width: 360px;
  }
}

.drop-zone {
  border: 1px dashed #aeb4a8;
  text-align: center;
  padding: 24px 18px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.drop-zone strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.drop-zone > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 15px;
}
.drop-zone input {
  max-width: 235px;
  margin: 0 auto;
}
.drop-zone.drag-over {
  background: var(--peach);
  border-color: var(--accent);
}
.upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.upload-preview img,
.preview-placeholder {
  width: 58px;
  height: 65px;
  object-fit: contain;
  background: #ecebe4;
  flex-shrink: 0;
}
.preview-placeholder {
  display: grid;
  place-items: center;
}
.upload-preview > div {
  min-width: 0;
  flex: 1;
}
.upload-preview strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
}
.upload-preview span {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.upload-preview button {
  border: 0;
  background: none;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--muted);
  padding: 8px;
}
.upload-note {
  font-size: 11px !important;
  color: var(--muted) !important;
  margin: 15px 0 0 !important;
}
