.desk-page {
  --desk-rule: #d7dbcd;
  --desk-plate: #eaece0;
  max-width: 1320px;
}
.desk-head, .desk-case-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  align-items: end;
  gap: 8px 22px;
}
.desk-head {
  margin-bottom: 22px;
  padding: 17px 0 24px;
  border-bottom: 1px solid var(--desk-rule);
}
.desk-head h1 { font-size: clamp(3.45rem, 8vw, 7rem); }
.desk-head > p, .desk-case-head > div:last-child p { color: var(--muted); max-width: 60ch; }
.desk-head > p { font-size: clamp(1rem, 1.4vw, 1.15rem); }
.desk-case-head { margin: 18px 0; }
.desk-case-head h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.desk-case-head strong { color: var(--ink); }
.desk-case-head p + p { margin-top: 6px; }
.desk-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.desk-card { min-width: 0; background: var(--white); border: 1px solid var(--desk-rule); }
.desk-card > a {
  display: grid;
  grid-template-columns: minmax(90px, .7fr) minmax(0, 1fr);
  height: 100%;
}
.desk-card > a:hover { background: var(--mint); }
.desk-card-art { display: grid; place-items: center; padding: 8px; background: var(--desk-plate); }
.desk-card-art img { height: clamp(122px, 17vw, 205px); object-fit: contain; }
.desk-card-copy { padding: 15px; }
.desk-card-copy h2 { margin: 4px 0 7px; font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.desk-card-copy p:not(.game-kicker) { color: var(--muted); font-size: .86rem; }
.desk-card-copy > span { display: inline-block; margin-top: 11px; color: var(--green); font-weight: 700; }

.desk-layout {
  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(12px, 2vw, 28px);
}
.desk-object, .desk-workbench { min-width: 0; }
.desk-object figure { margin: 0; border: 1px solid var(--desk-rule); background: var(--white); }
.desk-plate {
  display: grid;
  place-items: center;
  height: clamp(245px, 35vw, 470px);
  padding: 10px;
  background: var(--desk-plate);
}
.desk-plate img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.desk-object figcaption { padding: 9px 12px 0; color: var(--muted); font-size: .87rem; }
.desk-art-title {
  display: inline-block;
  color: var(--ink);
  font: 400 clamp(1.4rem, 2.2vw, 2rem)/1.12 var(--serif);
}
.desk-art-title:hover { text-decoration: underline; }
.desk-zoom { min-height: 44px; padding: 0; text-align: left; }
.desk-cue {
  padding: 12px;
  margin-top: 9px;
  border: 1px solid var(--desk-rule);
  background: var(--mint);
}
.desk-cue > p + p { margin-top: 3px; }
.desk-workbench { display: grid; gap: 12px; }
.desk-tools, .desk-decision, .desk-finding {
  padding: clamp(12px, 2.1vw, 23px);
  border: 1px solid var(--desk-rule);
  background: var(--white);
}
.desk-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
  align-items: end;
  justify-content: space-between;
}
.desk-section-head > p {
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--green);
}
.desk-workbench [tabindex="-1"]:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.desk-workbench h3 { font: 400 clamp(1.65rem, 3.1vw, 2.5rem)/1.08 var(--serif); margin: 4px 0 7px; }
.desk-tools > p, .desk-decision > p:not(.game-kicker) { color: var(--muted); font-size: .9rem; }
.desk-tool-list, .desk-choices { display: grid; gap: 6px; margin-top: 9px; }
.desk-tool-list button, .desk-choices button {
  min-height: 44px;
  border: 1px solid var(--desk-rule);
  text-align: left;
  background: var(--paper);
  color: var(--ink);
}
.desk-tool-list button {
  display: grid;
  grid-template-columns: 1.5em minmax(0, 1fr) 1em;
  align-items: baseline;
  gap: 5px 8px;
  padding: 8px 10px;
  line-height: 1.34;
}
.desk-tool-list button[aria-pressed="true"], .desk-choices button[aria-pressed="true"] {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  background: var(--mint);
  opacity: 1;
}
.desk-tool-index { color: var(--rust); font-size: .77rem; font-variant-numeric: tabular-nums; }
.desk-tool-prompt { display: block; margin-top: 2px; color: var(--muted); font-size: .86rem; }
.desk-tool-check { color: var(--green); font-weight: 700; }
.desk-reading {
  padding: 12px 14px;
  margin-top: 10px;
  border-left: 3px solid var(--green);
  background: var(--mint);
}
.desk-reading h4 { margin: 4px 0 5px; font-size: 1.1rem; }
.desk-reading p + p, .desk-finding > p + p { margin-top: 5px; }
.desk-reading strong, .desk-finding strong { display: block; }
.desk-tools .desk-reading-placeholder { margin-top: 9px; }
.desk-source-link { color: var(--green); text-decoration: underline; text-underline-offset: .18em; overflow-wrap: anywhere; }
.desk-reading a { display: inline-block; margin-top: 7px; }
.desk-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.desk-choices button { padding: 7px 10px; line-height: 1.26; font-weight: 600; }
.desk-choices button:enabled:hover, .desk-tool-list button:hover { border-color: var(--green); }
.desk-verdict { padding: 7px 9px; background: var(--mint); font-weight: 700; }
.desk-finding > p + p:not(.game-kicker) { margin-top: 10px; }
.desk-sources { border-top: 1px solid var(--desk-rule); margin-top: 14px; padding: 8px 0 0 19px; }
.desk-sources li + li { margin-top: 7px; }
.desk-sources p { color: var(--muted); font-size: .89rem; }
.desk-finding .chip, .desk-finding .primary-button { min-height: 44px; }

@media (min-width: 920px) and (min-height: 840px) {
  .desk-object { position: sticky; top: 16px; }
}
@media (max-width: 760px) {
  .desk-head, .desk-case-head, .desk-layout { grid-template-columns: minmax(0, 1fr); }
  .desk-head { margin-bottom: 15px; padding: 8px 0 14px; }
  .desk-head h1 { font-size: clamp(3.2rem, 13vw, 4.7rem); }
  .desk-case-head { margin: 12px 0; }
  .desk-catalog { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .desk-card-copy { padding: 10px 12px; }
  .desk-plate { height: clamp(190px, 60vw, 300px); }
}
@media (max-width: 460px) {
  .desk-choices { grid-template-columns: minmax(0, 1fr); }
}
