@font-face {
  font-family: Golos;
  src: url("assets/golos-text.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #f5f7fb;
  --paper: #fff;
  --ink: #1c2638;
  --muted: #657186;
  --line: #dce2eb;
  --blue: #2455d8;
  --blue-dark: #1943b2;
  --blue-tint: #edf2ff;
  --green: #16805d;
  font-family: Golos, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
summary,
input[type="range"] {
  cursor: pointer;
}
button {
  color: inherit;
  border: 0;
  background: none;
}
button,
a {
  touch-action: manipulation;
}
button:disabled,
select:disabled {
  cursor: default;
  opacity: 0.46;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
img {
  max-width: 100%;
}
svg {
  display: block;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.sprite {
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
.app-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1280px;
  padding: 0 40px;
  margin: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 23px;
  letter-spacing: -0.9px;
  font-weight: 650;
  flex-shrink: 0;
}
.brand-symbol {
  width: 34px;
  height: 34px;
  fill: var(--blue);
}
.brand-arrow {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.primary-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1;
  white-space: nowrap;
}
.primary-nav a {
  text-decoration: none;
  font-size: 13px;
  padding: 10px 0;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--blue);
}
.header-search {
  position: relative;
  width: 225px;
  flex-shrink: 0;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 39px;
  padding: 0 11px;
  background: #f5f7fa;
  border: 1px solid transparent;
  border-radius: 5px;
}
.search-field:focus-within {
  background: white;
  border-color: var(--blue);
}
.search-field .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.search-field input {
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  min-width: 0;
  font-size: 12px;
  color: var(--ink);
}
.search-field input:focus-visible {
  outline: 0;
}
.search-field input::placeholder {
  color: var(--muted);
}
.search-field kbd {
  color: #8590a2;
  font:
    12px Golos,
    sans-serif;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 5px;
}
.search-results {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  width: 380px;
  max-height: min(600px, 75dvh);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 30px #162b4d1a;
  background: white;
  padding: 6px;
}
.search-results a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 3px;
}
.search-results a:hover,
.search-results a:focus-visible {
  background: var(--blue-tint);
  outline-offset: -2px;
}
.search-results small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 3px;
}
.search-results a > span:last-child {
  color: var(--blue);
}
.search-results p {
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}
.search-results .search-all {
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--blue);
  font-size: 12px;
  margin-top: 5px;
}
.favorites-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--muted);
  margin-left: -12px;
}
.favorites-button:hover,
.favorites-button[aria-pressed="true"] {
  color: var(--blue);
}
.app-main {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}
.converter-section {
  padding-top: 31px;
  scroll-margin-top: 24px;
}
.workspace-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 23px;
}
h1 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  font-weight: 600;
}
.workspace-description {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.reset-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 9px 0 9px 12px;
  font-size: 12px;
  color: var(--muted);
}
.reset-button:hover {
  color: var(--blue);
}
.reset-button .icon {
  width: 17px;
  height: 17px;
}
.workbench {
  background: var(--paper);
  border: 1px solid #ccd5e3;
  border-radius: 7px;
  overflow: clip;
}
.workspace-toolbar {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 12px 24px;
  min-height: 65px;
  border-bottom: 1px solid var(--line);
}
.workspace-toolbar > label {
  color: var(--muted);
  font-size: 12px;
}
#tool-select {
  border: 1px solid #b5c2d7;
  border-radius: 4px;
  color: var(--ink);
  padding: 8px 34px 8px 12px;
  background: white;
  width: min(330px, 48%);
  font-size: 14px;
  min-height: 40px;
}
.output-label {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.quick-actions {
  display: flex;
  align-items: center;
  gap: 5px 23px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  min-height: 43px;
  background: #fafbfd;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.quick-actions button {
  font-size: 12px;
  color: var(--muted);
  padding: 12px 0;
  white-space: nowrap;
  position: relative;
}
.quick-actions button:hover {
  color: var(--blue);
}
.quick-actions button[aria-pressed="true"] {
  color: var(--blue);
}
.quick-actions button[aria-pressed="true"]:after {
  content: "";
  height: 2px;
  background: var(--blue);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.workbench-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  min-height: 338px;
  background: #fafbfd;
}
.workbench-main {
  padding: 24px;
  min-width: 0;
  background: white;
  border-right: 1px solid var(--line);
}
.workbench-drop {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: 288px;
  padding: 28px 20px;
  border: 1px dashed #b6c5df;
  background: #fbfcff;
  border-radius: 4px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.drop-sign {
  margin-bottom: 13px;
}
.drop-sign svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #6d8bc3;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: round;
}
.drop-copy h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.drop-copy p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
#accepted-formats {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.primary {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 11px 22px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.primary:hover:not(:disabled) {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.primary:disabled {
  background: #e5eaf3;
  border-color: #e5eaf3;
  color: #7b879a;
  opacity: 1;
}
.workbench-drop .primary {
  margin-top: 19px;
  min-width: 176px;
}
.upload-limits {
  color: var(--muted);
  font-size: 10px;
  margin-top: 11px;
}
.drop-area.drag-over {
  background: #edf2ff;
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.has-files .workbench-drop {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  text-align: left;
  justify-items: stretch;
  min-height: 82px;
  padding: 14px 16px;
}
.has-files .drop-sign,
.has-files .drop-copy p,
.has-files .upload-limits {
  display: none;
}
.has-files .drop-copy h2 {
  font-size: 13px;
  letter-spacing: 0;
}
.has-files #accepted-formats {
  margin-top: 4px;
  font-size: 10px;
}
.has-files .workbench-drop .primary {
  margin-top: 0;
  min-width: 0;
  padding: 8px 13px;
  min-height: 36px;
  font-size: 12px;
  flex-shrink: 0;
}
.queue-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.queue-summary button {
  font-size: 11px;
  color: var(--muted);
  padding: 4px 0;
  text-decoration: underline;
}
.queue-summary button:hover {
  color: var(--blue);
}
.file-queue {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  max-height: 350px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.queue-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.file-thumb {
  display: grid;
  place-items: center;
  width: 35px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f7f9fc;
}
.file-thumb .icon {
  width: 18px;
  height: 22px;
  color: #7e8fab;
}
.file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-details {
  min-width: 0;
  flex: 1;
}
.file-name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}
.file-meta {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.queue-actions {
  display: flex;
  gap: 1px;
}
.queue-actions button {
  width: 29px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--muted);
  border-radius: 3px;
}
.queue-actions button:hover:not(:disabled) {
  color: var(--blue);
  background: var(--blue-tint);
}
.queue-actions .icon {
  width: 15px;
  height: 15px;
}
.tool-tip {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
.tool-tip summary {
  width: fit-content;
}
.tool-tip p {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.8;
}
.workbench-settings {
  padding: 23px;
  background: #fafbfd;
  display: flex;
  flex-direction: column;
  align-self: start;
  position: sticky;
  top: 76px;
  min-height: 338px;
}
.settings-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 19px;
}
.settings-default {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.option-group {
  margin-bottom: 19px;
}
.option-group > label {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}
.option-group input:not([type="range"]),
.option-group select {
  color: var(--ink);
  background: white;
  border: 1px solid #bec9da;
  border-radius: 4px;
  padding: 8px 10px;
  min-height: 38px;
  width: 100%;
  font-size: 12px;
}
.option-group select {
  padding-right: 22px;
}
.option-group small {
  color: var(--muted);
  font-size: 10px;
  display: block;
  margin-top: 7px;
  line-height: 1.75;
}
.option-group input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}
.option-value {
  float: right;
  font-size: 12px;
  color: var(--blue);
}
.engine-note {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  padding: 21px 0 17px;
  margin-top: auto;
}
.engine-note .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--green);
}
.engine-note strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  display: block;
  margin-bottom: 3px;
}
.engine-note.server .icon,
.engine-note.server strong {
  color: var(--muted);
}
.run-button {
  width: 100%;
  margin-top: 0;
  font-size: 12px;
}
.text-button {
  padding: 11px 0 0;
  font-size: 11px;
  text-decoration: underline;
}
.converter-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  padding: 12px 0 0;
  font-size: 11px;
}
.privacy-link {
  font-size: 11px;
  padding: 3px 0;
  text-decoration: underline;
}
.privacy-link:hover {
  color: var(--blue);
}
.work-status {
  margin-top: 22px;
  background: var(--blue-tint);
  padding: 15px;
  border-radius: 4px;
  font-size: 12px;
}
.work-status.error {
  background: #fff1ee;
  color: #a83d30;
}
.progress-track {
  height: 4px;
  background: #d4dff8;
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--blue);
  transition: width 0.25s;
}
.result-panel {
  margin-top: 22px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}
