:root {
  --desktop: #090a08;
  --chrome: #b9b5aa;
  --chrome-hi: #f0eadf;
  --chrome-low: #606159;
  --canvas: #e7e0d3;
  --panel: #d1cbc0;
  --paper: #f2ebdf;
  --ink: #12130f;
  --muted: #4b4c46;
  --select: #2d575a;
  --select-text: #f8f5ed;
  --rust: #9e3925;
  --ochre: #bd8f2f;
  --olive: #5d624e;
  --steel: #51656a;
  --aubergine: #63505a;
  --signal: #c8bd43;
  --focus: #e0a33c;
  --danger: #873927;
  --line: #777970;
  --ui: Tahoma, Verdana, "Segoe UI", sans-serif;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 16%, rgba(181, 74, 46, 0.28), transparent 24%),
    radial-gradient(circle at 86% 76%, rgba(189, 143, 47, 0.13), transparent 22%),
    radial-gradient(circle, rgba(255, 255, 255, 0.055) 0 0.7px, transparent 0.9px) 0 0 / 7px 7px,
    repeating-linear-gradient(116deg, transparent 0 43px, rgba(255, 255, 255, 0.025) 43px 44px),
    var(--desktop);
  font: 14px/1.45 var(--ui);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a,
input {
  border-radius: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: break-word;
}

button {
  overflow-wrap: normal;
  word-break: normal;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus), 0 0 0 6px var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--focus);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.desktop-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  padding: 12px 12px 46px;
}

.fs-window {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 31px 28px auto minmax(0, 1fr) 27px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--canvas);
  box-shadow: 4px 4px 0 var(--rust), 10px 11px 0 rgba(0, 0, 0, 0.76), 17px 18px 32px rgba(0, 0, 0, 0.38);
}

.titlebar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #070806;
  background: var(--select);
  color: white;
  padding: 4px 8px;
  font-size: 12px;
}

.titlebar__brand,
.titlebar__meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.titlebar__brand strong,
.titlebar__meta {
  font-weight: 800;
  letter-spacing: 0.025em;
}

.titlebar__brand strong,
.titlebar__meta span {
  white-space: nowrap;
}

.titlebar__brand > span:last-child {
  color: #d7e0de;
  font-family: var(--mono);
}

.titlebar__meta {
  color: #dae4e2;
  font-family: var(--mono);
}

.titlebar__status {
  color: #f2d888;
}

.titlebar__meta i {
  width: 11px;
  height: 11px;
  display: block;
  border: 1px solid #050605;
  background: var(--ochre);
  box-shadow: inset 1px 1px 0 #e1c16f;
}

.app-mark {
  width: 21px;
  height: 21px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #050605;
  background: var(--rust);
  color: white;
  font: 900 13px/1 var(--display);
  transform: skew(-6deg);
}

.menubar {
  height: 29px;
  display: grid;
  grid-template-columns: repeat(4, 92px);
  justify-content: start;
  align-items: stretch;
  border-bottom: 1px solid var(--chrome-low);
  background: var(--chrome);
  padding: 0 3px;
}

.menubar button {
  width: 92px;
  min-width: 0;
  min-height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0 10px;
  cursor: pointer;
  font: 13px/1 var(--ui);
  text-align: center;
  white-space: nowrap;
}

.menubar button:hover,
.menubar button:focus-visible {
  background: var(--select);
  color: white;
}

.toolbar {
  position: relative;
  z-index: 15;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--chrome-low);
  background: var(--chrome);
  padding: 7px;
  box-shadow: inset 0 1px 0 var(--chrome-hi);
}

.toolbar__nav,
.toolbar__tools,
.view-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.os-control {
  min-height: 40px;
  border: 1px solid var(--ink);
  background: var(--chrome);
  box-shadow: inset 1px 1px 0 var(--chrome-hi), inset -1px -1px 0 var(--chrome-low);
  cursor: pointer;
}

.os-control:hover {
  background: #cbc8bf;
}

.os-control:active,
.os-control[aria-pressed="true"] {
  box-shadow: inset 1px 1px 0 var(--chrome-low), inset -1px -1px 0 var(--chrome-hi);
  transform: translate(1px, 1px);
}

.os-control:disabled {
  cursor: default;
  opacity: 0.35;
}

.icon-control {
  position: relative;
  width: 40px;
  height: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
}

.nav-glyph {
  width: 18px;
  height: 14px;
  display: block;
  background: currentColor;
  clip-path: polygon(0 50%, 42% 7%, 42% 35%, 100% 35%, 100% 65%, 42% 65%, 42% 93%);
  transform-origin: 50% 50%;
}

.icon-forward .nav-glyph {
  transform: rotate(180deg);
}

.icon-up .nav-glyph {
  transform: rotate(90deg);
}

.sidebar-toggle {
  display: none;
}

.sidebar-toggle > span {
  position: relative;
  width: 18px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.sidebar-toggle > span::before,
.sidebar-toggle > span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  left: 0;
  top: -6px;
  background: var(--ink);
}

.sidebar-toggle > span::after {
  top: 6px;
}

.address-bar {
  min-width: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: inset 1px 1px 0 var(--chrome-low);
  scrollbar-width: none;
}

.address-bar::-webkit-scrollbar {
  display: none;
}

.breadcrumb-button {
  flex: 0 0 auto;
  min-height: 37px;
  border: 0;
  border-right: 1px solid #b5b1a8;
  background: transparent;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.breadcrumb-button::after {
  content: "›";
  margin-left: 11px;
  color: var(--muted);
}

.breadcrumb-button:last-child {
  padding-right: 15px;
}

.breadcrumb-button:last-child::after {
  display: none;
}

.breadcrumb-button:hover {
  background: #e2ded4;
}

.search-box {
  position: relative;
  display: block;
}

.search-box input {
  width: clamp(150px, 17vw, 250px);
  height: 40px;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 7px 10px 7px 35px;
  box-shadow: inset 1px 1px 0 var(--chrome-low);
}

.search-icon {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  background: var(--ink);
  transform: rotate(45deg);
}

.view-switch {
  display: grid;
  grid-template-columns: 40px 40px;
  gap: 0;
}

.view-button {
  position: relative;
  width: 40px;
  height: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
}

.view-button + .view-button {
  margin-left: -1px;
}

.grid-glyph {
  width: 6px;
  height: 6px;
  display: block;
  background: currentColor;
  box-shadow: 9px 0 currentColor, 0 9px currentColor, 9px 9px currentColor;
  transform: translate(-4.5px, -4.5px);
}

.list-glyph {
  position: relative;
  width: 19px;
  height: 16px;
  display: block;
}

.list-glyph::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 3px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 6px currentColor, 0 12px currentColor;
}

.list-glyph::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 7px;
  width: 12px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px currentColor, 0 12px currentColor;
}

.view-button[aria-pressed="true"] {
  z-index: 1;
  background: var(--select);
  color: var(--select-text);
  box-shadow: inset 1px 1px 0 #203f44, inset -1px -1px 0 rgba(255, 255, 255, 0.25);
  transform: none;
}

.language {
  width: 80px;
  height: 40px;
  min-height: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 2px;
  box-shadow: inset 1px 1px 0 var(--chrome-low);
}

.language button {
  width: 100%;
  height: 34px;
  min-height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 700 11px/1 var(--mono);
  white-space: nowrap;
}

.language button + button {
  border-left: 1px solid var(--line);
}

.language button[aria-pressed="true"] {
  background: var(--select);
  color: var(--select-text);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.22), inset -1px -1px 0 rgba(0, 0, 0, 0.35);
}

.cart-trigger {
  min-width: 112px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 9px;
  font-weight: 700;
  white-space: nowrap;
}

.cart-trigger b,
.mobile-nav b {
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  background: var(--rust);
  color: white;
  font: 700 11px/1 var(--mono);
}

.cart-icon {
  position: relative;
  width: 18px;
  height: 17px;
  display: inline-block;
  flex: 0 0 auto;
  border: 0;
  transform: none;
}

