/* Workspace 8.30.4 · final responsive/device layer consolidated. Source order preserved. */

/* ===== SOURCE: ipad-home-hotfix-8297.css ===== */
/* BR Workspace 8.28.9 · hotfix iPad Home
   Ajusta el panel de Inicio en iPad/Tablet táctil ancho para evitar
   columnas angostas, quiebres letra por letra y solape del badge fijo. */

@media (pointer: coarse) and (min-width: 930px) and (max-width: 1366px){
  :root{
    --br8151-sidebar: 232px;
  }

  .app{
    grid-template-columns:var(--br8151-sidebar) minmax(0,1fr)!important;
  }

  .main,
  .main > main,
  .view,
  .view.active,
  .brw-shell,
  .brw-home-layout,
  .brw-home-main,
  .brw-home-rail,
  .bri-center,
  .bri-grid,
  .bri-card,
  .bri-card-copy,
  .brw-panel,
  .brw-priority-section,
  .brw-continue-section,
  .brw-tools{
    min-width:0!important;
  }

  .main > main{
    padding-left:18px!important;
    padding-right:18px!important;
  }

  #command-center.brw-home-view .brw-shell{
    gap:20px!important;
    padding-bottom:118px!important;
  }

  #command-center.brw-home-view .brw-home-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:20px!important;
    width:100%!important;
    align-items:start!important;
  }

  #command-center.brw-home-view .brw-home-main,
  #command-center.brw-home-view .brw-home-rail{
    display:contents!important;
  }

  #command-center.brw-home-view .brw-brief{order:1!important}
  #command-center.brw-home-view .brw-today{order:2!important}
  #command-center.brw-home-view .brw-priority-section{order:3!important}
  #command-center.brw-home-view .brw-continue-section{order:4!important}
  #command-center.brw-home-view .bri-center{order:5!important}
  #command-center.brw-home-view .brw-calendar{order:6!important}
  #command-center.brw-home-view .brw-personal{order:7!important}
  #command-center.brw-home-view .brw-notes{order:8!important}
  #command-center.brw-home-view .brw-tools{order:9!important}

  #command-center.brw-home-view .brw-home-rail::before{
    display:none!important;
  }

  #command-center.brw-home-view .brw-priority-grid,
  #command-center.brw-home-view .brw-continue-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  #command-center.brw-home-view .brw-home-main .brw-tools > div{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  #command-center.brw-home-view .bri-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }

  #command-center.brw-home-view .bri-card{
    grid-template-columns:auto minmax(0,1fr) auto!important;
    min-height:148px!important;
    padding:18px!important;
  }

  #command-center.brw-home-view .brw-home-main .brw-panel,
  #command-center.brw-home-view .brw-home-rail .brw-panel,
  #command-center.brw-home-view .bri-card,
  #command-center.brw-home-view .brw-priority-card,
  #command-center.brw-home-view .brw-continue-grid > button,
  #command-center.brw-home-view .brw-home-main .brw-tools > div > button{
    width:100%!important;
    max-width:100%!important;
  }

  /* Neutraliza quiebres agresivos que en iPad estaban llevando el texto
     a columnas de una letra. */
  #command-center.brw-home-view .bri-card-copy h4,
  #command-center.brw-home-view .bri-card-copy p,
  #command-center.brw-home-view .bri-card-copy small,
  #command-center.brw-home-view .bri-card-copy button,
  #command-center.brw-home-view .bri-card > strong,
  #command-center.brw-home-view .brw-priority-card > strong,
  #command-center.brw-home-view .brw-priority-card > p,
  #command-center.brw-home-view .brw-priority-card > footer,
  #command-center.brw-home-view .brw-continue-grid > button span,
  #command-center.brw-home-view .brw-continue-grid > button strong,
  #command-center.brw-home-view .brw-home-main .brw-tools strong,
  #command-center.brw-home-view .brw-home-main .brw-tools small,
  #command-center.brw-home-view .brw-panel h3,
  #command-center.brw-home-view .brw-panel h4,
  #command-center.brw-home-view .brw-panel p,
  #command-center.brw-home-view .brw-panel strong,
  #command-center.brw-home-view .brw-panel small,
  #command-center.brw-home-view .brw-panel button{
    overflow-wrap:break-word!important;
    word-break:normal!important;
    white-space:normal!important;
    text-overflow:clip!important;
    hyphens:none!important;
  }

  #command-center.brw-home-view .brw-priority-card > strong,
  #command-center.brw-home-view .brw-home-main .brw-tools strong,
  #command-center.brw-home-view .bri-card-copy h4{
    line-height:1.22!important;
  }

  #command-center.brw-home-view .brw-priority-card > p,
  #command-center.brw-home-view .bri-card-copy p{
    line-height:1.48!important;
  }

  /* Evita que badges fijos queden montados sobre el home */
  .br-lts-version{
    right:18px!important;
    bottom:84px!important;
  }

  .ai-assistant-fab{
    right:18px!important;
    bottom:18px!important;
  }
}

