@import url("pdf-styles.css");

/* Calculator Club PDF Tools: isolated styles */
#pdf-tools,
.cc-pdf-page {
  --pdf-ink: #172033;
  --pdf-muted: #5f6b7a;
  --pdf-line: #dce3ec;
  --pdf-soft: #f4f8fb;
  --pdf-card: #ffffff;
  --pdf-blue: #155eef;
  --pdf-teal: #0e9384;
  --pdf-gold: #b7791f;
  --pdf-danger: #b42318;
  color: var(--pdf-ink);
}

#pdf-tools *,
.cc-pdf-page * {
  box-sizing: border-box;
}

#pdf-tools {
  margin: 38px 0;
  scroll-margin-top: 84px;
  isolation: isolate;
}

.cc-pdf-shell {
  display: grid;
  gap: 18px;
}

.cc-pdf-hero,
.cc-pdf-tool,
.cc-pdf-content,
.cc-pdf-sidebar,
.cc-pdf-blog-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(21, 94, 239, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(23, 32, 51, 0.1);
}

.cc-pdf-hero {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 32px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 94, 239, 0.08), rgba(14, 147, 132, 0.08)),
    #ffffff;
}

.cc-pdf-hero h1,
.cc-pdf-hero h2,
.cc-pdf-content h1,
.cc-pdf-content h2 {
  margin: 0 0 12px;
  color: var(--pdf-ink);
  letter-spacing: 0;
}

.cc-pdf-hero p,
.cc-pdf-content p,
.cc-pdf-tool p,
.cc-pdf-card p {
  color: var(--pdf-muted);
}

.cc-pdf-privacy-row,
.cc-pdf-tool-grid,
.cc-pdf-action-row,
.cc-pdf-file-list,
.cc-pdf-tool-tabs,
.cc-pdf-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cc-pdf-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 118, 110, 0.25);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: #075e57;
  font-size: 13px;
  font-weight: 700;
}

.cc-pdf-layout {
  display: grid;
  gap: 18px;
}

.cc-pdf-tool {
  padding: clamp(14px, 3vw, 22px);
  scroll-margin-top: 86px;
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.cc-pdf-tool-tabs {
  margin-bottom: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.cc-pdf-tab,
.cc-pdf-button,
.cc-pdf-secondary {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cc-pdf-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 12px;
  background: #eef3f8;
  color: var(--pdf-muted);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cc-pdf-tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--pdf-blue), var(--pdf-teal));
  color: #fff;
}

.cc-pdf-button {
  min-height: 48px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--pdf-blue), #0f766e);
  color: #fff;
}

.cc-pdf-secondary {
  min-height: 44px;
  padding: 10px 14px;
  background: #e9eff7;
  color: var(--pdf-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cc-pdf-button:hover,
.cc-pdf-secondary:hover,
.cc-pdf-tab:hover {
  transform: translateY(-1px);
}

.cc-pdf-button:disabled,
.cc-pdf-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.cc-pdf-dropzone {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 236px;
  padding: clamp(16px, 4vw, 26px);
  border: 2px dashed rgba(21, 94, 239, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(251, 253, 255, 0.9) 0%, rgba(238, 246, 255, 0.78) 100%);
  text-align: center;
}

.cc-pdf-dropzone.is-dragover {
  border-color: var(--pdf-blue);
  background: #eaf2ff;
}

.cc-pdf-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cc-pdf-upload-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.cc-pdf-upload-copy.is-compact {
  padding: 8px;
}

.cc-pdf-upload-copy.is-compact .cc-pdf-upload-anim {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
}

.cc-pdf-upload-copy span:not(.cc-pdf-badge) {
  color: var(--pdf-muted);
  font-size: 14px;
}

.cc-pdf-upload-anim {
  width: 82px;
  height: 82px;
  margin: 0 auto 10px;
}

.cc-pdf-upload-anim .cc-pdf-ring {
  fill: none;
  stroke: #bed0e8;
  stroke-width: 7;
}

.cc-pdf-upload-anim .cc-pdf-progress {
  fill: none;
  stroke: var(--pdf-blue);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 120;
  animation: ccPdfSpin 1.8s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes ccPdfSpin {
  to { transform: rotate(360deg); }
}

.cc-pdf-success svg {
  width: 48px;
  height: 48px;
}

.cc-pdf-success path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: ccPdfTick 0.55s ease forwards;
}

@keyframes ccPdfTick {
  to { stroke-dashoffset: 0; }
}

@keyframes ccPdfPulse {
  50% { opacity: 0.42; }
}

.cc-pdf-file-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: 12px;
}

.cc-pdf-file-list li {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 142px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(23, 92, 211, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.08);
  cursor: grab;
}

.cc-pdf-file-list li.is-dragging {
  opacity: 0.6;
  outline: 2px solid var(--pdf-blue);
}

.cc-pdf-file-list strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--pdf-ink);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cc-pdf-file-list small {
  color: var(--pdf-muted);
}

.cc-pdf-status {
  min-height: 24px;
  margin: 10px 0;
  color: var(--pdf-muted);
  font-weight: 700;
}

.cc-pdf-status[data-tone="success"] {
  color: #087443;
}

.cc-pdf-status[data-tone="error"] {
  color: var(--pdf-danger);
}

.cc-pdf-options {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 14px;
  border: 1px solid rgba(21, 94, 239, 0.14);
  border-radius: 8px;
  background: #f8fbff;
  text-align: left;
}

.cc-pdf-options[hidden] {
  display: none;
}

.cc-pdf-options label {
  display: grid;
  gap: 6px;
  color: var(--pdf-ink);
  font-weight: 800;
}

.cc-pdf-options p {
  margin: 0;
  font-size: 13px;
}

.cc-pdf-option-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bcc8d8;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}

.cc-pdf-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}

.cc-pdf-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cc-pdf-preset-row button {
  min-height: 34px;
  border: 1px solid rgba(21, 94, 239, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--pdf-blue);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 10px;
}

.cc-pdf-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.cc-pdf-card {
  padding: 14px;
  border: 1px solid rgba(21, 94, 239, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cc-pdf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 94, 239, 0.3);
  box-shadow: 0 16px 36px rgba(23, 32, 51, 0.1);
}

.cc-pdf-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.cc-pdf-card.is-disabled {
  opacity: 0.7;
}

.cc-pdf-content {
  padding: clamp(18px, 4vw, 34px);
}

.cc-pdf-content ul,
.cc-pdf-content ol {
  padding-left: 20px;
  color: var(--pdf-muted);
}

.cc-pdf-content li + li {
  margin-top: 7px;
}

.cc-pdf-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.cc-pdf-link-grid a {
  color: var(--pdf-blue);
  font-weight: 800;
  text-decoration: none;
}

.cc-pdf-sidebar {
  padding: 16px;
  align-self: start;
}

.cc-pdf-limits {
  border-left: 4px solid var(--pdf-gold);
  padding: 12px;
  background: #fff8eb;
  border-radius: 8px;
}

.cc-pdf-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cc-pdf-blog-card {
  padding: 16px;
}

.cc-pdf-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 50;
  margin: 18px -20px -20px;
  padding: 10px 20px;
  border-top: 1px solid var(--pdf-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

@media (min-width: 860px) {
  .cc-pdf-hero {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }

  .cc-pdf-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .cc-pdf-sticky-cta {
    display: none;
  }
}

@media (max-width: 859px) {
  #pdf-tools {
    margin: 18px 0;
    scroll-margin-top: 76px;
  }

  .cc-pdf-shell {
    gap: 12px;
  }

  .cc-pdf-hero {
    padding: 18px;
  }

  .cc-pdf-hero h2,
  .cc-pdf-tool h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .cc-pdf-layout {
    gap: 12px;
  }

  .cc-pdf-tool {
    padding: 14px;
  }

  .cc-pdf-tool-tabs {
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
  }

  .cc-pdf-tab {
    min-height: 44px;
    padding: 10px 14px;
  }

  .cc-pdf-dropzone {
    min-height: 210px;
  }

  .cc-pdf-file-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-pdf-action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cc-pdf-button,
  .cc-pdf-secondary {
    width: 100%;
  }

  .cc-pdf-sticky-cta {
    position: static;
    margin: 14px 0 0;
    padding: 0;
    border-top: 0;
    background: transparent;
    backdrop-filter: none;
  }

}