.cart-icon::before {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 0;
  left: 1px;
  height: 12px;
  border: 2px solid currentColor;
  background: transparent;
}

.cart-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 5px;
  width: 8px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  background: transparent;
}

.workspace {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 310px;
  background: var(--canvas);
}

.sidebar,
.inspector,
.file-pane {
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset -1px 0 0 var(--chrome-hi);
  padding: 15px 10px 30px;
}

.sidebar section + section {
  margin-top: 23px;
}

.sidebar-language {
  display: none;
}

.sidebar h2 {
  margin: 0 8px 7px;
  color: var(--muted);
  font: 700 11px/1.3 var(--mono);
  letter-spacing: 0.07em;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
}

.tree-item {
  position: relative;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.tree-item:hover {
  background: rgba(255, 255, 255, 0.4);
}

.tree-item.is-current {
  border-left-color: var(--rust);
  background: var(--select);
  color: white;
  font-weight: 700;
}

.tree-item small {
  margin-left: auto;
  font: 700 11px/1 var(--mono);
  white-space: nowrap;
}

.tree-item > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tree-icon {
  position: relative;
  width: 18px;
  height: 13px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  background: var(--ochre);
}

.tree-icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  top: -5px;
  left: -1px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  background: inherit;
}

.tree-item.is-current .tree-icon {
  border-color: white;
}

.tree-icon--doc {
  width: 14px;
  height: 17px;
  background: var(--paper);
}

.tree-icon--doc::before {
  width: 6px;
  height: 5px;
  top: -1px;
  right: -1px;
  left: auto;
  border: 0;
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--panel);
}

.tree-icon--play {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--steel);
}

.tree-icon--play::before {
  width: 0;
  height: 0;
  top: 4px;
  left: 6px;
  border: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid white;
  background: transparent;
}

.sidebar-backdrop {
  position: absolute;
  z-index: 29;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.file-pane {
  position: relative;
  container-name: filepane;
  container-type: inline-size;
  background:
    linear-gradient(rgba(20, 21, 18, 0.022) 1px, transparent 1px) 0 0 / 100% 24px,
    var(--canvas);
}

.view-content {
  min-height: 100%;
  padding: clamp(22px, 3vw, 42px);
}

.view-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 28px;
  padding-bottom: 17px;
  border-bottom: 2px solid var(--ink);
}

.view-heading__copy {
  min-width: 0;
}

.view-heading__copy p:first-child {
  margin-bottom: 8px;
  color: var(--rust);
  font: 700 12px/1.3 var(--mono);
  letter-spacing: 0.06em;
}

.view-heading h1 {
  max-width: 18ch;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  font: 900 clamp(32px, 3.4vw, 46px) / 0.95 var(--display);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.view-heading__copy > p:last-child {
  max-width: 700px;
  margin: 14px 0 0;
  color: #494a44;
  font-size: 16px;
}

.view-heading__hint {
  flex: 0 0 auto;
  max-width: 260px;
  color: var(--muted);
  font: 12px/1.5 var(--mono);
  text-align: right;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  align-content: start;
  gap: 19px 14px;
}

.folder-item {
  position: relative;
  min-width: 0;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid transparent;
  background: transparent;
  padding: 12px 8px 10px;
  cursor: default;
  text-align: center;
}

.folder-item:hover {
  border-color: var(--select);
  background: rgba(49, 92, 99, 0.08);
}

.folder-item.is-selected {
  border-color: var(--select);
  background: var(--select);
  color: var(--select-text);
}

.folder-icon {
  --tone: var(--ochre);
  position: relative;
  width: 104px;
  height: 70px;
  display: block;
  flex: 0 0 auto;
  margin: 17px 0 12px;
  border: 2px solid var(--ink);
  background: var(--tone);
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.25);
}

.folder-icon::before {
  content: "";
  position: absolute;
  width: 47px;
  height: 16px;
  top: -17px;
  left: -2px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  background: var(--tone);
}

.folder-icon::after {
  content: "";
  position: absolute;
  inset: 13px 12px;
  border: 1px solid rgba(20, 21, 18, 0.5);
  background:
    linear-gradient(135deg, transparent 43%, rgba(20, 21, 18, 0.85) 44% 57%, transparent 58%),
    rgba(244, 240, 231, 0.26);
}

.folder-icon--bundle {
  --tone: var(--rust);
}

.folder-item strong {
  max-width: 100%;
  font-size: 13px;
  line-height: 1.25;
  hyphens: none;
}

.folder-item small {
  margin-top: 4px;
  color: var(--muted);
  font: 11px/1.35 var(--mono);
}

.folder-item.is-selected small {
  color: #d7e2df;
}

.folder-grid.is-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.folder-grid.is-list .folder-item {
  min-height: 58px;
  display: grid;
  grid-template-columns: 47px minmax(140px, 1fr) minmax(120px, 0.7fr) 80px;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #b8b4aa;
  padding: 8px 10px;
  text-align: left;
}

.folder-grid.is-list .folder-icon {
  width: 34px;
  height: 24px;
  margin: 6px 0 0;
  border-width: 1px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.folder-grid.is-list .folder-icon::before {
  width: 15px;
  height: 6px;
  top: -7px;
  left: -1px;
  border-width: 1px;
}

.folder-grid.is-list .folder-icon::after {
  display: none;
}

.folder-grid.is-list .folder-item small {
  margin: 0;
}

.folder-list-price {
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.system-files {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.system-files h2 {
  margin: 0 0 14px;
  font: 700 12px/1.3 var(--mono);
  letter-spacing: 0.06em;
}

.system-file-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.system-file {
  min-width: 185px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
}

.system-file strong {
  min-width: 0;
  font-size: 12px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.system-file:hover {
  border-color: var(--select);
}

.file-icon {
  --file-color: var(--paper);
  position: relative;
  width: 35px;
  height: 37px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: end center;
  border: 1px solid var(--ink);
  background: var(--file-color);
  padding-bottom: 4px;
  font: 700 8px/1 var(--mono);
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.file-icon::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: -1px;
  right: -1px;
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--canvas);
}

.file-icon--audio {
  --file-color: #d0d8d9;
}

.file-icon--pdf {
  --file-color: #e1b7ad;
}

.file-icon--text {
  --file-color: #eee8d8;
}

.inspector {
  border-left: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 1px 0 0 var(--chrome-hi);
  padding: 20px;
}

.inspector-empty {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.inspector-empty .folder-icon {
  opacity: 0.5;
}

.inspector-empty h2 {
  margin: 20px 0 8px;
  font-size: 17px;
}

.inspector-empty p {
  max-width: 230px;
}

.inspector-cover {
  --tone: var(--rust);
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--tone);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.25);
}

.inspector-cover::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 58%;
  top: 17%;
  left: 12%;
  border: 18px solid var(--ink);
  transform: rotate(-8deg);
}

.inspector-cover::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 3px;
  right: -5%;
  bottom: 24%;
  background: var(--paper);
  transform: rotate(-18deg);
}

.inspector-cover span,
.inspector-cover strong {
  position: absolute;
  z-index: 2;
  color: white;
}

.inspector-cover span {
  top: 12px;
  left: 13px;
  font: 700 11px/1 var(--mono);
}

