:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --ink: #26332c;
  --muted: #6d756c;
  --line: #d9ddd2;
  --orange: #d95e3b;
  --green: #244435;
  --soft: #edf0e7;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid #da6b4b;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.topbar {
  max-width: 1400px;
  margin: auto;
  min-height: 98px;
  padding: 26px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 30px;
  text-decoration: none;
  letter-spacing: -1.4px;
}
.brand-icon {
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff8ea;
  width: 32px;
  height: 36px;
  border-radius: 8px;
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  padding-bottom: 5px;
}
.brand-sub {
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 500;
  margin-left: 15px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  max-width: 130px;
  line-height: 1.6;
}
.topbar nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 12px;
}
.topbar nav a {
  text-decoration: none;
}
.private-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: #e8ecdf;
  border: 1px solid #d6dfca;
  border-radius: 30px;
  font-size: 11px;
}
.private-pill i {
  width: 6px;
  height: 6px;
  background: #5b7954;
  border-radius: 50%;
}
main {
  max-width: 1184px;
  margin: auto;
  padding: 0 36px;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  min-height: 460px;
  gap: 50px;
  padding: 48px 0 40px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  display: block;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.hero .eyebrow span {
  height: 1px;
  width: 26px;
  background: var(--orange);
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -3px;
  font-size: 70px;
  line-height: 1.07;
  margin: 23px 0 20px;
}
h1 em {
  color: var(--orange);
  font-weight: 400;
}
.hero p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.hero-notes {
  display: flex;
  gap: 22px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 25px;
}
.record-art {
  justify-self: center;
  position: relative;
  width: 320px;
  height: 337px;
  transform: rotate(5deg);
}
.sleeve {
  padding: 19px 21px;
  width: 310px;
  height: 303px;
  box-shadow: 8px 12px 22px #31403318;
  border: 1px solid #d9dccf;
  background: #e8ebde;
  position: relative;
  overflow: hidden;
}
.sleeve > span {
  font-size: 8px;
  letter-spacing: 2.2px;
}
.record {
  width: 220px;
  height: 220px;
  margin: 7px auto;
  background: repeating-radial-gradient(
    circle,
    #293c32 0,
    #293c32 1px,
    #23382d 2px,
    #23382d 4px
  );
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 12px #122a2933;
}
.label {
  width: 84px;
  height: 84px;
  background: #d86641;
  border: 3px solid #203e32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #ffe8b8;
  font-family: Georgia, serif;
  font-size: 41px;
  font-style: italic;
  line-height: 1;
}
.label span {
  font-family: Arial, sans-serif;
  font-style: normal;
  font-size: 5px;
  text-align: center;
  letter-spacing: 0.6px;
  line-height: 1.7;
  margin-top: 4px;
}
.sleeve-bottom {
  position: absolute;
  bottom: 15px;
  left: 20px;
  right: 20px;
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 1.2px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.sleeve-bottom b {
  font-size: 18px;
  font-family: Georgia, serif;
  letter-spacing: -1px;
}
.art-caption {
  font-size: 7px;
  letter-spacing: 1.7px;
  position: absolute;
  bottom: 9px;
  left: 6px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
h2 {
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.7px;
  margin: 9px 0 0;
}
h3 {
  font-weight: 550;
  font-size: 17px;
  margin: 15px 0 9px;
  letter-spacing: -0.3px;
}
.workspace {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.text-button {
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 12px;
  padding: 8px;
}
.import-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.capture-card,
.import-card {
  border-radius: 12px;
  padding: 24px 28px;
  min-height: 259px;
}
.capture-card {
  background: var(--green);
  color: var(--paper);
}
.capture-card p {
  color: #bdc9bf;
  font-size: 12px;
  line-height: 1.7;
  max-width: 350px;
  margin-bottom: 18px;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.step-icon {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff38;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 23px;
}
.small-tag {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #c5d2bf;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 42px;
  padding: 11px 17px;
  border-radius: 6px;
  text-decoration: none;
  border: 0;
  font-size: 12px;
  font-weight: 600;
}
.primary {
  background: var(--orange);
  color: #fff9ef;
}
.primary:hover {
  background: #c65030;
}
.secondary {
  background: var(--paper);
  border: 1px solid #ccd3c6;
  color: var(--ink);
}
.secondary:hover {
  background: #e7ebde;
}
.fine {
  font-size: 10px !important;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
}
.capture-card .fine {
  margin: 10px 0 0;
  color: #bccabc;
}
.import-card {
  border: 1px dashed #b8c2ae;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  background: #eef0e8;
}
.import-card:hover,
.import-card.dragover {
  border-color: var(--orange);
  background: #ecebdf;
}
.import-card .step-icon {
  border-color: #cbd3c2;
  color: #53664c;
}
.import-card h3 {
  margin-top: 14px;
}
.import-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.7;
}
.import-card .fine {
  margin-top: 12px;
}
.import-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.import-card:focus-within {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
#status {
  margin-top: 18px;
  border-radius: 7px;
  border: 1px solid #c6d3be;
  background: #edf2e4;
  padding: 13px 17px;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-line;
}
#status.error {
  background: #fff0e7;
  border-color: #e6b599;
}
#progress-wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
}
progress {
  width: 100%;
  height: 8px;
  accent-color: var(--orange);
}
.archive-summary {
  display: flex;
  gap: 40px;
  align-items: center;
  border-block: 1px solid var(--line);
  margin: 25px 0;
  padding: 22px 0;
}
.archive-summary > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.archive-summary strong {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}
.archive-summary > div > span {
  color: var(--muted);
  font-size: 10px;
}
.badge {
  margin-left: auto;
  background: #e8ebdf;
  color: #586b4c;
  font-size: 10px;
  padding: 7px 10px;
  border-radius: 5px;
}
.library-toolbar {
  display: flex;
  align-items: end;
  gap: 16px;
  margin: 20px 0 15px;
}
.library-toolbar label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.library-toolbar select,
.library-toolbar input {
  border: 1px solid var(--line);
  background: #fffdf7;
  border-radius: 5px;
  height: 38px;
  padding: 8px 12px;
  min-width: 220px;
  color: var(--ink);
  font-size: 12px;
}
.search-label {
  flex: 1;
}
.library-toolbar input {
  width: 100%;
  min-width: 0;
}
.table-scroll {
  overflow: auto;
  margin-top: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 500;
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 13px 10px;
  border-bottom: 1px solid #e5e7dd;
  max-width: 270px;
}
td:first-child {
  font-size: 10px;
  color: var(--muted);
  width: 36px;
}
td:nth-child(2) {
  min-width: 220px;
}
td:nth-child(3) {
  color: var(--muted);
  font-size: 11px;
  min-width: 150px;
}
td:nth-child(4),
td:nth-child(5) {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
td a {
  text-decoration: none;
  line-height: 1.5;
}
td a:hover {
  text-decoration: underline;
}
.artist {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.detail-pill {
  font-size: 8px;
  border: 1px solid #ced4c7;
  border-radius: 3px;
  padding: 2px 4px;
  white-space: nowrap;
  display: inline-block;
  margin: 2px;
}
td:last-child {
  min-width: 105px;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  padding: 10px 0;
}
.table-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.export-bar {
  margin-top: 22px;
  padding: 25px 28px;
  background: #e9eddf;
  border: 1px solid #d7dfcc;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.export-bar h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin: 8px 0;
}
.export-bar p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.export-actions {
  text-align: center;
}
.export-actions > div {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 9px;
}
.guide {
  padding: 50px 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 8px 0 28px;
}
.step-number {
  font-family: Georgia, serif;
  color: var(--orange);
  font-size: 24px;
}
.guide-grid h3 {
  font-size: 15px;
  margin: 12px 0 8px;
}
.guide-grid p,
.helper-content p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}
.helper {
  border-top: 1px solid var(--line);
}
.helper:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 12px;
  padding: 19px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
summary::-webkit-details-marker {
  display: none;
}
.helper-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 0 25px;
}
.helper-content h3 {
  font-size: 13px;
}
.helper-content .button {
  margin: 18px 0 10px;
}
.helper-content p + p {
  margin-top: 12px;
}
.helper-content > a {
  font-size: 12px;
}
code {
  font-size: 11px;
  background: #e6e9df;
  border-radius: 3px;
  padding: 2px 4px;
}
.paste-area {
  padding-bottom: 20px;
}
.paste-area label {
  font-size: 12px;
}
textarea {
  display: block;
  width: 100%;
  margin: 10px 0 15px;
  padding: 15px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: 12px monospace;
  resize: vertical;
}
footer {
  max-width: 1296px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 25px 36px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer .brand {
  font-size: 22px;
}
footer .brand-icon {
  width: 23px;
  height: 27px;
  font-size: 25px;
  border-radius: 5px;
}
footer > span,
footer > a:last-child {
  color: var(--muted);
  font-size: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 35px;
  width: min(480px, 90vw);
  box-shadow: 0 25px 80px #0003;
}
dialog::backdrop {
  background: #15251ab0;
}
dialog p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
dialog .close {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 25px;
}
#saved-list {
  max-height: 260px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.8;
}
#saved-list h4 {
  margin: 10px 0 4px;
}
#saved-list ul {
  padding-left: 20px;
}
.empty {
  text-align: center;
  padding: 30px;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 510px;
  }
  h1 {
    font-size: 78px;
  }
  .record-art {
    transform: rotate(5deg) scale(1.1);
  }
}
@media (max-width: 850px) {
  .topbar {
    padding: 20px 25px;
  }
  .brand-sub {
    display: none;
  }
  .topbar nav {
    gap: 18px;
  }
  .private-pill {
    display: none;
  }
  main {
    padding: 0 25px;
  }
  .hero {
    gap: 10px;
    min-height: 380px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .record-art {
    transform: rotate(5deg) scale(0.8);
    width: 270px;
  }
  .hero-notes {
    gap: 12px;
  }
  .archive-summary {
    gap: 25px;
  }
  .library-toolbar select {
    min-width: 170px;
  }
  .capture-card,
  .import-card {
    padding: 22px;
  }
  .guide-grid {
    gap: 22px;
  }
}
@media (max-width: 600px) {
  .topbar {
    min-height: 76px;
    padding: 18px 20px;
  }
  .brand {
    font-size: 26px;
  }
  .topbar nav {
    gap: 16px;
    font-size: 10px;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 0 32px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 59px;
  }
  .hero p {
    font-size: 13px;
  }
  .record-art {
    display: none;
  }
  .hero-notes {
    font-size: 9px;
    gap: 20px;
  }
  .eyebrow {
    font-size: 9px;
  }
  h2 {
    font-size: 27px;
  }
  .section-heading {
    gap: 12px;
  }
  .section-heading > .text-button {
    max-width: 90px;
    font-size: 10px;
  }
  .import-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .capture-card,
  .import-card {
    min-height: 245px;
  }
  .archive-summary {
    flex-wrap: wrap;
    gap: 22px;
  }
  .archive-summary strong {
    font-size: 25px;
  }
  .badge {
    margin-left: 0;
  }
  .library-toolbar {
    flex-wrap: wrap;
  }
  .library-toolbar label {
    flex: 1;
  }
  .library-toolbar select {
    min-width: 0;
    width: 100%;
  }
  .search-label {
    min-width: 160px;
  }
  .export-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
  }
  .export-actions .button {
    width: 100%;
  }
  .guide {
    padding: 36px 0;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 25px;
  }
  .guide-grid article {
    padding-left: 40px;
    position: relative;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 7px;
  }
  .helper-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  footer {
    flex-wrap: wrap;
    padding: 23px 20px;
  }
  footer > span {
    order: 3;
    width: 100%;
  }
  .table-footer {
    font-size: 9px;
  }
  .table-scroll {
    max-height: 550px;
  }
  .library-toolbar .text-button {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background 0.15s;
  }
  .record-art {
    animation: arrive 0.7s ease-out;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      translate: 0 12px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
.migration-section {
  margin-top: 38px;
  padding: 30px 0;
  border-block: 1px solid var(--line);
}
.migration-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 720px;
}
.migration-offline,
.destination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  background: #ebece2;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.migration-offline h3 {
  margin: 0 0 8px;
}
.migration-offline p {
  max-width: 600px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.migration-offline .button {
  flex-shrink: 0;
}
.destination strong {
  display: block;
  margin-top: 9px;
  font-size: 15px;
}
.migration-toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}
.migration-toolbar label,
.column-mapping label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}
.migration-toolbar select,
.column-mapping select {
  min-height: 38px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf7;
  color: var(--ink);
  max-width: 330px;
}
.migration-counts {
  font-size: 13px;
  margin: 24px 0 14px;
  line-height: 1.8;
}
.migration-table {
  table-layout: fixed;
  min-width: 680px;
}
.migration-table th:first-child {
  width: 27%;
}
.migration-table th:nth-child(2) {
  width: 58%;
}
.migration-table th:last-child {
  width: 15%;
}
.migration-table td:first-child {
  width: auto;
  font-size: 12px;
  color: var(--ink);
}
.migration-table td:last-child {
  white-space: normal;
  overflow-wrap: anywhere;
}
.migration-table td small {
  display: block;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 4px;
}
.migration-table select {
  width: 100%;
  padding: 8px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
  text-overflow: ellipsis;
}
.migration-table a {
  font-size: 10px;
  text-decoration: underline;
}
.migration-write {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}
.migration-write button {
  flex-shrink: 0;
}
.migration-write p {
  max-width: 440px;
}
#prev,
#next,
#migration-prev,
#migration-next {
  min-width: 36px;
}
#migration-status {
  padding: 12px 0;
}
#migration-status.error {
  color: #9c3b21;
}
.helper-content pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  background: #e8ecdf;
  padding: 14px;
  border-radius: 6px;
  line-height: 1.8;
}
.column-mapping {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.column-mapping select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.column-mapping label {
  min-width: 0;
}
.column-mapping p,
.mapping-actions {
  grid-column: 1 / -1;
}
.mapping-actions {
  display: flex;
  justify-content: end;
  gap: 12px;
}
@media (max-width: 600px) {
  .migration-offline,
  .migration-write {
    flex-direction: column;
    align-items: stretch;
  }
  .destination {
    align-items: start;
    padding: 18px;
  }
  .destination strong {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .migration-toolbar select {
    max-width: 100%;
  }
  .migration-toolbar label {
    flex: 1;
  }
  .column-mapping {
    grid-template-columns: 1fr;
  }
}
