@font-face {
  font-family: Chicago;
  src: url("fonts/ChiKareGo2.ttf") format("truetype");
  font-display: block;
}

:root {
  --black: #000;
  --white: #fff;
  --menu-h: 20px;
  --credit-h: 20px;
  --title-h: 19px;
  --scroll: 16px;
  --icon: 64px;
}

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

html,
body {
  margin: 0;
  height: 100%;
  background: #000;
  color: var(--black);
  font-family: Chicago, Geneva, Tahoma, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.15;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  font-smooth: never;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  image-rendering: pixelated;
  cursor: default;
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  font-smooth: never;
}

button {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 7px;
  padding: 2px 12px 3px;
  box-shadow: inset -1px -1px 0 var(--black);
  cursor: default;
}

button:active:not(:disabled) {
  background: var(--black);
  color: var(--white);
  box-shadow: none;
}

button:disabled {
  color: var(--black);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='1' height='1' fill='black'/><rect x='1' y='1' width='1' height='1' fill='black'/></svg>");
  background-color: var(--white);
}

input[type="text"],
input[type="email"],
textarea {
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  padding: 2px 4px;
  outline: none;
  box-shadow: inset 1px 1px 0 #000;
  resize: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: 1px dotted var(--black);
  outline-offset: 1px;
}

.hidden,
[hidden] {
  display: none !important;
}

.noscript {
  background: #fff;
  color: #000;
  padding: 24px;
  font-family: Geneva, Tahoma, sans-serif;
}

/* ---------- Boot / Shutdown ---------- */

.boot,
.shutdown {
  position: fixed;
  inset: 0;
  z-index: 40000;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.boot-welcome {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
  opacity: 0;
}

.boot.ready .boot-welcome {
  opacity: 1;
}

.boot.done {
  display: none;
}

.shutdown {
  flex-direction: column;
  gap: 24px;
}

.shutdown p {
  margin: 0;
  font-size: 18px;
}

.shutdown .mac-btn {
  min-width: 96px;
}

/* ---------- Desktop ---------- */

.desktop {
  position: fixed;
  inset: 0;
  background-color: #fff;
  background-image: var(--desk-pattern);
  background-size: 2px 2px;
  overflow: hidden;
}

.desktop[data-pattern="white"] {
  --desk-pattern: none;
  background-color: #fff;
}

.desktop[data-pattern="black"] {
  --desk-pattern: none;
  background-color: #000;
}

.desktop[data-pattern="gray50"] {
  --desk-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='1' height='1' fill='black'/><rect x='1' y='1' width='1' height='1' fill='black'/></svg>");
}

.desktop[data-pattern="gray25"] {
  --desk-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect width='1' height='1' fill='black'/><rect x='2' y='2' width='1' height='1' fill='black'/></svg>");
  background-size: 4px 4px;
}

.desktop[data-pattern="dots"] {
  --desk-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect x='1' y='1' width='1' height='1' fill='black'/></svg>");
  background-size: 4px 4px;
}

.desktop[data-pattern="hline"] {
  --desk-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='2' height='1' fill='black'/></svg>");
}

.desktop[data-pattern="vline"] {
  --desk-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='1' height='2' fill='black'/></svg>");
}

.desktop[data-pattern="brick"] {
  --desk-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><rect width='8' height='1' fill='black'/><rect y='4' width='8' height='1' fill='black'/><rect x='3' width='1' height='4' fill='black'/><rect x='7' y='4' width='1' height='4' fill='black'/></svg>");
  background-size: 8px 8px;
}

.desktop[data-pattern="weave"] {
  --desk-pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect width='2' height='1' fill='black'/><rect x='2' y='2' width='2' height='1' fill='black'/><rect y='1' width='1' height='1' fill='black'/><rect x='3' y='3' width='1' height='1' fill='black'/></svg>");
  background-size: 4px 4px;
}

/* ---------- Menu bar ---------- */

.menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--menu-h);
  background: var(--white);
  border-bottom: 1px solid var(--black);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  z-index: 20000;
  user-select: none;
}

.menubar-left {
  display: flex;
  align-items: stretch;
}

.menubar-right {
  display: flex;
  align-items: center;
  padding: 0 10px 0 8px;
}

.desk-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--credit-h);
  background: var(--white);
  border-top: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  font-size: 12px;
  user-select: none;
}

.desk-credit a {
  color: var(--black);
}