.result-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 500;
}
.result-title .icon {
  color: var(--green);
}
.result-panel > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 9px 0 16px;
}
.result-notes {
  padding: 12px 15px;
  border-left: 2px solid #c8a669;
  background: #fcf8f0;
  font-size: 11px;
  line-height: 1.75;
  margin-bottom: 15px;
  color: #786142;
}
.result-notes p + p {
  margin-top: 7px;
}
.result-downloads {
  display: grid;
  gap: 7px;
}
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid #bfcfee;
  border-radius: 4px;
  background: #f0f5ff;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.download-item:hover {
  border-color: var(--blue);
  background: #e5eeff;
}
.download-item small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.download-item .icon {
  width: 19px;
  height: 19px;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 14px;
}
.result-actions button {
  font-size: 11px;
  padding: 3px 0;
  text-decoration: underline;
  color: var(--muted);
}
.result-actions button:hover {
  color: var(--blue);
}
.next-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
}
.next-tools button {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px 8px;
  font-size: 10px;
}
.next-tools button:hover {
  background: var(--blue-tint);
  border-color: #b7c8ef;
  color: var(--blue);
}
.more-results {
  margin-top: 12px;
}
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 19px;
}
.suggestions p {
  width: 100%;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--muted);
}
.suggestions button {
  color: var(--blue);
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid #ccdaf7;
  background: #f5f8ff;
  border-radius: 3px;
}
.suggestions button:hover {
  background: var(--blue-tint);
  border-color: var(--blue);
}
.pdf-info-result {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fafc;
  font:
    12px/1.7 Golos,
    Arial,
    sans-serif;
}
.result-preview {
  margin: 20px 0 8px;
}
.result-preview summary {
  font-size: 12px;
  color: var(--muted);
}
.preview-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0;
}
.compare-stage {
  background: white;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.compare-stage > img {
  display: block;
  width: 100%;
  height: auto;
}
.compare-stage .compare-output {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: fill;
  clip-path: inset(0 0 0 var(--reveal));
}
.compare-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 2px;
  background: var(--blue);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare-rule span {
  display: grid;
  place-items: center;
  position: absolute;
  top: 48%;
  left: -15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 18px;
  box-shadow: 0 1px 6px #12324a30;
}
.compare-label {
  position: absolute;
  top: 10px;
  padding: 3px 7px;
  font-size: 10px;
  background: #1c2638d9;
  color: white;
  border-radius: 3px;
  pointer-events: none;
}
.compare-label.before {
  left: 10px;
}
.compare-label.after {
  right: 10px;
}
.compare-stage input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare-stage:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.preview-links {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--blue);
}
.tools-section {
  padding: 37px 0 36px;
  scroll-margin-top: 22px;
}
.catalog-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.catalog-title h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
.catalog-count {
  font-size: 11px;
  color: var(--muted);
}
.catalog-key {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.local-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.category-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #cdd6e5;
  margin: 12px 0 25px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.category-tabs button {
  padding: 10px 0 12px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.category-tabs button:hover {
  color: var(--blue);
}
.category-tabs button.active {
  color: var(--blue);
  border-color: var(--blue);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
  align-items: start;
}
.tools-grid.grouped {
  grid-template-areas: "pdf documents images" "pdf video audio";
}
.grouped .group-pdf {
  grid-area: pdf;
}
.grouped .group-documents {
  grid-area: documents;
}
.grouped .group-images {
  grid-area: images;
}
.grouped .group-video {
  grid-area: video;
}
.grouped .group-audio {
  grid-area: audio;
}
.tool-group {
  min-width: 0;
}
.group-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cdd6e5;
}
.group-heading > .icon {
  color: #6b84ad;
  width: 18px;
  height: 18px;
}
.group-heading h3 {
  font-size: 13px;
  font-weight: 600;
}
.group-heading > span {
  color: #8190a7;
  font-size: 10px;
  margin-left: auto;
}
.tool-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.tool-entry {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 3px;
}
.tool-entry:hover,
.tool-entry:focus-within {
  background: #eaf0fc;
}
.tool-entry > a {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  padding: 9px 3px 9px 0;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
}
.tool-entry > a:hover {
  color: var(--blue);
}
.tool-entry .local-dot {
  width: 4px;
  height: 4px;
}
.entry-arrow {
  color: var(--blue);
  margin-left: auto;
  opacity: 0;
  font-size: 14px;
  line-height: 1;
}
.tool-entry:hover .entry-arrow,
.tool-entry:focus-within .entry-arrow {
  opacity: 1;
}
.tool-star {
  display: grid;
  place-items: center;
  width: 29px;
  height: 32px;
  padding: 0;
  color: #a2adc0;
  opacity: 0.65;
  flex-shrink: 0;
  border-radius: 3px;
}
.tool-star .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.4;
}
.tool-star:hover {
  color: var(--blue);
  opacity: 1;
}
.tool-star.selected {
  color: var(--blue);
  opacity: 1;
}
.tool-star.selected .icon {
  fill: #2455d820;
}
.recent-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 17px;
  padding-bottom: 20px;
  font-size: 11px;
}
.recent-tools span {
  color: var(--muted);
}
.recent-tools button {
  padding: 0;
  font-size: 11px;
  text-decoration: underline;
  text-decoration-color: #c3cee0;
}
.recent-tools button:hover {
  color: var(--blue);
}
#clear-recent {
  color: var(--muted);
  margin-left: auto;
  text-decoration: none;
}
.active-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  padding: 11px 14px;
  border: 1px solid #c6d5f3;
  background: #edf3ff;
  margin-bottom: 20px;
  border-radius: 4px;
}
.active-filter button {
  font-size: 11px;
  color: var(--blue);
}
.empty-catalog {
  grid-column: 1/-1;
  padding: 34px 20px;
  color: var(--muted);
  text-align: center;
}
.empty-catalog > .icon {
  margin: 0 auto 12px;
}
.empty-catalog strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.empty-catalog p {
  font-size: 12px;
  margin-top: 7px;
}
.catalog-loading {
  font-size: 13px;
  color: var(--muted);
}
.help-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 30px 0 35px;
  border-top: 1px solid #ccd5e3;
}
.help-section h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.help-topics details {
  border-bottom: 1px solid var(--line);
}
.help-topics summary {
  font-size: 12px;
  font-weight: 500;
  padding: 13px 25px 13px 0;
  position: relative;
  list-style: none;
}
.help-topics summary::-webkit-details-marker {
  display: none;
}
.help-topics summary:after {
  content: "+";
  position: absolute;
  right: 1px;
  top: 10px;
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
}
.help-topics details[open] summary:after {
  content: "−";
}
.help-topics details:first-child summary {
  padding-top: 3px;
}
.help-topics details:first-child summary:after {
  top: 0;
}
.help-topics p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  padding: 0 25px 16px 0;
}
.footer {
  border-top: 1px solid #ccd5e3;
  padding: 24px 0 27px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
}
.footer-brand {
  text-decoration: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.footer > div {
  display: flex;
  gap: 23px;
  margin-left: auto;
  align-items: center;
}
.footer button {
  padding: 0;
  text-decoration: underline;
  font-size: 10px;
}
.footer a:hover,
.footer button:hover {
  color: var(--blue);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(620px, calc(100% - 32px));
  padding: 14px 20px;
  background: var(--ink);
  color: white;
  border-radius: 5px;
  font-size: 12px;
  z-index: 100;
  box-shadow: 0 5px 20px #182e4a20;
}
dialog {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
}
dialog::backdrop {
  background: #1a293e88;
}
.privacy-dialog {
  width: min(650px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 32px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
}
.icon-button:hover {
  background: var(--canvas);
}
.privacy-dialog .icon-button {
  float: right;
  margin: -15px -15px 0 10px;
}
.privacy-dialog h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  line-height: 1.35;
  margin: 12px 0 20px;
}
.privacy-dialog p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 14px;
}
.privacy-dialog .eyebrow {
  font-size: 10px;
  margin-top: 0;
}
.privacy-dialog .privacy-version {
  font-size: 10px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.tool-page-text {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.85;
}
.tool-page-text h1 {
  font-size: 30px;
  margin-top: 22px;
}
.tool-page-text h2 {
  font-size: 17px;
  margin: 22px 0 10px;
}
.tool-page-text h2:first-child {
  margin-top: 0;
}
.tool-page-text p {
  max-width: 860px;
  margin: 10px 0;
  color: var(--muted);
}
.tool-page-text ol,
.tool-page-text ul {
  padding-left: 21px;
  max-width: 900px;
}
.tool-page-text li {
  padding: 3px 0;
}
.tool-page-text a {
  color: var(--blue);
}
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
  padding: 32px 0;
}
@media (min-width: 1440px) {
  .header-inner {
    max-width: 1280px;
  }
  .workbench-body {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
}
@media (max-width: 1120px) {
  .header-inner {
    padding: 0 28px;
    gap: 25px;
  }
  .primary-nav {
    gap: 20px;
  }
  .primary-nav a[data-tool="pdf-merge"] {
    display: none;
  }
  .header-search {
    width: 200px;
  }
  .app-main {
    width: calc(100% - 56px);
  }
  .workbench-body {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .workbench-settings,
  .workbench-main {
    padding: 21px;
  }
  .tools-grid {
    column-gap: 30px;
  }
}
@media (max-width: 850px) {
  .header-inner {
    gap: 22px;
    min-height: 68px;
  }
  .primary-nav a:not(.nav-catalog):not(.nav-calculator) {
    display: none;
  }
  .primary-nav {
    justify-content: flex-end;
  }
  .header-search {
    width: 210px;
  }
  .favorites-button {
    margin-left: -7px;
  }
  .workbench-body {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .workbench-main,
  .workbench-settings {
    padding: 18px;
  }
  .workbench-drop {
    padding: 24px 12px;
  }
  .drop-copy h2 {
    font-size: 16px;
  }
  .has-files .workbench-drop {
    display: flex;
    justify-content: space-between;
    gap: 7px;
    padding: 11px;
  }
  .has-files .drop-copy h2 {
    font-size: 12px;
  }
  .has-files .workbench-drop .primary {
    font-size: 10px;
    padding: 7px 9px;
  }
  .queue-item {
    gap: 8px;
  }
  .queue-actions button {
    width: 25px;
  }
  .file-name {
    font-size: 12px;
  }
  .tools-grid {
    column-gap: 24px;
  }
  .tool-entry > a {
    font-size: 11px;
  }
  .tool-star {
    width: 23px;
  }
  .footer > span {
    display: none;
  }
}

@media (max-width: 660px) {
  :root {
    scroll-padding-top: 126px;
  }
  .app-header {
    position: relative;
  }
  .header-inner {
    padding: 16px 20px 12px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-symbol {
    width: 30px;
    height: 30px;
  }
  .primary-nav {
    order: 1;
    flex: 1;
  }
  .primary-nav a {
    font-size: 11px;
  }
  .favorites-button {
    order: 2;
    margin-left: 0;
    font-size: 11px;
  }
  .header-search {
    order: 3;
    width: 100%;
  }
  .search-field {
    height: 39px;
  }
  .search-field input {
    font-size: 16px;
  }
  .search-field kbd {
    display: none;
  }
  .search-results {
    width: 100%;
    top: calc(100% + 5px);
  }
  .app-main {
    width: calc(100% - 32px);
  }
  .converter-section {
    padding-top: 24px;
    scroll-margin-top: 10px;
  }
  .workspace-title {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 19px;
  }
  h1 {
    font-size: 25px;
    letter-spacing: -0.7px;
  }
  .workspace-description {
    font-size: 12px;
    line-height: 1.7;
    max-width: 270px;
  }
  .reset-button {
    font-size: 0;
    padding: 5px;
    margin-top: 3px;
    min-width: 32px;
    min-height: 32px;
  }
  .reset-button .icon {
    width: 20px;
    height: 20px;
  }
  .workspace-toolbar {
    gap: 10px;
    padding: 12px 15px;
    flex-wrap: wrap;
  }
  .workspace-toolbar > label {
    font-size: 11px;
  }
  #tool-select {
    flex: 1;
    width: 0;
    min-width: 0;
    font-size: 16px;
    padding-left: 9px;
  }
  .output-label {
    display: none;
  }
  .quick-actions {
    gap: 21px;
    padding: 0 15px;
    min-height: 42px;
  }
  .quick-actions button {
    font-size: 11px;
    padding: 12px 0;
  }
  .workbench-body {
    display: block;
    min-height: 0;
  }
  .workbench-main {
    padding: 15px;
    border-right: 0;
  }
  .workbench-drop {
    min-height: 262px;
    padding: 23px 12px;
  }
  .drop-copy h2 {
    font-size: 17px;
  }
  .drop-copy p {
    font-size: 11px;
  }
  #accepted-formats {
    font-size: 10px;
  }
  .upload-limits {
    font-size: 9px;
  }
  .workbench-drop .primary {
    min-width: 180px;
    min-height: 44px;
  }
  .workbench-settings {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 15px 20px;
    position: static;
    min-height: 0;
  }
  .settings-title {
    margin-bottom: 12px;
  }
  .settings-default {
    font-size: 11px;
  }
  .engine-note {
    padding-top: 16px;
    padding-bottom: 15px;
    margin-top: 0;
    font-size: 10px;
  }
  .engine-note strong {
    font-size: 11px;
  }
  .run-button {
    min-height: 43px;
    font-size: 12px;
  }
  .converter-footnote {
    font-size: 9px;
    gap: 5px;
    flex-wrap: wrap;
    padding-top: 10px;
  }
  .privacy-link {
    font-size: 9px;
  }
  .option-group {
    margin-bottom: 15px;
  }
  .option-group input:not([type="range"]),
  .option-group select {
    font-size: 16px;
  }
  .option-group small {
    font-size: 10px;
  }
  .has-files .workbench-drop {
    min-height: 73px;
  }
  .has-files .workbench-drop .primary {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 11px;
    min-width: 0;
  }
  .has-files .drop-copy h2 {
    font-size: 12px;
  }
  .has-files #accepted-formats {
    font-size: 9px;
  }
  .queue-actions button {
    width: 28px;
    min-height: 36px;
  }
  .queue-summary {
    font-size: 10px;
  }
  .queue-summary button {
    font-size: 10px;
  }
  .file-name {
    font-size: 12px;
  }
  .tool-tip {
    font-size: 11px;
    margin-top: 15px;
  }
  .tool-tip p {
    font-size: 10px;
  }
  .result-panel {
    margin-top: 18px;
    padding-top: 18px;
  }
  .result-panel > p {
    font-size: 10px;
  }
  .result-notes {
    font-size: 10px;
    padding: 11px 13px;
  }
  .download-item {
    font-size: 12px;
    padding: 12px;
  }
  .result-actions {
    gap: 8px 17px;
  }
  .result-actions button {
    font-size: 10px;
  }
  .result-preview summary {
    font-size: 11px;
  }
  .preview-note {
    font-size: 10px;
  }
  .tools-section {
    padding-top: 28px;
    padding-bottom: 26px;
    scroll-margin-top: 12px;
  }
  .catalog-title {
    gap: 9px;
    flex-wrap: wrap;
  }
  .catalog-title h2 {
    font-size: 21px;
  }
  .catalog-count {
    font-size: 10px;
  }
  .catalog-key {
    width: 100%;
    font-size: 9px;
    margin-left: 0;
    margin-top: -4px;
  }
  .category-tabs {
    gap: 24px;
    margin-top: 9px;
    margin-bottom: 22px;
  }
  .category-tabs button {
    font-size: 11px;
  }
  .tools-grid,
  .tools-grid.grouped {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .tool-group {
    width: 100%;
  }
  .group-heading h3 {
    font-size: 14px;
  }
  .tool-entry > a {
    font-size: 13px;
    padding: 10px 0;
  }
  .tool-star {
    width: 36px;
    height: 37px;
  }
  .entry-arrow {
    display: none;
  }
  .recent-tools {
    font-size: 10px;
    gap: 8px 14px;
  }
  .recent-tools button {
    font-size: 10px;
  }
  #clear-recent {
    margin-left: 0;
  }
  .help-section {
    display: block;
    padding: 24px 0 28px;
  }
  .help-section h2 {
    font-size: 17px;
    margin-bottom: 18px;
  }
  .help-topics summary {
    font-size: 11px;
  }
  .help-topics p {
    font-size: 11px;
  }
  .footer {
    gap: 16px;
    align-items: flex-start;
    padding: 21px 0 24px;
  }
  .footer-brand {
    font-size: 17px;
  }
  .footer > div {
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: flex-end;
    font-size: 9px;
  }
  .footer button {
    font-size: 9px;
  }
  .privacy-dialog {
    padding: 25px;
  }
  .privacy-dialog h2 {
    font-size: 22px;
  }
  .privacy-dialog p {
    font-size: 11px;
  }
  .tool-page-text {
    font-size: 11px;
    padding: 25px 0;
  }
  .tool-page-text h2 {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.primary-nav a[aria-current="page"] {
  color: var(--blue);
}
.standalone-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.standalone-search .icon {
  width: 17px;
  height: 17px;
}
.standalone-search:hover {
  color: var(--blue);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  margin: 20px 0 22px;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--blue);
}
.converter-section .breadcrumbs {
  margin-top: 0;
  margin-bottom: 18px;
}
.tool-page-text h3 {
  font-size: 13px;
  margin: 20px 0 8px;
}
.document-page {
  max-width: 920px;
  padding: 5px 0 38px;
  font-size: 14px;
  line-height: 1.85;
}
.document-page h1 {
  margin-bottom: 20px;
}
.document-page h2 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  margin: 30px 0 12px;
  letter-spacing: -0.3px;
}
.document-page p {
  margin: 12px 0;
  color: #4d5b70;
}
.document-page p.document-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin: 20px 0 28px;
}
.document-page .document-date {
  color: var(--muted);
  font-size: 11px;
  margin-top: -7px;
}
.document-page a {
  color: var(--blue);
}
.document-page ul {
  padding-left: 20px;
}
.document-page li {
  margin: 6px 0;
}
.document-table {
  overflow-x: auto;
  margin: 20px 0 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
}
.document-table table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 12px;
}
.document-table th {
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  background: #edf2fa;
}
.document-table th,
.document-table td {
  padding: 13px 15px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  width: 33.333%;
}
.document-table tr:last-child td {
  border-bottom: 0;
}
.document-table td {
  color: #4d5b70;
}
.directory-page {
  max-width: none;
}
.directory-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 50px;
}
.directory-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.directory-groups li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.directory-groups li > a {
  font-size: 14px;
}
.directory-groups li > p {
  font-size: 12px;
  margin: 5px 0 0;
  color: var(--muted);
}
.calculator-section {
  padding: 5px 0 35px;
}
.calculator-page .breadcrumbs {
  margin: 14px 0;
}
.processing-terms {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
  margin-top: 10px;
}
.processing-terms a {
  color: inherit;
}
.processing-terms a:hover {
  color: var(--blue);
}
.calculator-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
}
.calculator-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.calculator-local {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 3px;
}
.calculator-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 50px;
  margin: 22px 0 35px;
  max-width: 1050px;
}
.calculator {
  min-width: 0;
  background: white;
  border: 1px solid #b9c6db;
  border-radius: 6px;
  overflow: hidden;
}
.calculator-screen {
  padding: 14px 20px 12px;
  background: #192943;
  color: white;
}
.calculator-screen > label {
  font-size: 10px;
  color: #a9bddb;
}
#calc-expression {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  padding: 7px 0;
  color: #dbe6f8;
  text-align: right;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