@media (max-width: 420px) {
  .cc-pdf-file-list {
    grid-template-columns: 1fr;
  }

  .cc-pdf-privacy-row,
  .cc-pdf-badge {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive safety pass for PDF tools */
#pdf-tools,
.cc-pdf-page,
.cc-pdf-shell,
.cc-pdf-tool,
.cc-pdf-content,
.cc-pdf-dropzone,
.cc-pdf-file-list li {
  min-width: 0;
  max-width: 100%;
}

.cc-pdf-action-row,
.cc-pdf-privacy-row,
.cc-pdf-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cc-pdf-action-row > *,
.cc-pdf-preset-row > * {
  flex: 1 1 150px;
}

.cc-pdf-option-input,
.cc-pdf-options input,
.cc-pdf-options select,
.cc-pdf-options textarea {
  min-width: 0;
  max-width: 100%;
}

.cc-pdf-tool-tabs {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.cc-pdf-status {
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .cc-pdf-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cc-pdf-file-list {
    grid-template-columns: 1fr;
  }

  .cc-pdf-action-row > *,
  .cc-pdf-button,
  .cc-pdf-secondary {
    width: 100%;
  }

  .cc-pdf-dropzone {
    min-height: 190px;
    padding: 16px 12px;
  }
}

/* Premium app-style PDF UI */
#pdf-tools,
.cc-pdf-page {
  --pdf-ink: #111827;
  --pdf-muted: #5b6472;
  --pdf-line: #d8e0ea;
  --pdf-soft: #f6f8fb;
  --pdf-card: #ffffff;
  --pdf-blue: #2563eb;
  --pdf-teal: #0f766e;
  --pdf-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.cc-pdf-shell {
  gap: 14px;
}

.cc-pdf-hero,
.cc-pdf-tool,
.cc-pdf-content,
.cc-pdf-sidebar,
.cc-pdf-blog-card {
  border-radius: 8px;
  box-shadow: var(--pdf-shadow);
}

.cc-pdf-hero {
  background:
    radial-gradient(circle at 12% 16%, rgba(37, 99, 235, 0.1), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 56%, #eefdf9 100%);
}

.cc-pdf-ui-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.cc-pdf-badge .cc-pdf-ui-icon {
  width: 16px;
  height: 16px;
}

.cc-pdf-tab {
  gap: 7px;
  min-width: 86px;
  min-height: 50px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.cc-pdf-tab[aria-selected="true"] {
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.cc-pdf-tool {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.cc-pdf-tool > h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cc-pdf-dropzone {
  border-radius: 8px;
  border-color: rgba(37, 99, 235, 0.24);
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.cc-pdf-button,
.cc-pdf-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cc-pdf-preset-row button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
}

.cc-pdf-preset-row .cc-pdf-ui-icon {
  width: 16px;
  height: 16px;
}

.cc-pdf-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 132px;
  border-radius: 8px;
}

.cc-pdf-card .cc-pdf-ui-icon {
  width: 30px;
  height: 30px;
  color: var(--pdf-blue);
}

.cc-pdf-card h3 {
  margin: 0;
}

.cc-pdf-ocr-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: #f0fdfa;
}

.cc-pdf-ocr-note p {
  margin: 3px 0 0;
}

@media (max-width: 859px) {
  .cc-pdf-tool-tabs {
    gap: 8px;
    padding-bottom: 8px;
  }

  .cc-pdf-tab {
    min-width: 76px;
    min-height: 58px;
    flex-direction: column;
    font-size: 12px;
  }

  .cc-pdf-tab .cc-pdf-ui-icon {
    width: 20px;
    height: 20px;
  }

}

@media (max-width: 420px) {
  .cc-pdf-card {
    min-height: 112px;
  }

}

/* Final app polish: compact, touch-safe, and screen-safe */
#pdf-tools {
  margin: clamp(14px, 3vw, 28px) 0;
}

.cc-pdf-shell {
  gap: clamp(10px, 2vw, 14px);
}

.cc-pdf-hero,
.cc-pdf-tool,
.cc-pdf-sidebar,
.cc-pdf-content {
  border-color: rgba(37, 99, 235, 0.1);
}

.cc-pdf-hero {
  padding: clamp(16px, 3vw, 28px);
}

.cc-pdf-hero h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
}

.cc-pdf-hero p {
  max-width: 760px;
  margin-bottom: 0;
}

.cc-pdf-privacy-row {
  margin-top: 10px;
}

.cc-pdf-tool {
  padding: clamp(12px, 2.5vw, 22px);
}

.cc-pdf-tool-tabs {
  position: sticky;
  top: 0;
  z-index: 15;
  margin: -2px -4px 14px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.cc-pdf-tool-tabs::-webkit-scrollbar {
  display: none;
}

.cc-pdf-tab {
  min-width: 92px;
  border-color: #e6ebf2;
  color: #465264;
}

.cc-pdf-tab:focus-visible,
.cc-pdf-button:focus-visible,
.cc-pdf-secondary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.cc-pdf-tool > h2 {
  margin-bottom: 6px;
}

.cc-pdf-tool > p {
  margin-top: 0;
}

.cc-pdf-dropzone {
  gap: 12px;
  min-height: 210px;
  padding: clamp(14px, 3vw, 22px);
  border-style: solid;
}

.cc-pdf-upload-copy {
  align-content: center;
  min-height: 152px;
  padding: 8px;
}

.cc-pdf-upload-copy.is-compact {
  min-height: auto;
  grid-template-columns: auto minmax(0, 1fr);
  justify-items: start;
  text-align: left;
}

.cc-pdf-upload-copy.is-compact .cc-pdf-upload-anim {
  grid-row: span 3;
}

.cc-pdf-upload-copy.is-compact .cc-pdf-badge {
  justify-content: flex-start;
  width: auto;
}

.cc-pdf-upload-copy strong {
  font-size: clamp(18px, 2.2vw, 22px);
}

.cc-pdf-upload-copy.is-compact strong {
  font-size: 16px;
}

.cc-pdf-options {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: end;
}

.cc-pdf-options > p,
.cc-pdf-options .cc-pdf-ocr-note,
.cc-pdf-options .cc-pdf-preset-row {
  grid-column: 1 / -1;
}

.cc-pdf-option-input {
  background: #ffffff;
}

.cc-pdf-action-row {
  margin-top: 12px;
}

.cc-pdf-status {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  padding: 0 2px;
  font-size: 14px;
}

.cc-pdf-sidebar {
  position: sticky;
  top: 86px;
}

.cc-pdf-limits {
  border-left: 0;
  border-top: 4px solid var(--pdf-gold);
}

.cc-pdf-tool-grid {
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
}

.cc-pdf-card {
  min-height: 120px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.cc-pdf-tab,
.cc-pdf-button,
.cc-pdf-secondary {
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1180px) {
  .cc-pdf-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 859px) {
  .cc-pdf-hero {
    padding: 18px;
  }

  .cc-pdf-tool-tabs {
    top: 0;
    margin-left: -6px;
    margin-right: -6px;
    border-radius: 0;
  }

  .cc-pdf-tab {
    min-width: 78px;
    min-height: 56px;
    padding: 8px 10px;
  }

  .cc-pdf-dropzone {
    min-height: 172px;
  }

  .cc-pdf-upload-copy {
    min-height: 130px;
  }

  .cc-pdf-upload-anim {
    width: 68px;
    height: 68px;
  }

  .cc-pdf-options {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .cc-pdf-sticky-cta {
    position: sticky;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 80;
    margin: 12px 0 0;
    padding: 8px;
    border: 1px solid rgba(216, 224, 234, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .cc-pdf-sticky-cta .cc-pdf-button {
    min-height: 50px;
  }
}

@media (max-width: 520px) {
  .cc-pdf-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .cc-pdf-hero,
  .cc-pdf-tool,
  .cc-pdf-content {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  }

  .cc-pdf-hero p {
    font-size: 15px;
  }

  .cc-pdf-badge {
    min-height: 36px;
  }

  .cc-pdf-file-list {
    grid-template-columns: 1fr;
  }

  .cc-pdf-upload-copy.is-compact {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .cc-pdf-upload-copy.is-compact .cc-pdf-upload-anim {
    grid-row: auto;
  }

  .cc-pdf-upload-copy.is-compact .cc-pdf-badge {
    justify-content: center;
    width: 100%;
  }

}

@media (max-width: 360px) {
  .cc-pdf-tab {
    min-width: 70px;
    font-size: 11px;
  }

}

/* Reference-style PDF workspace refresh */
.cc-pdf-app-body {
  background: #f5f7fb;
}

.cc-pdf-app-body header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid #e6ebf2;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cc-pdf-app-body .header-container {
  width: min(100%, 1920px);
  max-width: none;
  min-height: 64px;
  padding: 0 clamp(16px, 2vw, 32px);
}

.cc-pdf-app-body .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.cc-pdf-app-body .logo::before {
  content: "";
  width: 26px;
  height: 26px;
  border: 2px solid #2f66f2;
  border-radius: 6px;
  background:
    linear-gradient(#2f66f2, #2f66f2) 50% 50% / 10px 2px no-repeat,
    linear-gradient(#2f66f2, #2f66f2) 50% 50% / 2px 10px no-repeat,
    #edf3ff;
  box-shadow: inset 0 0 0 4px #fff;
}

.cc-pdf-app-body .site-brand.logo::before {
  display: none;
}

.cc-pdf-app-body .site-brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid #2f66f2;
  border-radius: 6px;
  background: #edf3ff;
  color: #2f66f2;
  box-shadow: inset 0 0 0 4px #fff;
  font-size: 20px;
}

.cc-pdf-app-body .site-brand-name {
  color: #0f172a;
  font-size: 20px;
}

.cc-pdf-app-body .site-brand-tagline {
  display: none;
}

.cc-pdf-app-body nav {
  gap: 8px;
}

.cc-pdf-app-body nav a {
  color: #526071;
  font-size: 14px;
  font-weight: 700;
}

.cc-pdf-app-body nav a[href="about.html"],
.cc-pdf-app-body nav a[href="contact.html"],
.cc-pdf-app-body nav a[href="index.html#calculators"] {
  display: none;
}

.cc-pdf-app-body nav::before {
  content: "Recent Files";
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-left: 8px;
  padding: 0 14px;
  border-left: 1px solid #e6ebf2;
  color: #4d5a6b;
  font-size: 14px;
  font-weight: 700;
}

.cc-pdf-app-body nav::after {
  content: "";
  width: 34px;
  height: 34px;
  margin-left: 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #f4f7fb 0 24%, transparent 25%),
    radial-gradient(circle at 50% 112%, #6b7586 0 44%, transparent 45%),
    linear-gradient(135deg, #b7c0d1, #768198);
  box-shadow: inset 0 0 0 2px #eef2f8;
}

.cc-pdf-app-body .container.cc-pdf-page {
  width: min(100% - 28px, 1880px);
  max-width: none;
  margin: 0 auto;
  padding: 0 0 28px;
}

.cc-pdf-app-body .breadcrumb {
  display: none;
}

#pdf-tools {
  margin: 0;
  padding-top: 26px;
}

#pdf-tools,
.cc-pdf-page {
  --pdf-ink: #0b1730;
  --pdf-muted: #647186;
  --pdf-line: #dfe6f0;
  --pdf-soft: #f6f8fc;
  --pdf-card: #ffffff;
  --pdf-blue: #3568ef;
  --pdf-purple: #8a5cf6;
  --pdf-teal: #18a3a8;
  --pdf-green: #2fb57d;
  --pdf-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

#pdf-tools .cc-pdf-shell {
  gap: 22px;
}

.cc-pdf-app-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  overflow: hidden;
  min-height: calc(100vh - 94px);
  border: 1px solid #e2e8f1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

.cc-pdf-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 26px 20px;
  border-right: 1px solid #e7edf5;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.cc-pdf-nav p {
  margin: 24px 0 8px;
  color: #708096;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cc-pdf-nav-group {
  display: grid;
  gap: 5px;
}

.cc-pdf-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  margin: 16px 0 4px;
  color: #708096;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.cc-pdf-nav-group summary::-webkit-details-marker {
  display: none;
}

.cc-pdf-nav-group summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef3fb;
  color: #526071;
  font-size: 14px;
  line-height: 1;
}

.cc-pdf-nav-group[open] summary::after {
  content: "-";
}

.cc-pdf-nav-group > div {
  display: grid;
  gap: 5px;
}

.cc-pdf-nav-home,
.cc-pdf-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: #4f5d72;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.cc-pdf-nav-home:hover,
.cc-pdf-nav-link:hover,
.cc-pdf-nav-link[aria-selected="true"] {
  background: linear-gradient(135deg, #376bf0, #446df4);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(53, 104, 239, 0.24);
}

.cc-pdf-nav-link[aria-selected="true"],
.cc-pdf-nav-link[aria-selected="true"] span,
.cc-pdf-nav-link[aria-selected="true"] .cc-pdf-ui-icon {
  color: #ffffff !important;
  stroke: currentColor;
}

.cc-pdf-nav .cc-pdf-ui-icon {
  width: 18px;
  height: 18px;
}

.cc-pdf-storage {
  margin-top: auto;
  padding: 18px;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.cc-pdf-storage strong,
.cc-pdf-storage span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-pdf-storage strong {
  color: var(--pdf-ink);
  font-size: 13px;
}

.cc-pdf-storage span {
  margin-top: 12px;
  color: var(--pdf-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cc-pdf-storage div {
  height: 5px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf5;
}

.cc-pdf-storage i {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: #5572a6;
}

.cc-pdf-workspace {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 26px 26px 28px;
  background: #f8fafc;
}

.cc-pdf-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 26px;
  color: #66738a;
  font-size: 13px;
  font-weight: 700;
}

.cc-pdf-breadcrumb a {
  color: #3568ef;
  text-decoration: none;
}

.cc-pdf-breadcrumb a:hover {
  text-decoration: underline;
}

.cc-pdf-breadcrumb span:last-child {
  color: #26354f;
}

#pdf-tools .cc-pdf-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  align-items: center;
  min-height: 270px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 60px);
  border: 1px solid #e5eaf4;
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 12%, rgba(175, 134, 255, 0.24), transparent 34%),
    radial-gradient(circle at 68% 62%, rgba(53, 104, 239, 0.1), transparent 34%),
    linear-gradient(105deg, #f9fbff 0%, #eef4ff 52%, #faecff 100%);
  box-shadow: none;
}

#pdf-tools .cc-pdf-hero h2 {
  margin: 0 0 10px;
  color: #081735;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
}

#pdf-tools .cc-pdf-hero p {
  max-width: 600px;
  margin: 0;
  color: #41506a;
  font-size: 17px;
  line-height: 1.5;
}

#pdf-tools .cc-pdf-privacy-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
  margin-top: 38px;
  gap: 0;
}

#pdf-tools .cc-pdf-badge {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid #dfe7f3;
  border-radius: 0;
  background: transparent;
  color: #14213d;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

#pdf-tools .cc-pdf-badge:last-child {
  border-right: 0;
}

#pdf-tools .cc-pdf-badge .cc-pdf-ui-icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: #e8edff;
  color: #3568ef;
}

#pdf-tools .cc-pdf-badge:nth-child(2) .cc-pdf-ui-icon {
  background: #dff7f6;
  color: #12969b;
}

#pdf-tools .cc-pdf-badge small {
  display: block;
  margin-top: 4px;
  color: #67738a;
  font-size: 12px;
  font-weight: 600;
}

.cc-pdf-hero-art {
  position: relative;
  min-height: 210px;
  color: #416bf2;
}

.cc-pdf-hero-art::before,
.cc-pdf-hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.cc-pdf-hero-art::before {
  inset: 10px 24px 34px -24px;
  transform: rotate(16deg);
}

.cc-pdf-hero-art::after {
  right: -10px;
  bottom: 6px;
  width: 220px;
  height: 100px;
  transform: rotate(-18deg);
}

.cc-pdf-doc {
  position: absolute;
  z-index: 2;
  width: 62px;
  height: 76px;
  padding: 18px 12px 10px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(60, 84, 134, 0.15);
}

.cc-pdf-doc span {
  display: block;
  height: 5px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #dbe6fb;
}

.cc-pdf-doc span:nth-child(2) {
  width: 72%;
}

.cc-pdf-doc b {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 3px 5px;
  border-radius: 4px;
  background: #ff3b30;
  color: #ffffff;
  font-size: 9px;
  line-height: 1;
}

.cc-pdf-doc-one {
  top: 28px;
  left: 72px;
}

.cc-pdf-doc-two {
  top: 28px;
  left: 160px;
}

.cc-pdf-doc-three {
  top: 28px;
  right: 70px;
}

.cc-pdf-doc-final {
  left: 50%;
  bottom: 0;
  width: 68px;
  height: 78px;
  transform: translateX(-50%);
}

.cc-pdf-flow {
  position: absolute;
  z-index: 1;
  inset: 44px 42px 0;
  width: calc(100% - 84px);
  height: 146px;
}

.cc-pdf-spark {
  position: absolute;
  z-index: 2;
  color: #73d8e8;
  font-size: 26px;
  font-weight: 900;
}

.cc-pdf-spark-one {
  top: 52px;
  left: 10px;
}

.cc-pdf-spark-two {
  top: 100px;
  left: 58%;
  color: #c7a4ff;
}

#pdf-tools .cc-pdf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
}

#pdf-tools .cc-pdf-tool,
#pdf-tools .cc-pdf-sidebar section,
#pdf-tools .cc-pdf-file-panel,
#pdf-tools .cc-pdf-content,
#pdf-tools .cc-pdf-blog-card {
  border: 1px solid #e1e8f2;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

#pdf-tools .cc-pdf-tool {
  padding: 20px;
}

