
/* 1_101: full desktop canvas, readable actions, stable gallery geometry. */
@media(min-width:801px){
 :root[data-product="mundodex"] .workspace{max-width:none;width:calc(100% - var(--ah-sidebar,216px));margin-right:0}
 :root[data-product="mundodex"] .workspace>main,:root[data-product="mundodex"] .workspace>.topbar{max-width:none;width:100%;box-sizing:border-box;margin-left:0;margin-right:0}
 :root[data-product="mundodex"] .workspace>main{padding-left:20px;padding-right:20px}
}
:root[data-product="mundodex"] .sidebar-appearance{margin:16px 0 20px}
:root[data-product="mundodex"] [data-clear-collection-filters]{background:var(--ah-ink,#173954);color:var(--ah-paper,#fff);border-color:transparent}
:root[data-product="mundodex"] .results-head{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
:root[data-product="mundodex"] .results-head .view-toggle{order:-2;margin-right:auto}
:root[data-product="mundodex"] .results-head [data-create-filtered-binder]{order:2;margin-left:auto}
#card-dialog .card-wishlist{display:flex;flex-wrap:wrap;gap:10px}
#card-dialog .card-wishlist-icon{width:auto;max-width:100%;display:inline-flex;gap:8px;background:var(--ah-surface,#edf5fc);color:var(--ah-ink,#173954);padding:10px 14px}
#card-dialog .card-wishlist-icon svg{width:20px;height:20px;flex-shrink:0}
#card-dialog .card-holding-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#card-dialog .card-binder-tag{word-break:normal;overflow-wrap:break-word;white-space:normal;max-width:100%;min-width:0;flex:1 1 180px}
#card-dialog .card-holding-action{width:auto;min-width:44px;min-height:44px;flex:0 0 auto;font:inherit}
#card-dialog .card-holding-row>span{min-width:0}
.vbind-page-indicator{text-align:center;width:100%;font-variant-numeric:tabular-nums}

.dashboard-search-results .search-result-row{display:flex;gap:12px;align-items:center}
.dashboard-search-results .search-suggestion{flex:1;min-width:0}
.dashboard-search-results .search-quantity{flex:0 0 auto;max-width:140px}
.dashboard-search-results .search-quantity .stepper{display:flex;align-items:center}
.dashboard-search-results .search-quantity button{min-width:36px;min-height:44px}
.dashboard-search-results .search-quantity output{min-width:2ch;text-align:center}
@media(max-width:600px){.dashboard-search-results .search-result-row{flex-wrap:wrap}.dashboard-search-results .search-quantity{margin-left:auto}}

:root[data-product="mundodex"] .vbind-delete-blank{pointer-events:auto;display:grid;place-items:center;min-width:32px;min-height:32px;padding:5px;border:1px solid var(--ah-line,#a3b19e);border-radius:6px;background:var(--ah-surface,#fff);color:var(--ah-ink,#173954);cursor:pointer}
.vbind-delete-blank svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
:root[data-product="mundodex"] main:not(.vbind-editing) .vbind-delete-blank{display:none}
@media(max-width:800px){
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]{grid-template-columns:repeat(7,minmax(0,1fr))!important}
 :root[data-product="mundodex"] .sidebar nav a[data-nav="desejos"] b{white-space:normal;overflow:visible;font-size:9px;line-height:1.1}
}

#card-dialog .card-wishlist .trade-button-labeled{background:var(--ah-ink,#173954);color:var(--ah-paper,#fff);border-color:transparent;min-height:44px;padding:10px 14px}
#card-dialog .card-wishlist .card-wishlist-icon{background:var(--ah-surface,#edf5fc);color:var(--ah-ink,#173954);border:1px solid var(--ah-accent,#24629b)}

@media(min-width:801px){
 :root[data-product="mundodex"] .sidebar .sidebar-appearance:not([hidden]){margin-top:auto;margin-bottom:12px}
 :root[data-product="mundodex"] .sidebar .sidebar-legal{margin-top:0}
}

/* 1_102: adaptive catalogue density; physical binder grids stay independent.
   Empty tracks preserve the same card size in incomplete/filtered rows. */
@media(min-width:801px){
 :root[data-product="mundodex"] body #main #results .card-grid{
  grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));
 }
 :root[data-product="mundodex"] body #main #results .card-grid>.acervo-card{
  width:100%;max-width:220px;justify-self:start;
 }
}

/* 1_105: one desktop canvas for every application route.
   Five card tracks at most, with slightly larger proportional cards and a fixed 8px gap.
   The mobile rules and the internal pocket grids remain independent. */
@media(min-width:801px){
 :root[data-product="mundodex"] .workspace>main#main,
 :root[data-product="mundodex"] .workspace>.topbar,
 :root[data-product="mundodex"] .workspace>main#main~footer.legal-footer{
  width:100%;max-width:1240px;margin-left:auto;margin-right:auto;box-sizing:border-box;padding-left:20px;padding-right:20px;
 }
 :root[data-product="mundodex"] body #main :is(#results,#acervo-owned-preview) .card-grid{
  max-width:1200px;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),226px));gap:8px;justify-content:center;
 }
 :root[data-product="mundodex"] body #main :is(#results,#acervo-owned-preview) .card-grid>.acervo-card{
  width:100%;max-width:226px;justify-self:stretch;
 }
}