#calc-expression::placeholder {
  color: #96aac8;
}
#calc-expression:focus-visible {
  outline-offset: 1px;
  outline-color: #91b2ff;
}
#calc-result {
  display: block;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  text-align: right;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  min-height: 55px;
  font-variant-numeric: tabular-nums;
  user-select: text;
}
#calc-result.long-result {
  font-size: 27px;
  letter-spacing: -0.4px;
  padding: 12px 0;
}
.calculator-screen-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  min-height: 23px;
  margin-top: 6px;
}
#calc-message {
  margin-right: auto;
  font-size: 10px;
  line-height: 1.5;
  color: #b7d7c9;
}
#calc-message.error {
  color: #ffc7b9;
}
#copy-calc-result {
  color: #b5c9e8;
  font-size: 10px;
  text-decoration: underline;
  padding: 4px 0;
  white-space: nowrap;
}
#copy-calc-result:hover {
  color: white;
}
.calculator-keys {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 15px;
}
.calculator-keys button {
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: 1px solid #d9e1ee;
  background: white;
  font-size: 23px;
  font-weight: 450;
  font-variant-numeric: tabular-nums;
}
.calculator-keys button:hover {
  background: #f3f6fc;
  border-color: #a5badb;
}
.calculator-keys button:active {
  background: #e4ecfc;
  transform: translateY(1px);
}
.calculator-keys .calc-operator {
  background: #edf2fc;
  color: #2759ba;
  border-color: #d3def1;
  font-size: 25px;
}
.calculator-keys .calc-utility {
  color: #5b6d87;
  background: #f6f8fc;
  font-size: 17px;
}
.calculator-keys .calc-equals {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.calculator-keys .calc-equals:hover {
  background: var(--blue-dark);
}
.calculator-keyboard {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  padding: 0 12px 15px;
}
.calculator-keyboard kbd {
  font: inherit;
  color: #455977;
}
.calculator-history {
  min-width: 0;
  padding-top: 2px;
}
.calculator-history > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 0 0 14px;
  border-bottom: 1px solid #ccd6e6;
}
.calculator-history h2 {
  font-size: 16px;
  font-weight: 500;
}
#clear-calc-history {
  color: var(--muted);
  text-decoration: underline;
  font-size: 11px;
}
#calc-history-empty {
  padding: 23px 0;
  color: var(--muted);
  font-size: 12px;
}
#calc-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 440px;
  overflow-y: auto;
  scrollbar-width: thin;
}
#calc-history-list li {
  border-bottom: 1px solid var(--line);
}
#calc-history-list button {
  display: block;
  width: 100%;
  padding: 13px 0;
  text-align: right;
  overflow-wrap: anywhere;
}
#calc-history-list button:hover {
  color: var(--blue);
  background: #eaf0fa;
}
#calc-history-list span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
#calc-history-list strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  margin-top: 3px;
}
.calculator-history-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
  margin-top: 18px;
  max-width: 350px;
}
.calculator-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.calculator-help h2 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 11px;
}
.calculator-help p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
@media (max-width: 1120px) {
  .primary-nav {
    gap: 19px;
  }
  .header-inner {
    gap: 24px;
  }
  .calculator-layout {
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 36px;
  }
}
@media (max-width: 850px) {
  .standalone-search span {
    display: none;
  }
  .calculator-local {
    display: none;
  }
  .calculator-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
  }
  .calculator-help {
    gap: 28px;
  }
}
@media (max-width: 660px) {
  .primary-nav {
    gap: 16px;
  }
  .primary-nav a {
    font-size: 10px;
  }
  .standalone-search {
    display: none;
  }
  .standalone-page .header-inner {
    flex-wrap: nowrap;
    min-height: 66px;
  }
  .standalone-page .primary-nav {
    gap: 18px;
  }
  .breadcrumbs {
    margin-top: 18px;
    font-size: 10px;
    gap: 6px;
  }
  .document-page {
    font-size: 13px;
    padding-top: 0;
  }
  .document-page h1 {
    font-size: 25px;
  }
  .document-page h2 {
    font-size: 17px;
    margin-top: 25px;
  }
  .document-page p.document-lead {
    font-size: 14px;
  }
  .document-table th,
  .document-table td {
    padding: 11px 13px;
  }
  .directory-groups {
    display: block;
  }
  .directory-groups li > a {
    font-size: 14px;
  }
  .calculator-section {
    padding-top: 0;
  }
  .calculator-heading p {
    font-size: 12px;
  }
  .calculator-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 22px;
  }
  .calculator {
    width: 100%;
    max-width: 420px;
    align-self: center;
  }
  .calculator-screen {
    padding: 17px 20px 14px;
  }
  #calc-result {
    font-size: 44px;
    min-height: 64px;
  }
  #calc-result.long-result {
    font-size: 25px;
  }
  .calculator-keys {
    padding: 12px;
    gap: 6px;
  }
  .calculator-keys button {
    height: 55px;
    font-size: 22px;
  }
  .calculator-history {
    width: 100%;
  }
  #calc-history-list {
    max-height: 260px;
  }
  .calculator-help {
    display: block;
    padding-top: 22px;
  }
  .calculator-help section + section {
    margin-top: 22px;
  }
  .calculator-help h2 {
    font-size: 14px;
  }
  .calculator-help p {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .header-inner {
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 20px;
    gap: 7px;
  }
  .brand-symbol {
    width: 28px;
    height: 28px;
  }
  .primary-nav {
    gap: 13px;
  }
  .primary-nav a {
    font-size: 10px;
  }
  .favorites-button {
    gap: 4px;
  }
}
