/* Responsive chrome: the saved canvas coordinates remain owned by the editor. */
.mobile-panes-toggle{display:none;border:1px solid #8d754c;border-radius:7px;background:#302618;color:#fff;padding:7px 10px;white-space:nowrap;cursor:pointer}
.pbi-center-workspace,.pin-document,.portal-main{min-width:0}
.canvas-scroll-area{overflow:auto}
.pbi-pages-bar{overflow-x:auto;flex-shrink:0}
@media screen and (max-width:1300px){
 .mobile-panes-toggle{display:inline-flex}
 .pbi-body{position:relative}
 .pbi-right-panes{position:absolute;right:0;top:0;bottom:0;z-index:95;width:min(420px,calc(100% - 24px));height:auto;display:none;flex-direction:column;overflow:auto;box-shadow:-12px 0 30px #152b4930}
 .mobile-panes-open .pbi-right-panes{display:flex}
 .pbi-right-panes>.pane-section{flex:0 0 auto;width:100%;max-height:65vh;min-height:44px;overflow:auto;border-bottom:1px solid #dce6f2}
 .pbi-right-panes .pane-section.is-collapsed .pane-header{writing-mode:horizontal-tb;justify-content:space-between;height:44px;padding:10px}
 .pbi-header .header-center{display:none}
 .pbi-header .header-left,.pbi-header .header-right{gap:8px;min-width:0}
 .report-file-title{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media screen and (max-width:1000px){
 .pin-studio{grid-template-columns:minmax(0,1fr)}
 .pin-studio .pin-library,.pin-studio .pin-inspector{position:static;max-height:350px;grid-row:auto}
 .pin-studio .pin-document{grid-row:auto;max-width:100%}
 .power-query-modal .pq-body{overflow:auto;flex-wrap:wrap}
 .power-query-modal .pq-left-queries,.power-query-modal .pq-right-steps{width:calc(50% - 8px);max-height:280px;flex:1 1 220px}
 .power-query-modal .pq-center-grid{flex:1 0 100%;min-height:350px;order:3}
}
@media screen and (max-width:750px){
 #powerbi-app-layout{height:100dvh!important}
 .pbi-header{height:auto!important;min-height:48px;flex-wrap:wrap;gap:6px;padding:6px 8px!important;flex-shrink:0}
 .pbi-header .header-left{flex:1;gap:5px}
 .pbi-header .header-right{gap:5px}
 .pbi-header .power-global-name,.pbi-header .user-badge,.pbi-header .collab-avatar-stack{display:none}
 .pbi-header #collab-presence-label{font-size:0}
 .pbi-header #collab-presence-label:after{content:'Equipo';font-size:11px}
 .pbi-header .report-file-title{max-width:95px;font-size:11px}
 .pbi-header .quick-access-tools{margin:0;padding:0;border:0}
 .ribbon-tabs{overflow-x:auto;flex-wrap:nowrap;max-width:100%}
 .ribbon-tab{flex-shrink:0}
 .pbi-left-rail{box-sizing:border-box;flex-shrink:0}
 .portal-screen{height:100dvh;flex-direction:column}
 .portal-screen .portal-sidebar,.portal-screen:not(.portal-left-collapsed) .portal-sidebar,.portal-left-collapsed .portal-sidebar{width:100%;flex:0 0 auto;padding:6px;box-sizing:border-box;max-height:160px;overflow:auto}
 .portal-sidebar .portal-brand,.portal-sidebar .portal-sidebar-foot{display:none}
 .portal-sidebar nav{display:flex;overflow:auto;gap:4px}
 .portal-screen .portal-sidebar .portal-nav{font-size:11px;white-space:nowrap;padding:10px;justify-content:flex-start;flex-shrink:0}
 .portal-left-collapsed .portal-sidebar{display:none}
 .portal-topbar{padding:8px 12px;height:auto;min-height:55px;gap:8px;flex-wrap:wrap}
 .portal-content,#portal-content:has(.pin-studio),#portal-content:has(.decision-live-layout){padding:18px 12px 30px}
 .portal-page-header,.portal-hero{gap:12px}
 .pin-canvas-create{flex-wrap:wrap}
 .pin-canvas-create input{min-width:0;width:100%}
 .pin-canvas-list,.portal-report-grid,.pin-home-grid,.decision-setup-grid{grid-template-columns:minmax(0,1fr)}
 .decision-live-layout,.decision-live-layout.timeline-collapsed{grid-template-columns:minmax(0,1fr);height:auto;min-height:0;overflow:hidden}
 .decision-live-reports.is-parallel{grid-template-columns:minmax(0,1fr);padding:10px;gap:14px}
 .decision-live-reports.is-parallel .decision-report-divider{display:none}
 .decision-live-report{min-width:0}
 .decision-live-timeline,.timeline-collapsed .decision-live-timeline{width:auto;min-height:0;max-height:65dvh;border-left:0;border-top:1px solid #dce5ef}
 .decision-live-layout:not(.timeline-collapsed) .decision-live-timeline{min-height:300px}
 .timeline-collapsed .decision-live-timeline>header{height:auto;flex-direction:row;justify-content:space-between}
 .timeline-collapsed .decision-live-timeline h2{writing-mode:horizontal-tb}
 .decision-live-timeline input,.decision-live-timeline textarea,.decision-live-timeline select{max-width:100%;box-sizing:border-box}
 .modal,.modal-content{max-width:calc(100vw - 20px);max-height:90dvh;overflow:auto;box-sizing:border-box}
}
@media screen and (max-width:480px){
 .pbi-header .pbi-brand .power-global-mark{display:none}
 .decision-live-reports.is-parallel .decision-live-visual[data-center-kind="kpi"],.decision-live-reports.is-parallel .decision-live-visual[data-center-kind="card"]{grid-column:span 12!important}
 .decision-live-report>header{flex-wrap:wrap}
 .pin-studio .pin-editor-toolbar{flex-wrap:wrap}
}
/* Shared interaction polish for touch and keyboard use. */
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #5aa5eb;outline-offset:3px}
@media(pointer:coarse){button,select,summary{min-height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}