/* Biblioteca e ajustes no mesmo sistema de painéis verticais. */
.ep-shell{--resource-pane:288px}
@media(min-width:821px){
 .ep-shell .workspace{grid-template-columns:calc(76px + var(--resource-pane)) minmax(0,1fr) 280px}
 .ep-shell #app{--panew:var(--resource-pane);--rightw:280px}
 .ep-shell.ep-side-open #app{grid-template-columns:calc(var(--railw) + var(--panew)) minmax(0,1fr) var(--rightw)!important;--gut-l:calc(var(--railw) + var(--panew))!important}
 .ep-shell.ep-side-open #left{opacity:1!important;pointer-events:auto!important}
 .ep-shell.ep-side-open #left>.panes{display:none!important}
 .ep-shell #left>.ep-docked{position:static!important;inset:auto!important;flex:1;width:0!important;min-width:0;max-width:none!important;height:100%;max-height:none!important;margin:0;border:0;border-radius:0;box-shadow:none;animation:none;background:var(--paper);z-index:auto;overflow:hidden}
}
.ep-shell .ep-docked .ep-pop__head{flex:none;padding:16px 12px 12px;border-bottom:1px solid var(--line);gap:8px;background:var(--paper)}
.ep-shell .ep-docked .ep-pop__head b{font:500 17px/1.25 var(--display,Georgia);min-width:0;white-space:normal}
.ep-shell .ep-docked .ep-pop__x{flex:none;border:1px solid var(--line);border-radius:7px;width:30px;height:30px}
.ep-shell .ep-docked .ep-pop__body{padding:12px;min-height:0;overflow:auto;overscroll-behavior:contain}
.ep-shell #ep-pop-ep-library.ep-docked .ep-pop__body{display:flex;flex-direction:column;flex:1;overflow:hidden;gap:10px}
.ep-shell .ep-lib-intro{margin:0;font-size:11px;line-height:1.5;color:var(--muted);flex:none}
.ep-shell #ep-pop-ep-library.ep-docked .ep-lib-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;flex:none}
.ep-shell .ep-docked .ep-lib-toolbar input,.ep-shell .ep-docked .ep-lib-toolbar select{box-sizing:border-box;background:var(--surface);border:1px solid var(--line);color:var(--ink);font:12px var(--ui,Arial);min-height:38px;padding:9px;border-radius:7px;width:100%}
.ep-shell .ep-resource-filters,.ep-shell #asset-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex:none}
.ep-shell .ep-resource-filters button,.ep-shell #asset-categories button{min-width:0;padding:8px 3px;min-height:34px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--muted);font:11px var(--ui,Arial)}
.ep-shell .ep-resource-filters button[aria-pressed=true],.ep-shell #asset-categories button[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand);color:var(--ink)}
.ep-shell .ep-resource-hint{display:none}
.ep-shell .ep-resource-empty{font-size:12px;color:var(--muted);line-height:1.5;margin:0;padding:8px 0}
.ep-shell .ep-resource-empty[hidden]{display:none}
.ep-shell .ep-lib-count,.ep-shell #asset-count{margin:0;flex:none;color:var(--muted);font-size:11px;line-height:1.4}
.ep-shell #ep-pop-ep-library.ep-docked .ep-lib-grid,.ep-shell #asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-content:start;overflow:auto;overflow-x:hidden;min-height:80px;max-height:none;flex:1;padding:2px 3px 8px 0;scrollbar-width:thin}
.ep-shell .ep-lib-item,.ep-shell #asset-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:142px;height:auto!important;aspect-ratio:auto!important;padding:10px 7px!important;border:1px solid #d8d7cf!important;border-radius:9px!important;background:#f8f6ef!important;color:#294638!important;box-shadow:none;cursor:pointer}
.ep-shell .ep-lib-item:hover,.ep-shell #asset-grid button:hover{border-color:var(--brand)!important;box-shadow:0 0 0 1px var(--brand)}
.ep-shell .ep-lib-item[hidden]{display:none!important}
.ep-shell .ep-lib-item img,.ep-shell .ep-lib-item svg,.ep-shell #asset-grid button img,.ep-shell #asset-grid button svg{object-fit:contain;width:100%!important;height:80px!important;flex:none}
.ep-shell .ep-lib-item span,.ep-shell #asset-grid .asset-name{font:11px/1.35 var(--ui,Arial);text-align:center;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;flex:none;min-height:30px}
.ep-shell .ep-lib-footer{display:grid;grid-template-columns:1fr;gap:7px;margin:0;padding-top:10px;border-top:1px solid var(--line);flex:none;max-height:27vh;overflow:auto}
.ep-shell .ep-lib-footer button,.ep-shell .ep-lib-footer a{box-sizing:border-box;width:100%;min-height:34px;padding:8px;font:11px/1.4 var(--ui,Arial);text-align:left;white-space:normal;margin:0}
.ep-shell .ep-lib-license{margin:0;font-size:10px;line-height:1.45;max-height:45px;overflow:auto;color:var(--muted);flex:none}
.ep-shell .ep-resource-more{flex:none;border-top:1px solid var(--line);padding-top:9px;max-height:32vh;overflow:auto}
.ep-shell .ep-resource-more summary{cursor:pointer;padding:7px 0;color:var(--ink);font-size:12px}
.ep-shell .ep-resource-more .ep-lib-footer{border-top:0;max-height:none;padding:8px 0}
.ep-shell .ep-side-symbol{font-size:23px;line-height:1}
.ep-mobile-art{display:none}
.ep-shell .suite-panes:has(#panel-library:not([hidden])){display:flex;flex-direction:column;overflow:hidden}
.ep-shell .suite-panes:has(#panel-library:not([hidden]))>.premium-card{display:none}
.ep-shell #panel-library:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;gap:10px;padding:14px 12px}
.ep-shell #panel-library h2{font:500 18px/1.25 var(--display,Georgia);margin:0}
.ep-shell #panel-library>.muted{font-size:11px;line-height:1.5;margin:0}
.ep-shell #asset-search{box-sizing:border-box;width:100%;min-height:38px;flex:none}
.ep-shell #panel-library>.fine{font-size:10px;margin:0;line-height:1.45}
.ep-shell #panel-library>button{font-size:11px;min-height:34px;flex:none}
.ep-shell .ep-docked .md-layouts,.ep-shell .ep-docked .md-palettes,.ep-shell .ep-docked .md-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}
.ep-shell .ep-docked .md-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.ep-shell .ep-docked .md-tabs button{min-width:0;padding:8px 3px;white-space:normal;font-size:11px}
.ep-shell .ep-docked input,.ep-shell .ep-docked select,.ep-shell .ep-docked textarea{box-sizing:border-box;max-width:100%;min-width:0}
@media(min-width:821px) and (max-width:1100px){.ep-shell{--resource-pane:244px}.ep-shell .workspace{grid-template-columns:320px minmax(0,1fr) 250px}.ep-shell #app{--rightw:250px}}
@media(max-width:820px){
 .ep-shell #mtop .mpg{display:none}.ep-shell #mtop .mbrand{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.ep-shell #mtop .miconbtn{margin-left:0}
 .ep-shell .ep-mobile-art{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font:12px var(--ui,Arial)}
 .ep-shell .ep-docked{position:fixed!important;left:58px!important;right:0!important;top:60px!important;bottom:0!important;width:auto!important;height:calc(100dvh - 60px);max-height:none!important;border-radius:0!important;border:0;border-left:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px);background:var(--paper);animation:none;z-index:93;display:flex;flex-direction:column}
 .ep-shell .controls{display:flex!important;overflow:hidden;max-height:75dvh;min-height:400px}
 .ep-shell .tabs{flex-direction:column!important;position:static;width:64px;flex:none;padding:8px 5px;border-right:1px solid var(--line);border-bottom:0}
 .ep-shell .tabs button{flex:none;min-height:54px;padding:8px 1px;font-size:10px;overflow-wrap:normal}
 .ep-shell .suite-panes{min-width:0;overflow:auto;flex:1}
 .ep-shell #asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ep-shell #panel-library:not([hidden]){height:75dvh;box-sizing:border-box}
 .ep-shell .ep-lib-footer{max-height:24vh}
 .ep-shell .ep-docked .ep-lib-toolbar input,.ep-shell .ep-docked .ep-lib-toolbar select{font-size:16px}
 .ep-shell .ep-resource-filters button{min-height:42px;font-size:12px}
}
