/* Keep tablet actions clear of the compact header in either orientation. */
@media (min-width:701px) and (max-width:1100px), (min-width:701px) and (max-width:1400px) and (hover:none) and (pointer:coarse){
 :root{--header-height:76px}
 .topbar{display:flex;align-items:center;flex-wrap:nowrap;height:var(--header-height);min-height:var(--header-height);gap:12px;padding:10px 16px}
 .topbar .brand{flex:1 1 auto;min-width:0;margin:0;justify-content:flex-start}
 .topbar .website-brand img{width:230px;max-width:100%;height:auto;max-height:34px}
 .topbar .project-name{display:none}
 .top-actions{display:contents}
 .topbar .theme-toggle,.topbar .language-control,.topbar>.balance,.top-actions #menuBtn{flex:0 0 auto;margin:0}
 .topbar .brand{order:0}.topbar .theme-toggle{order:1}.topbar .language-control{order:2}.topbar>.balance{order:3}.top-actions #menuBtn{order:4}
 .topbar .language-toggle{min-height:44px;max-width:180px}
 .topbar>.balance{min-width:44px;min-height:44px;padding:8px;white-space:nowrap}
 .topbar>.balance>span:not(.credit-diamond){display:none}
 .top-actions #menuBtn{width:44px;min-height:44px}
 .editor-bottom{display:flex;align-items:center;gap:10px;height:auto;min-height:62px;padding:8px 12px}
 .editor-bottom>span{display:none}
 .editor-bottom #mobileLibrary{order:0;display:flex;align-items:center;min-height:44px;padding:8px 14px;margin:0}
 .editor-bottom #exportBtn{order:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 16px;background:#5962d9;border-color:#5962d9;color:white;font-size:13px}
 .editor-bottom #exportBtn span{margin-left:2px}
 .editor-bottom #mobileProperties{order:2;margin-left:auto;min-height:44px;padding:8px 14px}
}
