/* Desktop print-only workbench. The global language and client-mode controls remain outside it. */
#page-print {
  padding: 24px 24px 40px;
}
.print-desk {
  color: var(--text, #1f2937);
}
.print-desk-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}
.print-desk-heading h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.print-desk-heading p {
  max-width: 720px;
  color: var(--text-secondary, #475569);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.print-desk-account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
  max-width: 42%;
}
.print-desk-person {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.print-desk-person strong {
  font-size: 14px;
}
.print-desk-person > span {
  font-size: 12px;
  color: var(--text-secondary, #475569);
}
.print-desk-notice {
  margin: 0 0 22px;
  padding: 12px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 13px;
  line-height: 1.6;
}
.print-desk-tools {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.print-desk-categories {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: #e9eef5;
  border-radius: 10px;
  flex-wrap: wrap;
}
.print-desk-category,
.print-desk-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.print-desk-category {
  background: transparent;
  color: #475569;
}
.print-desk-category.active {
  color: #1d4ed8;
  background: #fff;
  box-shadow: 0 1px 4px #0f172a14;
}
.print-desk-category:hover:not(.active) {
  background: #ffffff80;
}
.print-desk-button {
  background: #fff;
  border-color: #cbd5e1;
  color: #334155;
}
.print-desk-print {
  background: var(--blue, #2563eb);
  border-color: var(--blue, #2563eb);
  color: #fff;
  width: 100%;
}
.print-desk-button:hover {
  filter: brightness(0.95);
}
.print-desk-button:focus-visible,
.print-desk-category:focus-visible,
.print-desk-search input:focus-visible,
.print-desk-code-list summary:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}
.print-desk-search {
  display: grid;
  gap: 6px;
  min-width: 250px;
  max-width: 340px;
  width: 32%;
}
.print-desk-search label {
  color: var(--text-secondary, #475569);
  font-size: 12px;
  font-weight: 600;
}
.print-desk-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--text, #1f2937);
  font-family: inherit;
  font-size: 16px;
}
.print-desk-count {
  margin: 0 0 12px;
  color: var(--text-secondary, #475569);
  font-size: 13px;
}
.print-desk-table-scroll {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.print-desk-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
  font-size: 14px;
}
.print-desk-table th {
  padding: 14px 16px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
}
.print-desk-table td {
  padding: 18px 16px;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
  overflow-wrap: anywhere;
}
.print-desk-table tr:last-child td {
  border-bottom: 0;
}
.print-desk-table th:last-child {
  width: 21%;
}
.print-desk-id {
  display: block;
  font-family: Consolas, monospace;
  font-size: 13px;
}
.print-desk-kind {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 6px;
}
.print-desk-slip {
  display: block;
  margin: 6px 0;
  padding: 8px;
  border: 2px solid #0f172a;
  color: #0f172a;
  background: #fff;
  font: 700 15px/1.35 Consolas, monospace;
  overflow-wrap: anywhere;
}
.print-desk-slip > span {
  display: block;
  font: 600 11px/1.4 Arial, sans-serif;
  margin-bottom: 4px;
}
.print-desk-manifest-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.print-desk-manifest-tools .print-desk-print {
  width: auto;
  margin-left: auto;
}
.print-desk-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.print-desk-manifest-table th:first-child {
  width: 11%;
}
.print-desk-manifest-table th:nth-child(2) {
  width: 43%;
}
.print-desk-select {
  min-width: 44px;
  font-size: 22px;
  color: #1d4ed8;
  border-color: #94a3b8;
}
.print-desk-code-list summary {
  min-height: 36px;
  padding: 2px 0 6px;
  color: #1d4ed8;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
}
.print-desk-code-list ol {
  max-height: 300px;
  overflow: auto;
  margin: 0;
  padding: 8px 10px 8px 30px;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.8;
}
.print-desk code {
  font-family: Consolas, monospace;
  font-size: 12px;
  word-break: break-word;
}
.print-desk-location {
  display: inline-block;
  color: #0f172a;
}
.print-desk-empty {
  padding: 40px 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  background: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 800px) {
  .print-desk-heading,
  .print-desk-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .print-desk-account {
    max-width: none;
    justify-content: flex-start;
  }
  .print-desk-person {
    text-align: left;
  }
  .print-desk-search {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .print-desk-table {
    min-width: 740px;
  }
}
@media (max-width: 480px) {
  #page-print {
    padding: 20px 14px 32px;
  }
  .print-desk-heading h2 {
    font-size: 23px;
  }
  .print-desk-category,
  .print-desk-button {
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