.inspector-cover strong {
  right: 13px;
  bottom: 12px;
  left: 13px;
  font: 900 clamp(24px, 2.6vw, 36px) / 0.9 var(--display);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.inspector h2 {
  margin: 22px 0 9px;
  font: 900 24px/0.95 var(--display);
  text-transform: uppercase;
}

.inspector > p {
  color: #484943;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 14px 0;
}

.tag-row span {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
}

.inspector-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.inspector-facts span {
  border-bottom: 1px solid var(--line);
  padding: 8px 5px 8px 0;
  font: 11px/1.35 var(--mono);
}

.inspector-facts span:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.inspector-facts span:nth-child(even) {
  padding-left: 8px;
}

.inspector-price {
  margin: 18px 0 10px;
  font: 900 31px/1 var(--display);
  white-space: nowrap;
}

.inspector-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.inspector-actions button,
.purchase-strip button,
.help-action,
.cart-empty button,
.checkout-window__body button {
  min-height: 44px;
  border: 1px solid var(--ink);
  background: var(--chrome);
  box-shadow: inset 1px 1px 0 var(--chrome-hi), inset -1px -1px 0 var(--chrome-low);
  cursor: pointer;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}

.inspector-actions button,
.purchase-strip button,
.help-action,
.cart-empty button,
.file-row__action,
.status-legal {
  white-space: nowrap;
}

.inspector-actions .primary-action,
.purchase-strip .primary-action {
  background: var(--rust);
  color: white;
  box-shadow: inset 1px 1px 0 #d08c79, inset -1px -1px 0 #642b1f;
}

.inspector-actions .primary-action {
  grid-column: 1 / -1;
}

.file-details {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.file-details__icon {
  margin-bottom: 14px;
}

.file-details h2 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: -0.035em;
  text-transform: none;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.file-details dl {
  margin: 17px 0;
  border-top: 1px solid var(--line);
}

.file-details dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.file-details dt {
  color: var(--muted);
  font-size: 11px;
}

.file-details dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.file-details dl > div:first-child dd {
  white-space: nowrap;
}

.availability {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
}

.availability strong {
  display: block;
  margin-bottom: 5px;
  color: var(--rust);
  font: 700 11px/1.3 var(--mono);
}

.statusbar {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  align-items: center;
  border-top: 1px solid var(--chrome-low);
  background: var(--chrome);
  box-shadow: inset 0 1px 0 var(--chrome-hi);
  padding: 3px 7px;
  font: 11px/1.2 var(--mono);
}

.statusbar span {
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--chrome-low);
  padding: 2px 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.statusbar span:last-child {
  border-right: 0;
}

.status-legal {
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--chrome-low);
  background: transparent;
  padding: 0 11px;
  cursor: pointer;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.05em;
}

.status-legal:hover,
.status-legal:focus-visible {
  background: var(--select);
  color: white;
}

.taskbar {
  position: fixed;
  z-index: 70;
  right: 0;
  bottom: 0;
  left: 0;
  height: 39px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-top: 2px solid var(--chrome-hi);
  background: var(--chrome);
  padding: 3px 5px;
  box-shadow: inset 0 1px 0 white;
}

.start-button,
.task-window {
  height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--ink);
  background: var(--chrome);
  box-shadow: inset 1px 1px 0 var(--chrome-hi), inset -1px -1px 0 var(--chrome-low);
  cursor: pointer;
}

.start-button {
  padding: 2px 9px 2px 4px;
}

.start-button .app-mark {
  width: 24px;
  height: 24px;
}

.task-window {
  min-width: 210px;
  max-width: 290px;
  padding: 4px 10px;
  font-size: 12px;
  text-align: left;
}

.task-window > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-folder {
  position: relative;
  width: 20px;
  height: 14px;
  display: inline-block;
  border: 1px solid var(--ink);
  background: var(--ochre);
}

.mini-folder::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  top: -5px;
  left: -1px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  background: inherit;
}

.task-audio {
  min-width: 0;
  display: grid;
  flex: 1;
  grid-template-columns: 29px minmax(120px, auto) minmax(90px, 1fr) 48px 29px;
  align-items: center;
  gap: 7px;
  height: 31px;
  border: 1px solid var(--ink);
  background: #a8a69f;
  padding: 3px 5px;
}

.task-audio button {
  -webkit-appearance: none;
  appearance: none;
  width: 27px;
  height: 23px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  border: 1px solid var(--ink);
  background: var(--chrome);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.task-audio > div:nth-child(2) {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.task-audio strong {
  overflow: hidden;
  font: 700 11px/11px var(--ui);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-audio > div:nth-child(2) > span,
.task-audio time {
  color: #44453f;
  font: 10px/10px var(--mono);
}

.task-audio time {
  white-space: nowrap;
}

.task-progress {
  height: 5px;
  background: #71736b;
}

.task-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--rust);
}

.dock-toggle-glyph,
.dock-close-glyph {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
  color: currentColor;
}

[data-dock-toggle][data-state="play"] .dock-toggle-glyph::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 3px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

[data-dock-toggle][data-state="pause"] .dock-toggle-glyph::before,
[data-dock-toggle][data-state="pause"] .dock-toggle-glyph::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 3px;
  background: currentColor;
}

[data-dock-toggle][data-state="pause"] .dock-toggle-glyph::before {
  left: 2px;
}

[data-dock-toggle][data-state="pause"] .dock-toggle-glyph::after {
  right: 2px;
}

.dock-close-glyph::before,
.dock-close-glyph::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}

.dock-close-glyph::before {
  transform: rotate(45deg);
}

.dock-close-glyph::after {
  transform: rotate(-45deg);
}

.task-clock {
  min-width: 78px;
  height: 31px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--chrome-low);
  box-shadow: inset 1px 1px 0 var(--chrome-low), inset -1px -1px 0 var(--chrome-hi);
  font: 11px/1.1 var(--mono);
}

.task-clock small {
  color: #4b4c46;
  font-size: 10px;
}

.mobile-nav {
  display: none;
}

.product-banner {
  --tone: var(--rust);
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 17px;
}

.product-banner__art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--tone);
}

.product-banner__art::before {
  content: "";
  position: absolute;
  inset: 20% 38% 20% 12%;
  background: var(--ink);
  transform: skew(-8deg);
}

.product-banner__art::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 45%;
  top: 28%;
  right: 10%;
  border: 12px solid var(--paper);
}

.product-banner h1 {
  margin: 0;
  font: 900 clamp(30px, 4vw, 48px) / 0.92 var(--display);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.product-banner p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #494a44;
  font-size: 16px;
}

.product-banner__buy {
  min-width: 165px;
  text-align: right;
}

.product-banner__buy strong {
  display: block;
  margin-bottom: 10px;
  font: 900 34px/1 var(--display);
}

.product-banner__buy button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ink);
  background: var(--rust);
  color: white;
  box-shadow: inset 1px 1px 0 #d08c79, inset -1px -1px 0 #642b1f;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.file-list {
  border: 1px solid var(--line);
  background: var(--paper);
}

.file-list__header,
.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(72px, 0.5fr) minmax(0, 1fr) minmax(118px, max-content);
  align-items: center;
  gap: 12px;
}

