#unit-navigation-toggle { display:none }
@media (max-width:700px) {
  body:has(#unit-navigation-toggle) > header {
    position:sticky; top:0; z-index:45; padding:3px 10px; min-height:0;
    max-height:55dvh; overflow:auto; scrollbar-width:thin;
  }
  #unit-navigation-toggle {
    display:inline-flex; align-items:center; gap:.45em; min-height:40px;
    padding:4px 12px; font:inherit; font-weight:650; color:inherit;
    background:var(--cl-surface, white); border:1px solid #9ebcb1; border-radius:6px;
  }
  #unit-navigation-toggle::after { content:'▾' }
  #unit-navigation-toggle[aria-expanded=true]::after { content:'▴' }
  body > header.unit-menu-folded {display:flex!important; justify-content:flex-start}
  body > header.unit-menu-folded > :not(#unit-navigation-toggle) {display:none!important}
  body.cl-unit-page466 > header .tool-shortcuts.tool-tabs489 {
    display:flex!important;flex-wrap:nowrap;overflow-x:auto;max-width:100%;width:100%;
  }
  body.cl-unit-page466 > header .tool-shortcuts.tool-tabs489 > a {
    flex:0 0 auto;flex-direction:row;gap:4px;min-height:40px;padding:3px 8px;
  }
  body.cl-unit-page466 .unit-layout {margin-top:0}
  body.cl-unit-page466 .unit-layout > main {gap:4px}
  body.cl-unit-page466 .unit-layout > main > .workspace {display:flex;flex-direction:column;gap:6px}
  body.cl-unit-page466 .workspace > .workspace-heading,
  body.cl-unit-page466 .workspace-heading > .heading-copy {display:contents!important}
  body.cl-unit-page466 .workspace-heading h1 {order:-3;font-size:1.25rem;line-height:1.25;margin:3px 0}
  body.cl-unit-page466 .workspace-heading :is(.eyebrow,.unit-mobile-entry) {display:none}
  body.cl-unit-page466 .workspace > .calculator {order:-2;display:flex;flex-direction:column;gap:6px;padding:10px;margin:0}
  body.cl-unit-page466 .calculator > .fields {order:-4;gap:4px 6px;margin:0}
  body.cl-unit-page466 .calculator .fields :is(label,input,select) {margin-block:0}
  body.cl-unit-page466 .calculator .fields :is(input,select) {font-size:16px;min-height:44px;padding-block:4px}
  body.cl-unit-page466 .calculator > #error {order:-3;margin:0}
  body.cl-unit-page466 .calculator > #error:empty {display:none}
  body.cl-unit-page466 .calculator > .answer {order:-2;margin:0;padding:8px;gap:6px}
  body.cl-unit-page466 .calculator > .number-options {order:-1}
  body.cl-unit-page466 .workspace-heading > .heading-ads {order:1}
  body.cl-unit-page466 .workspace > .results-panel {order:0}
  body.cl-unit-page466 .workspace > :is(.next-tools,.tool-journeys176) {order:2}
  .discovery-page:has(#international-converter) {display:flex;flex-direction:column;gap:6px;padding-block:6px}
  .discovery-page:has(#international-converter) > h1 {order:-3;margin:0;font-size:1.25rem;line-height:1.3}
  #international-converter {order:-2;margin:0;padding:10px}
  #international-converter > h2 {margin:0 0 5px;font-size:1rem}
  #international-converter .converter-grid {display:flex;flex-direction:column;gap:6px}
  #international-converter .converter-controls {display:contents}
  #international-converter .converter-controls > label {order:-5;margin:0}
  #international-converter .unit-pair {order:-4}
  #international-converter #conversion-error {order:-3;margin:0}
  #international-converter #conversion-error:empty {display:none}
  #international-converter .conversion-output {order:-2;padding:8px;margin:0;gap:4px}
  #international-converter :is(input,select) {min-height:44px;font-size:16px;padding-block:4px;margin:0}
}