@media (pointer: coarse) and (min-width: 930px) and (max-width: 1180px){
  #command-center.brw-home-view .brw-priority-grid,
  #command-center.brw-home-view .brw-continue-grid,
  #command-center.brw-home-view .brw-home-main .brw-tools > div{
    grid-template-columns:minmax(0,1fr)!important;
  }
}


/* ===== SOURCE: workspace-leaf-refine-8298.css ===== */
/* Workspace 8.29.8 · refinamiento fino de hoja orgánica superior */

:root{
  --ws-leaf-green-1:#b7e0b8;
  --ws-leaf-green-2:#7dc487;
  --ws-leaf-green-3:#5fa66a;
  --ws-leaf-stem:#6aa96e;
  --ws-leaf-glow:rgba(113,183,122,.18);
}

/* ===== Sidebar / esquina superior izquierda ===== */
.brand-branch{
  right:10px!important;
  bottom:8px!important;
  width:62px!important;
  height:56px!important;
  transform-origin:68% 100%!important;
}
.brand-branch::before{
  content:"";
  position:absolute;
  right:15px;
  bottom:6px;
  width:34px;
  height:18px;
  border-left:2px solid rgba(106,169,110,.38);
  border-bottom:2px solid rgba(106,169,110,.34);
  border-bottom-left-radius:18px;
  transform:rotate(18deg);
  opacity:.82;
}
.brand-branch::after{
  content:"";
  position:absolute;
  right:6px;
  bottom:14px;
  width:28px;
  height:28px;
  border-radius:50%;
  background:radial-gradient(circle, var(--ws-leaf-glow) 0%, rgba(113,183,122,0) 72%);
  filter:blur(1px);
  opacity:.8;
}
.brand-branch-stem{
  right:17px!important;
  bottom:4px!important;
  width:2px!important;
  height:34px!important;
  background:linear-gradient(180deg, rgba(191,233,193,.10), var(--ws-leaf-stem))!important;
  transform:rotate(18deg)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.04);
}
.brand-leaf{
  background:linear-gradient(145deg, var(--ws-leaf-green-1), var(--ws-leaf-green-2) 58%, var(--ws-leaf-green-3))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34), 0 6px 14px rgba(46,99,53,.16)!important;
}
.brand-leaf::after{
  content:"";
  position:absolute;
  left:46%;
  top:18%;
  width:1px;
  height:62%;
  background:rgba(255,255,255,.26);
  border-radius:999px;
  transform:rotate(24deg);
  transform-origin:50% 0;
}
.brand-leaf-a{
  right:12px!important;
  bottom:23px!important;
  width:17px!important;
  height:24px!important;
  transform:rotate(-2deg)!important;
}
.brand-leaf-b{
  right:29px!important;
  bottom:18px!important;
  width:14px!important;
  height:18px!important;
  transform:rotate(-52deg)!important;
  background:linear-gradient(145deg, #c1e7c1, #84c78c 56%, #669f6d)!important;
}

/* ===== Marca abstracta de la portada móvil, mismo lenguaje visual ===== */
#brFinalCover .br-cover-branch{
  right:11px!important;
  bottom:8px!important;
  width:64px!important;
  height:58px!important;
  transform-origin:68% 100%!important;
}
#brFinalCover .br-cover-branch::before{
  content:"";
  position:absolute;
  right:15px;
  bottom:6px;
  width:36px;
  height:18px;
  border-left:2px solid rgba(106,169,110,.38);
  border-bottom:2px solid rgba(106,169,110,.34);
  border-bottom-left-radius:18px;
  transform:rotate(18deg);
  opacity:.82;
}
#brFinalCover .br-cover-branch::after{
  content:"";
  position:absolute;
  right:6px;
  bottom:14px;
  width:28px;
  height:28px;
  border-radius:50%;
  background:radial-gradient(circle, var(--ws-leaf-glow) 0%, rgba(113,183,122,0) 72%);
  filter:blur(1px);
  opacity:.8;
}
#brFinalCover .br-cover-branch-stem{
  right:17px!important;
  bottom:4px!important;
  width:2px!important;
  height:35px!important;
  background:linear-gradient(180deg, rgba(191,233,193,.10), var(--ws-leaf-stem))!important;
  transform:rotate(18deg)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.04);
}
#brFinalCover .br-cover-leaf{
  background:linear-gradient(145deg, var(--ws-leaf-green-1), var(--ws-leaf-green-2) 58%, var(--ws-leaf-green-3))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34), 0 6px 14px rgba(46,99,53,.16)!important;
}
#brFinalCover .br-cover-leaf::after{
  content:"";
  position:absolute;
  left:46%;
  top:18%;
  width:1px;
  height:62%;
  background:rgba(255,255,255,.26);
  border-radius:999px;
  transform:rotate(24deg);
  transform-origin:50% 0;
}
#brFinalCover .br-cover-leaf-a{
  right:12px!important;
  bottom:23px!important;
  width:17px!important;
  height:24px!important;
  transform:rotate(-2deg)!important;
}
#brFinalCover .br-cover-leaf-b{
  right:29px!important;
  bottom:18px!important;
  width:14px!important;
  height:18px!important;
  transform:rotate(-52deg)!important;
  background:linear-gradient(145deg, #c1e7c1, #84c78c 56%, #669f6d)!important;
}