.file-list__header {
  min-height: 35px;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.file-list__header span,
.file-row > span:nth-child(2),
.file-row__action {
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.file-row {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid #c8c4ba;
  background: transparent;
  padding: 7px 12px;
  cursor: default;
  text-align: left;
}

.file-row:last-child {
  border-bottom: 0;
}

.file-row:hover {
  background: #dfe5e3;
}

.file-row.is-selected {
  background: var(--select);
  color: var(--select-text);
}

.file-row__name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.file-row__name strong {
  min-width: 0;
  font: 700 clamp(10px, 1vw, 13px)/1.25 var(--mono);
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.file-row > span:not(.file-row__name) {
  color: var(--muted);
  font-size: 12px;
}

.file-row.is-selected > span {
  color: inherit;
}

.row-folder-icon {
  position: relative;
  width: 31px;
  height: 21px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  background: var(--ochre);
}

.row-folder-icon::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 5px;
  top: -6px;
  left: -1px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  background: inherit;
}

.file-row.is-selected .row-folder-icon,
.file-row.is-selected .file-icon {
  border-color: white;
}

.file-row__action {
  justify-self: end;
  min-height: 34px;
  border: 1px solid var(--ink);
  background: var(--chrome);
  color: var(--ink);
  padding: 5px 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

@container filepane (max-width: 790px) {
  .file-list {
    border: 0;
    background: transparent;
  }

  .file-list__header {
    display: none;
  }

  .file-row {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    border: 1px solid #b8b4aa;
    border-bottom: 0;
    background: var(--paper);
    padding: 9px 10px;
  }

  .file-row__name {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
  }

  .file-row:last-child {
    border-bottom: 1px solid #b8b4aa;
  }

  .file-row > span:nth-child(2),
  .file-row > span:nth-child(3) {
    display: none;
  }

  .file-row__action {
    width: 100%;
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    text-align: center;
  }
}

.purchase-strip {
  position: sticky;
  z-index: 4;
  bottom: -1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  border: 1px solid var(--ink);
  background: var(--chrome);
  padding: 10px 12px;
  box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.08);
}

.purchase-strip > div {
  display: flex;
  flex-direction: column;
}

.purchase-strip strong {
  font-size: 15px;
  white-space: nowrap;
}

.purchase-strip span {
  color: var(--muted);
  font-size: 12px;
}

.purchase-strip__actions {
  display: flex;
  gap: 7px;
}

.purchase-strip button {
  min-width: 140px;
  overflow-wrap: normal;
  word-break: normal;
}

.subfolder-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 15px;
}

.subfolder-heading .folder-icon {
  width: 56px;
  height: 38px;
  margin: 8px 0 0;
  border-width: 1px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.subfolder-heading .folder-icon::before {
  width: 24px;
  height: 9px;
  top: -10px;
  left: -1px;
  border-width: 1px;
}

.subfolder-heading .folder-icon::after {
  display: none;
}

.subfolder-heading h1,
.subfolder-heading h2 {
  margin: 0;
  font: 900 clamp(27px, 3vw, 40px) / 0.95 var(--display);
  text-transform: uppercase;
}

.subfolder-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

.help-document {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.18);
}

.help-document__head {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
  padding: 13px 17px;
  font: 700 12px/1.3 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-document__body {
  padding: clamp(24px, 4vw, 46px);
}

.help-document h1 {
  max-width: 16ch;
  margin-bottom: 17px;
  font: 900 clamp(32px, 4vw, 50px) / 0.95 var(--display);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.help-document h1.document-filename {
  max-width: none;
  margin-bottom: 17px;
  font: 800 clamp(15px, 2vw, 26px)/1.1 var(--mono);
  letter-spacing: -0.055em;
  overflow-wrap: normal;
  text-shadow: none;
  text-transform: none;
  white-space: nowrap;
  word-break: normal;
}

.help-document__lead {
  max-width: 720px;
  font-size: 17px;
}

.legal-folder {
  max-width: 980px;
  margin: 0 auto;
}

.legal-folder .file-list {
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.14);
}

.legal-identity {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1.35fr;
  margin: 0 0 22px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.14);
}

.legal-identity > div {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 15px;
}

.legal-identity > div:nth-child(3),
.legal-identity > div:last-child {
  border-right: 0;
}

.legal-identity > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.legal-identity > div:nth-child(4) {
  grid-column: span 2;
}

.legal-identity dt {
  margin-bottom: 5px;
  color: var(--rust);
  font: 800 10px/1.25 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-identity dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.legal-identity dd small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font: 11px/1.35 var(--mono);
}

.legal-identity a {
  color: var(--select);
  overflow-wrap: anywhere;
}

.legal-view {
  max-width: 980px;
  margin: 0 auto;
}

.legal-view__header {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--chrome);
  padding: 14px;
}

.legal-view__header > div {
  min-width: 0;
}

.legal-view__header p,
.legal-view__header small {
  margin: 0;
  color: var(--muted);
  font: 11px/1.4 var(--mono);
}

.legal-view__header h1 {
  margin: 2px 0;
  font: 900 clamp(27px, 4vw, 40px) / 1 var(--display);
  text-transform: uppercase;
}

.legal-view__header h1.document-filename {
  font: 800 clamp(14px, 1.7vw, 23px)/1.1 var(--mono);
  letter-spacing: -0.055em;
  overflow-wrap: normal;
  text-shadow: none;
  text-transform: none;
  white-space: nowrap;
  word-break: normal;
}

.legal-view__layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
}

.legal-toc {
  position: sticky;
  top: 0;
  align-self: start;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  font: 700 11px/1.3 var(--mono);
}

.legal-toc button {
  width: 100%;
  display: block;
  border-top: 1px solid #c5c1b8;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
}

.legal-toc button:hover {
  color: var(--rust);
}

.legal-copy {
  max-width: 72ch;
  padding: clamp(24px, 5vw, 54px);
  font-size: 15px;
  line-height: 1.7;
}

.legal-copy h2 {
  margin: 2em 0 0.65em;
  font: 800 20px/1.2 var(--ui);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy ul {
  padding-left: 21px;
}

.legal-copy a {
  color: var(--select);
}

.legal-placeholder {
  border: 1px dashed var(--rust);
  background: #f4dfd8;
  color: var(--danger);
  padding: 1px 4px;
  font: 700 0.92em/1.4 var(--mono);
}

.legal-note {
  margin-bottom: 24px;
  border-left: 4px solid var(--rust);
  background: var(--canvas);
  padding: 12px 14px;
  color: #484943;
  font-size: 13px;
}

.consent-example {
  border: 1px solid var(--line);
  background: var(--canvas);
  padding: 13px;
}

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

.concept-card {
  border: 1px solid var(--ink);
  background: var(--canvas);
  padding: 19px;
}

.concept-card__top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.concept-card h2 {
  margin: 0;
  font-size: 18px;
}

.concept-card p {
  margin: 0;
  color: #4b4c46;
}

.two-part-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 13px;
  margin: 28px 0 0;
}

.map-block {
  border: 2px solid var(--ink);
  padding: 18px;
}

.map-block:first-child {
  background: var(--steel);
  color: white;
}

.map-block:last-child {
  background: var(--ochre);
}

.map-block strong {
  display: block;
  margin-bottom: 7px;
  font: 900 17px/1 var(--display);
}

.map-arrow {
  display: grid;
  place-items: center;
  font: 900 25px/1 var(--display);
}

.demo-list .file-row {
  cursor: default;
}

.empty-state {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-folder {
  position: relative;
  width: 105px;
  height: 70px;
  border: 2px dashed var(--muted);
  opacity: 0.65;
}

.empty-folder::before {
  content: "";
  position: absolute;
  width: 45px;
  height: 15px;
  top: -17px;
  left: -2px;
  border: 2px dashed var(--muted);
  border-bottom: 0;
}

.empty-state h2,
.cart-empty strong {
  margin: 23px 0 8px;
  font-size: 18px;
}

.empty-state p,
.cart-empty p {
  color: var(--muted);
}

.utility-backdrop {
  position: fixed;
  z-index: 89;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cart-panel {
  position: fixed;
  z-index: 90;
  top: 12px;
  right: 12px;
  bottom: 47px;
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  background: var(--canvas);
  box-shadow: -8px 9px 0 rgba(0, 0, 0, 0.38);
  transform: translateX(calc(100% + 25px));
  transition: transform 180ms ease;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.utility-titlebar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--select);
  color: white;
  padding: 4px 6px 4px 9px;
}

.utility-titlebar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.utility-titlebar button {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 25px;
  min-height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--chrome);
  color: var(--ink);
  box-shadow: inset 1px 1px 0 var(--chrome-hi), inset -1px -1px 0 var(--chrome-low);
  cursor: pointer;
  padding: 0;
  font-weight: 900;
  line-height: 1;
}

.cart-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
  padding: 10px 13px;
}

.cart-panel__heading p {
  margin: 0;
  font-weight: 700;
}

.cart-panel__heading button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
}

.cart-items {
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #b9b5ab;
  padding: 12px 13px;
}

.cart-item__folder {
  --tone: var(--ochre);
  position: relative;
  width: 42px;
  height: 29px;
  border: 1px solid var(--ink);
  background: var(--tone);
}

.cart-item__folder::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 6px;
  top: -7px;
  left: -1px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  background: inherit;
}

.cart-item > div:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cart-item small {
  margin-top: 3px;
  color: var(--muted);
}

.cart-item button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
}

.cart-empty {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  text-align: center;
}