#pdf-tools .cc-pdf-tool > h2,
#pdf-tools .cc-pdf-tool > p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#pdf-tools .cc-pdf-tool-tabs {
  position: static;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin: -2px 0 20px;
  padding: 0 0 2px;
  overflow-x: auto;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#pdf-tools .cc-pdf-tab {
  flex: 0 0 auto;
  min-width: auto;
  min-height: 48px;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid #e2e8f1;
  border-radius: 8px;
  background: #ffffff;
  color: #526071;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  font-size: 14px;
}

#pdf-tools .cc-pdf-tab[aria-selected="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, #3568ef, #4f72f5);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(53, 104, 239, 0.24);
}

#pdf-tools .cc-pdf-tab .cc-pdf-ui-icon {
  width: 18px;
  height: 18px;
}

#pdf-tools .cc-pdf-dropzone {
  display: grid;
  place-items: center;
  min-height: 356px;
  padding: 34px;
  border: 1px dashed #b9cff7;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 36%, rgba(116, 91, 245, 0.07), transparent 25%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  text-align: center;
}

#pdf-tools .cc-pdf-dropzone.is-dragover {
  border-color: #3568ef;
  background: #f2f6ff;
}

#pdf-tools .cc-pdf-upload-copy {
  min-height: 0;
  gap: 12px;
  padding: 0;
}

