/* Keep controls clear of the iPhone status bar and camera cutout. */
@media (max-width: 950px) {
 :root[data-theme] body:not(.admin-portal)>header {
  height:calc(66px + env(safe-area-inset-top));
  padding-top:env(safe-area-inset-top);
  padding-left:max(14px,env(safe-area-inset-left));
  padding-right:max(14px,env(safe-area-inset-right));
 }
}

@media (max-width: 700px) {
 :root[data-theme] body.workspace-open:not(.admin-portal)>header .brand .brand-wordmark {
  flex-direction:row;
  align-items:baseline;
  gap:.3em;
  white-space:nowrap;
  font-size:clamp(16px,4.6vw,21px);
 }
 :root[data-theme] body.workspace-open:not(.admin-portal)>header .brand .brand-name {
  font-family:"Bricolage Grotesque",system-ui,sans-serif;
  font-size:1.18em;
  font-weight:800;
  letter-spacing:-.045em;
 }
 :root[data-theme] body.workspace-open:not(.admin-portal)>header .brand .brand-product {
  font-family:system-ui,-apple-system,sans-serif;
  font-weight:650;
  letter-spacing:-.035em;
 }
 :root[data-theme] body:not(.admin-portal)>header :is(.theme-toggle,#notification-bell,#user-signout) {
  min-width:44px;
  min-height:44px;
 }
 :root[data-theme] body:not(.admin-portal)>header :is(.theme-toggle,#user-signout) {
  font-size:11px;
 }
 :root[data-theme] body:not(.admin-portal):not(.workspace-open) :is(#login,#signup) input:not([type=checkbox]) {
  font-size:16px;
 }
}

@media (max-width: 365px) {
 /* Sign out is available in Settings on the narrowest phones. */
 :root[data-theme] body.workspace-open:not(.admin-portal)>header #user-signout {
  display:none;
 }
}
