/* Result delivery and actual PDF viewer. All classes are local to these two surfaces. */
.cd-delivery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.cd-panel,
.cd-dwg-group {
  background: #fff;
  border: 1px solid #e2e8f0cc;
  border-radius: 24px;
}
.cd-header {
  padding: 23px;
}
.cd-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 19px;
  border-bottom: 1px solid #f1f5f9;
}
.cd-heading-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cd-heading-icon {
  display: grid;
  place-items: center;
  background: #ecfdf5;
  border: 1px solid #a7f3d066;
  color: #059669;
  width: 45px;
  height: 45px;
  border-radius: 16px;
  flex-shrink: 0;
}
.cd-heading-icon .icon {
  width: 23px;
  height: 23px;
}
.cd-heading-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cd-heading-line h1 {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}
.cd-count {
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  padding: 4px 9px;
  border-radius: 14px;
  white-space: nowrap;
}
.cd-heading-main p {
  font-size: 11px;
  color: #64748b;
  line-height: 1.7;
  margin: 4px 0 0;
}
.cd-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.cd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 0;
  min-height: 40px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.cd-button:hover {
  text-decoration: none;
}
.cd-button .icon {
  width: 16px;
  height: 16px;
}
.cd-primary {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 2px 4px #2563eb12;
}
.cd-primary:hover {
  background: #1d4ed8;
  color: #fff;
}
.cd-secondary {
  background: #f1f5f9;
  color: #475569;
}
.cd-secondary:hover {
  background: #e2e8f0;
  color: #334155;
}
.cd-button[aria-disabled="true"] {
  pointer-events: none;
  background: #cbd5e1;
  color: #fff;
  box-shadow: none;
}
.cd-search {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  padding: 9px 13px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.cd-search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #94a3b8;
  stroke-width: 1.7;
  stroke-linecap: round;
  flex-shrink: 0;
}
.cd-search input {
  background: transparent;
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  color: #334155;
  font: 12px/1.7 inherit;
  padding: 0;
}
.cd-search input::placeholder {
  color: #94a3b8;
}
.cd-search:focus-within {
  border-color: #93b4ff;
  background: #fff;
  box-shadow: 0 0 0 2px #dbeafe66;
}
.cd-alert {
  padding: 13px 17px;
  border: 1px solid #fde68a;
  border-radius: 15px;
  background: #fffbeb;
  color: #92400e;
  font-size: 11px;
  line-height: 1.8;
}
.cd-files {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cd-dwg-group {
  overflow: hidden;
}
.cd-dwg-group > summary {
  list-style: none;
  cursor: pointer;
}
.cd-dwg-group > summary::-webkit-details-marker {
  display: none;
}
.cd-dwg-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 22px;
  background: #fff;
}
.cd-dwg-mark {
  font-size: 10px;
  font-weight: 750;
  width: 38px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cd-dwg-title {
  flex: 1;
  min-width: 0;
}
.cd-dwg-title h2 {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}
.cd-dwg-title p {
  font-size: 10px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 4px 0 0;
}
.cd-dwg-heading-tools {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.cd-file-zip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dbeafe;
  background: #eff6ff66;
  border-radius: 9px;
  padding: 7px 9px;
  color: #2563eb;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.cd-file-zip:hover {
  text-decoration: none;
  background: #dbeafe66;
}
.cd-file-zip .icon {
  height: 13px;
  width: 13px;
}
.cd-chevron {
  font-size: 18px;
  color: #94a3b8;
  transition: transform 0.2s;
}
.cd-dwg-group[open] .cd-chevron {
  transform: rotate(180deg);
}
.cd-state {
  font-size: 9px;
  padding: 3px 7px;
  border-radius: 8px;
  line-height: 1.6;
  white-space: nowrap;
}
.cd-state-success {
  background: #ecfdf5;
  color: #059669;
}
.cd-state-warning {
  background: #fffbeb;
  color: #b45309;
}
.cd-state-active {
  background: #eff6ff;
  color: #2563eb;
}
.cd-dwg-body {
  padding: 0 22px 17px;
  border-top: 1px solid #f1f5f9;
}
.cd-run-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
.cd-run-choice > span {
  font-size: 10px;
  color: #64748b;
  flex-shrink: 0;
}
.cd-run-choice select {
  max-width: 380px;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #f8fafc;
  padding: 7px 10px;
  font-size: 10px;
  color: #475569;
}
.cd-pdf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f1f5f9;
}
.cd-file-mark {
  font-size: 10px;
  font-weight: 750;
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #ffe4e6;
  border-radius: 10px;
  width: 33px;
  height: 37px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cd-pdf-description {
  flex: 1;
  min-width: 0;
}
.cd-pdf-description h3 {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}
.cd-pdf-metadata {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.8;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.cd-row-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.cd-row-preview,
.cd-row-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  white-space: nowrap;
  cursor: pointer;
}
.cd-row-preview {
  background: #f1f5f9;
  color: #475569;
}
.cd-row-preview:hover {
  background: #e2e8f0;
}
.cd-row-download {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
.cd-row-download:hover {
  background: #dbeafe66;
  text-decoration: none;
}
.cd-row-preview .icon,
.cd-row-download .icon {
  height: 13px;
  width: 13px;
}
.cd-extra-pages {
  margin-top: 13px;
  color: #64748b;
  font-size: 10px;
}
.cd-extra-pages > summary {
  cursor: pointer;
  font-weight: 550;
  padding: 4px 0;
}
.cd-extra-pages .cd-pdf-row {
  padding-left: 12px;
}
.cd-dwg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
}
.cd-dwg-footer > span {
  font-size: 9px;
  color: #94a3b8;
  line-height: 1.8;
}
.cd-retry {
  font-size: 10px;
  font-weight: 600;
  color: #b45309;
  border: 0;
  background: #fffbeb;
  padding: 6px 9px;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
}
.cd-retry:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cd-file-note,
.cd-file-error {
  font-size: 11px;
  line-height: 1.9;
  margin: 15px 0 3px;
  color: #94a3b8;
  overflow-wrap: anywhere;
}
.cd-file-error {
  color: #be123c;
}
.cd-empty {
  padding: 48px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  min-height: 260px;
}
.cd-empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  background: #f1f5f9;
  color: #94a3b8;
  margin-bottom: 14px;
}
.cd-empty-icon .icon {
  width: 28px;
  height: 28px;
}
.cd-empty h2 {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin: 0;
}
.cd-empty p {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.9;
  margin: 7px 0 18px;
}
.cd-delivery button:focus-visible,
.cd-delivery a:focus-visible,
.cd-delivery summary:focus-visible,
.cd-viewer button:focus-visible,
.cd-viewer a:focus-visible {
  outline: 2px solid #93b4ff;
  outline-offset: 3px;
}

