/* A8 V53096 - Owner AI panel resize only */
.a8-owner-resizable-panel{
  width:var(--a8-owner-panel-width,66vw)!important;
  max-width:82vw!important;
  min-width:340px!important;
  height:min(88vh,920px)!important;
  max-height:calc(100vh - 90px)!important;
  right:8px!important;
  top:auto!important;
  bottom:12px!important;
  overflow:auto!important;
  resize:none!important;
  box-sizing:border-box!important;
}

.a8-owner-resize-toolbar{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  margin:-1px -1px 10px -1px;
  background:rgba(27,15,43,.98);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
}

.a8-owner-resize-title{
  font-size:12px;
  color:#cdb9e7;
  white-space:nowrap;
}

.a8-owner-resize-presets{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.a8-owner-resize-presets button{
  min-width:48px;
  height:34px;
  border:1px solid #59406f;
  border-radius:9px;
  background:#211431;
  color:#f5effb;
  cursor:pointer;
  font-size:13px;
}

.a8-owner-resize-presets button:hover,
.a8-owner-resize-presets button.active{
  background:#6d3be8;
  border-color:#8e6ef0;
}

.a8-owner-resize-handle{
  position:absolute;
  left:-7px;
  top:0;
  bottom:0;
  width:14px;
  cursor:ew-resize;
  z-index:120;
  touch-action:none;
}

.a8-owner-resize-handle::after{
  content:'';
  position:absolute;
  left:6px;
  top:18%;
  bottom:18%;
  width:2px;
  border-radius:999px;
  background:rgba(190,160,255,.35);
}

.a8-owner-resizing,
.a8-owner-resizing *{
  user-select:none!important;
  cursor:ew-resize!important;
}

@media(max-width:900px){
  .a8-owner-resizable-panel{
    width:min(92vw,760px)!important;
    max-width:92vw!important;
    min-width:0!important;
    right:4vw!important;
    left:auto!important;
    height:84vh!important;
  }
  .a8-owner-resize-presets button{min-width:44px}
}

@media(max-width:560px){
  .a8-owner-resizable-panel{
    width:96vw!important;
    max-width:96vw!important;
    right:2vw!important;
    height:82vh!important;
  }
  .a8-owner-resize-title{display:none}
}