.cart-empty button {
  margin-top: 8px;
}

.cart-panel > footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--chrome);
  padding: 14px;
}

.cart-panel > footer > div {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.cart-panel > footer p {
  color: var(--muted);
  font-size: 12px;
}

.cart-panel > footer button {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--ink);
  background: var(--rust);
  color: white;
  box-shadow: inset 1px 1px 0 #d08c79, inset -1px -1px 0 #642b1f;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-window {
  width: min(calc(100% - 32px), 560px);
  max-height: 92dvh;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--canvas);
  padding: 0;
  box-shadow: 9px 10px 0 rgba(0, 0, 0, 0.48);
}

.checkout-window::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.checkout-window__body {
  max-height: calc(92dvh - 33px);
  overflow-y: auto;
  padding: 28px 32px 30px;
  text-align: left;
}

.download-icon {
  position: relative;
  width: 80px;
  height: 62px;
  display: block;
  margin: 6px auto 0;
  border: 2px solid var(--ink);
  border-top: 0;
  background: var(--ochre);
}

.download-icon::before {
  content: "↓";
  position: absolute;
  top: -35px;
  left: 26px;
  font: 900 42px/1 var(--display);
}

.checkout-window h2 {
  margin: 24px 0 10px;
  font: 900 28px/1 var(--display);
  text-align: center;
  text-transform: uppercase;
}

.checkout-window__body > p {
  color: var(--muted);
  text-align: center;
}

.checkout-legal {
  margin: 14px 0;
  font-size: 13px;
}

.checkout-legal__links {
  display: block;
  margin-top: 5px;
}

.checkout-legal button {
  width: auto;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: var(--ink);
  font-size: inherit;
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 12px;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  font-size: 18px;
}

.checkout-summary > span,
.checkout-order__item > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.checkout-summary small,
.checkout-order__item small {
  margin-top: 2px;
  color: var(--muted);
  font: 11px/1.35 var(--mono);
}

.checkout-order {
  margin: 20px 0 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.checkout-order h3 {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
  padding: 9px 12px;
  font: 800 11px/1.25 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-order__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #c7c1b7;
  padding: 10px 12px;
}

.checkout-order__item:last-child {
  border-bottom: 0;
}

.checkout-order__item b {
  flex: 0 0 auto;
}

.checkout-consents {
  display: grid;
  gap: 9px;
  margin: 14px 0 10px;
  border: 0;
  padding: 0;
}

.checkout-consents label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
}

.checkout-consents input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--rust);
}

.checkout-consent-links {
  display: block;
  margin: -3px 12px 3px 44px;
  color: var(--muted);
  font-size: 12px;
}

.checkout-window__body .checkout-legal button,
.checkout-window__body .checkout-consent-links button {
  width: auto;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: var(--select);
  font-size: inherit;
  white-space: nowrap;
}

.checkout-error {
  margin: 8px 0 0;
  border-left: 4px solid var(--rust);
  background: #f4dfd8;
  padding: 8px 10px;
  color: var(--danger) !important;
  font-size: 12px;
  font-weight: 700;
  text-align: left !important;
}

.checkout-window__body .checkout-pay {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--rust);
  color: white;
  box-shadow: inset 1px 1px 0 #d08c79, inset -1px -1px 0 #642b1f;
  text-align: left;
}

.checkout-window__body .checkout-pay span,
.checkout-window__body .checkout-pay strong {
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.checkout-window__body .checkout-pay span {
  min-width: 0;
  font: 800 11px/1.1 var(--mono);
  letter-spacing: -0.045em;
}

.checkout-window__body .checkout-pay:disabled {
  cursor: not-allowed;
  filter: grayscale(0.75);
  opacity: 0.52;
}

.checkout-window__body .checkout-pay strong {
  flex: 0 0 auto;
  font-family: var(--mono);
}

.checkout-preview {
  margin: 8px 0 12px;
  font-size: 11px;
}

.checkout-window__body .checkout-back {
  width: 100%;
  white-space: nowrap;
}

.checkout-window__body button {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 56px;
  max-width: min(380px, calc(100vw - 44px));
  border: 2px solid var(--ink);
  background: var(--chrome);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.38), inset 1px 1px 0 var(--chrome-hi);
  padding: 12px 15px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Urban editorial layer: photocopied music archive, without changing the UI model. */

.desktop-shell::before,
.desktop-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.desktop-shell::before {
  top: 2px;
  right: 7%;
  width: 210px;
  height: 14px;
  background: repeating-linear-gradient(135deg, var(--rust) 0 9px, var(--ink) 9px 18px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.1);
  transform: skewX(-17deg);
}

.desktop-shell::after {
  bottom: 40px;
  left: 2px;
  width: 170px;
  height: 11px;
  background: repeating-linear-gradient(90deg, var(--signal) 0 18px, transparent 18px 24px);
  opacity: 0.75;
  transform: rotate(-1.5deg);
}

.fs-window::after {
  content: "";
  position: absolute;
  z-index: 60;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.26) 0 0.45px, transparent 0.7px) 0 0 / 4px 4px,
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(18, 19, 15, 0.035) 3px 4px);
  mix-blend-mode: multiply;
  opacity: 0.22;
}

.titlebar {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 57%, rgba(18, 19, 15, 0.35) 57% 68%, transparent 68%),
    var(--select);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22);
}

.titlebar::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -12px;
  left: 47%;
  width: 190px;
  height: 54px;
  background: repeating-linear-gradient(132deg, transparent 0 8px, rgba(255, 255, 255, 0.15) 8px 10px);
  opacity: 0.55;
  transform: skewX(-14deg);
}

.titlebar > * {
  position: relative;
  z-index: 1;
}

.app-mark {
  background:
    linear-gradient(145deg, transparent 0 42%, rgba(18, 19, 15, 0.24) 43% 51%, transparent 52%),
    var(--rust);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
  transform: rotate(-2deg) skew(-6deg);
}

.menubar,
.toolbar,
.statusbar,
.taskbar,
.mobile-nav {
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.12) 0 0.55px, transparent 0.75px) 0 0 / 5px 5px,
    var(--chrome);
}

.menubar {
  border-bottom: 2px solid var(--ink);
}

.menubar button {
  position: relative;
  border-right: 1px solid rgba(18, 19, 15, 0.15);
}

.menubar button:hover,
.menubar button:focus-visible {
  background:
    repeating-linear-gradient(135deg, transparent 0 7px, rgba(255, 255, 255, 0.08) 7px 9px),
    var(--select);
}

.toolbar {
  border-bottom: 2px solid var(--ink);
  box-shadow: inset 0 2px 0 var(--chrome-hi), inset 0 -1px 0 rgba(255, 255, 255, 0.34);
}

.os-control,
.start-button,
.task-window {
  box-shadow: inset 1px 1px 0 var(--chrome-hi), inset -1px -1px 0 var(--chrome-low), 2px 2px 0 rgba(18, 19, 15, 0.16);
}

.os-control:hover {
  background:
    linear-gradient(rgba(200, 189, 67, 0.2), rgba(200, 189, 67, 0.2)),
    var(--chrome);
}

.address-bar,
.search-box input,
.language {
  background:
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(18, 19, 15, 0.025) 8px 9px),
    var(--paper);
}

.workspace {
  box-shadow: inset 0 3px 0 rgba(18, 19, 15, 0.14);
}

.sidebar,
.inspector {
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.12) 0 0.55px, transparent 0.75px) 0 0 / 6px 6px,
    linear-gradient(100deg, transparent 0 92%, rgba(18, 19, 15, 0.055) 92%),
    var(--panel);
}

.sidebar h2 {
  position: relative;
  padding-left: 13px;
}

.sidebar h2::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 5px;
  background: var(--rust);
  box-shadow: 2px 0 0 rgba(18, 19, 15, 0.17);
  transform: rotate(-4deg);
}

.tree-item {
  transition: color 90ms linear, transform 90ms linear, background-color 90ms linear;
}