@media (prefers-reduced-motion:no-preference){
  .brand-branch,
  #brFinalCover .br-cover-branch{
    animation:wsLeafBreathRefine 18s cubic-bezier(.45,.05,.2,1) infinite!important;
  }
}

@keyframes wsLeafBreathRefine{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1);opacity:1}
  50%{transform:translate3d(-.5px,-1px,0) rotate(-2.2deg) scale(1.022);opacity:.98}
}


/* ===== SOURCE: ipad-home-reorder-8299.css ===== */
/* BR Workspace 8.29.9 · reorganización Inicio solo iPad */
@media (pointer: coarse) and (min-width: 930px) and (max-width: 1366px){
  .brw-home-layout.brw-ipad-custom-home{
    display:block!important;
  }

  .brw-home-layout.brw-ipad-custom-home .brw-home-main{
    display:block!important;
    min-width:0!important;
  }

  .brw-home-layout.brw-ipad-custom-home .brw-home-rail{
    display:none!important;
  }

  .brw-home-layout.brw-ipad-custom-home .brw-ipad-home-stack{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
    width:100%!important;
    min-width:0!important;
  }

  .brw-home-layout.brw-ipad-custom-home .brw-ipad-home-stack > *{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .brw-home-layout.brw-ipad-custom-home .brw-priority-grid,
  .brw-home-layout.brw-ipad-custom-home .brw-continue-grid,
  .brw-home-layout.brw-ipad-custom-home .bri-grid,
  .brw-home-layout.brw-ipad-custom-home .brw-tools > div{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (pointer: coarse) and (min-width: 930px) and (max-width: 1180px){
  .brw-home-layout.brw-ipad-custom-home .brw-priority-grid,
  .brw-home-layout.brw-ipad-custom-home .brw-continue-grid,
  .brw-home-layout.brw-ipad-custom-home .bri-grid,
  .brw-home-layout.brw-ipad-custom-home .brw-tools > div{
    grid-template-columns:minmax(0,1fr)!important;
  }
}


/* ===== SOURCE: workspace-multidevice-sync-8300.css ===== */
/* Workspace 8.30.0 · estado de sincronización multidispositivo */
.br-multidevice-sync{
  display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 11px;
  border:1px solid rgba(82,49,120,.13);border-radius:999px;background:rgba(255,255,255,.90);
  color:#523178;font:800 11px/1.1 Montserrat,system-ui,sans-serif;cursor:pointer;
  box-shadow:0 6px 18px rgba(46,27,67,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  white-space:nowrap;
}
.br-multidevice-sync:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(46,27,67,.10)}
.br-sync-dot{width:8px;height:8px;border-radius:50%;background:#8c4799;box-shadow:0 0 0 4px rgba(140,71,153,.10)}
.br-multidevice-sync[data-state="online"]{color:#287a50;border-color:rgba(40,122,80,.20)}
.br-multidevice-sync[data-state="online"] .br-sync-dot{background:#36a06a;box-shadow:0 0 0 4px rgba(54,160,106,.11)}
.br-multidevice-sync[data-state="syncing"]{color:#7a5b0f;border-color:rgba(249,181,44,.30)}
.br-multidevice-sync[data-state="syncing"] .br-sync-dot{background:#f9b52c;animation:brMultiSyncPulse 1.1s ease-in-out infinite}
.br-multidevice-sync[data-state="error"]{color:#aa2844;border-color:rgba(198,50,80,.24)}
.br-multidevice-sync[data-state="error"] .br-sync-dot{background:#d64360}
.br-multidevice-sync[data-state="local"]{color:#675a70}
@keyframes brMultiSyncPulse{50%{opacity:.48;transform:scale(.72)}}
@media(max-width:1100px){.br-multidevice-sync{padding:7px 9px}.br-sync-label{display:none}.br-multidevice-sync{width:36px;justify-content:center}}
@media(max-width:699px){.br-multidevice-sync{display:none}}
@media(prefers-reduced-motion:reduce){.br-multidevice-sync,.br-sync-dot{transition:none!important;animation:none!important}}