.menu-clock {
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.menu-title {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  height: 100%;
}

.menu-title[aria-expanded="true"],
.menu-title.open {
  background: var(--black);
  color: var(--white);
}

.menu-title .brain-mark {
  display: block;
  width: 13px;
  height: 13px;
  image-rendering: pixelated;
}

.menu-layer {
  position: absolute;
  inset: 0;
  z-index: 19999;
}

.menu-dropdown {
  position: absolute;
  top: var(--menu-h);
  min-width: 196px;
  background: var(--white);
  border: 1px solid var(--black);
  box-shadow: 1px 1px 0 var(--black);
  padding: 1px 0;
  z-index: 20001;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 2px 14px 3px 12px;
  font-size: 12px;
  min-height: 16px;
}

.menu-item:hover:not(:disabled),
.menu-item:focus-visible:not(:disabled) {
  background: var(--black);
  color: var(--white);
}

.menu-item:disabled {
  background: transparent;
  background-image: none;
  color: #000;
  opacity: 0.35;
}

.menu-item .shortcut {
  font-size: 12px;
}

.menu-sep {
  height: 1px;
  margin: 3px 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='1'><rect width='1' height='1' fill='black'/></svg>");
  background-repeat: repeat-x;
}

/* ---------- Desktop icons ---------- */

.icon-layer {
  position: absolute;
  inset: var(--menu-h) 0 var(--credit-h) 0;
}

.desk-icon {
  position: absolute;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 2px 0 0;
  user-select: none;
}

.desk-icon canvas,
.desk-icon img {
  width: var(--icon);
  height: var(--icon);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
  background: transparent;
}

.desk-icon .label {
  display: inline-block;
  max-width: 104px;
  padding: 0 4px 1px;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  word-break: break-word;
}

.desk-icon.selected canvas,
.desk-icon.selected img {
  filter: invert(1);
}

.desk-icon.selected .label {
  background: var(--black);
  color: var(--white);
}

/* ---------- Windows ---------- */

.window-layer {
  position: absolute;
  inset: var(--menu-h) 0 var(--credit-h) 0;
  pointer-events: none;
}

.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--black);
  outline: 1px solid var(--white);
  outline-offset: -2px;
  box-shadow:
    0 0 0 2px var(--black),
    1px 1px 0 2px var(--black);
  pointer-events: auto;
  min-width: 220px;
  min-height: 120px;
  overflow: hidden;
}

.window.active {
  z-index: 10;
}

.window.modal-window {
  box-shadow:
    0 0 0 2px var(--black),
    2px 2px 0 2px var(--black);
}

.titlebar {
  position: relative;
  height: var(--title-h);
  flex: 0 0 var(--title-h);
  border-bottom: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  background: var(--white);
  touch-action: none;
}

.window.active .titlebar {
  background: repeating-linear-gradient(
    to bottom,
    #000 0,
    #000 1px,
    #fff 1px,
    #fff 2px
  );
}

.titlebar .title {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 0 8px;
  font-size: 12px;
  line-height: var(--title-h);
  max-width: calc(100% - 56px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.title-btn {
  position: absolute;
  top: 4px;
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
  z-index: 2;
}

.title-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
}

.title-btn:active {
  background: var(--black);
}

.title-btn.close {
  left: 8px;
}

.title-btn.zoom {
  right: 8px;
}

.title-btn.zoom::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid var(--black);
}

.window-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: var(--white);
}

.window-footer {
  position: relative;
  flex: 0 0 15px;
  height: 15px;
  border-top: 1px solid var(--black);
  background: var(--white);
}

.window.finder .window-body {
  background: var(--white);
}

.grow-box {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 15px;
  height: 15px;
  touch-action: none;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  background:
    repeating-linear-gradient(
      135deg,
      #000 0,
      #000 1px,
      #fff 1px,
      #fff 3px
    );
  cursor: nwse-resize;
  z-index: 3;
}

.window::-webkit-scrollbar,
.window-body::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

.window-body::-webkit-scrollbar-track {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='1' height='1' fill='black'/><rect x='1' y='1' width='1' height='1' fill='black'/></svg>");
  background-size: 2px 2px;
  border-left: 1px solid #000;
}

.window-body::-webkit-scrollbar-thumb {
  background: #fff;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #000;
}

.window-body::-webkit-scrollbar-button {
  background: #fff;
  border: 1px solid #000;
  height: 16px;
}