#pdf-tools .cc-pdf-upload-copy.is-compact {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

#pdf-tools .cc-pdf-upload-anim {
  width: 86px;
  height: 86px;
  margin: 0 0 4px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff3ff, #f9f5ff);
}

#pdf-tools .cc-pdf-upload-anim .cc-pdf-ring {
  stroke: #ede7ff;
}

#pdf-tools .cc-pdf-upload-anim .cc-pdf-progress {
  stroke: #805cf6;
}

#pdf-tools .cc-pdf-upload-anim path {
  stroke: #ffffff;
}

#pdf-tools .cc-pdf-upload-copy strong {
  color: #091935;
  font-size: 22px;
  line-height: 1.2;
}

#pdf-tools .cc-pdf-upload-copy span:not(.cc-pdf-badge):not(.cc-pdf-secure-note) {
  color: #66738a;
  font-size: 15px;
}

#pdf-tools .cc-pdf-choose {
  min-width: 260px;
  min-height: 50px;
  margin-top: 4px;
}

.cc-pdf-secure-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #526071;
  font-size: 13px;
  font-weight: 700;
}

.cc-pdf-secure-note .cc-pdf-ui-icon {
  width: 16px;
  height: 16px;
}

#pdf-tools .cc-pdf-file-panel {
  margin-top: 18px;
  padding: 18px;
}

.cc-pdf-file-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cc-pdf-file-panel-head strong {
  color: #0f172a;
  font-size: 14px;
}

.cc-pdf-file-panel-head p {
  margin: 16px 0 0;
  color: #758296;
  font-size: 13px;
}

.cc-pdf-file-panel-head > div:last-child {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
}

#pdf-tools .cc-pdf-secondary {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #f7f9fd;
  color: #6b7588;
  box-shadow: none;
  font-size: 12px;
}

#pdf-tools .cc-pdf-secondary .cc-pdf-ui-icon {
  width: 15px;
  height: 15px;
}

#pdf-tools .cc-pdf-secondary:disabled {
  opacity: 0.52;
}

#pdf-tools .cc-pdf-file-list {
  margin-top: 14px;
}

#pdf-tools .cc-pdf-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 36px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #e5ebf3;
  border-radius: 10px;
  background: #ffffff;
}

#pdf-tools .cc-pdf-options[hidden] {
  display: none;
}

#pdf-tools .cc-pdf-options label {
  color: #12213b;
  font-size: 13px;
}

#pdf-tools .cc-pdf-option-input {
  min-height: 44px;
  border-color: #d9e1ec;
  border-radius: 8px;
  color: #18243b;
  font-size: 14px;
}

#pdf-tools .cc-pdf-check {
  align-self: center;
  min-height: 44px;
}

#pdf-tools .cc-pdf-check input {
  width: 16px;
  height: 16px;
  accent-color: #7a879a;
}

#pdf-tools .cc-pdf-action-row {
  display: block;
  margin-top: 18px;
}

#pdf-tools .cc-pdf-button {
  min-height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, #376bf0, #9b5cf6);
  box-shadow: 0 16px 30px rgba(67, 94, 240, 0.24);
}

#pdf-tools .cc-pdf-action-row .cc-pdf-button {
  width: 100%;
  font-size: 16px;
}

#pdf-tools .cc-pdf-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #68758a;
  font-size: 13px;
}

#pdf-tools .cc-pdf-sidebar {
  position: static;
  display: grid;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#pdf-tools .cc-pdf-sidebar section {
  padding: 24px;
}

#pdf-tools .cc-pdf-sidebar h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #0d1b34;
  font-size: 18px;
  line-height: 1.2;
}

#pdf-tools .cc-pdf-sidebar h3 .cc-pdf-ui-icon {
  width: 20px;
  height: 20px;
  color: #3568ef;
}

#pdf-tools .cc-pdf-sidebar ol,
#pdf-tools .cc-pdf-sidebar ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#pdf-tools .cc-pdf-sidebar ol li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
}

#pdf-tools .cc-pdf-sidebar ol b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4d78f2;
  color: #ffffff;
  font-size: 12px;
}

#pdf-tools .cc-pdf-sidebar strong {
  display: block;
  color: #15223b;
  font-size: 13px;
}

#pdf-tools .cc-pdf-sidebar small {
  display: block;
  margin-top: 6px;
  color: #68758a;
  font-size: 12px;
  line-height: 1.35;
}

#pdf-tools .cc-pdf-sidebar ul li {
  position: relative;
  padding-left: 28px;
  color: #26354f;
  font-size: 14px;
  font-weight: 700;
}

#pdf-tools .cc-pdf-sidebar ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 49%, #fff 50%) 5px 4px / 7px 10px no-repeat,
    #2fb57d;
  transform: rotate(40deg);
}

#pdf-tools .cc-pdf-premium {
  border-color: #f3c396;
  background: linear-gradient(160deg, #fff8f3, #ffffff 58%, #fff3eb);
  text-align: center;
}

#pdf-tools .cc-pdf-premium strong {
  font-size: 20px;
}

#pdf-tools .cc-pdf-premium p {
  color: #66738a;
  font-size: 13px;
  line-height: 1.45;
}

#pdf-tools .cc-pdf-premium .cc-pdf-button {
  width: 100%;
  min-height: 46px;
  color: #ffffff;
  text-decoration: none;
}

#pdf-tools .cc-pdf-tool-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

#pdf-tools .cc-pdf-card {
  min-height: 130px;
  border-color: #e3e9f2;
  border-radius: 10px;
  background: #ffffff;
}

#pdf-tools .cc-pdf-card:hover {
  border-color: #bfd0fb;
}

.cc-pdf-content {
  margin-top: 24px;
  border-radius: 10px;
}

@media (max-width: 1280px) {
  .cc-pdf-app-layout {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .cc-pdf-nav {
    align-items: center;
    overflow-y: auto;
    padding: 20px 12px;
  }

  .cc-pdf-nav p,
  .cc-pdf-nav-group summary,
  .cc-pdf-nav-link span,
  .cc-pdf-nav-home span,
  .cc-pdf-storage {
    display: none;
  }

  .cc-pdf-nav-group,
  .cc-pdf-nav-group > div {
    display: contents;
  }

  .cc-pdf-nav-home,
  .cc-pdf-nav-link {
    justify-content: center;
    width: 48px;
    min-height: 48px;
    padding: 0;
  }
}

@media (max-width: 1100px) {
  #pdf-tools .cc-pdf-hero {
    grid-template-columns: 1fr;
  }

  .cc-pdf-hero-art {
    display: none;
  }

  #pdf-tools .cc-pdf-layout {
    grid-template-columns: 1fr;
  }

  #pdf-tools .cc-pdf-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cc-pdf-app-body .header-container {
    min-height: 58px;
  }

  .cc-pdf-app-body nav::before,
  .cc-pdf-app-body nav::after {
    display: none;
  }

  .cc-pdf-app-body .container.cc-pdf-page {
    width: 100%;
    padding-bottom: 0;
  }

  #pdf-tools {
    padding-top: 0;
  }

  .cc-pdf-app-layout {
    display: block;
    min-height: auto;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .cc-pdf-nav {
    position: static;
    z-index: 50;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid #e7edf5;
    scrollbar-width: none;
  }

  .cc-pdf-nav::-webkit-scrollbar {
    display: none;
  }

  .cc-pdf-nav p,
  .cc-pdf-nav-group summary,
  .cc-pdf-nav-home,
  .cc-pdf-storage {
    display: none;
  }

  .cc-pdf-nav-group,
  .cc-pdf-nav-group > div {
    display: contents;
  }

  .cc-pdf-nav-link {
    flex: 0 0 auto;
    width: auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .cc-pdf-nav-link span {
    display: inline;
  }

  .cc-pdf-workspace {
    padding: 14px;
  }

  #pdf-tools .cc-pdf-hero {
    min-height: auto;
    padding: 24px;
  }

  #pdf-tools .cc-pdf-hero h2 {
    font-size: 34px;
  }

  #pdf-tools .cc-pdf-privacy-row {
    grid-template-columns: 1fr;
    margin-top: 24px;
    gap: 12px;
  }

  #pdf-tools .cc-pdf-badge {
    width: 100%;
    padding: 0;
    border-right: 0;
  }

  #pdf-tools .cc-pdf-tool {
    padding: 14px;
  }

  #pdf-tools .cc-pdf-tool-tabs {
    gap: 8px;
    margin-bottom: 14px;
  }

  #pdf-tools .cc-pdf-tab {
    min-height: 44px;
    padding: 0 14px;
  }

  #pdf-tools .cc-pdf-dropzone {
    min-height: 280px;
    padding: 24px 14px;
  }

  #pdf-tools .cc-pdf-choose {
    min-width: min(260px, 100%);
  }

  .cc-pdf-file-panel-head {
    display: grid;
  }

  .cc-pdf-file-panel-head > div:last-child {
    width: 100%;
  }

  .cc-pdf-file-panel-head > div:last-child .cc-pdf-secondary {
    flex: 1 1 0;
  }

  #pdf-tools .cc-pdf-options {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  #pdf-tools .cc-pdf-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cc-pdf-app-body .logo {
    font-size: 16px;
  }

  .cc-pdf-app-body nav a:not([href="pdf-tools-online.html"]) {
    display: none;
  }

  .cc-pdf-workspace {
    padding: 10px;
  }

  #pdf-tools .cc-pdf-hero {
    padding: 20px 16px;
  }

  #pdf-tools .cc-pdf-hero h2 {
    font-size: 30px;
  }

  #pdf-tools .cc-pdf-hero p {
    font-size: 15px;
  }

  #pdf-tools .cc-pdf-upload-copy strong {
    font-size: 19px;
  }

  #pdf-tools .cc-pdf-upload-anim {
    width: 74px;
    height: 74px;
  }

  #pdf-tools .cc-pdf-file-panel,
  #pdf-tools .cc-pdf-sidebar section {
    padding: 16px;
  }

  #pdf-tools .cc-pdf-button {
    min-height: 50px;
  }
}

