/* v95 phone polish: loaded last on the public pages and in the app. Only touches small screens.
   Found by an automatic audit at 360px: header brand wrapping, small tap targets, tiny labels, cut-off book toolbar. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* The cinematic header paints every topbar link near-white; inside the white profile menu that hid "CV uyğunlaşdırma" and "LinkedIn". */
html body.atlas-cinematic header.topbar .me-list a:not(.me-out){color:var(--ink)!important}

@media (max-width:760px){
  /* Public pages: the brand stays on one line next to "Daxil ol" and "Qeydiyyat". */
  .topbar .brand{white-space:nowrap;min-width:0}
  .topbar .brand b{white-space:nowrap}
  /* Comfortable finger targets (at least 44px high). */
  .film-secondary,.film-scroll{display:inline-flex;align-items:center;min-height:44px}
  details>summary{min-height:44px;display:flex;align-items:center;gap:8px}
  footer a{display:inline-flex;align-items:center;min-height:44px}
  .auth a.back,a.back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-wrap:balance;text-align:center}

  /* App header: the grid squeezed the brand column to 0, so the one-line brand ran under the theme button.
     A plain row keeps the brand left and the moon + profile picture right. */
  html body:is(.career-ui,.office-mode) header.topbar.topbar:has(> .account){display:flex!important;align-items:center;justify-content:space-between;gap:10px}
  html body header.topbar:has(> .account)>.brand{flex:0 1 auto;min-width:0;overflow:hidden}
  html body header.topbar:has(> .account)>.account{flex:0 0 auto;margin-left:auto}

  /* App */
  html body .ca-soon{font-size:12px!important}
  html body .hm-h a{display:inline-flex;align-items:center;min-height:44px;padding-inline:4px}
  html body .lab-save,html body #labSave{min-height:40px!important}
  html body .iv-plate span{font-size:11.5px!important;line-height:1.2}
  html body #view a[href="#cvs"],html body #view .li-pick,html body #view a[href^="#"]:not([class]){display:inline-flex;align-items:center;min-height:40px}
  html body .vc-tools{display:inline-flex;align-items:center;min-height:40px}
  html body input[type=checkbox]{min-width:22px;min-height:22px}
  html body .office-lab .lr .lr-row{flex-wrap:wrap!important;row-gap:8px}
  html body .office-lab .lr .lr-tools{max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body .office-lab .lr .lr-tools::-webkit-scrollbar{display:none}
  html body .office-lab .lr .lr-tool,html body .office-lab .lr .lr-back{min-height:40px}
  html body .office-lab .lr .no{font-size:12px!important}
}

@media (max-width:400px){
  .topbar .brand b{font-size:16px!important;letter-spacing:-.2px}
  .topbar .links{gap:6px!important}
  .topbar .links .login,.topbar .links .signup{padding-inline:12px!important;font-size:14px!important}
}
@media (max-width:340px){
  .topbar .brand b{display:none}
  html body header.topbar:has(> .account)>.brand{font-size:16px!important}
}