.window-body::-webkit-scrollbar-corner {
  background: #fff;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

/* ---------- Copy / documents ---------- */

.doc {
  padding: 10px 16px 18px;
  font-family: "New York", "Times New Roman", Times, serif;
  font-size: 14px;
  line-height: 1.35;
  -webkit-font-smoothing: none;
}

.doc h1,
.doc h2,
.card h1,
.about-copy h1 {
  font-family: Chicago, Geneva, Tahoma, sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 10px;
}

.doc h2 {
  font-size: 16px;
  margin: 18px 0 8px;
}

.doc p,
.card p,
.about-copy p {
  margin: 0 0 10px;
}

.doc ol,
.doc ul {
  margin: 0 0 10px;
  padding-left: 1.3em;
}

.doc blockquote {
  margin: 0 0 12px;
  padding: 0 0 0 12px;
  border-left: 2px solid #000;
}

.doc blockquote p {
  margin: 0;
}

.doc a {
  color: #000;
}

.ruler {
  height: 22px;
  border-bottom: 1px solid #000;
  background: #fff;
  display: flex;
  align-items: flex-end;
  padding: 0 8px 2px;
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 10px;
  letter-spacing: 11px;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.finder-list {
  width: 100%;
  border-collapse: collapse;
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
}

.finder-list th {
  text-align: left;
  font-weight: 400;
  border-bottom: 1px solid #000;
  padding: 3px 10px;
  background: #fff;
  position: sticky;
  top: 0;
}

.finder-list td {
  padding: 3px 10px;
  border-bottom: 1px solid transparent;
}

.finder-list tr.row {
  cursor: default;
}

.finder-list tr.row:hover td,
.finder-list tr.selected td {
  background: #000;
  color: #fff;
}

.finder-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 14px;
  padding: 16px 12px 24px;
}

.finder-icons .desk-icon {
  position: relative;
}

/* ---------- About ---------- */

.about-box {
  display: flex;
  gap: 14px;
  padding: 16px 16px 18px;
  align-items: flex-start;
}

.about-box canvas {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  flex: 0 0 64px;
}

.about-copy {
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
}

.about-copy .meta {
  margin-top: 12px;
  line-height: 1.45;
}

.sysinfo {
  padding: 14px 16px 16px;
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
}

.sysinfo .bar {
  margin: 8px 0 14px;
  height: 12px;
  border: 1px solid #000;
  background: repeating-linear-gradient(
    to right,
    #000 0,
    #000 2px,
    #fff 2px,
    #fff 4px
  );
}

/* ---------- HyperCard ---------- */

.stack {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card {
  flex: 1;
  padding: 16px 18px 12px;
  font-family: Chicago, Tahoma, Geneva, sans-serif;
  font-size: 12px;
}

.card h1 {
  font-size: 18px;
}

.stack-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 10px;
  border-top: 1px solid #000;
}

.stack-nav .mac-btn {
  min-width: 64px;
}

.stack-count {
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
}

/* ---------- Memo / form ---------- */

.memo {
  padding: 14px 16px 16px;
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
}

.memo-head {
  text-align: center;
  margin-bottom: 8px;
}

.memo-head .lab {
  font-size: 16px;
}

.memo-note {
  margin: 0 0 10px;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
}

.memo-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.memo-row select {
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  padding: 2px 4px;
  outline: none;
  box-shadow: inset 1px 1px 0 #000;
  width: 100%;
}

.memo-body-label {
  display: block;
  margin: 8px 0 4px;
}

.memo textarea {
  width: 100%;
  min-height: 120px;
  margin: 0 0 8px;
  font-family: "New York", "Times New Roman", Times, serif;
  font-size: 14px;
}

.memo-status {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.35;
}

.memo-status.busy {
  color: var(--black);
}

.memo-status.ok {
  color: var(--black);
}

.memo-status.error {
  color: var(--black);
}

.memo-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.finder-lede {
  padding: 10px 14px 0;
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
}

.finder-lede p {
  margin: 0 0 8px;
  line-height: 1.35;
}

.service-doc .lede {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.service-doc h2 {
  font-size: 13px;
  font-weight: 400;
  margin: 16px 0 6px;
}

.service-doc ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.service-doc li {
  margin-bottom: 4px;
}

.svc-cta {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--black);
  font-size: 12px;
  line-height: 1.45;
}

/* ---------- Control Panel ---------- */

.control {
  padding: 12px 14px 16px;
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
}

.control h2 {
  font-size: 12px;
  font-weight: 400;
  margin: 0 0 8px;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(4, 36px);
  gap: 8px;
  margin-bottom: 14px;
}

.swatch {
  width: 36px;
  height: 28px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 0;
  box-shadow: none;
  background-color: #fff;
  background-image: var(--swatch);
  background-size: var(--swatch-size, 2px 2px);
}

.swatch.selected {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.swatch[data-pattern="gray50"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='1' height='1' fill='black'/><rect x='1' y='1' width='1' height='1' fill='black'/></svg>");
}

.swatch[data-pattern="gray25"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect width='1' height='1' fill='black'/><rect x='2' y='2' width='1' height='1' fill='black'/></svg>");
  background-size: 4px 4px;
}

.swatch[data-pattern="dots"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect x='1' y='1' width='1' height='1' fill='black'/></svg>");
  background-size: 4px 4px;
}

.swatch[data-pattern="hline"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='2' height='1' fill='black'/></svg>");
}

.swatch[data-pattern="vline"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='1' height='2' fill='black'/></svg>");
}

.swatch[data-pattern="brick"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><rect width='8' height='1' fill='black'/><rect y='4' width='8' height='1' fill='black'/><rect x='3' width='1' height='4' fill='black'/><rect x='7' y='4' width='1' height='4' fill='black'/></svg>");
  background-size: 8px 8px;
}

.swatch[data-pattern="weave"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect width='2' height='1' fill='black'/><rect x='2' y='2' width='2' height='1' fill='black'/><rect y='1' width='1' height='1' fill='black'/><rect x='3' y='3' width='1' height='1' fill='black'/></svg>");
  background-size: 4px 4px;
}

.swatch[data-pattern="white"] {
  background: #fff;
}

.control label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

.control input[type="checkbox"] {
  appearance: none;
  width: 12px;
  height: 12px;
  border: 1px solid #000;
  background: #fff;
  position: relative;
}

.control input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: 4px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(40deg);
}

/* ---------- Calculator ---------- */

.calc {
  padding: 10px;
  font-family: Chicago, Tahoma, sans-serif;
}

.calc-display {
  height: 28px;
  border: 1px solid #000;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 6px;
  font-size: 16px;
  background: #fff;
}

.calc-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.calc-keys button {
  height: 26px;
  border-radius: 6px;
  padding: 0;
}

/* ---------- Dialogs ---------- */

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 30000;
  background: transparent;
}

.dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid #000;
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 3px #000,
    3px 3px 0 3px #000;
  padding: 14px 16px 14px;
}

.dialog-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dialog canvas {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  image-rendering: pixelated;
}

.dialog-copy {
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
  flex: 1;
}

.dialog-copy p {
  margin: 0 0 8px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.mac-btn.default {
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 3px #000,
    inset -1px -1px 0 #000;
}

/* ---------- People ---------- */

.person {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #000;
  align-items: start;
}

.person:last-child {
  border-bottom: 0;
}

.person canvas,
.person .face-pixel {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
  border: 1px solid #000;
  background: #fff;
}

.person .who {
  font-family: Chicago, Tahoma, sans-serif;
  font-size: 12px;
}

.person .who b {
  font-weight: 400;
  font-size: 16px;
}

.person .who a {
  color: var(--black);
}

.person .who a.site {
  font-size: 12px;
}

.people {
  padding: 8px 16px 16px;
}

/* ---------- Misc ---------- */

.busy,
.busy * {
  cursor: wait !important;
}

@media print {
  .boot,
  .shutdown,
  .menubar,
  .menu-layer,
  .icon-layer,
  .grow-box,
  .title-btn,
  .modal-root {
    display: none !important;
  }

  html,
  body,
  .desktop {
    background: #fff !important;
    overflow: visible !important;
    height: auto !important;
  }

  .window-layer {
    position: static !important;
  }

  .window {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    outline: none !important;
    break-after: page;
  }
}

@media (max-width: 640px) {
  .desk-icon {
    width: 112px;
  }

  .window {
    max-width: calc(100vw - 16px);
  }

  .menu-dropdown {
    max-width: calc(100vw - 8px);
  }

  .doc,
  .card,
  .memo {
    padding-left: 12px;
    padding-right: 12px;
  }
}
