@media screen {
 :root body.lime-editor>header #documentBar{display:flex;align-items:center;flex:1 1 auto;min-width:0;max-width:none;gap:12px;padding:0;margin:0 auto 0 0;}
 :root body.lime-editor>header #documentBar[hidden]{display:none;}
 :root body.lime-editor>header #backToLabels{flex:none;background:transparent;border-color:transparent;color:var(--le-muted);padding:8px 0;white-space:nowrap;}
 :root body.lime-editor>header #backToLabels:hover{color:var(--le-accent);}
 :root body.lime-editor>header #documentName{flex:0 1 280px;width:280px;min-width:100px;max-width:100%;font-size:16px;padding:8px;}
 :root body.lime-editor:not(.labels-home)>header :is(.brand,.divider,.badge,.spacer),
 :root body.lime-editor:not(.labels-home)>header>span:not(#saved){display:none;}
 :root body.lime-editor>header #saved{flex:none;}
 @media(max-width:900px){
  :root body.lime-editor>header{flex-wrap:wrap;gap:10px;}
  :root body.lime-editor>header #documentBar{flex-basis:100%;}
  :root body.lime-editor>header #documentName{flex:1;}
  :root body.lime-editor>header #saved{margin-right:auto;font-size:11px;}
 }
}
@media screen {
 :root body.lime-editor .compact-top{padding:12px 20px;gap:12px;align-items:stretch;}
 :root body.lime-editor .compact-top>.spacer{display:none;}
 :root body.lime-editor .compact-top #chooseTemplate{width:230px;min-width:230px;max-width:230px;flex:0 0 230px;min-height:76px;padding:12px;gap:10px;}
 :root body.lime-editor .compact-top #templateName{color:inherit;font-size:14px;line-height:1.3;font-weight:600;}
 :root body.lime-editor .compact-top #templateCategory{font-size:11px;line-height:1.35;margin-top:4px;}
 :root body.lime-editor .compact-top .paper-size-panel{flex:1;min-width:0;display:flex;align-items:flex-end;gap:10px;padding:10px 12px;}
 :root body.lime-editor .compact-top .paper-size-panel>.code-control{width:auto;min-width:0;flex:1 1 130px;}
 :root body.lime-editor .compact-top .setting-label{font-size:11px;margin-bottom:5px;white-space:nowrap;}
 :root body.lime-editor .compact-top :is(.code-control select,.size-control select,#formatSettings,#canvasOrientation,.paper-segments){height:38px;min-height:38px;font-size:13px;}
 :root body.lime-editor .compact-top :is(#formatSettings,#canvasOrientation){width:38px;min-width:38px;padding:8px;align-self:flex-end;}
 :root body.lime-editor .compact-top .paper-segments button{font-size:12px;padding:4px 8px;}
 :root body.lime-editor .compact-top #fullscreen{align-self:center;}
 @media(max-width:1100px){
  :root body.lime-editor .compact-top{display:grid;grid-template-columns:minmax(0,1fr) 44px;}
  :root body.lime-editor .compact-top #chooseTemplate{width:auto;min-width:0;max-width:none;min-height:60px;grid-column:1;grid-row:1;}
  :root body.lime-editor .compact-top #fullscreen{grid-column:2;grid-row:1;}
  :root body.lime-editor .compact-top .paper-size-panel{grid-column:1/-1;grid-row:2;}
 }
 @media(max-width:600px){
  :root body.lime-editor .compact-top{padding:10px 12px;gap:8px;}
  :root body.lime-editor .compact-top .paper-size-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;padding:12px;}
  :root body.lime-editor .compact-top .paper-size-panel>label{min-width:0;width:auto;}
  :root body.lime-editor .compact-top .paper-size-panel :is(#formatSettings,#canvasOrientation){justify-self:end;}
 }
}
@media screen and (max-width:600px){
 :root body.lime-editor .compact-top .paper-size-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px 38px;}
 :root body.lime-editor .compact-top .paper-size-panel>.code-control{grid-column:span 2;grid-row:1;}
 :root body.lime-editor .compact-top .paper-size-panel>.paper-control{grid-column:1/-1;grid-row:2;}
 :root body.lime-editor .compact-top .paper-size-panel>.size-control{grid-column:1/3;grid-row:3;}
 :root body.lime-editor .compact-top .paper-size-panel>#canvasOrientation{grid-column:3;grid-row:3;}
 :root body.lime-editor .compact-top .paper-size-panel>#formatSettings{grid-column:4;grid-row:3;}
 :root body.lime-editor .compact-top .setting-label{font-size:10px;}
}
@media screen and (max-width:600px){:root body.lime-editor .compact-top .paper-size-panel{grid-template-columns:repeat(4,minmax(0,1fr));}:root body.lime-editor .compact-top .setting-label{white-space:normal;}}
