@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750&display=swap");
:root {
  --ink: #272a2d;
  --muted: #7c7d80;
  --paper: #f7f6f3;
  --line: #e0dfdc;
  --accent: #647366;
  --radius: 13px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px "DM Sans",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid #63766c;
  outline-offset: 4px;
}
.topbar {
  height: 84px;
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.brand svg {
  width: 31px;
  height: 34px;
}
.brand-slash {
  margin: 0 5px;
  color: #9b9b98;
}
.brand-light {
  font-weight: 450;
}
.topbar nav {
  display: flex;
  gap: 32px;
  align-self: stretch;
  align-items: center;
  margin: auto;
  font-size: 13px;
  color: var(--muted);
}
nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  gap: 6px;
}
nav .nav-active {
  color: var(--ink);
}
nav .nav-active:after {
  content: "";
  height: 2px;
  background: var(--ink);
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
}
nav span {
  font-size: 10px;
  color: #85877e;
  border-radius: 4px;
  background: #eaeae5;
  padding: 2px 4px;
}
.status {
  font-size: 9px;
  letter-spacing: 1.3px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #657167;
  white-space: nowrap;
}
i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #7c9481;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 0 5.5%;
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 43px 0 29px;
  gap: 25px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.65px;
  font-weight: 650;
  color: #858783;
}
h1 {
  font:
    500 clamp(28px, 3vw, 43px) / 1.18 "Manrope",
    "DM Sans",
    sans-serif;
  letter-spacing: -1.6px;
  margin: 10px 0 0;
}
.intro p {
  color: #848581;
  line-height: 1.85;
  font-size: 12px;
  margin: 0 0 3px;
  max-width: 440px;
}
.viewer-shell {
  border: 1px solid #dcdbd7;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.viewport {
  height: min(73vh, 840px);
  min-height: 540px;
  background: radial-gradient(
    ellipse at 48% 38%,
    #eeece9 0%,
    #e5e2dd 67%,
    #ddd9d3 100%
  );
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.viewport canvas {
  position: absolute;
  inset: 0;
  display: block;
  touch-action: none;
}
.viewer-meta {
  position: absolute;
  top: 23px;
  left: 25px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}
.pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.1px;
  border: 1px solid #d2d2cb;
  border-radius: 20px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f1ed9e;
}
.pill i {
  width: 4px;
  height: 4px;
}
.subtle {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #979990;
}
.corner-label {
  position: absolute;
  left: 31px;
  bottom: 54px;
  z-index: 2;
  display: flex;
  gap: 11px;
  align-items: center;
  pointer-events: none;
}
.corner-label > span {
  font:
    300 32px Manrope,
    sans-serif;
  letter-spacing: -2px;
  color: #a5a69f;
}
.corner-label p {
  font-size: 11px;
  line-height: 1.8;
  color: #626760;
}
.corner-label small {
  font-size: 9px;
  color: #999c94;
}
.view-tools {
  position: absolute;
  top: 23px;
  right: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.view-tools button {
  background: #f8f6f1a9;
  border: 1px solid #d9d7d17a;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #70776c;
}
.view-tools button:hover,
.view-tools button.active {
  background: white;
  color: #2f4536;
}
.view-tools svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage-bottom {
  position: absolute;
  bottom: 17px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
  color: #93978e;
  font-size: 8px;
  letter-spacing: 1.1px;
}
.stage-bottom b {
  margin: 0 8px;
}
.controlbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 18px;
  min-height: 65px;
  background: #fcfbf8;
}
.views {
  display: flex;
  align-items: center;
  gap: 3px;
}
.views button {
  padding: 9px 13px;
  border: 0;
  background: transparent;
  color: #8c8c87;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
}
.views button:hover {
  background: #f0efea;
  color: #333;
}
.views .selected {
  background: #eaece5;
  color: #4b5d4b;
  font-weight: 600;
}
.views span:not(.separator) {
  margin-left: 7px;
  font-size: 12px;
}
.separator {
  display: block;
  width: 1px;
  height: 18px;
  background: #dddcd5;
  margin: 0 10px;
}
.material-tools {
  display: flex;
  gap: 7px;
}
.select-label select {
  background: transparent;
  border: 1px solid #dddcd7;
  color: #777972;
  border-radius: 6px;
  padding: 7px 22px 7px 8px;
  max-width: 126px;
  font-size: 10px;
  cursor: pointer;
}
.detail-strip {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 28px 3px 41px;
  border-bottom: 1px solid var(--line);
}
.detail-strip > div:first-child {
  max-width: 620px;
}
.detail-strip strong {
  display: block;
  font:
    600 16px Manrope,
    sans-serif;
  margin: 8px 0;
}
.detail-strip p {
  font-size: 12px;
  color: #91918b;
  line-height: 1.9;
  margin: 0;
}
.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: center;
  min-width: 310px;
}
button.primary,
button.secondary {
  border-radius: 7px;
  font-size: 11px;
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #dedfd7;
  white-space: nowrap;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.primary {
  background: #4b594c;
  color: white;
  border-color: #4b594c !important;
}
.secondary {
  color: #636d60;
  background: transparent;
}
.primary:hover {
  background: #374b3a;
}
.secondary:hover {
  background: #eaece6;
}
.downloads button span {
  font-size: 9px;
  opacity: 0.7;
}
.downloads > span {
  grid-column: 1/-1;
  text-align: right;
  color: #9c9e94;
  font-size: 9px;
  margin: 3px 0 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  padding: 43px 0 24px;
}
h2 {
  font:
    500 28px/1.3 Manrope,
    sans-serif;
  letter-spacing: -1px;
  margin: 9px 0 0;
}
.refresh-indicator {
  font-size: 10px;
  color: #94998f;
  display: flex;
  align-items: center;
  gap: 7px;
}
.refresh-indicator i {
  width: 5px;
  height: 5px;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf9f6;
}
.metrics > div {
  padding: 22px;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child {
  border: 0;
}
.metrics span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #999c91;
  display: block;
  margin-bottom: 14px;
}
.metrics strong {
  font:
    500 31px Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.metrics small {
  font-size: 11px;
  letter-spacing: 0;
  color: #a3a59b;
}
.metrics .metric-text {
  font:
    500 13px/1.65 "DM Sans",
    sans-serif;
  letter-spacing: 0;
  max-width: 190px;
  display: block;
}
.review-note {
  font-size: 10px;
  line-height: 1.9;
  color: #9a9c93;
  margin: 14px 0 23px;
  max-width: 960px;
}
.journal {
  display: grid;
  gap: 20px;
}
.entry {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf9f6;
}
.entry-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
}
.entry-number {
  font:
    500 12px Manrope,
    sans-serif;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #e8ebe3;
  color: #64725e;
  border-radius: 50%;
}
.entry h3 {
  font-weight: 550;
  font-size: 13px;
  margin: 0;
}
.entry-heading time {
  margin-left: auto;
  font-size: 9px;
  color: #969a91;
}
.entry-score {
  font-size: 10px;
  color: #6d7b65;
}
.capture-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.capture {
  min-width: 0;
}
.capture img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #e4e1dc;
  display: block;
  border-radius: 6px;
  border: 1px solid #ddded5;
}
.capture strong {
  font-size: 9px;
  font-weight: 500;
  display: block;
  margin: 9px 0 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777e71;
}
.capture code {
  font-size: 7px;
  line-height: 1.6;
  color: #a5a99d;
  overflow-wrap: anywhere;
  display: block;
}
.entry p {
  font-size: 11px;
  color: #93988b;
  line-height: 1.85;
  margin: 16px 0 0;
}
.empty-journal {
  border: 1px dashed var(--line);
  padding: 35px;
  color: #a1a394;
  font-size: 12px;
  border-radius: 10px;
  text-align: center;
}
.files-section {
  margin-bottom: 55px;
}
.workspace-card {
  background: #eceee6;
  border: 1px solid #dde0d5;
  padding: 22px;
  border-radius: 9px;
}
.workspace-card code {
  font-size: 11px;
  display: block;
  margin: 12px 0;
  color: #637159;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.workspace-card p {
  font-size: 10px;
  color: #969e8a;
  margin: 10px 0 0;
}
.file-list {
  margin: 17px 0 23px;
}
.file-row {
  display: flex;
  padding: 17px 3px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.file-row > span {
  border: 1px solid #d7dacf;
  background: #eef0e7;
  font-size: 9px;
  padding: 8px 6px;
  color: #7b886f;
  border-radius: 5px;
  min-width: 38px;
  text-align: center;
}
.file-row strong {
  font-size: 12px;
  font-weight: 500;
}
.file-row code {
  font-size: 9px;
  color: #a3a892;
  display: block;
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.file-row a {
  margin-left: auto;
  font-size: 17px;
  color: #869474;
}
details {
  border-top: 1px solid var(--line);
  padding-top: 19px;
}
summary {
  cursor: pointer;
  font-size: 12px;
  color: #7d866f;
}
.instructions {
  font-size: 11px;
  line-height: 1.9;
  color: #989e8d;
  max-width: 900px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 5.5%;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.65px;
  color: #a0a58f;
}
.stage-loading {
  position: absolute;
  z-index: 5;
  inset: 0;
  background: #e9e6e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  transition: opacity 0.5s;
}
.stage-loading strong {
  font:
    500 15px Manrope,
    sans-serif;
}
.stage-loading span {
  font-size: 11px;
  color: #92988d;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 1px solid #cfd2c5;
  border-top-color: #697b60;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #344438;
  color: #f6f8f3;
  box-shadow: 0 5px 30px #1c26162b;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 12px;
  transition: transform 0.25s;
  z-index: 100;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
body.capture-mode {
  background: #e6e2dd;
}
body.capture-mode .topbar,
body.capture-mode .intro,
body.capture-mode .controlbar,
body.capture-mode .detail-strip,
body.capture-mode .process-section,
body.capture-mode .files-section,
body.capture-mode footer,
body.capture-mode .viewer-meta,
body.capture-mode .corner-label,
body.capture-mode .view-tools,
body.capture-mode .stage-bottom {
  display: none;
}
body.capture-mode main {
  padding: 0;
  max-width: none;
}
body.capture-mode .viewer-shell {
  border: 0;
  border-radius: 0;
}
body.capture-mode .viewport {
  height: 100vh;
  min-height: 0;
}
@media (min-width: 1600px) {
  main {
    padding: 0 60px;
  }
  .viewport {
    height: 790px;
  }
}
@media (max-width: 1050px) {
  .brand-light {
    display: none;
  }
  .topbar {
    gap: 20px;
  }
  .intro p {
    max-width: 315px;
    font-size: 11px;
  }
  .controlbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .views button {
    padding: 8px 12px;
  }
  .detail-strip {
    gap: 24px;
  }
  .downloads {
    min-width: 220px;
    grid-template-columns: 1fr;
  }
  .downloads > span {
    text-align: left;
  }
  .capture-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metrics > div {
    padding: 18px;
  }
  .viewport {
    min-height: 500px;
  }
}
@media (max-width: 640px) {
  .topbar {
    height: 67px;
    padding: 0 5%;
    gap: 10px;
  }
  .brand {
    font-size: 11px;
    gap: 8px;
    letter-spacing: 1px;
  }
  .brand svg {
    width: 25px;
  }
  .brand-slash,
  .brand-light {
    display: none;
  }
  .topbar nav {
    gap: 18px;
    font-size: 11px;
    margin-left: auto;
    margin-right: 0;
  }
  .status {
    display: none;
  }
  main {
    padding: 0 4%;
  }
  .intro {
    padding: 28px 3px 22px;
    display: block;
  }
  .intro .eyebrow {
    font-size: 8px;
  }
  h1 {
    font-size: 31px;
    margin-top: 8px;
    letter-spacing: -1.1px;
  }
  .intro p {
    font-size: 10px;
    line-height: 1.8;
    margin-top: 13px;
    max-width: 95%;
  }
  .viewport {
    min-height: 480px;
    height: 66vh;
    max-height: 680px;
  }
  .viewer-meta {
    left: 15px;
    top: 16px;
  }
  .viewer-meta .subtle {
    display: none;
  }
  .pill {
    font-size: 7px;
    padding: 6px 8px;
  }
  .view-tools {
    right: 12px;
    top: 16px;
    gap: 5px;
  }
  .view-tools button {
    width: 30px;
    height: 30px;
  }
  .corner-label {
    left: 17px;
    bottom: 36px;
  }
  .corner-label > span {
    font-size: 26px;
  }
  .corner-label p {
    font-size: 9px;
  }
  .corner-label small {
    font-size: 7px;
  }
  .stage-bottom {
    left: 16px;
    right: 13px;
    font-size: 6px;
    letter-spacing: 0.5px;
    bottom: 13px;
  }
  .controlbar {
    padding: 11px 6px;
    gap: 10px;
  }
  .views {
    justify-content: center;
    width: 100%;
    gap: 1px;
  }
  .views button {
    padding: 7px 9px;
    font-size: 9px;
  }
  .separator {
    margin: 0 4px;
  }
  .material-tools select {
    font-size: 9px;
    padding: 6px 15px 6px 6px;
    max-width: 120px;
  }
  .detail-strip {
    display: block;
    padding: 23px 3px 28px;
  }
  .detail-strip strong {
    font-size: 14px;
  }
  .detail-strip p {
    font-size: 10px;
  }
  .downloads {
    margin-top: 19px;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    min-width: 0;
  }
  .downloads button {
    font-size: 10px;
    padding: 11px 10px;
    gap: 10px;
  }
  .downloads > span {
    font-size: 8px;
    text-align: left;
  }
  .section-heading {
    padding-top: 30px;
    align-items: center;
  }
  h2 {
    font-size: 23px;
  }
  .refresh-indicator {
    font-size: 8px;
    max-width: 95px;
    line-height: 1.6;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics > div:nth-child(2) {
    border-right: 0;
  }
  .metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .metrics > div {
    padding: 15px;
  }
  .metrics span {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .metrics strong {
    font-size: 27px;
  }
  .metrics .metric-text {
    font-size: 12px;
  }
  .review-note {
    font-size: 9px;
    line-height: 1.8;
  }
  .entry {
    padding: 12px;
  }
  .entry h3 {
    font-size: 11px;
  }
  .entry-heading {
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
  }
  .entry-heading time {
    font-size: 8px;
  }
  .entry-score {
    font-size: 9px;
  }
  .capture-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .capture strong {
    font-size: 8px;
  }
  .capture code {
    font-size: 6px;
  }
  .entry p {
    font-size: 10px;
  }
  .workspace-card {
    padding: 17px;
  }
  .workspace-card code {
    font-size: 9px;
  }
  .file-row {
    gap: 11px;
  }
  .file-row strong {
    font-size: 10px;
  }
  .file-row code {
    font-size: 8px;
  }
  .file-row > span {
    font-size: 8px;
    min-width: 33px;
  }
  footer {
    padding: 20px 5%;
    gap: 15px;
    font-size: 8px;
    line-height: 1.6;
  }
  footer > span:nth-child(2) {
    display: none;
  }
}

.archive-link {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding: 11px 13px;
  border: 1px solid #d9ddd1;
  border-radius: 7px;
  color: #65735b;
  font-size: 10px;
  background: #f0f2eb;
}
.archive-link:hover {
  background: #e6ebdf;
}
.archive-link span {
  font-size: 9px;
  opacity: 0.75;
}