/* Uploaded-file premium list state */
@media (min-width: 981px) {
  .cc-pdf-app-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .cc-pdf-workspace {
    padding: 22px;
  }
}

@media (max-width: 1280px) and (min-width: 981px) {
  .cc-pdf-nav {
    align-items: stretch;
    padding: 22px 14px;
  }

  .cc-pdf-nav p,
  .cc-pdf-nav-link span,
  .cc-pdf-nav-home span {
    display: initial;
  }

  .cc-pdf-nav-home,
  .cc-pdf-nav-link {
    justify-content: flex-start;
    width: auto;
    min-height: 42px;
    padding: 0 10px;
  }

  .cc-pdf-storage {
    display: block;
    padding: 14px;
  }
}

#pdf-tools.has-pdf-files .cc-pdf-dropzone {
  display: none;
}

#pdf-tools.has-pdf-files .cc-pdf-file-panel {
  margin-top: 0;
}

#pdf-tools.has-pdf-files .cc-pdf-file-panel-head {
  align-items: center;
  margin-bottom: 14px;
}

#pdf-tools.has-pdf-files .cc-pdf-file-panel-head p {
  margin-top: 12px;
}

#pdf-tools.has-pdf-files .cc-pdf-file-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

#pdf-tools.has-pdf-files .cc-pdf-file-list li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 54px minmax(0, 1fr) 38px 38px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 18px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  cursor: grab;
  animation: none;
}

#pdf-tools.has-pdf-files .cc-pdf-file-list li:hover {
  transform: none;
  border-color: #c9d8ee;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

#pdf-tools.has-pdf-files .cc-pdf-row-handle {
  color: #92a0b4;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
  writing-mode: vertical-rl;
}

#pdf-tools.has-pdf-files .cc-pdf-row-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f6f8fd, #ffffff);
  color: #ff3030;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

#pdf-tools.has-pdf-files .cc-pdf-row-icon span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #ff3030;
  color: #ffffff;
  font-size: 8px;
  font-weight: 900;
}

#pdf-tools.has-pdf-files .cc-pdf-row-main {
  min-width: 0;
}

#pdf-tools.has-pdf-files .cc-pdf-row-main strong {
  display: block;
  overflow: hidden;
  color: #101b33;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pdf-tools.has-pdf-files .cc-pdf-tile-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #627089;
  font-size: 13px;
  font-weight: 600;
}

#pdf-tools.has-pdf-files .cc-pdf-row-action {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #53627a;
  cursor: pointer;
}

#pdf-tools.has-pdf-files .cc-pdf-row-action:hover,
#pdf-tools.has-pdf-files .cc-pdf-row-action:focus-visible {
  background: #f1f5fb;
  color: #3568ef;
  outline: none;
}

#pdf-tools.has-pdf-files .cc-pdf-row-action .cc-pdf-ui-icon {
  width: 17px;
  height: 17px;
}

.cc-pdf-selected-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #bfe8db;
  border-radius: 8px;
  background: linear-gradient(90deg, #eefdf8, #f8fffc);
}

.cc-pdf-selected-summary > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
}

.cc-pdf-selected-summary > div > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #dcfbef;
  color: #18a06f;
}

.cc-pdf-selected-summary .cc-pdf-ui-icon {
  width: 20px;
  height: 20px;
}

.cc-pdf-selected-summary strong {
  color: #08724f;
  font-size: 14px;
}

.cc-pdf-selected-summary small {
  color: #647186;
  font-size: 13px;
}

#pdf-tools .cc-pdf-summary-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

#pdf-tools .cc-pdf-summary-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

#pdf-tools .cc-pdf-summary-card dt {
  color: #66738a;
  font-size: 13px;
}

#pdf-tools .cc-pdf-summary-card dd {
  margin: 0;
  color: #0f1c34;
  font-size: 13px;
  font-weight: 900;
}

#pdf-tools .cc-pdf-summary-card ul {
  gap: 14px;
}

#pdf-tools .cc-pdf-summary-card ul li {
  padding-left: 34px;
}

#pdf-tools .cc-pdf-summary-card ul li::before {
  top: 2px;
  width: 22px;
  height: 22px;
  transform: none;
}

@media (max-width: 860px) {
  #pdf-tools.has-pdf-files .cc-pdf-file-list li {
    grid-template-columns: 18px 46px minmax(0, 1fr) 34px 34px;
    gap: 10px;
    min-height: 72px;
    padding: 10px;
  }

  .cc-pdf-selected-summary {
    display: grid;
  }

  .cc-pdf-selected-summary .cc-pdf-secondary {
    width: 100%;
  }
}

#pdf-tools .cc-pdf-sticky-cta {
  display: none;
}

#pdf-tools .cc-pdf-tool-tabs {
  gap: 8px;
}

#pdf-tools .cc-pdf-tab {
  padding: 0 14px;
  font-size: 13px;
}

/* Slimmer reference-match controls */
#pdf-tools .cc-pdf-tool {
  padding: 18px;
}

#pdf-tools .cc-pdf-tool-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  overflow: visible;
}

#pdf-tools .cc-pdf-tab {
  min-width: 0;
  min-height: 44px;
  gap: 8px;
  padding: 0 10px;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.04);
  font-size: 13px;
  white-space: nowrap;
}

#pdf-tools .cc-pdf-tab .cc-pdf-ui-icon {
  width: 17px;
  height: 17px;
}

#pdf-tools .cc-pdf-button {
  min-height: 48px;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(67, 94, 240, 0.18);
  font-size: 14px;
}

#pdf-tools .cc-pdf-choose {
  min-width: 230px;
  min-height: 46px;
}

#pdf-tools .cc-pdf-secondary {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
}

#pdf-tools .cc-pdf-file-panel-head > div:last-child {
  align-items: center;
}

.cc-pdf-selected-summary {
  padding: 14px;
}

.cc-pdf-selected-summary .cc-pdf-secondary {
  flex: 0 0 auto;
  min-width: 116px;
}

.cc-pdf-modal-file-group {
  width: min(920px, 100%);
  margin: 0 auto -8px;
  padding: 14px 16px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
}

.cc-pdf-modal-file-group h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--pdf-ink);
  font-size: 15px;
}

.cc-pdf-modal-file-group p {
  margin: 5px 0 0;
  color: var(--pdf-muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  #pdf-tools .cc-pdf-tool-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-padding-inline: 8px;
  }

  #pdf-tools .cc-pdf-tab {
    flex: 0 0 auto;
    min-width: 96px;
  }
}

@media (max-width: 520px) {
  #pdf-tools .cc-pdf-tool-tabs {
    gap: 6px;
  }

  #pdf-tools .cc-pdf-tab {
    min-width: 82px;
    min-height: 40px;
    padding: 0 9px;
    font-size: 11px;
  }

  #pdf-tools .cc-pdf-tab .cc-pdf-ui-icon {
    width: 15px;
    height: 15px;
  }

  #pdf-tools .cc-pdf-file-panel-head > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #pdf-tools .cc-pdf-secondary {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
  }

  #pdf-tools .cc-pdf-panel-add {
    white-space: normal;
  }

  #pdf-tools .cc-pdf-button {
    min-height: 46px;
  }
}

/* Final tab and typography alignment pass */
#pdf-tools,
.cc-pdf-page {
  font-family: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: #071832;
}

#pdf-tools .cc-pdf-hero h2 {
  color: #071832;
  font-size: clamp(36px, 3.1vw, 46px);
  font-weight: 800;
  line-height: 1.08;
}

#pdf-tools .cc-pdf-hero p {
  color: #33425e;
  font-size: 17px;
  font-weight: 400;
}

#pdf-tools .cc-pdf-nav-link,
#pdf-tools .cc-pdf-nav-home {
  color: #4e5d72;
  font-size: 14px;
  font-weight: 600;
}

#pdf-tools .cc-pdf-nav-link[aria-selected="true"] {
  color: #ffffff;
  font-weight: 700;
}

#pdf-tools .cc-pdf-tool-tabs {
  display: grid;
  grid-template-columns: 90px 82px 126px 94px 136px 78px 78px;
  justify-content: start;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 8px;
  scrollbar-width: none;
}

