:root {
  color-scheme: light;
  font-family: "Space Grotesk", system-ui, sans-serif;
  --bg: #f4f4f6;
  --panel: #ffffff;
  --panel-2: #f7f7f9;
  --ink: #1b1b1f;
  --muted: #5f5f6b;
  --accent: #e11d2e;
  --accent-2: #ff5c6c;
  --teal: #0f766e;
  --navy: #111827;
  --ring: rgba(225, 29, 46, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 15% 10%, #ffffff 0%, var(--bg) 55%);
  color: var(--ink);
}

.page {
  max-width: 1180px;
  margin: 32px auto;
  padding: 0 24px 60px;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  background: linear-gradient(135deg, #f4f4f6 0%, #ffffff 52%, #eef6f4 100%);
}

.login-screen.hidden {
  display: none;
}

.login-panel {
  width: min(100%, 390px);
  background: #fff;
  border: 1px solid #e3e3e7;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
}

.login-panel h1 {
  margin-top: 18px;
  font-size: 26px;
}

.login-info-button {
  position: absolute;
  left: 24px;
  bottom: 22px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  border: 1px solid rgba(216, 221, 232, 0.8);
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
}

.login-info-button:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #fff;
}

.login-powered-by {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(95, 95, 107, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.login-powered-by img {
  width: 76px;
  height: auto;
  display: block;
  opacity: 0.72;
}

.login-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.app-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.app-logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 42%, transparent 42%),
    linear-gradient(135deg, var(--navy) 0%, #253b3a 48%, var(--accent) 100%);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.18);
}

.app-logo-mark::before,
.app-logo-mark::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 999px;
}

.app-logo-mark::before {
  width: 26px;
  height: 5px;
  right: 8px;
  bottom: 10px;
}

.app-logo-mark::after {
  width: 5px;
  height: 26px;
  right: 18px;
  bottom: 0;
}

.app-logo-mark span {
  position: relative;
  z-index: 1;
  transform: translate(-5px, -3px);
  font-size: 15px;
  line-height: 1;
}

.app-logo-text {
  font-size: 20px;
  color: var(--navy);
}

.app-logo-large {
  justify-content: center;
}

.app-logo-large .app-logo-mark {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  font-size: 20px;
}

.app-logo-large .app-logo-mark::before {
  width: 35px;
  height: 7px;
  right: 10px;
  bottom: 14px;
}

.app-logo-large .app-logo-mark::after {
  width: 7px;
  height: 35px;
  right: 24px;
}

.app-logo-large .app-logo-mark span {
  font-size: 20px;
  transform: translate(-7px, -5px);
}

.app-logo-large .app-logo-text {
  font-size: 30px;
}

.user-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-name {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--panel);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

h1 { margin: 0 0 6px; font-size: 36px; letter-spacing: 0.5px; }

.badge {
  background: var(--accent);
  color: white;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.card {
  margin-top: 24px;
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.home-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.home-toolbar h2 {
  margin: 0;
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fab-add {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  background: var(--teal);
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.22);
}

.fab-add:hover {
  filter: brightness(1.05);
}

.form {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.grid-2 {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

.suggestions {
  display: grid;
  gap: 8px;
}

.suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e3e3e7;
  background: #ffffff;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
}

.suggestion em {
  font-style: normal;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--accent);
}

.suggestion.empty {
  justify-content: center;
  color: var(--muted);
  background: transparent;
  border-style: dashed;
}

.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.switch input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.hidden {
  display: none;
}

.error {
  color: var(--accent);
  font-size: 13px;
  background: #fff0f2;
  border: 1px solid #ffd1d6;
  padding: 8px 10px;
  border-radius: 8px;
}

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

.export-progress {
  margin-top: 8px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #ececf2;
  overflow: hidden;
}

.export-progress-bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #15803d 0%, #22c55e 100%);
  transition: width 0.2s ease;
}

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

.meta {
  color: var(--muted);
  font-size: 13px;
}

.divider {
  height: 1px;
  background: #e9e9ef;
  margin: 16px 0;
}

.panel {
  border: 1px dashed #e3e3e7;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.panel-title {
  font-size: 13px;
  font-weight: 700;
}

.panel button {
  width: 100%;
}

.missing-list {
  margin: 8px 0 12px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  display: grid;
  gap: 6px;
}

.upload-row {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.section-subcard {
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed #e3e3e7;
  border-radius: 10px;
  background: #fff;
}

.admin-main-photo-preview {
  margin-top: 10px;
  width: 100%;
  max-width: 460px;
  max-height: 280px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #ececf2;
  background: #f6f6f9;
  display: block;
}

.key-action-card {
  border-style: solid;
  border-color: #ffd1d6;
  background: #fff6f7;
}

.liciel-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-key-action {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-transfer {
  font-weight: 700;
}

.btn-push {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.btn-push:hover {
  filter: brightness(1.05);
}

.btn-pull {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.btn-pull:hover {
  filter: brightness(1.05);
}

.status-ok {
  color: #15803d;
  font-weight: 600;
}

.status-bad {
  color: #b91c1c;
  font-weight: 600;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid #ffd1d6;
}

.btn-light {
  background: #fff;
  color: var(--accent);
  border: 1px solid #ffd1d6;
}

.step-btn-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.table {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
}

.table-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.table-row input, .table-row select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}

.disorder-workspace-layout {
  margin-top: 8px;
  display: block;
  position: relative;
}

.disorder-workspace-main {
  min-width: 0;
}

.disorder-step-floating {
  margin-top: 10px;
  position: fixed;
  top: 132px;
  right: max(18px, calc((100vw - 1180px) / 2 - 238px));
  border: 1px solid #ececf2;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  width: 210px;
  margin-top: 0;
  z-index: 900;
}

.disorder-step-floating-actions {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.disorder-step-floating-actions button {
  width: 100%;
}

.disorder-photo-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.disorder-photo-card {
  border: 1px solid #ececf2;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
}

.disorder-photo-card.is-rejected {
  opacity: 0.8;
  border-style: dashed;
  background: #fff6f7;
}

.disorder-photo-preview {
  width: 130px;
  height: 98px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ececf2;
  background: #f6f6f9;
  cursor: zoom-in;
}

.disorder-photo-preview.empty {
  display: grid;
  place-items: center;
  color: #8f8fa1;
  font-size: 11px;
}

.disorder-photo-main {
  min-width: 0;
}

.disorder-photo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.disorder-photo-name {
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #e3e3e7;
  background: #f7f7fa;
  color: #444;
}

.pill.ok {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.pill.warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.pill.bad {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.disorder-photo-fields {
  margin-top: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.disorder-photo-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row .disorder-photo-actions {
  margin-top: 0;
}

.btn-bad {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.btn-good {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}

.disorder-category-board {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.disorder-priority-board {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.disorder-priority-section {
  border: 1px solid #ececf2;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.disorder-priority-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.disorder-priority-title {
  font-weight: 700;
  font-size: 14px;
}

.disorder-priority-meta {
  color: var(--muted);
  font-size: 12px;
}

.disorder-category-section {
  border: 1px solid #ececf2;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.disorder-category-header {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.disorder-category-title {
  font-weight: 700;
  font-size: 14px;
}

.disorder-category-desc {
  color: var(--muted);
  font-size: 12px;
}

.disorder-groups {
  display: grid;
  gap: 10px;
}

.disorder-group-card {
  border: 1px solid #ececf2;
  border-radius: 10px;
  padding: 10px;
  background: #fdfdff;
}

.disorder-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.disorder-group-title {
  font-weight: 700;
  font-size: 13px;
}

.disorder-group-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.disorder-group-photos {
  margin-top: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.disorder-group-photo {
  border: 1px solid #ececf2;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  display: grid;
  gap: 6px;
}

.disorder-group-photo img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ececf2;
  background: #f6f6f9;
  cursor: zoom-in;
}

.disorder-empty {
  border: 1px dashed #e3e3e7;
  border-radius: 10px;
  padding: 10px;
  color: #8f8fa1;
  font-size: 12px;
  background: #fff;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 10, 12, 0.92);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 16px;
}

.photo-lightbox.hidden {
  display: none;
}

.photo-lightbox-close {
  justify-self: end;
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}

.photo-lightbox-image {
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
  justify-self: center;
  align-self: center;
}

.photo-lightbox-caption {
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.54);
}

.modal.hidden {
  display: none;
}

.modal-panel {
  width: min(100%, 520px);
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-header h2 {
  margin: 0;
  font-size: 22px;
}

.modal-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.info-text {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.info-version {
  margin-top: 14px;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  color: #115e59;
  font-size: 12px;
  font-weight: 800;
}

.contact-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.contact-list a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
}

.contact-list a:hover {
  text-decoration: underline;
}

body.lightbox-open {
  overflow: hidden;
}

select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}

label {
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

@media (max-width: 900px) {
  .login-screen {
    padding-bottom: 72px;
  }
  .login-info-button {
    left: 18px;
    bottom: 18px;
  }
  .login-powered-by {
    right: 18px;
    bottom: 18px;
    font-size: 11px;
  }
  .login-powered-by img {
    width: 68px;
  }
  .hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .user-bar {
    width: 100%;
    justify-content: space-between;
  }
  .home-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-actions {
    width: 100%;
    justify-content: space-between;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .table-row {
    grid-template-columns: 1fr;
  }
  .disorder-photo-card {
    grid-template-columns: 1fr;
  }
  .disorder-photo-preview {
    width: 100%;
    height: 160px;
  }
  .disorder-step-floating {
    position: static;
  }
}
.dossier-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-left: 296px;
}

.sidebar-toggle {
  position: fixed;
  top: 122px;
  left: max(14px, calc((100vw - 1180px) / 2 - 22px));
  width: 30px;
  height: 30px;
  border-radius: 999px;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  z-index: 20;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);
}

#dossier-view.sidebar-collapsed .dossier-layout {
  padding-left: 0;
}

#dossier-view.sidebar-collapsed .sidebar {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-24px);
  overflow: hidden;
}

#dossier-view.sidebar-collapsed .sidebar-toggle {
  left: max(12px, calc((100vw - 1180px) / 2 + 8px));
}

.sidebar {
  position: fixed;
  top: 108px;
  left: max(24px, calc((100vw - 1180px) / 2));
  width: 270px;
  max-height: calc(100vh - 132px);
  background: var(--panel-2);
  border: 1px solid #e3e3e7;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 12px;
  overflow: auto;
  z-index: 850;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.sidebar-title {
  font-weight: 700;
  font-size: 16px;
}

.sidebar-meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #fff;
}

.nav a:hover {
  border-color: #ffd1d6;
  color: var(--accent);
}

.content {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.section {
  border: 1px solid #e3e3e7;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

@media (max-width: 900px) {
  .dossier-layout {
    padding-left: 0;
  }
  .sidebar {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-height: none;
  }
  .sidebar-toggle {
    display: none;
  }
  .disorder-step-floating {
    position: static;
    width: auto;
    right: auto;
  }
}

.admin-settings-panel {
  margin-top: 22px;
}

.admin-settings-stack {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.admin-settings-row {
  border: 1px solid #ececf2;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 8px;
}

.admin-settings-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-settings-code {
  color: var(--muted);
  font-size: 12px;
}

.admin-settings-template-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.item {
  border: 1px solid #e3e3e7;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.item-btn {
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: transform 0.08s ease, border-color 0.2s ease;
}

.item-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.item-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 10px;
}

.item-content {
  min-width: 0;
}

.item-photo {
  width: 120px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ececf2;
  background: #f6f6f9;
}

.item-photo-empty {
  display: grid;
  place-items: center;
  color: #8f8fa1;
  font-size: 11px;
  text-align: center;
  padding: 8px;
}

.item-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-sub { color: var(--muted); font-size: 13px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-meta { font-size: 12px; margin-top: 8px; font-weight: 600; }
.item-meta-ok { color: #15803d; }
.item-meta-progress { color: #b45309; }
.item-meta-neutral { color: #8f8fa1; }

@media (max-width: 640px) {
  .item-card {
    grid-template-columns: 1fr;
  }
  .item-photo {
    width: 100%;
    height: 120px;
  }
}