.tree-item.is-current {
  background:
    repeating-linear-gradient(135deg, transparent 0 13px, rgba(255, 255, 255, 0.075) 13px 15px),
    var(--select);
  box-shadow: 3px 3px 0 rgba(18, 19, 15, 0.18);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}

.file-pane {
  background:
    radial-gradient(circle at 89% 13%, rgba(181, 74, 46, 0.14) 0 0.8px, transparent 1px) 0 0 / 7px 7px,
    linear-gradient(rgba(18, 19, 15, 0.04) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, rgba(18, 19, 15, 0.026) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--canvas);
}

.view-content {
  position: relative;
}

.view-content::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rust);
  border-radius: 50%;
  background:
    linear-gradient(var(--rust), var(--rust)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(90deg, var(--rust), var(--rust)) 0 50% / 100% 1px no-repeat;
  opacity: 0.18;
  pointer-events: none;
  transform: rotate(11deg);
}

.view-content > * {
  position: relative;
  z-index: 1;
}

.view-heading {
  position: relative;
  isolation: isolate;
  border-bottom-width: 3px;
}

.view-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 17px;
  left: -13px;
  width: min(42%, 250px);
  height: 67px;
  background: radial-gradient(circle, var(--rust) 0 1px, transparent 1.35px) 0 0 / 7px 7px;
  clip-path: polygon(3% 13%, 97% 0, 88% 82%, 0 100%);
  opacity: 0.16;
  transform: rotate(-2.5deg);
}

.view-heading::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: min(42%, 290px);
  height: 7px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 8px, var(--rust) 8px 16px);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 2% 77%);
}

.view-heading__copy p:first-child,
.product-banner .kicker {
  width: fit-content;
  display: block;
  margin-bottom: 11px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--rust);
  padding: 4px 8px;
  transform: rotate(-0.8deg);
}

.view-heading h1,
.product-banner h1,
.subfolder-heading h1,
.subfolder-heading h2,
.help-document h1 {
  text-shadow: 3px 3px 0 rgba(181, 74, 46, 0.22);
}

.view-heading__copy > p:last-child {
  border-left: 4px solid var(--rust);
  padding-left: 13px;
}

.view-heading__hint {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.12) 0 0.5px, transparent 0.7px) 0 0 / 5px 5px,
    rgba(242, 235, 223, 0.72);
  padding: 8px 10px;
  box-shadow: 4px 4px 0 rgba(18, 19, 15, 0.12);
  transform: rotate(0.7deg);
}

.folder-item {
  isolation: isolate;
  overflow: visible;
  transition: transform 100ms linear, background-color 100ms linear;
}

.folder-item::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 18px;
  left: 50%;
  width: 122px;
  height: 78px;
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.34) 0 0.8px, transparent 1.05px) 0 0 / 6px 6px,
    rgba(181, 74, 46, 0.045);
  clip-path: polygon(7% 9%, 91% 0, 100% 75%, 13% 100%, 0 33%);
  opacity: 0.34;
  transform: translateX(-50%) rotate(-4deg);
}

.folder-item::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 27px;
  left: calc(50% + 27px);
  width: 30px;
  height: 9px;
  border-right: 1px solid rgba(18, 19, 15, 0.32);
  border-left: 1px solid rgba(18, 19, 15, 0.32);
  background: rgba(242, 235, 223, 0.65);
  box-shadow: 1px 2px 0 rgba(18, 19, 15, 0.12);
  transform: rotate(10deg);
}

.folder-item > strong,
.folder-item > small,
.folder-item > .folder-list-price {
  position: relative;
  z-index: 2;
}

.folder-grid.is-list .folder-item::before,
.folder-grid.is-list .folder-item::after {
  display: none;
}

.folder-grid.is-list .folder-item {
  overflow: hidden;
  transform: none;
}

.folder-icon {
  z-index: 1;
  background:
    radial-gradient(circle, rgba(242, 235, 223, 0.32) 0 0.75px, transparent 1px) 0 0 / 7px 7px,
    linear-gradient(112deg, transparent 0 61%, rgba(18, 19, 15, 0.16) 61% 68%, transparent 68%),
    var(--tone);
  box-shadow: 5px 6px 0 rgba(18, 19, 15, 0.28), -4px -4px 0 rgba(242, 235, 223, 0.3);
  transition: box-shadow 100ms linear, filter 100ms linear;
}

.folder-icon::before {
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(18, 19, 15, 0.15) 72%),
    var(--tone);
}

.folder-icon::after {
  background:
    linear-gradient(135deg, transparent 40%, rgba(18, 19, 15, 0.88) 41% 56%, transparent 57%),
    repeating-linear-gradient(0deg, rgba(242, 235, 223, 0.25) 0 2px, transparent 2px 5px),
    rgba(242, 235, 223, 0.2);
  box-shadow: 3px 3px 0 rgba(18, 19, 15, 0.17);
  transform: rotate(-1.5deg);
}

.folder-item:nth-child(5n + 1) .folder-icon { transform: rotate(-1.4deg); }
.folder-item:nth-child(5n + 2) .folder-icon { transform: rotate(0.8deg); }
.folder-item:nth-child(5n + 3) .folder-icon { transform: rotate(-0.5deg); }
.folder-item:nth-child(5n + 4) .folder-icon { transform: rotate(1.2deg); }
.folder-item:nth-child(5n + 5) .folder-icon { transform: rotate(-0.9deg); }

.folder-item:nth-child(even)::after {
  transform: rotate(-8deg);
}

.folder-item.is-selected {
  box-shadow: 4px 4px 0 rgba(18, 19, 15, 0.2);
}

.folder-item.is-selected::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 0.8px, transparent 1.05px) 0 0 / 6px 6px;
  opacity: 0.32;
}

.system-file {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(18, 19, 15, 0.025) 8px 9px),
    var(--paper);
  box-shadow: 3px 3px 0 rgba(18, 19, 15, 0.17);
  padding-left: 16px;
  transition: transform 90ms linear, box-shadow 90ms linear;
}

.system-file::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--rust);
}

.system-file:nth-child(even)::before {
  background: var(--ochre);
}

.file-icon {
  background:
    repeating-linear-gradient(135deg, transparent 0 7px, rgba(18, 19, 15, 0.07) 7px 9px),
    var(--file-color);
  box-shadow: 2px 2px 0 rgba(18, 19, 15, 0.25);
}

.inspector-cover {
  background:
    radial-gradient(circle, rgba(242, 235, 223, 0.31) 0 0.8px, transparent 1.05px) 0 0 / 7px 7px,
    repeating-linear-gradient(16deg, transparent 0 17px, rgba(18, 19, 15, 0.08) 17px 19px),
    var(--tone);
  box-shadow: 7px 8px 0 rgba(18, 19, 15, 0.35), -5px -5px 0 rgba(242, 235, 223, 0.38);
  transform: rotate(-0.7deg);
}

.inspector-cover::before {
  box-shadow: 7px 7px 0 rgba(18, 19, 15, 0.2);
}

.inspector > h2 {
  text-shadow: 2px 2px 0 rgba(181, 74, 46, 0.24);
}

.tag-row span {
  box-shadow: 2px 2px 0 rgba(18, 19, 15, 0.15);
  transform: rotate(-1deg);
}

.tag-row span:nth-child(even) {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(1.2deg);
}

.statusbar {
  border-top: 2px solid var(--ink);
}

.taskbar::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 132px;
  width: 112px;
  height: 4px;
  background: repeating-linear-gradient(135deg, var(--rust) 0 8px, var(--ink) 8px 16px);
}

.start-button {
  background:
    repeating-linear-gradient(135deg, transparent 0 9px, rgba(255, 255, 255, 0.08) 9px 11px),
    var(--ink);
  color: var(--paper);
}

.task-window {
  border-top: 3px solid var(--rust);
}

.product-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.12) 0 0.65px, transparent 0.85px) 0 0 / 6px 6px,
    linear-gradient(105deg, rgba(181, 74, 46, 0.09) 0 31%, transparent 31%),
    var(--paper);
  box-shadow: 7px 8px 0 rgba(18, 19, 15, 0.25);
}

