:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #182237;
  background: #f3f5f8;
  font-size: 16px;
  --ink: #101b32;
  --muted: #647185;
  --line: #dce2eb;
  --accent: #d9f25d;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #668bde;
  outline-offset: 3px;
}
input:focus {
  outline: 2px solid #668bde;
  border-color: transparent;
}
[hidden] {
  display: none !important;
}
.header {
  height: 76px;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 40px;
}
.brand {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.7px;
  color: inherit;
  text-decoration: none;
}
.brand b {
  color: var(--accent);
}
.header-label {
  font-size: 14px;
  color: #bec9db;
  border-left: 1px solid #445067;
  padding-left: 28px;
}
.header #logout {
  color: #e7ecf4;
  margin-left: auto;
}
.shell {
  max-width: 1440px;
  margin: auto;
  padding: 36px 40px 64px;
}
.eyebrow,
.step {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.5px;
  color: #627083;
}
.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  margin: 7px 0 0;
  line-height: 1.2;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.45px;
  margin: 10px 0 8px;
}
p {
  color: var(--muted);
  line-height: 1.6;
}
.connection {
  font-size: 14px;
  background: #e7ebf2;
  color: #53647b;
  padding: 9px 13px;
  border-radius: 999px;
}
.connection.ready {
  background: #e7efc7;
  color: #3e5612;
}
.workspace-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
}
.project-sidebar {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}
.project-sidebar h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 32px 0 14px;
  color: var(--muted);
}
.project-list {
  display: grid;
  gap: 8px;
}
.project-item {
  background: none;
  border: 1px solid transparent;
  text-align: left;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  color: var(--ink);
}
.project-item strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
}
.project-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.project-item:hover {
  background: #e9edf3;
}
.project-item.active {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 3px 8px #101b3205;
}
.surface {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px;
  border-radius: 14px;
}
.surface p {
  margin: 6px 0 26px;
}
.primary,
.secondary,
.danger {
  border-radius: 8px;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.primary {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}
.primary:hover {
  background: #263754;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid #cfd7e3;
}
.secondary:hover {
  background: #f6f8fb;
}
.danger {
  background: #fff;
  color: #a4262c;
  border: 1px solid #e6c2c4;
}
.danger:hover {
  background: #fdf3f3;
}
.text-button {
  background: none;
  border: none;
  padding: 8px;
  color: var(--muted);
  font-size: 14px;
}
.full {
  width: 100%;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 8px;
}
input {
  padding: 12px 13px;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  min-width: 0;
  color: var(--ink);
  background: #fff;
  width: 100%;
}
.input-row {
  display: flex;
  gap: 10px;
}
.input-row input {
  flex: 1;
}
.help {
  font-size: 14px;
  line-height: 1.6;
}
.import-progress {
  margin-top: 22px;
  background: #f4f6fa;
  padding: 16px;
  border-radius: 8px;
}
.import-progress p {
  margin: 0 0 10px;
}
.editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.title-input {
  border: 0;
  background: none;
  font-size: 26px;
  font-weight: 680;
  letter-spacing: -0.8px;
  padding: 6px 0;
  margin: 4px 0;
  display: block;
  width: 100%;
  max-width: 560px;
}
.toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.muted {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.listing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.listing-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}
.listing-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.listing-order {
  background: #edf0f5;
  color: #788499;
  display: grid;
  place-items: center;
  border-radius: 7px;
  min-width: 30px;
  height: 30px;
  font-size: 13px;
  font-weight: 600;
}
.listing-title {
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.listing-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.listing-price {
  margin-left: auto;
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
}
.photo-upload {
  margin-bottom: 18px;
}
.photo-upload h3 {
  margin: 0;
  font-size: 17px;
}
.photo-drop.bulk {
  min-height: 130px;
  border-style: dashed;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.photo-cell {
  position: relative;
  margin: 0;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.photo-cell img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f4f6fa;
}
.photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #d8c2c4;
  background: rgba(255, 255, 255, 0.94);
  color: #a4262c;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.photo-remove:hover {
  background: #fdf3f3;
}
.photo-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 8px;
}
.photo-label span {
  font-weight: 400;
  color: var(--muted);
}
.photo-drop {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f6f8fb;
  border: 1px dashed #bfcad8;
  border-radius: 9px;
  cursor: pointer;
  min-height: 120px;
}
.photo-drop.has-image {
  border-style: solid;
}
.photo-drop.dragover {
  border: 2px solid #5c791c;
  background: #f3f8df;
}
.photo-drop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  background: #f5f6f8;
}
.photo-drop .drop-copy {
  font-size: 14px;
  color: #6a7a90;
  text-align: center;
  max-width: 190px;
  padding: 16px;
  line-height: 1.5;
}
.photo-drop.has-image .drop-copy {
  position: absolute;
  bottom: 10px;
  background: #ffffffed;
  max-width: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
}
.photo-drop.has-image:hover .drop-copy,
.photo-drop.has-image:focus-within .drop-copy {
  opacity: 1;
}
.photo-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.photo-drop:focus-within {
  outline: 3px solid #668bde;
  outline-offset: 2px;
}
.photo-status {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 6px;
}
.photo-status.error {
  color: #a52b2b;
}
.share-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #eaf1ce;
  border: 1px solid #d1df9c;
  border-radius: 10px;
  padding: 18px 20px;
}
.share-panel strong {
  font-size: 14px;
}
.share-panel a {
  display: block;
  color: #324b06;
  font-size: 14px;
  overflow-wrap: anywhere;
  margin: 5px 0;
}
.login-panel {
  max-width: 480px;
  margin: 70px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px;
}
.login-panel h1 {
  font-size: 28px;
}
.login-panel label {
  margin: 18px 0 0;
}
.login-panel input {
  margin-top: 7px;
}
.login-panel button {
  width: 100%;
  margin-top: 24px;
}
.notice {
  padding: 20px;
  border: 1px solid #e5c674;
  background: #fff8df;
  border-radius: 10px;
  line-height: 1.6;
}
.notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 20px;
  background: var(--ink);
  color: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px #101b3226;
  max-width: min(680px, calc(100% - 32px));
  z-index: 20;
  font-size: 14px;
  line-height: 1.5;
}
.notification.error {
  background: #842f2f;
}
.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: 1000px) {
  .shell {
    padding: 28px 24px;
  }
  .header {
    padding: 0 24px;
  }
  .workspace-grid {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
  }
  .project-sidebar {
    padding-right: 16px;
  }
  .editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .listing-price {
    display: none;
  }
}
@media (max-width: 700px) {
  .header {
    height: 66px;
    padding: 0 18px;
  }
  .header-label {
    display: none;
  }
  .shell {
    padding: 24px 16px;
  }
  .workspace-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  h1 {
    font-size: 27px;
  }
  .workspace-grid {
    display: block;
  }
  .project-sidebar {
    border: 0;
    padding: 0;
    margin-bottom: 24px;
  }
  .project-sidebar h2 {
    margin: 18px 0 10px;
  }
  .project-list {
    display: flex;
    overflow: auto;
    padding-bottom: 5px;
  }
  .project-item {
    min-width: 180px;
    max-width: 220px;
  }
  .surface {
    padding: 22px;
  }
  .input-row {
    flex-direction: column;
  }
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
  }
  .listing-card {
    padding: 16px;
  }
  .share-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .login-panel {
    margin: 20px auto;
    padding: 25px;
  }
  .photo-drop .drop-copy {
    font-size: 13px;
    padding: 8px;
  }
  .title-input {
    font-size: 24px;
  }
}