.cd-viewer {
  padding: 0;
  width: min(1080px, calc(100vw - 48px));
  height: 92dvh;
  max-width: calc(100vw - 48px);
  max-height: 92dvh;
  border: 1px solid #334155;
  border-radius: 17px;
  background: #1e293b;
  color: #e2e8f0;
  overflow: hidden;
  box-shadow: 0 24px 80px #02061780;
}
.cd-viewer[open] {
  display: flex;
  flex-direction: column;
}
.cd-viewer::backdrop {
  background: #020617d9;
  backdrop-filter: blur(2px);
}
.cd-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: #0f172a;
  flex-shrink: 0;
}
.cd-preview-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.cd-preview-identity > div {
  min-width: 0;
}
.cd-preview-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid #f43f5e4d;
  background: #f43f5e26;
  color: #fb7185;
  font-size: 9px;
  font-weight: 750;
  flex-shrink: 0;
}
.cd-preview-identity h2 {
  font-size: 12px;
  line-height: 1.7;
  font-weight: 650;
  color: #f8fafc;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cd-preview-identity p {
  font-size: 9px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 3px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cd-viewer-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.cd-tool-group {
  display: flex;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  padding: 3px;
  border-radius: 11px;
}
.cd-tool-group > button,
.cd-tool-button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  min-width: 29px;
  height: 30px;
  background: transparent;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  text-decoration: none;
}
.cd-tool-group > button:hover:not(:disabled),
.cd-tool-button:hover {
  background: #334155;
  color: #fff;
  text-decoration: none;
}
.cd-tool-group > button[aria-pressed="true"] {
  background: #2563eb;
  color: #fff;
  box-shadow: inset 0 0 0 1px #93c5fd66;
}
.cd-tool-group > .cd-mode-button {
  display: flex;
  gap: 5px;
  padding: 4px 8px;
  font-size: 10px;
  white-space: nowrap;
}
.cd-mode-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cd-tool-group > button:disabled,
.cd-tool-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.cd-tool-group > span {
  font:
    10px/1.6 Consolas,
    monospace;
  color: #e2e8f0;
  min-width: 44px;
  text-align: center;
  white-space: nowrap;
  padding: 0 4px;
}
.cd-tool-button {
  background: #1e293b;
  border: 1px solid #334155;
  min-width: 36px;
  height: 36px;
}
.cd-tool-button .icon {
  width: 16px;
  height: 16px;
}
.cd-fit {
  font-size: 10px;
  padding: 5px 9px;
  min-width: 68px;
}
.cd-direct-open {
  font-size: 19px;
  min-width: 32px;
}
.cd-viewer-close:hover {
  background: #e11d48;
  border-color: #e11d48;
}
.cd-viewer .cd-button {
  font-size: 10px;
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 9px;
}
.cd-viewer .cd-button .icon {
  height: 14px;
  width: 14px;
}
.cd-pdf-viewport {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: auto;
  background: #1e293b;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}
.cd-pdf-viewport[data-hand-tool="true"] {
  cursor: grab;
}
.cd-pdf-viewport[data-dragging="true"] {
  cursor: grabbing;
  user-select: none;
}
.cd-pdf-stage {
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
}
.cd-pdf-stage canvas {
  display: block;
  background: #fff;
  box-shadow: 0 12px 35px #02061770;
  flex-shrink: 0;
  max-width: none;
  max-height: none;
}
.cd-pdf-stage canvas[hidden] {
  display: none;
}
.cd-pdf-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #cbd5e1;
  font-size: 12px;
  pointer-events: none;
  background: #1e293b66;
}
.cd-pdf-status:before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid #64748b;
  border-top-color: #cbd5e1;
  border-radius: 50%;
  animation: cd-pdf-spin 0.8s linear infinite;
}
.cd-pdf-viewport iframe {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}
.cd-pdf-fallback {
  font-size: 10px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0f172a;
  color: #cbd5e1;
  padding: 10px 16px;
  border-top: 1px solid #334155;
  flex-shrink: 0;
}
.cd-pdf-fallback a {
  color: #93c5fd;
  white-space: nowrap;
}
.cd-mobile-viewer-footer {
  display: none;
}
@keyframes cd-pdf-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1023px) {
  .cd-header {
    padding: 20px;
    border-radius: 20px;
  }
  .cd-titlebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .cd-header-actions {
    width: 100%;
  }
  .cd-header-actions > .cd-button {
    flex: 1;
  }
  .cd-dwg-heading {
    padding: 17px 19px;
  }
  .cd-dwg-body {
    padding: 0 19px 15px;
  }
  .cd-viewer {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }
  .cd-viewer-toolbar {
    gap: 10px;
    padding: 12px 13px;
  }
  .cd-viewer-tools {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 70%;
  }
  .cd-preview-identity {
    gap: 8px;
  }
  .cd-preview-icon {
    width: 30px;
    height: 33px;
  }
  .cd-preview-identity h2 {
    font-size: 11px;
  }
  .cd-preview-identity p {
    font-size: 8px;
  }
  .cd-fit {
    min-width: 58px;
    font-size: 9px;
    padding: 5px;
  }
  .cd-viewer .cd-desktop-download {
    display: none;
  }
  .cd-pdf-stage {
    padding: 22px;
  }
}
@media (max-width: 639px) {
  .cd-delivery {
    gap: 15px;
  }
  .cd-header {
    padding: 16px;
    border-radius: 18px;
  }
  .cd-heading-main {
    gap: 10px;
  }
  .cd-heading-icon {
    width: 40px;
    height: 42px;
    border-radius: 14px;
  }
  .cd-heading-line {
    gap: 6px;
  }
  .cd-heading-line h1 {
    font-size: 15px;
  }
  .cd-heading-main p {
    font-size: 10px;
  }
  .cd-count {
    font-size: 10px;
    padding: 3px 7px;
  }
  .cd-titlebar {
    gap: 14px;
    padding-bottom: 14px;
  }
  .cd-header-actions {
    gap: 8px;
  }
  .cd-button {
    font-size: 10px;
    padding: 9px 12px;
    min-height: 38px;
  }
  .cd-search {
    margin-top: 14px;
    padding: 8px 11px;
    border-radius: 11px;
  }
  .cd-search input {
    font-size: 11px;
  }
  .cd-search svg {
    width: 15px;
    height: 15px;
  }
  .cd-alert {
    font-size: 10px;
    padding: 11px 13px;
    border-radius: 13px;
  }
  .cd-files {
    gap: 12px;
  }
  .cd-dwg-group {
    border-radius: 17px;
  }
  .cd-dwg-heading {
    padding: 14px 13px;
    gap: 9px;
  }
  .cd-dwg-mark {
    width: 32px;
    height: 36px;
    font-size: 9px;
    border-radius: 10px;
  }
  .cd-dwg-title h2 {
    font-size: 11px;
  }
  .cd-dwg-title p {
    font-size: 9px;
    margin-top: 3px;
  }
  .cd-dwg-heading-tools {
    gap: 7px;
  }
  .cd-file-zip {
    font-size: 9px;
    padding: 6px 7px;
    border-radius: 8px;
    gap: 3px;
  }
  .cd-file-zip .icon {
    width: 11px;
    height: 11px;
  }
  .cd-dwg-body {
    padding: 0 13px 12px;
  }
  .cd-dwg-heading-tools > .cd-state {
    display: none;
  }
  .cd-run-choice {
    gap: 8px;
    padding: 10px 0;
  }
  .cd-run-choice select {
    font-size: 9px;
    padding: 6px 8px;
    flex: 1;
    max-width: 100%;
  }
  .cd-run-choice > span {
    font-size: 9px;
  }
  .cd-pdf-row {
    padding: 13px 0;
    gap: 9px;
  }
  .cd-file-mark {
    width: 29px;
    height: 33px;
    border-radius: 9px;
    font-size: 9px;
  }
  .cd-pdf-description h3 {
    font-size: 11px;
  }
  .cd-pdf-metadata {
    font-size: 9px;
    line-height: 1.8;
    margin-top: 3px;
  }
  .cd-row-actions {
    gap: 5px;
  }
  .cd-row-preview,
  .cd-row-download {
    font-size: 9px;
    padding: 7px 8px;
    border-radius: 8px;
    gap: 4px;
  }
  .cd-row-preview .icon,
  .cd-row-download .icon {
    width: 12px;
    height: 12px;
  }
  .cd-dwg-footer {
    align-items: flex-start;
    gap: 10px;
  }
  .cd-dwg-footer > span {
    font-size: 8px;
  }
  .cd-retry {
    font-size: 9px;
    padding: 5px 7px;
  }
  .cd-extra-pages {
    font-size: 9px;
  }
  .cd-extra-pages .cd-pdf-row {
    padding-left: 0;
  }
  .cd-empty {
    padding: 40px 16px;
    border-radius: 18px;
    min-height: 230px;
  }
  .cd-empty h2 {
    font-size: 12px;
  }
  .cd-empty p {
    font-size: 10px;
    max-width: 280px;
  }
  .cd-empty-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }
  .cd-viewer {
    inset: 0;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .cd-viewer-toolbar {
    padding: 12px 13px 10px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 11px;
    position: relative;
  }
  .cd-preview-identity {
    flex-basis: 100%;
    padding-right: 37px;
  }
  .cd-preview-icon {
    width: 31px;
    height: 34px;
  }
  .cd-preview-identity h2 {
    font-size: 11px;
  }
  .cd-preview-identity p {
    font-size: 9px;
  }
  .cd-viewer-tools {
    gap: 7px;
    justify-content: flex-start;
    flex-basis: 100%;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .cd-tool-group {
    padding: 3px;
    border-radius: 10px;
  }
  .cd-tool-group > button {
    min-width: 30px;
    height: 28px;
  }
  .cd-tool-group > span {
    font-size: 10px;
    min-width: 43px;
  }
  .cd-fit {
    min-width: 66px;
    height: 36px;
    font-size: 10px;
  }
  .cd-direct-open {
    height: 36px;
    min-width: 36px;
  }
  .cd-viewer-close {
    position: absolute;
    right: 13px;
    top: 12px;
    min-width: 32px;
    height: 32px;
  }
  .cd-desktop-pages {
    display: none;
  }
  .cd-pdf-stage {
    padding: 12px;
  }
  .cd-pdf-status {
    font-size: 11px;
  }
  .cd-mobile-viewer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 13px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #0f172a;
    border-top: 1px solid #334155;
    flex-shrink: 0;
  }
  .cd-mobile-page-tools {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .cd-mobile-page-tools > button {
    border: 1px solid #334155;
    border-radius: 9px;
    background: #1e293b;
    color: #e2e8f0;
    padding: 8px 9px;
    font-size: 10px;
    white-space: nowrap;
  }
  .cd-mobile-page-tools > button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  .cd-mobile-page-tools > span {
    font:
      10px/1.6 Consolas,
      monospace;
    white-space: nowrap;
    color: #cbd5e1;
    min-width: 38px;
    text-align: center;
  }
  .cd-mobile-viewer-footer > .cd-button {
    font-size: 10px;
    padding: 9px 10px;
    min-height: 35px;
  }
  .cd-mobile-viewer-footer > .cd-button .icon {
    width: 13px;
    height: 13px;
  }
  .cd-pdf-fallback {
    font-size: 9px;
    padding: 9px 12px;
    align-items: flex-start;
  }
}
@media (max-width: 379px) {
  .cd-heading-line h1 {
    font-size: 14px;
  }
  .cd-heading-line {
    gap: 5px;
  }
  .cd-count {
    font-size: 9px;
  }
  .cd-heading-main p {
    font-size: 9px;
  }
  .cd-pdf-row {
    gap: 8px;
  }
  .cd-row-preview,
  .cd-row-download {
    font-size: 0;
    padding: 8px;
    min-width: 29px;
    gap: 0;
  }
  .cd-row-preview .icon,
  .cd-row-download .icon {
    width: 13px;
    height: 13px;
  }
  .cd-dwg-title h2 {
    font-size: 10px;
  }
  .cd-file-zip .icon {
    display: none;
  }
  .cd-file-zip {
    padding: 5px;
    font-size: 8px;
  }
  .cd-mobile-viewer-footer {
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .cd-mobile-page-tools {
    gap: 4px;
  }
  .cd-mobile-page-tools > button {
    padding: 8px 7px;
    font-size: 9px;
  }
  .cd-mobile-page-tools > span {
    font-size: 9px;
    min-width: 35px;
  }
  .cd-mobile-viewer-footer > .cd-button {
    font-size: 9px;
    padding: 9px 8px;
  }
  .cd-mobile-viewer-footer > .cd-button .icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cd-chevron {
    transition: none;
  }
  .cd-pdf-status:before {
    animation: none;
  }
}
