/* rc14 tablet-laag (iPad 744-1180) + touch tap-targets. Generiek core; iPhone (<744) ongewijzigd. */
/* 1. vaste smalle zijbalk i.p.v. hamburger op iPad staand */
@media (min-width:744px) and (max-width:900px){
 :root{--v2-sidebar-width:208px}
 body.v2-theme .v2-sidebar{transform:none!important;width:208px!important;transition:none}
 body.v2-theme .v2-sidebar-backdrop{display:none!important}
 body.v2-theme .v2-main{margin-left:208px!important}
 body.v2-theme .v2-mobile-header{display:none!important}
 body.v2-theme .v2-content{padding:20px 20px 40px!important}
 body.v2-theme .v2-nav a{min-height:44px}
 .sv2 .sv2-side{transform:none!important;width:208px}
 .sv2 .sv2-scrim{display:none!important}
 .sv2 .sv2-main{margin-left:208px}
 .sv2 .save{left:208px}
 .sv2 .top .menu{display:none}
}
@media (min-width:901px) and (max-width:1023px){
 .sv2 .sv2-side{transform:none!important;width:220px}.sv2 .sv2-scrim{display:none!important}
 .sv2 .sv2-main{margin-left:220px}.sv2 .save{left:220px}.sv2 .top .menu{display:none}
}
/* 2 kolommen waar het past */
@media (min-width:744px) and (max-width:1180px){
 body.v2-theme .v2-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important;gap:16px;align-items:start}
 body.v2-theme .v2-signage-screens{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
 .sv2 .bigtiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:1000px) and (max-width:1180px){
 .iv3-rows{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}
 .iv3-rw{min-width:0;border-right:1px solid var(--line)}
 .iv3-rw:has(.iv3-r.open){grid-column:1/-1}
 body.v2-theme .v2-signage-editor-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;align-items:start}
 body.v2-theme .v2-signage-editor-grid>:first-child{position:sticky;top:12px}
}
/* 3. tap-targets >= 44px op touch/tablet/telefoon */
@media (max-width:1180px),(pointer:coarse){
 .iv3-tog::before{content:"";position:absolute;left:-4px;right:-4px;top:-7px;bottom:-7px}
 body.v2-theme .v2-tvo-btns a,body.v2-theme .v2-tools-tabs a{min-height:44px;display:inline-flex;align-items:center}
 body.v2-theme .v2-tv-segments button,body.v2-theme .v2-tv-focus-buttons button{min-height:44px;min-width:44px}
 body.v2-theme .v2-preview-toolbar button{min-width:44px;min-height:44px}
 body.v2-theme .v2-dashboard-section-head a,body.v2-theme .ds-pick-details,body.v2-theme .v2-preview-footer a,body.v2-theme .v2-breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
 body.v2-theme .v2-check,body.v2-theme .v2-tv-check,body.v2-theme .lb-switch,body.v2-theme .v2-widget-enabled,body.v2-theme .th-opt,body.v2-theme .th-pick{min-height:44px;display:inline-flex;align-items:center;gap:10px}
 body.v2-theme .v2-check input,body.v2-theme .v2-tv-check input,body.v2-theme .lb-switch input,body.v2-theme .v2-widget-enabled input,body.v2-theme .th-pick input,body.v2-theme .tp-check input{width:24px;height:24px}
}
/* geen zijwaarts scrollen met vaste zijbalk */
@media (min-width:744px) and (max-width:1180px){
 body.v2-theme .v2-main,body.v2-theme .v2-content{min-width:0;overflow-x:clip}
 body.v2-theme .v2-signage-scene{min-width:0;max-width:100%;flex-wrap:wrap}
 body.v2-theme .v2-signage-scene{grid-template-columns:auto minmax(0,1fr)!important}
 body.v2-theme .v2-signage-scene-actions{grid-column:1/-1;flex-wrap:wrap;justify-content:flex-start;max-width:100%}
 body.v2-theme .v2-tv-toolbar,body.v2-theme .v2-tv-stage-head,body.v2-theme .v2-tv-toolbar-actions{flex-wrap:wrap;min-width:0;max-width:100%}
 body.v2-theme .v2-tv-toolbar input{max-width:100%;min-width:0}
}
