.desk-launchers {
  position: fixed;
  z-index: 5;
  inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.desk-launchers button { box-shadow: 0 5px 20px #0008; }
body { padding-bottom: 78px; }
#gavel-open { width: 99px; height: 62px; padding: 0; background: #201524; }
.gavel { position: relative; display: block; width: 61px; height: 44px; transform: rotate(-13deg); }
.gavel::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 18px;
  width: 8px;
  height: 27px;
  border-radius: 4px;
  background: linear-gradient(90deg, #582644, #ad6b81, #582644);
  transform: rotate(-28deg);
  transform-origin: top;
}
.gavel-head {
  position: absolute;
  z-index: 1;
  inset: 2px 0 auto;
  padding: 5px 0;
  border-inline: 4px solid #cc9270;
  border-radius: 5px;
  background: linear-gradient(#834954, #442439);
  color: #fff2d2;
  font-size: 10px;
  letter-spacing: .035em;
  white-space: nowrap;
}
#gavel-open:active .gavel { transform: rotate(12deg); }
.desk-dialog {
  width: min(94vw, 480px);
  max-height: min(90dvh, 680px);
  padding: 16px;
  color: var(--ink);
  background: #181620;
  border: 1px solid #575164;
  border-radius: 16px;
}
.desk-dialog::backdrop { background: #06050baf; }
.desk-dialog h2 { font-size: 1.55rem; }
.desk-heading, .desk-input, .desk-voice, .desk-quick {
  display: flex;
  gap: 8px;
  align-items: center;
}
.desk-heading { justify-content: space-between; }
.desk-voice, .desk-quick { flex-wrap: wrap; }
#desk-log { height: min(30dvh, 240px); overflow-y: auto; margin: 12px 0; }
#desk-log p { margin: 6px 0; background: #252232; padding: 8px 10px; border-radius: 9px; color: var(--ink); overflow-wrap: anywhere; }
#desk-log a { display: inline-block; margin-right: 12px; text-decoration: underline; }
#desk-form { margin-block: 10px; }
#desk-question { min-width: 0; flex: 1; width: auto; max-width: none; }
#desk-read { width: auto; }
#desk-status { margin: 0; }
#desk-status:not(:empty) { margin-top: 8px; }
#page-links { display: grid; gap: 8px; margin-top: 12px; }
#page-links a { justify-content: start; }