#pdf-tools .cc-pdf-tool-tabs::-webkit-scrollbar {
  display: none;
}

#pdf-tools .cc-pdf-tab {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  gap: 8px;
  padding: 0 11px;
  overflow: hidden;
  border: 1px solid #dfe6f1;
  border-radius: 8px;
  color: #4f5d70;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

#pdf-tools .cc-pdf-tab span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pdf-tools .cc-pdf-tab .cc-pdf-ui-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

#pdf-tools .cc-pdf-tab[aria-selected="true"] {
  background: #3f6df2;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(63, 109, 242, 0.22);
}

#pdf-tools .cc-pdf-sidebar h3 {
  color: #071832;
  font-size: 18px;
  font-weight: 800;
}

#pdf-tools .cc-pdf-sidebar strong {
  color: #071832;
  font-weight: 750;
}

#pdf-tools .cc-pdf-sidebar small,
#pdf-tools .cc-pdf-sidebar dt {
  color: #5d6b82;
}

@media (max-width: 1180px) {
  #pdf-tools .cc-pdf-tool-tabs {
    display: flex;
  }

  #pdf-tools .cc-pdf-tab {
    flex: 0 0 auto;
    width: auto;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="merge"] {
    min-width: 90px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="split"] {
    min-width: 82px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="compress"] {
    min-width: 126px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="compress200"] {
    min-width: 94px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="pdfToJpg"] {
    min-width: 136px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="pdfToText"],
  #pdf-tools .cc-pdf-tab[data-pdf-tab="ocr"] {
    min-width: 78px;
  }
}

@media (max-width: 520px) {
  #pdf-tools .cc-pdf-hero h2 {
    font-size: 31px;
  }

  #pdf-tools .cc-pdf-tool-tabs {
    gap: 7px;
  }

  #pdf-tools .cc-pdf-tab {
    min-height: 38px;
    padding: 0 9px;
    font-size: 11px;
  }
}

/* Reference polish: compact app buttons and uploaded-file rows */
#pdf-tools .cc-pdf-tool {
  padding: 16px;
}

#pdf-tools .cc-pdf-tool-tabs {
  grid-template-columns: 86px 78px 116px 88px 126px 72px 72px;
  gap: 9px;
  padding: 0 0 10px;
}

#pdf-tools .cc-pdf-tab {
  min-height: 40px;
  padding: 0 10px;
  gap: 8px;
  border-color: #dfe7f2;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  color: #4b586b;
  font-size: 12.5px;
  font-weight: 700;
}

#pdf-tools .cc-pdf-tab .cc-pdf-ui-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

#pdf-tools .cc-pdf-tab[aria-selected="true"] {
  background: linear-gradient(135deg, #3f6df2, #456ef2);
  box-shadow: 0 12px 24px rgba(63, 109, 242, 0.2);
}

#pdf-tools .cc-pdf-file-panel {
  padding: 16px;
  border-color: #dce5f0;
}

#pdf-tools.has-pdf-files .cc-pdf-file-panel-head {
  margin-bottom: 12px;
}

#pdf-tools .cc-pdf-file-panel-head strong {
  color: #071832;
  font-size: 14px;
  font-weight: 800;
}

#pdf-tools .cc-pdf-file-panel-head p,
#pdf-tools.has-pdf-files .cc-pdf-file-panel-head p {
  margin-top: 10px;
  color: #68758a;
  font-size: 12.5px;
  line-height: 1.35;
}

#pdf-tools .cc-pdf-file-panel-head > div:last-child {
  gap: 8px;
}

#pdf-tools .cc-pdf-secondary,
#pdf-tools .cc-pdf-file-panel-head .cc-pdf-secondary,
#pdf-tools .cc-pdf-selected-summary .cc-pdf-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #dfe7f2;
  border-radius: 7px;
  background: #f8fafd;
  box-shadow: none;
  color: #58677b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

#pdf-tools .cc-pdf-file-panel-head .cc-pdf-secondary {
  min-width: 104px;
}

#pdf-tools .cc-pdf-secondary:hover,
#pdf-tools .cc-pdf-secondary:focus-visible {
  border-color: #cbd8ea;
  background: #ffffff;
  color: #315fe8;
  outline: none;
}

#pdf-tools .cc-pdf-secondary .cc-pdf-ui-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

#pdf-tools.has-pdf-files .cc-pdf-file-list {
  gap: 10px;
}

#pdf-tools.has-pdf-files .cc-pdf-file-list li {
  grid-template-columns: 18px 46px minmax(0, 1fr) 30px 30px;
  grid-template-rows: auto;
  gap: 12px;
  min-height: 62px;
  padding: 10px 14px;
  border-color: #dfe7f1;
  border-radius: 7px;
}

#pdf-tools.has-pdf-files .cc-pdf-file-list li:hover {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

#pdf-tools.has-pdf-files .cc-pdf-row-handle {
  color: #9aa7ba;
  font-size: 15px;
  letter-spacing: -4px;
}

#pdf-tools.has-pdf-files .cc-pdf-row-icon {
  width: 42px;
  height: 46px;
  border-radius: 7px;
}

#pdf-tools.has-pdf-files .cc-pdf-row-icon span {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  font-size: 7px;
}

#pdf-tools.has-pdf-files .cc-pdf-row-main strong {
  color: #111c34;
  font-size: 13.5px;
  font-weight: 800;
}

#pdf-tools.has-pdf-files .cc-pdf-tile-meta {
  gap: 9px;
  margin-top: 6px;
  color: #66738a;
  font-size: 12.5px;
  font-weight: 600;
}

#pdf-tools.has-pdf-files .cc-pdf-row-action {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #53627a;
}

#pdf-tools.has-pdf-files .cc-pdf-row-action .cc-pdf-ui-icon {
  width: 15px;
  height: 15px;
}

#pdf-tools .cc-pdf-selected-summary {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 7px;
}

#pdf-tools .cc-pdf-selected-summary > div {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 3px 12px;
}

#pdf-tools .cc-pdf-selected-summary > div > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

#pdf-tools .cc-pdf-selected-summary strong {
  font-size: 13px;
}

#pdf-tools .cc-pdf-selected-summary small {
  font-size: 12px;
}

#pdf-tools .cc-pdf-button {
  min-height: 46px;
  border-radius: 7px;
  font-size: 14px;
}

#pdf-tools .cc-pdf-action-row .cc-pdf-button {
  min-height: 44px;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  #pdf-tools .cc-pdf-tab[data-pdf-tab="merge"] {
    min-width: 86px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="split"] {
    min-width: 78px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="compress"] {
    min-width: 116px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="compress200"] {
    min-width: 88px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="pdfToJpg"] {
    min-width: 126px;
  }

  #pdf-tools .cc-pdf-tab[data-pdf-tab="pdfToText"],
  #pdf-tools .cc-pdf-tab[data-pdf-tab="ocr"] {
    min-width: 72px;
  }
}

@media (max-width: 620px) {
  #pdf-tools .cc-pdf-file-panel-head {
    display: grid;
  }

  #pdf-tools .cc-pdf-file-panel-head > div:last-child {
    justify-content: stretch;
  }

  #pdf-tools .cc-pdf-file-panel-head .cc-pdf-secondary {
    width: 100%;
  }
}

@media (max-width: 520px) {
  #pdf-tools.has-pdf-files .cc-pdf-file-list li {
    grid-template-columns: 16px 40px minmax(0, 1fr) 28px 28px;
    grid-template-rows: auto;
    gap: 9px;
    min-height: 58px;
    padding: 9px;
  }

  #pdf-tools .cc-pdf-secondary,
  #pdf-tools .cc-pdf-file-panel-head .cc-pdf-secondary {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }
}

/* Keep PDF pages aligned with the shared Calculator Club header */
.cc-pdf-app-body header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.cc-pdf-app-body .header-container,
.cc-pdf-app-body .header-inner {
  width: auto;
  max-width: 1200px;
  min-height: 70px;
  height: 70px;
  margin: 0 auto;
  padding: 0 20px;
}

.cc-pdf-app-body .site-brand.logo {
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
}

.cc-pdf-app-body .site-brand-mark {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
  font-size: 11px;
}

.cc-pdf-app-body .site-brand-name {
  color: var(--cc-text);
  font-size: 20px;
  font-weight: 850;
}

.cc-pdf-app-body .site-brand-tagline {
  display: block;
  color: var(--cc-muted);
}

.cc-pdf-app-body nav {
  gap: 4px;
}

.cc-pdf-app-body nav::before,
.cc-pdf-app-body nav::after {
  display: none;
  content: none;
}

.cc-pdf-app-body nav a,
.cc-pdf-app-body nav a[href="about.html"],
.cc-pdf-app-body nav a[href="contact.html"],
.cc-pdf-app-body nav a[href="index.html#calculators"] {
  display: inline-flex;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
}

.cc-pdf-app-body nav a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .cc-pdf-app-body .header-container,
  .cc-pdf-app-body .header-inner {
    height: 58px;
    min-height: 58px;
    padding: 0 14px;
  }

  .cc-pdf-app-body .site-brand-name {
    font-size: 19px;
  }

  .cc-pdf-app-body .site-brand-tagline {
    font-size: 10.5px;
  }
}

