.work-example-plan > footer .tool-sample-boundary {
  justify-self: start;
  padding: 9px 11px 8px;
  border: 2px solid #214f40;
  outline: 1px dashed #214f40;
  outline-offset: -5px;
  color: #214f40;
  background: #edf2e7;
  box-shadow: 3px 3px 0 rgb(33 79 64 / 18%);
  font: 900 0.58rem/1.25 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.045em;
  transform: rotate(-1deg);
}

.tool-sample-start {
  display: flex;
  width: 100%;
  min-height: 48px;
  padding: 10px 13px 10px 16px;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #214f40;
  color: #fff;
  background: #214f40;
  box-shadow: 4px 4px 0 #e6b84a;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
}

.tool-sample-start:hover {
  color: #18231f;
  background: #e6b84a;
}

.tool-sample-boundary[hidden],
.tool-sample-start[hidden],
.tool-sample-workspace[hidden],
.tool-sample-result[hidden],
.tool-sample-mask[hidden],
.tool-sample-value[hidden] {
  display: none;
}

.tool-sample-workspace {
  min-width: 0;
  border-top: 1px solid var(--workbench-ink);
  color: var(--workbench-ink);
  background: #c9cfbf;
  scroll-margin-top: 22px;
}

.tool-sample-workspace:focus-visible {
  outline: 3px solid var(--workbench-blue);
  outline-offset: -7px;
}

.tool-sample-heading {
  display: grid;
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border-bottom: 1px solid var(--workbench-ink);
  background:
    radial-gradient(circle at 84% 18%, rgb(255 255 255 / 62%), transparent 23%),
    repeating-linear-gradient(90deg, transparent 0 31px, rgb(35 58 48 / 5%) 32px),
    #e8ebdf;
}

.tool-sample-heading > div {
  min-width: 0;
}