.product-banner::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 150px;
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 9px, var(--signal) 9px 18px);
  transform: skewX(-18deg) translateX(7px);
}

.product-banner::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -42px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border: 17px solid var(--tone);
  border-radius: 50%;
  opacity: 0.13;
  transform: rotate(-14deg);
}

.product-banner > * {
  position: relative;
  z-index: 1;
}

.product-banner__art {
  background:
    radial-gradient(circle, rgba(242, 235, 223, 0.36) 0 0.8px, transparent 1.05px) 0 0 / 7px 7px,
    repeating-linear-gradient(-18deg, transparent 0 17px, rgba(18, 19, 15, 0.09) 17px 19px),
    var(--tone);
  box-shadow: 5px 5px 0 var(--ink), -4px -4px 0 rgba(242, 235, 223, 0.58);
  transform: rotate(-1deg);
}

.product-banner .kicker {
  color: var(--paper);
  font: 700 11px/1.3 var(--mono);
  letter-spacing: 0.05em;
}

.file-list {
  box-shadow: 5px 6px 0 rgba(18, 19, 15, 0.15);
}

.file-list__header {
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(255, 255, 255, 0.06) 11px 13px),
    var(--ink);
  color: var(--paper);
}

.file-row {
  background-image: linear-gradient(90deg, transparent 0 5px, rgba(181, 74, 46, 0) 5px);
  transition: background-color 80ms linear, box-shadow 80ms linear;
}

.file-row:hover {
  background:
    linear-gradient(90deg, var(--rust) 0 5px, transparent 5px),
    #dde3df;
}

.file-row.is-selected {
  background:
    repeating-linear-gradient(135deg, transparent 0 15px, rgba(255, 255, 255, 0.06) 15px 17px),
    var(--select);
}

.file-row__action {
  box-shadow: 2px 2px 0 rgba(18, 19, 15, 0.22);
}

.purchase-strip {
  position: sticky;
  border-width: 2px;
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.11) 0 0.55px, transparent 0.75px) 0 0 / 5px 5px,
    var(--chrome);
  box-shadow: 5px -5px 0 rgba(18, 19, 15, 0.1);
}

.purchase-strip::before {
  content: "";
  position: absolute;
  top: -2px;
  right: 12px;
  width: 96px;
  height: 5px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 7px, var(--rust) 7px 14px);
}

.help-document {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.095) 0 0.55px, transparent 0.75px) 0 0 / 6px 6px,
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(18, 19, 15, 0.025) 26px 27px),
    var(--paper);
  box-shadow: 7px 8px 0 rgba(18, 19, 15, 0.24);
}

.help-document::before,
.help-document::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 55px;
  height: 14px;
  background: rgba(200, 189, 67, 0.56);
  box-shadow: 0 1px 0 rgba(18, 19, 15, 0.2);
  pointer-events: none;
}

.help-document::before {
  top: -6px;
  left: 23px;
  transform: rotate(-4deg);
}

.help-document::after {
  right: 22px;
  bottom: -6px;
  transform: rotate(5deg);
}

.help-document__head {
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(255, 255, 255, 0.06) 11px 13px),
    var(--ink);
  color: var(--paper);
}

.concept-card {
  position: relative;
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(18, 19, 15, 0.16);
}

.concept-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 31px;
  height: 7px;
  background: var(--rust);
  transform: skewX(-25deg) translateX(5px);
}

.concept-card:nth-child(even)::after {
  background: var(--ochre);
}

.availability {
  border-left: 5px solid var(--rust);
  box-shadow: 3px 3px 0 rgba(18, 19, 15, 0.1);
}

.legal-view__header,
.legal-view__layout {
  box-shadow: 5px 6px 0 rgba(18, 19, 15, 0.13);
}

.cart-panel {
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.1) 0 0.55px, transparent 0.75px) 0 0 / 6px 6px,
    var(--canvas);
  box-shadow: -5px 5px 0 var(--rust), -11px 11px 0 rgba(0, 0, 0, 0.65);
}

.utility-titlebar {
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, 0.09) 10px 12px),
    var(--select);
}

.checkout-window {
  background:
    radial-gradient(circle, rgba(18, 19, 15, 0.1) 0 0.55px, transparent 0.75px) 0 0 / 6px 6px,
    var(--canvas);
  box-shadow: 5px 5px 0 var(--rust), 12px 13px 0 rgba(0, 0, 0, 0.62);
}

.toast {
  border-left: 7px solid var(--rust);
}

@media (hover: hover) {
  .folder-item:hover {
    border-color: transparent;
    box-shadow: inset 0 -4px 0 var(--rust);
    transform: translateY(-2px);
  }

  .folder-item:hover .folder-icon {
    filter: saturate(1.12) contrast(1.05);
    box-shadow: 8px 9px 0 rgba(18, 19, 15, 0.3), -4px -4px 0 rgba(242, 235, 223, 0.38);
  }

  .system-file:hover {
    box-shadow: 5px 5px 0 rgba(18, 19, 15, 0.2);
    transform: translate(-1px, -1px);
  }
}

@media (min-width: 1180px) and (max-width: 1400px) {
  .product-banner {
    grid-template-columns: 126px minmax(0, 1fr) 145px;
    gap: 18px;
  }

  .product-banner h1 {
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(30px, 3vw, 40px);
  }

  .product-banner__buy {
    min-width: 145px;
  }
}

