@media (max-width: 760px) {
  .bar { height: auto; min-height: 64px; gap: 8px; padding-inline: 14px; }
  .bar nav { gap: 8px; min-width: 0; }
  .bar nav > a { display: none; }
  .tool-menu summary { min-height: 44px; height: auto; padding-inline: 5px; }
  .menu-panel, .convert-menu {
    left: 10px; right: 10px; width: auto; padding: 12px;
    gap: 14px; max-height: 68vh; max-height: 68dvh; overscroll-behavior: contain;
  }
  .menu-panel li > a, .menu-panel li > .menu-unavailable {
    min-height: 44px; padding: 6px 3px; font-size: 14px;
  }
  .menu-panel h2 { margin-bottom: 2px; }
  .menu-panel section { min-width: 0; }
  .hero-inner { padding: 31px 16px 27px; }
  .hero h1 { font-size: clamp(32px, 7.8vw, 49px); line-height: 1.06; }
  .hero .intro { font-size: 15px; margin: 13px 0 17px; }
  .search { height: 46px; }
  .search kbd { display: none; }
  .search input, #options input, #options select, .source-entry input,
  .contact-form input, .contact-form textarea, .ed-props input,
  .ed-props textarea, .ed-props select { font-size: 16px; }
  .section { padding: 22px 14px 36px; }
  .section h2 { font-size: 24px; }
  .filters {
    flex-wrap: nowrap; overflow-x: auto; padding: 4px 3px 7px;
    margin: 12px -3px; scrollbar-width: thin;
  }
  .filters button { flex: none; min-height: 44px; white-space: nowrap; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card { min-height: 0; padding: 12px; }
  .card h3 { overflow-wrap: anywhere; }
  .card .arrow { top: 13px; right: 12px; }
  .card .icon { width: 36px; height: 36px; }
  .card .icon svg { width: 24px; height: 24px; }
  .work { padding: 19px 12px; margin-top: 16px; border-radius: 14px; }
  .work h1 { font-size: clamp(32px, 8vw, 45px); overflow-wrap: anywhere; }
  .drop { margin-top: 18px; min-height: 106px; }
  .drop > span { display: none; }
  .file-picker summary { min-width: 48px; min-height: 48px; }
  .file-sources { width: min(224px, calc(100vw - 80px)); min-width: 0; left: 50%; transform: translateX(-50%); }
  .file-sources button { min-height: 46px; white-space: normal; }
  .source-entry { flex-wrap: wrap; }
  .source-entry button, .contact-form button, .primary { min-height: 44px; }
  #queue li span { min-width: 0; }
  #queue button { flex: none; min-width: 44px; min-height: 44px; }
  .site-footer nav a { min-height: 36px; display: inline-flex; align-items: center; }
  .site-footer nav { gap: 0 14px; }
  footer > button { margin: 0 14px 14px; min-height: 36px; }
  .ed-bar { position: static; padding: 8px; gap: 5px; }
  .ed-bar button, .ed-bar select, .ed-bar a, .ed-props button { min-height: 42px; }
  .ed-bar a { display: inline-flex; align-items: center; }
  .ed-props label { min-width: 0; }
  .ed-props textarea { width: 100%; }
}
@media (max-width: 420px) {
  .bar { flex-wrap: wrap; padding-top: 9px; gap: 3px; }
  .bar nav { flex-basis: 100%; gap: 8px; }
  .bar nav .tool-menu { flex: 1; }
  .tool-menu summary { justify-content: center; border-radius: 7px; }
  .tool-menu[open] summary { background: #fff1f3; }
  .all-tools-menu { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
  .convert-menu { grid-template-columns: 1fr; }
}