body > .breadcrumb {
  width: min(100% - 40px, 1200px);
  margin: 18px auto 0;
}

#pdf-tools .cc-pdf-nav-link[aria-selected="true"],
#pdf-tools .cc-pdf-nav-link[aria-selected="true"] span,
#pdf-tools .cc-pdf-nav-link[aria-selected="true"] .cc-pdf-ui-icon {
  color: #ffffff !important;
}

#pdf-tools .cc-pdf-nav-link[aria-selected="true"] {
  background: linear-gradient(135deg, #376bf0, #446df4) !important;
  box-shadow: 0 12px 28px rgba(53, 104, 239, 0.24);
}

/* Preview modal and reorder controls */
.cc-pdf-modal-header {
  min-width: 0;
}

.cc-pdf-modal-header > div:first-child {
  min-width: 0;
}

.cc-pdf-modal-actions {
  flex: 0 0 auto;
  min-width: 0;
}

#pdf-tools.has-pdf-files .cc-pdf-file-list li {
  grid-template-columns: 18px 46px minmax(0, 1fr) auto 30px 30px;
}

#pdf-tools .cc-pdf-row-reorder {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#pdf-tools .cc-pdf-row-action:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

#pdf-tools .cc-pdf-row-action:disabled:hover {
  background: transparent;
  color: #53627a;
}

#pdf-tools .cc-pdf-row-reorder .cc-pdf-row-action {
  width: 26px;
  height: 28px;
}

#pdf-tools .cc-pdf-row-reorder .cc-pdf-ui-icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 520px) {
  .cc-pdf-modal-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 10px;
  }

  .cc-pdf-modal-header h2 {
    max-width: 100%;
    font-size: 14px;
  }

  .cc-pdf-modal-header p {
    font-size: 11px;
  }

  .cc-pdf-modal-actions {
    gap: 4px;
  }

  .cc-pdf-modal-actions button,
  .cc-pdf-modal-actions span {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 12px;
  }

  .cc-pdf-modal-actions span {
    width: 40px;
    min-width: 40px;
    font-size: 11px;
  }

  .cc-pdf-modal-actions .cc-pdf-modal-close {
    width: 36px;
    min-width: 36px;
    font-size: 18px;
  }

  .cc-pdf-modal-pages {
    padding-top: 14px;
  }
}

@media (max-width: 420px) {
  #pdf-tools.has-pdf-files .cc-pdf-file-list li {
    grid-template-columns: 38px minmax(0, 1fr) auto 28px 28px;
    gap: 7px;
  }

  #pdf-tools.has-pdf-files .cc-pdf-row-handle {
    display: none;
  }

  #pdf-tools.has-pdf-files .cc-pdf-row-icon {
    width: 36px;
    height: 42px;
  }

  #pdf-tools .cc-pdf-row-reorder {
    gap: 2px;
  }

  #pdf-tools .cc-pdf-row-reorder .cc-pdf-row-action {
    width: 24px;
    height: 28px;
  }
}

#pdf-tools .cc-pdf-result-panel {
  display: block;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dce7f4;
  border-radius: 8px;
  background: #f8fbff;
  color: #15243b;
  overflow: hidden;
}

#pdf-tools .cc-pdf-result-panel[hidden] {
  display: none;
}

#pdf-tools .cc-pdf-result-panel h3 {
  margin: 0 0 12px;
  color: #10213a;
  font-size: 18px;
  line-height: 1.25;
}

#pdf-tools .cc-pdf-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#pdf-tools .cc-pdf-result-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e0e9f5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

#pdf-tools .cc-pdf-result-card > strong {
  display: block;
  overflow-wrap: anywhere;
  color: #0f2544;
  font-size: 15px;
  line-height: 1.35;
}

#pdf-tools .cc-pdf-result-card p {
  margin: 6px 0 12px;
  color: #536277;
  font-size: 13px;
}

#pdf-tools .cc-pdf-result-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

#pdf-tools .cc-pdf-result-card dl div {
  display: grid;
  grid-template-columns: minmax(84px, 0.8fr) minmax(0, 1.2fr);
  gap: 8px;
  align-items: start;
}

#pdf-tools .cc-pdf-result-card dt {
  color: #6a788c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

#pdf-tools .cc-pdf-result-card dd {
  min-width: 0;
  margin: 0;
  color: #1d2d44;
  font-size: 13px;
  overflow-wrap: anywhere;
}

#pdf-tools .cc-pdf-result-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

#pdf-tools .cc-pdf-result-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #33445e;
  font-size: 13px;
  line-height: 1.35;
}

#pdf-tools .cc-pdf-result-card li span {
  flex: 0 0 auto;
  min-width: 42px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff0f0;
  color: #b42318;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

#pdf-tools .cc-pdf-result-card li[data-pass="true"] span {
  background: #e9f8ef;
  color: #16703c;
}

#pdf-tools .cc-pdf-field-help {
  display: block;
  margin-top: 5px;
  color: #66758b;
  font-size: 11px;
  line-height: 1.35;
}

#pdf-tools .cc-pdf-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px 20px;
  align-items: start;
}

#pdf-tools .cc-pdf-options label {
  min-width: 0;
  gap: 7px;
  line-height: 1.25;
}

#pdf-tools .cc-pdf-options label > span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

#pdf-tools .cc-pdf-options p {
  grid-column: 1 / -1;
  color: #5e6d82;
  font-size: 12px;
  line-height: 1.45;
}

#pdf-tools .cc-pdf-option-input,
#pdf-tools .cc-pdf-options select,
#pdf-tools .cc-pdf-options input,
#pdf-tools .cc-pdf-options textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 34px 9px 11px;
  font-size: 13px;
  line-height: 1.25;
}

#pdf-tools .cc-pdf-options select {
  text-overflow: ellipsis;
}

#pdf-tools .cc-pdf-option-guide {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  margin-top: -2px;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #f8fbff;
}

#pdf-tools .cc-pdf-option-guide strong {
  color: #21324b;
  font-size: 12px;
}

#pdf-tools .cc-pdf-option-guide small {
  color: #5d6c80;
  font-size: 11px;
  line-height: 1.45;
}

#pdf-tools .cc-pdf-soft-guidance h3 {
  margin-bottom: 8px;
}

#pdf-tools .cc-pdf-soft-guidance p {
  margin: 6px 0;
  color: #48576d;
  font-size: 13px;
  line-height: 1.45;
}

#pdf-tools .cc-pdf-sign-pad-wrap {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  min-width: 0;
}

#pdf-tools .cc-pdf-sign-pad-wrap > span {
  color: #526173;
  font-size: 13px;
  font-weight: 800;
}

#pdf-tools .cc-pdf-sign-pad {
  width: 100%;
  max-width: 100%;
  height: 170px;
  border: 1px dashed #b8c8da;
  border-radius: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(37, 99, 235, 0.08) 32px) border-box;
  touch-action: none;
}

@media (max-width: 760px) {
  #pdf-tools .cc-pdf-options {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 14px;
  }

  #pdf-tools .cc-pdf-option-input,
  #pdf-tools .cc-pdf-options select,
  #pdf-tools .cc-pdf-options input,
  #pdf-tools .cc-pdf-options textarea {
    min-height: 40px;
    font-size: 12px;
  }

  #pdf-tools .cc-pdf-field-help,
  #pdf-tools .cc-pdf-option-guide small {
    font-size: 10.5px;
  }

  #pdf-tools .cc-pdf-result-grid {
    grid-template-columns: 1fr;
  }

  #pdf-tools .cc-pdf-result-panel {
    padding: 12px;
  }
}

@media (max-width: 420px) {
  #pdf-tools .cc-pdf-result-card {
    padding: 12px;
  }

  #pdf-tools .cc-pdf-result-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Mobile PDF workspace guardrails.
   These late rules intentionally override the desktop rail/collapsed icon states above. */
@media (max-width: 1024px) {
  .cc-pdf-app-body .container.cc-pdf-page {
    width: 100%;
    padding: 0 0 22px;
  }

  .cc-pdf-app-layout {
    display: block;
    min-height: auto;
    overflow: visible;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .cc-pdf-nav {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 10px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid #e7edf5;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cc-pdf-nav::-webkit-scrollbar {
    display: none;
  }

  .cc-pdf-nav p,
  .cc-pdf-nav-group summary,
  .cc-pdf-nav-home,
  .cc-pdf-storage {
    display: none !important;
  }

  .cc-pdf-nav-group,
  .cc-pdf-nav-group > div {
    display: contents !important;
  }

  .cc-pdf-nav-link {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    max-width: none;
    min-height: 40px;
    padding: 0 12px;
    gap: 8px;
    white-space: nowrap;
  }

  .cc-pdf-nav-link span {
    display: inline-block !important;
    min-width: max-content;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    word-break: normal;
  }

  .cc-pdf-nav-link .cc-pdf-ui-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
  }

  .cc-pdf-workspace {
    padding: 14px;
  }

  #pdf-tools .cc-pdf-layout,
  #pdf-tools .cc-pdf-sidebar {
    grid-template-columns: 1fr;
  }

  #pdf-tools .cc-pdf-tool-tabs {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  #pdf-tools .cc-pdf-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
  }
}