.tool-sample-heading > div > p:first-child {
  margin: 0 0 7px;
  color: #214f40;
  font: 900 0.56rem/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.tool-sample-heading h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.tool-sample-heading > div > p:last-child {
  max-width: 700px;
  margin: 12px 0 0;
  color: #505951;
  font-size: 0.69rem;
  line-height: 1.5;
}

.tool-sample-heading > .tool-sample-meta {
  display: grid;
  max-width: 185px;
  gap: 7px;
}

.tool-sample-meta strong,
.tool-sample-meta span {
  padding: 8px 10px;
  font: 850 0.53rem/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.05em;
  text-align: right;
  text-transform: uppercase;
}

.tool-sample-meta strong {
  border: 2px solid #214f40;
  color: #214f40;
  background: #edf2e7;
  box-shadow: 2px 2px 0 rgb(33 79 64 / 18%);
  transform: rotate(1deg);
}

.tool-sample-meta span {
  border: 1px dashed #5d695f;
  color: #48534a;
  background: rgb(255 255 255 / 52%);
}

.tool-sample-desk {
  display: grid;
  min-width: 0;
  padding: clamp(20px, 4vw, 44px);
  grid-template-areas:
    "choice preview"
    "result result";
  grid-template-columns: minmax(235px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  background:
    linear-gradient(25deg, rgb(255 255 255 / 20%), transparent 34%),
    radial-gradient(circle at 1px 1px, rgb(43 57 48 / 10%) 1px, transparent 1.5px) 0 0 / 13px 13px,
    #c9cfbf;
}

.tool-sample-choice {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 22px 18px 18px;
  grid-area: choice;
  border: 1px solid #625f57;
  background:
    linear-gradient(90deg, transparent 24px, rgb(240 91 55 / 12%) 25px, transparent 26px),
    repeating-linear-gradient(#fffdf7 0 27px, #e9e4d8 28px);
  box-shadow: 6px 7px 0 rgb(48 55 49 / 14%);
  transform: rotate(-0.35deg);
}

.tool-sample-choice::before {
  position: absolute;
  top: -9px;
  left: calc(50% - 43px);
  width: 86px;
  height: 16px;
  background: rgb(231 212 154 / 74%);
  box-shadow: 0 1px 2px rgb(36 41 37 / 12%);
  content: "";
  transform: rotate(1.5deg);
}

.tool-sample-choice legend {
  display: block;
  width: 100%;
  padding: 0 0 11px;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.tool-sample-choice legend span {
  display: block;
  margin-bottom: 6px;
  color: #8b432a;
  font: 900 0.52rem/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tool-sample-choice > p {
  margin: 0 0 15px;
  color: #5a5c56;
  font-size: 0.63rem;
  line-height: 1.5;
}

.tool-sample-choice > div {
  display: grid;
  gap: 10px;
}

.tool-sample-choice button {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: 13px;
  gap: 5px;
  border: 1px solid #6e6a62;
  border-radius: 0;
  color: var(--workbench-ink);
  background: rgb(255 253 247 / 82%);
  box-shadow: 3px 3px 0 rgb(49 45 39 / 10%);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.tool-sample-choice button:first-child {
  border-color: #8b432a;
}

.tool-sample-choice button:hover,
.tool-sample-choice button[aria-pressed="true"] {
  background: #f0e3b8;
  box-shadow: 4px 5px 0 rgb(49 45 39 / 15%);
  transform: translateY(-1px);
}

.tool-sample-choice button[aria-pressed="true"] {
  border-width: 2px;
  border-color: #214f40;
  background: #dce9d9;
}

.tool-sample-choice button strong {
  font-size: 0.71rem;
  line-height: 1.25;
}

.tool-sample-choice button small {
  color: #5d6059;
  font-size: 0.58rem;
  line-height: 1.4;
}

.tool-sample-preview {
  min-width: 0;
  grid-area: preview;
}

.tool-sample-paper {
  min-width: 0;
  border: 1px solid #625f57;
  background: #fffdf7;
  box-shadow: 8px 9px 0 rgb(48 55 49 / 16%);
  transform: rotate(0.25deg);
}

.tool-sample-paper > header {
  display: grid;
  min-width: 0;
  padding: 16px 18px 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #77736a;
  background:
    linear-gradient(110deg, rgb(255 255 255 / 72%), transparent 56%),
    #e8e3d7;
}

.tool-sample-paper > header p,
.tool-sample-paper > header h4 {
  margin: 0;
}

.tool-sample-paper > header p {
  color: #214f40;
  font: 900 0.52rem/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.065em;
}

.tool-sample-paper > header h4 {
  margin-top: 4px;
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.tool-sample-paper > header > span {
  color: #66645d;
  font: 800 0.5rem/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.tool-sample-table-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.tool-sample-paper table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.61rem;
  line-height: 1.35;
}

.tool-sample-paper caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tool-sample-paper th,
.tool-sample-paper td {
  min-width: 0;
  padding: 10px 9px;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: middle;
}

.tool-sample-paper th {
  height: 52px;
  border-bottom: 1px solid #77736a;
  color: #3e433f;
  background: #f2efe7;
  font: 900 0.51rem/1.25 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.tool-sample-paper th + th,
.tool-sample-paper td + td {
  border-left: 1px solid #b9b3a8;
}

.tool-sample-paper th:nth-child(1),
.tool-sample-paper td:nth-child(1) {
  width: 20%;
}

.tool-sample-paper th:nth-child(2),
.tool-sample-paper td:nth-child(2) {
  width: 39%;
}

.tool-sample-paper th:nth-child(3),
.tool-sample-paper td:nth-child(3) {
  width: 41%;
}

.tool-sample-paper tbody tr + tr td {
  border-top: 1px dashed #c0baae;
}

.tool-sample-paper tbody td:first-child {
  color: #5d655f;
  font: 800 0.51rem/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.035em;
}

.tool-sample-protected-cell {
  position: relative;
  height: 50px;
  color: #27332d;
  background: #ebe4ca;
  font-weight: 750;
}

.tool-sample-protected-cell > span {
  position: relative;
  z-index: 3;
}

.tool-sample-mask {
  display: inline-block;
  padding: 4px 5px;
  border: 1px solid rgb(65 67 61 / 38%);
  color: #474b45;
  background: rgb(255 253 247 / 76%);
  font: 850 0.49rem/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.025em;
}

.tool-sample-value {
  color: #214f40;
  font: 850 0.53rem/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.tool-sample-shutter {
  position: absolute;
  z-index: 2;
  top: 52px;
  right: 0;
  bottom: 0;
  display: grid;
  width: 41%;
  padding: 10px;
  place-content: center;
  border-left: 1px solid #514e47;
  color: #4c4d47;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 35%), transparent 28% 72%, rgb(70 67 59 / 12%)),
    repeating-linear-gradient(0deg, #d8ceb0 0 23px, #c8bc9a 24px 25px);
  box-shadow: -5px 0 10px rgb(45 42 36 / 10%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.25, 1), opacity 180ms ease;
}

.tool-sample-shutter span {
  padding: 7px 8px;
  border: 2px solid rgb(76 77 71 / 56%);
  background: rgb(238 231 210 / 68%);
  font: 900 0.52rem/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.1em;
  transform: rotate(-5deg);
}

.tool-sample-shutter i {
  position: absolute;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #817b6c;
  box-shadow: inset 0 0 0 2px #aaa28f;
}

.tool-sample-shutter i:nth-of-type(1) { top: 9px; }
.tool-sample-shutter i:nth-of-type(2) { top: 34%; }
.tool-sample-shutter i:nth-of-type(3) { top: 65%; }
.tool-sample-shutter i:nth-of-type(4) { bottom: 9px; }

.tool-sample-workspace[data-private-state="revealed"] .tool-sample-shutter {
  opacity: 0;
  transform: translateY(calc(-100% - 12px)) rotate(-2deg);
}

.tool-sample-paper > footer {
  display: flex;
  padding: 11px 14px;
  gap: 9px;
  align-items: center;
  border-top: 1px solid #77736a;
  color: #5c5d57;
  background: #f0ece2;
}

.tool-sample-paper > footer > span {
  color: #8b432a;
  font-size: 1rem;
  font-weight: 900;
}

.tool-sample-paper > footer p {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.4;
}

.tool-sample-paper > footer strong {
  color: #8b432a;
}

.tool-sample-result {
  display: grid;
  min-width: 0;
  padding: 19px 20px;
  grid-area: result;
  grid-template-columns: 84px minmax(0, 1fr) minmax(220px, 0.62fr);
  gap: 19px;
  align-items: center;
  border: 2px solid #214f40;
  color: #1f352b;
  background:
    linear-gradient(90deg, transparent 29px, rgb(240 91 55 / 10%) 30px, transparent 31px),
    repeating-linear-gradient(#f5f5e9 0 27px, #d9e2d5 28px);
  box-shadow: 7px 8px 0 rgb(33 79 64 / 19%);
  animation: tool-sample-result-in 260ms cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}

.tool-sample-result:focus-visible {
  outline: 3px solid var(--workbench-blue);
  outline-offset: 4px;
}

.tool-sample-result-stamp {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 3px double #8b432a;
  border-radius: 50%;
  color: #8b432a;
  background: rgb(255 253 247 / 52%);
  font: 900 0.51rem/1.15 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.065em;
  text-align: center;
  transform: rotate(-6deg);
  animation: tool-sample-stamp-in 250ms 80ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.tool-sample-result-copy > p,
.tool-sample-result h4,
.tool-sample-result small {
  margin: 0;
}

.tool-sample-result-copy > p:first-child {
  color: #214f40;
  font: 900 0.52rem/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

#tool-sample-no-upload-stamp {
  display: inline-block;
  margin: 8px 0 1px;
  padding: 5px 8px 4px;
  border: 2px solid #214f40;
  outline: 1px dashed #214f40;
  outline-offset: -5px;
  color: #214f40;
  background: #edf2e7;
  box-shadow: 2px 2px 0 rgb(33 79 64 / 16%);
  font: 900 0.52rem/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.045em;
  text-transform: none;
  transform: rotate(-0.5deg);
}

.tool-sample-result h4 {
  margin: 5px 0 7px;
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.tool-sample-result-copy > p:not(:first-child) {
  max-width: 720px;
  color: #445148;
  font-size: 0.67rem;
  line-height: 1.5;
}

.tool-sample-result small {
  display: block;
  margin-top: 9px;
  color: #665e50;
  font: 800 0.51rem/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.035em;
}

.tool-sample-handoff {
  display: grid;
  min-width: 0;
  padding: 14px;
  gap: 12px;
  border: 1px dashed #214f40;
  background: rgb(255 253 247 / 72%);
  box-shadow: 3px 3px 0 rgb(33 79 64 / 12%);
}

.tool-sample-handoff p {
  margin: 0;
  color: #445148;
  font-size: 0.61rem;
  line-height: 1.48;
}

.tool-sample-handoff p strong {
  display: block;
  margin-bottom: 4px;
  color: #214f40;
  font: 900 0.54rem/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.tool-sample-handoff button {
  display: flex;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #214f40;
  border-radius: 0;
  color: #fff;
  background: #214f40;
  box-shadow: 3px 3px 0 #e6b84a;
  font: inherit;
  font-size: 0.67rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.tool-sample-handoff button:hover {
  color: #18231f;
  background: #e6b84a;
}

.tool-sample-start:focus-visible,
.tool-sample-choice button:focus-visible,
.tool-sample-handoff button:focus-visible {
  outline: 3px solid var(--workbench-blue);
  outline-offset: 3px;
}

@keyframes tool-sample-result-in {
  from { opacity: 0; transform: translateY(9px) rotate(-0.2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes tool-sample-stamp-in {
  from { opacity: 0; transform: scale(1.35) rotate(8deg); }
  to { opacity: 1; transform: scale(1) rotate(-6deg); }
}

.work-example-desk.has-tool-brief .tool-sample-result {
  position: relative;
  z-index: 2;
  grid-area: result;
  grid-template-columns: 72px minmax(0, 1fr);
  align-self: start;
  padding: 17px 18px;
  scroll-margin-top: 18px;
  transform: none;
  animation: tool-sample-sheet-pass 360ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.work-example-desk.has-tool-brief .tool-sample-desk {
  grid-template-areas: "result brief";
  grid-template-columns: minmax(280px, 0.72fr) minmax(440px, 1.28fr);
  gap: 0;
  align-items: start;
}

.work-example-desk.has-tool-brief .tool-sample-choice,
.work-example-desk.has-tool-brief .tool-sample-preview {
  display: none;
}

.work-example-desk.has-tool-brief .tool-sample-result-stamp {
  width: 66px;
  height: 66px;
}

.work-example-desk.has-tool-brief .tool-sample-result h4 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.work-example-desk.has-tool-brief .tool-sample-handoff {
  display: none;
}

.work-example-desk.has-tool-brief .tool-sample-result::after {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: -53px;
  width: 94px;
  padding: 5px 6px;
  border: 1px solid #8b432a;
  color: #8b432a;
  background: #f5e7ca;
  box-shadow: 2px 2px 0 rgb(85 77 57 / 13%);
  content: "Passed to → private desk";
  font: 900 0.43rem/1.25 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.problem-brief-panel[data-brief-origin="tool"] {
  --tool-brief-accent: #214f40;

  z-index: 1;
  margin: 0;
  padding: 18px 20px 20px 46px;
  grid-area: brief;
  opacity: 1;
  border: 1px solid #77736a;
  border-left: 3px solid var(--tool-brief-accent);
  color: var(--workbench-ink);
  background:
    linear-gradient(90deg, transparent 35px, rgb(139 67 42 / 8%) 36px, transparent 37px),
    repeating-linear-gradient(#fffdf7 0 31px, #ebe7dd 32px);
  box-shadow: 7px 8px 0 rgb(48 55 49 / 14%);
  animation: tool-brief-note-in 340ms 70ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.problem-brief-panel[data-tool-privacy="revealed"] {
  --tool-brief-accent: #9b4930;
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-heading {
  margin: 0 auto 15px;
  padding-left: 0;
  width: min(100%, 900px);
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-heading > div {
  min-width: 0;
}

.problem-brief-panel[data-brief-origin="tool"] #problem-brief-kicker {
  margin-bottom: 8px;
  color: #6a685f;
}

.tool-brief-privacy-status[hidden],
.tool-brief-boundary-note[hidden],
.problem-brief-panel[data-brief-origin="tool"] .problem-brief-field[hidden],
.problem-brief-panel[data-brief-origin="tool"] .problem-brief-participation-path[hidden] {
  display: none;
}

.problem-brief-panel[data-brief-origin="tool"] .tool-brief-privacy-status {
  margin: 0 0 9px;
  padding: 5px 0 5px 11px;
  border-left: 3px solid var(--tool-brief-accent);
  color: var(--tool-brief-accent);
  font: 850 0.68rem/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.025em;
  text-transform: none;
}

.problem-brief-panel[data-brief-origin="tool"] .tool-brief-boundary-note {
  max-width: 660px;
  margin: 9px 0 0;
  color: #555a54;
  font: 700 0.67rem/1.5 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0;
  text-transform: none;
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-layout {
  width: min(100%, 900px);
  margin: 0 auto;
  padding-left: 0;
  grid-template-areas:
    "context"
    "form";
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-privacy-boundary {
  display: none;
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-context {
  padding: 8px 2px;
  grid-template-columns: auto auto minmax(180px, 1fr);
  gap: 12px;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--tool-brief-accent) 48%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--tool-brief-accent) 48%, transparent);
  background: transparent;
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-context > span {
  color: #6b6d67;
  font-size: 0.5rem;
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-context > strong {
  padding: 0;
  border: 0;
  color: var(--tool-brief-accent);
  background: transparent;
  font: 850 0.64rem/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.problem-brief-panel[data-brief-origin="tool"] #problem-brief-form {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.68fr);
  gap: 14px 18px;
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-field:first-child {
  grid-row: 1 / span 3;
}

.problem-brief-panel[data-brief-origin="tool"] .problem-brief-reply,
.problem-brief-panel[data-brief-origin="tool"] .problem-brief-finish,
.problem-brief-panel[data-brief-origin="tool"] .problem-brief-status {
  grid-column: 2;
}

.problem-brief-panel[data-brief-origin="tool"] #problem-brief-problem {
  min-height: 132px;
}

@keyframes tool-sample-sheet-pass {
  from { transform: translateX(8px) rotate(0.2deg); }
  to { transform: translateX(0) rotate(0); }
}

@keyframes tool-brief-note-in {
  from { transform: translateY(-22px); }
  to { transform: translateY(0); }
}

@media (max-width: 980px) {
  .work-example-desk.has-tool-brief .tool-sample-desk {
    grid-template-areas:
      "result"
      "brief";
    grid-template-columns: minmax(0, 1fr);
  }

  .work-example-desk.has-tool-brief .tool-sample-result {
    width: calc(100% - 22px);
  }

  .work-example-desk.has-tool-brief .tool-sample-result::after {
    top: auto;
    right: 18px;
    bottom: -17px;
    width: auto;
    content: "Passed to ↓ private desk";
  }

  .problem-brief-panel[data-brief-origin="tool"] {
    padding-top: 26px;
  }
}

@media (max-width: 760px) {
  .tool-sample-heading {
    padding: 24px 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .tool-sample-heading > .tool-sample-meta {
    max-width: none;
    justify-self: start;
  }

  .tool-sample-meta strong,
  .tool-sample-meta span {
    text-align: left;
  }

  .tool-sample-desk {
    padding: 19px 12px 24px;
    grid-template-areas:
      "choice"
      "preview"
      "result";
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .tool-sample-choice {
    padding: 21px 14px 15px;
    transform: none;
  }

  .tool-sample-paper {
    box-shadow: 5px 6px 0 rgb(48 55 49 / 15%);
    transform: none;
  }

  .tool-sample-paper > header {
    padding: 13px 12px 11px;
    gap: 10px;
  }

  .tool-sample-paper th,
  .tool-sample-paper td {
    padding: 8px 5px;
  }

  .tool-sample-paper th {
    height: 58px;
    font-size: 0.44rem;
    letter-spacing: 0.025em;
  }

  .tool-sample-paper table {
    font-size: 0.54rem;
  }

  .tool-sample-paper tbody td:first-child {
    font-size: 0.45rem;
  }

  .tool-sample-protected-cell {
    height: 56px;
  }

  .tool-sample-mask,
  .tool-sample-value {
    font-size: 0.43rem;
  }

  .tool-sample-shutter {
    top: 58px;
    padding: 5px;
  }

  .tool-sample-shutter span {
    padding: 5px 4px;
    font-size: 0.42rem;
    letter-spacing: 0.055em;
  }

  .tool-sample-result {
    padding: 16px 13px;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
    box-shadow: 5px 6px 0 rgb(33 79 64 / 18%);
  }

  .tool-sample-result-stamp {
    width: 61px;
    height: 61px;
    border-width: 2px;
    font-size: 0.42rem;
  }

  .tool-sample-handoff {
    grid-column: 1 / -1;
    padding: 13px;
  }

  .tool-sample-handoff button {
    min-height: 52px;
  }

  .problem-brief-panel[data-brief-origin="tool"] {
    margin: 0;
    padding: 18px 14px 20px;
    box-shadow: 5px 6px 0 rgb(48 55 49 / 14%);
  }

  .work-example-desk.has-tool-brief .tool-sample-desk {
    padding: 14px 10px 22px;
    grid-template-areas:
      "result"
      "brief";
    grid-template-columns: minmax(0, 1fr);
  }

  .work-example-desk.has-tool-brief .tool-sample-result {
    width: calc(100% - 12px);
    margin-left: 2px;
    padding: 12px 11px;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    box-shadow: 4px 5px 0 rgb(33 79 64 / 18%);
  }

  .work-example-desk.has-tool-brief .tool-sample-result-stamp {
    width: 50px;
    height: 50px;
    font-size: 0.36rem;
  }

  .work-example-desk.has-tool-brief .tool-sample-result-copy > p:first-child,
  .work-example-desk.has-tool-brief .tool-sample-result-copy > p:not(:first-child):not(.tool-sample-no-upload-stamp),
  .work-example-desk.has-tool-brief .tool-sample-result-copy > small {
    display: none;
  }

  .work-example-desk.has-tool-brief .tool-sample-result h4 {
    margin: 5px 0 0;
    font-size: 1.12rem;
  }

  .work-example-desk.has-tool-brief .tool-sample-result::after {
    top: auto;
    right: 11px;
    bottom: -17px;
    width: auto;
    content: "Passed to ↓ private desk";
  }

  .problem-brief-panel[data-brief-origin="tool"] .problem-brief-heading {
    gap: 14px;
  }

  .problem-brief-panel[data-brief-origin="tool"] .problem-brief-heading h2 {
    font-size: 2rem;
  }

  .problem-brief-panel[data-brief-origin="tool"] .problem-brief-context {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .problem-brief-panel[data-brief-origin="tool"] .problem-brief-context > p {
    text-align: left;
  }

  .problem-brief-panel[data-brief-origin="tool"] #problem-brief-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .problem-brief-panel[data-brief-origin="tool"] .problem-brief-field:first-child {
    grid-row: auto;
  }

  .problem-brief-panel[data-brief-origin="tool"] .problem-brief-reply,
  .problem-brief-panel[data-brief-origin="tool"] .problem-brief-finish,
  .problem-brief-panel[data-brief-origin="tool"] .problem-brief-status {
    grid-column: 1;
  }

  .problem-brief-panel[data-brief-origin="tool"] #problem-brief-problem {
    min-height: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-sample-choice button,
  .tool-sample-shutter,
  .tool-sample-result,
  .tool-sample-result-stamp {
    animation: none;
    transition: none;
  }

  .problem-brief-panel[data-brief-origin="tool"] {
    animation: none;
  }
}