@media (max-width: 1179px) {
  .workspace {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .inspector {
    display: none;
  }

  .product-banner {
    grid-template-columns: 130px minmax(0, 1fr) auto;
  }
}

@media (max-width: 900px) {
  .desktop-shell {
    padding: 0 0 60px;
  }

  .fs-window {
    border-width: 0;
    box-shadow: none;
  }

  .toolbar {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "nav tools" "address address";
  }

  .toolbar__nav { grid-area: nav; }
  .toolbar__tools { grid-area: tools; justify-content: flex-end; }
  .address-bar { grid-area: address; }

  .sidebar-toggle {
    display: grid;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: absolute;
    z-index: 30;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(82vw, 290px);
    border-right: 2px solid var(--ink);
    box-shadow: 6px 0 0 rgba(0, 0, 0, 0.25);
    transform: translateX(-105%);
    transition: transform 170ms ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-language {
    display: block;
  }

  .sidebar-language .language {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .taskbar {
    position: static;
    width: 0;
    height: 0;
    display: block;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .taskbar > .start-button,
  .taskbar > .task-window,
  .taskbar > .task-clock {
    display: none;
  }

  .taskbar::before {
    display: none;
  }

  .task-audio {
    position: fixed;
    z-index: 82;
    right: 8px;
    bottom: 67px;
    left: 8px;
    width: auto;
    height: 43px;
    grid-template-columns: 32px minmax(100px, auto) minmax(50px, 1fr) 45px 32px;
    border: 2px solid var(--ink);
    box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.35);
  }

  .mobile-nav {
    position: fixed;
    z-index: 75;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 2px solid var(--ink);
    background: var(--chrome);
    box-shadow: inset 0 1px 0 var(--chrome-hi);
  }

  .mobile-nav button {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-rows: 22px 12px;
    align-content: center;
    justify-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    padding: 0 2px;
    font: 11px/12px var(--ui);
  }

  .mobile-nav button:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
  }

  .mobile-nav button > span:first-child {
    grid-row: 1;
    align-self: center;
  }

  .mobile-nav button > span:last-of-type {
    grid-row: 2;
    align-self: center;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
  }

  .mobile-nav b {
    position: absolute;
    top: 6px;
    right: auto;
    left: calc(50% + 5px);
    min-width: 17px;
    height: 17px;
    font-size: 10px;
  }

  .nav-home,
  .mobile-nav .mini-folder,
  .nav-play,
  .nav-help,
  .mobile-nav .cart-icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: block;
    border: 0;
    background: transparent;
  }

  .nav-home {
    color: currentColor;
  }

  .nav-home::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 10px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .nav-home::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 4px;
    width: 14px;
    height: 11px;
    border: 2px solid currentColor;
    border-top: 0;
  }

  .mobile-nav .mini-folder::before {
    z-index: 0;
    top: 2px;
    left: 2px;
    width: 9px;
    height: 6px;
    border: 2px solid currentColor;
    border-bottom: 0;
    background: var(--ochre);
  }

  .mobile-nav .mini-folder::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 1px;
    bottom: 2px;
    left: 2px;
    height: 14px;
    border: 2px solid currentColor;
    background: var(--ochre);
  }

  .nav-play::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 7px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid currentColor;
  }

  .nav-help {
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font: 900 12px/1 var(--mono);
  }

  .mobile-nav .cart-icon::before {
    right: 2px;
    bottom: 1px;
    left: 2px;
    height: 14px;
    border-color: currentColor;
  }

  .mobile-nav .cart-icon::after {
    top: 1px;
    left: 7px;
    width: 8px;
    height: 8px;
    border-color: currentColor;
  }

  .product-banner {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .product-banner__buy {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .product-banner__buy strong {
    margin: 0;
  }
}

@media (max-width: 700px) {
  .desktop-shell {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  .titlebar {
    min-height: 29px;
  }

  .titlebar__meta span:first-child,
  .titlebar__brand > span:last-child {
    display: none;
  }

  .menubar {
    display: none;
  }

  .fs-window {
    grid-template-rows: 31px auto minmax(0, 1fr) 26px;
  }

  .toolbar {
    grid-template-columns: auto 1fr;
    gap: 5px;
    padding: 5px;
  }

  .icon-control {
    width: 38px;
  }

  .toolbar__tools {
    min-width: 0;
  }

  .search-box {
    flex: 1;
    min-width: 0;
  }

  .search-box input {
    width: 100%;
  }

  .view-switch,
  .language,
  .cart-trigger > span:not(.cart-icon) {
    display: none;
  }

  .cart-trigger {
    min-width: 48px;
    width: 48px;
    gap: 2px;
    padding: 4px;
  }

  .cart-trigger .cart-icon {
    display: none;
  }

  .address-bar {
    min-height: 37px;
  }

  .breadcrumb-button {
    min-height: 35px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .view-content {
    padding: 20px 16px 35px;
  }

  .view-heading {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .view-heading h1 {
    font-size: clamp(30px, 11vw, 43px);
  }

  .view-heading__hint {
    max-width: none;
    text-align: left;
  }

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

  .folder-item {
    min-height: 145px;
    padding-inline: 3px;
  }

  .folder-icon {
    width: 91px;
    height: 62px;
  }

  .folder-grid.is-list {
    width: 100%;
    min-width: 0;
  }

  .folder-grid.is-list .folder-item {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) max-content;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 3px;
    overflow: hidden;
    padding: 9px 8px;
  }

  .folder-grid.is-list .folder-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 34px;
    height: 24px;
    margin: 5px 0 0;
  }

  .folder-grid.is-list .folder-item > strong {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .folder-grid.is-list .folder-item > small {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .folder-grid.is-list .folder-list-price {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    padding-left: 6px;
    font-size: 13px;
    white-space: nowrap;
  }

  .system-file-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .system-file {
    width: 100%;
    min-width: 0;
  }

  .system-file strong {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: -0.045em;
  }

  .statusbar {
    grid-template-columns: 1fr auto auto;
  }

  .statusbar span:nth-child(2) {
    display: none;
  }

  .product-banner {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
  }

  .product-banner h1 {
    font-size: 27px;
  }

  .product-banner p {
    font-size: 14px;
  }

  .product-banner__buy {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .file-list {
    border: 0;
    background: transparent;
  }

  .file-list__header {
    display: none;
  }

  .file-row {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    border: 1px solid #b8b4aa;
    border-bottom: 0;
    background: var(--paper);
    padding: 9px 10px;
  }

  .file-row__name {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
  }

  .file-row__name strong {
    min-width: 0;
    font-size: clamp(10px, 2.9vw, 12px);
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
  }

  .file-row:last-child {
    border-bottom: 1px solid #b8b4aa;
  }

  .file-row > span:nth-child(2),
  .file-row > span:nth-child(3) {
    display: none;
  }

  .file-row__action {
    width: 100%;
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    text-align: center;
  }

  .purchase-strip {
    align-items: stretch;
    flex-direction: row;
    padding: 7px;
  }

  .purchase-strip > .purchase-strip__actions {
    display: grid;
    width: 100%;
    flex-direction: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .purchase-strip > div:first-child {
    display: none;
  }

  .purchase-strip button {
    width: 100%;
    min-width: 0;
  }

  .concept-grid,
  .two-part-map {
    grid-template-columns: 1fr;
  }

  .map-arrow {
    transform: rotate(90deg);
  }

  .help-document__body {
    padding: 23px 18px;
  }

  .help-document h1 {
    font-size: 34px;
  }

  .help-document h1.document-filename {
    font-size: clamp(13px, 4vw, 15px);
  }

  .legal-view__header h1.document-filename {
    font-size: clamp(11.5px, 3.65vw, 14px);
  }

  .legal-view__layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-copy {
    padding: 24px 18px;
    font-size: 15px;
  }

  .legal-identity {
    grid-template-columns: 1fr;
  }

  .legal-identity > div,
  .legal-identity > div:nth-child(3),
  .legal-identity > div:nth-child(4),
  .legal-identity > div:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-identity > div:last-child {
    border-bottom: 0;
  }

  .cart-panel {
    top: 0;
    right: 0;
    bottom: calc(60px + env(safe-area-inset-bottom));
    width: 100%;
    border-width: 0;
    box-shadow: none;
  }

  .toast {
    right: 10px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: 10px;
    max-width: none;
  }

  .checkout-window__body {
    padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 370px) {
  .folder-grid {
    grid-template-columns: 1fr;
  }

  .folder-grid.is-list .folder-item {
    grid-template-rows: 1fr;
  }

  .folder-grid.is-list .folder-item > small {
    display: none;
  }

  .statusbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .statusbar span:nth-child(3) {
    display: none;
  }

  .task-audio {
    grid-template-columns: 32px minmax(0, 1fr) auto 32px;
  }

  .task-audio .task-progress {
    display: none;
  }

  .purchase-strip button {
    padding-inline: 6px;
    font-size: 12px;
  }

  .checkout-window__body .checkout-pay {
    gap: 6px;
    padding-inline: 7px;
  }

  .checkout-window__body .checkout-pay span {
    font-size: 10px;
  }
}

.file-row:disabled {
  cursor: default;
  color: var(--ink);
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(18, 19, 15, 0.025) 10px 20px),
    var(--paper);
}

.file-row:disabled .file-row__action {
  color: var(--muted);
}

@media (max-width: 900px) {
  .desktop-shell {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  .mobile-nav {
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-nav button[aria-current="page"] {
    background: var(--select);
    color: var(--select-text);
  }

  .task-audio {
    bottom: calc(67px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body.fallback-body {
  display: grid;
  min-height: 100vh;
  overflow: auto;
  place-items: center;
  padding: 24px;
}

.fallback-card {
  width: min(680px, 100%);
  border: 2px solid var(--ink);
  padding: clamp(24px, 6vw, 56px);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--rust);
}

.fallback-card > p:first-of-type {
  margin: 22px 0 14px;
  color: var(--rust);
  font: 700 14px/1.2 var(--mono);
  letter-spacing: 0.12em;
}

.fallback-card h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font: 900 clamp(40px, 10vw, 78px)/0.88 var(--display);
}

.fallback-card > p:last-of-type {
  max-width: 52ch;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
}

.fallback-card > a {
  display: inline-block;
  border: 2px solid var(--ink);
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
  font: 800 13px/1 var(--mono);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.fallback-card > a:hover {
  color: var(--ink);
  background: var(--ochre);
}