@media (max-width: 640px) {
  body > .breadcrumb,
  #pdf-tools .cc-pdf-breadcrumb {
    display: none;
  }

  #pdf-tools {
    padding-top: 0;
  }

  .cc-pdf-workspace {
    padding: 10px;
    gap: 12px;
  }

  #pdf-tools .cc-pdf-hero {
    padding: 18px 14px;
  }

  #pdf-tools .cc-pdf-hero h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  #pdf-tools .cc-pdf-hero p {
    font-size: 14px;
  }

  #pdf-tools .cc-pdf-privacy-row {
    display: none;
  }

  #pdf-tools .cc-pdf-tool,
  #pdf-tools .cc-pdf-file-panel,
  #pdf-tools .cc-pdf-sidebar section,
  #pdf-tools .cc-pdf-content {
    padding: 14px;
  }

  #pdf-tools .cc-pdf-dropzone {
    min-height: 230px;
    padding: 18px 12px;
  }

  #pdf-tools .cc-pdf-options {
    grid-template-columns: 1fr;
  }

  #pdf-tools .cc-pdf-tool-grid,
  .cc-pdf-link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .cc-pdf-app-layout,
  .cc-pdf-workspace {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cc-pdf-nav {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
  }

  .cc-pdf-nav-group,
  .cc-pdf-nav-group > div {
    display: inline !important;
  }

  .cc-pdf-nav-link {
    display: inline-flex;
    margin-right: 8px;
    vertical-align: middle;
  }
}

/* Native-feeling phone layout: keep the workspace first and remove the
   oversized catalog rail from the first viewport. */
@media (max-width: 768px) {
  .cc-pdf-app-body {
    background: #eef2f7;
  }

  .cc-pdf-app-body .container.cc-pdf-page {
    width: 100%;
    max-width: 100%;
    padding: 0 0 18px;
  }

  #pdf-tools {
    margin: 0;
  }

  #pdf-tools .cc-pdf-shell {
    gap: 0;
  }

  .cc-pdf-app-layout {
    border: 0;
    border-radius: 0;
    background: #eef2f7;
    box-shadow: none;
  }

  .cc-pdf-nav {
    display: none !important;
  }

  .cc-pdf-workspace {
    gap: 10px;
    padding: 10px;
    background: #eef2f7;
  }

  .cc-pdf-workspace > *,
  #pdf-tools .cc-pdf-hero,
  #pdf-tools .cc-pdf-layout,
  #pdf-tools .cc-pdf-tool,
  #pdf-tools .cc-pdf-dropzone,
  #pdf-tools .cc-pdf-upload-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  #pdf-tools .cc-pdf-hero {
    min-height: auto;
    padding: 18px 14px;
    border-color: #dde6f3;
    border-radius: 16px;
    background:
      radial-gradient(circle at 92% 6%, rgba(156, 115, 255, 0.22), transparent 32%),
      linear-gradient(135deg, #ffffff 0%, #f4f8ff 62%, #f8ecff 100%);
  }

  #pdf-tools .cc-pdf-hero h2 {
    font-size: clamp(24px, 8vw, 30px);
    line-height: 1.12;
  }

  #pdf-tools .cc-pdf-hero p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  #pdf-tools .cc-pdf-privacy-row,
  #pdf-tools .cc-pdf-sidebar,
  #pdf-tools .cc-pdf-tool-grid {
    display: none;
  }

  #pdf-tools .cc-pdf-layout {
    display: block;
  }

  #pdf-tools .cc-pdf-tool {
    padding: 10px;
    overflow: hidden;
    border-color: #dde6f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  #pdf-tools .cc-pdf-tool-tabs {
    position: static;
    top: auto;
    z-index: 20;
    display: flex !important;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 7px;
    margin: -2px -2px 10px;
    padding: 7px 2px 9px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 #eef2f7;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  #pdf-tools .cc-pdf-tool-tabs::-webkit-scrollbar {
    display: none;
  }

  #pdf-tools .cc-pdf-tab,
  #pdf-tools .cc-pdf-tab[data-pdf-tab] {
    flex: 0 0 72px;
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    min-height: 54px;
    padding: 6px 5px;
    flex-direction: column;
    gap: 4px;
    border-radius: 14px;
    box-shadow: none;
    color: #536176;
    font-size: 10.5px;
    line-height: 1.1;
    scroll-snap-align: start;
  }

  #pdf-tools .cc-pdf-tab span {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #pdf-tools .cc-pdf-tab .cc-pdf-ui-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
  }

  #pdf-tools .cc-pdf-tab[aria-selected="true"] {
    background: #426df2;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(66, 109, 242, 0.2);
  }

  #pdf-tools .cc-pdf-tool > h2 {
    margin: 8px 2px 4px;
    font-size: 20px;
    line-height: 1.2;
  }

  #pdf-tools .cc-pdf-tool > p {
    margin: 0 2px 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  #pdf-tools .cc-pdf-dropzone {
    min-height: 188px;
    padding: 14px 10px;
    border-radius: 16px;
  }

  #pdf-tools .cc-pdf-upload-copy {
    min-height: 148px;
    gap: 7px;
    padding: 4px;
  }

  #pdf-tools .cc-pdf-upload-copy > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  #pdf-tools .cc-pdf-upload-anim {
    width: 64px;
    height: 64px;
    margin-bottom: 2px;
  }

  #pdf-tools .cc-pdf-upload-copy strong {
    max-width: 15rem;
    font-size: 18px;
    line-height: 1.2;
  }

  #pdf-tools .cc-pdf-upload-copy span:not(.cc-pdf-badge) {
    font-size: 13px;
    line-height: 1.35;
  }

  #pdf-tools .cc-pdf-choose,
  #pdf-tools .cc-pdf-action-row .cc-pdf-button {
    min-height: 46px;
    border-radius: 14px;
  }

  #pdf-tools .cc-pdf-file-panel {
    padding: 12px;
    border-radius: 16px;
  }

  #pdf-tools .cc-pdf-file-panel-head {
    gap: 10px;
  }

  #pdf-tools .cc-pdf-file-panel-head p {
    margin-top: 6px;
    font-size: 12px;
  }

  #pdf-tools .cc-pdf-file-panel-head > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #pdf-tools .cc-pdf-file-panel-head .cc-pdf-secondary {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    border-radius: 12px;
  }

  #pdf-tools .cc-pdf-options,
  #pdf-tools .cc-pdf-result-panel {
    border-radius: 16px;
  }

  #pdf-tools .cc-pdf-sticky-cta {
    position: sticky;
    bottom: 8px;
    z-index: 18;
    padding: 0;
  }
}

@media (max-width: 380px) {
  #pdf-tools .cc-pdf-tab,
  #pdf-tools .cc-pdf-tab[data-pdf-tab] {
    flex-basis: 66px;
    width: 66px;
    min-width: 66px;
    max-width: 66px;
    font-size: 10px;
  }

  #pdf-tools .cc-pdf-tool,
  #pdf-tools .cc-pdf-hero,
  #pdf-tools .cc-pdf-file-panel,
  #pdf-tools .cc-pdf-dropzone {
    border-radius: 14px;
  }
}

/* Premium checkbox options for PDF tool settings */
#pdf-tools .cc-pdf-options label.cc-pdf-check {
  position: relative;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  color: #13223b;
  cursor: pointer;
  line-height: 1.25;
}

#pdf-tools .cc-pdf-options label.cc-pdf-check:hover {
  border-color: #bfd0f7;
  background: #ffffff;
}

#pdf-tools .cc-pdf-options label.cc-pdf-check:has(input:focus-visible) {
  outline: 3px solid rgba(66, 109, 242, 0.22);
  outline-offset: 2px;
}

#pdf-tools .cc-pdf-options label.cc-pdf-check:has(input:checked) {
  border-color: #b9c9ff;
  background: linear-gradient(180deg, #f8faff, #eef4ff);
}

#pdf-tools .cc-pdf-options label.cc-pdf-check input[type="checkbox"] {
  position: relative;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  border: 1.5px solid #b8c5d8;
  border-radius: 7px;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

#pdf-tools .cc-pdf-options label.cc-pdf-check input[type="checkbox"]::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  content: "";
  opacity: 0;
  transform: rotate(45deg) scale(0.7);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

#pdf-tools .cc-pdf-options label.cc-pdf-check input[type="checkbox"]:checked {
  border-color: #426df2;
  background: linear-gradient(135deg, #426df2, #7c5cf6);
  box-shadow: 0 6px 14px rgba(66, 109, 242, 0.24);
}

#pdf-tools .cc-pdf-options label.cc-pdf-check input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

#pdf-tools .cc-pdf-options label.cc-pdf-check span {
  min-width: 0;
  color: #13223b;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  #pdf-tools .cc-pdf-options label.cc-pdf-check {
    min-height: 44px;
    padding: 9px 10px;
  }

  #pdf-tools .cc-pdf-options label.cc-pdf-check span {
    font-size: 12px;
  }
}
