.persona-project-trigger{display:flex;align-items:center;justify-content:space-between;gap:.375rem;min-width:0;width:100%;height:2rem;padding-inline:.625rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#fff;color:#334155;font-size:.75rem;font-weight:600}.persona-project-trigger:hover,.persona-project-trigger[aria-expanded=true]{background:#f8fafc;border-color:#cbd5e1}.persona-project-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.persona-project-trigger>svg,.persona-project-options svg{flex:none}@media(min-width:768px){.persona-project-trigger-compact{justify-content:center;width:2rem;padding-inline:0}.persona-project-trigger-compact>span{display:none}}.persona-project-options{position:fixed;inset:auto;margin:0;border:1px solid #e2e8f0;border-radius:.75rem;padding:.375rem;background:#fff;color:#1e293b;box-shadow:0 12px 30px #0f172a24;overflow:hidden}.persona-project-options:popover-open{display:flex;flex-direction:column}.persona-project-search{display:flex;flex:none;align-items:center;gap:.5rem;margin-bottom:.375rem;padding-inline:.5rem;border:1px solid #e2e8f0;border-radius:.5rem;color:#64748b}.persona-project-search:focus-within{border-color:#818cf8}.persona-project-search input{width:100%;min-width:0;min-height:2.125rem;background:transparent;outline:none;color:#0f172a;font-size:.8125rem}.persona-project-options ul{overflow-y:auto;overscroll-behavior:contain}.persona-project-options li button{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;min-height:2.125rem;padding:.375rem .5rem;border-radius:.375rem;font-size:.8125rem;text-align:start}.persona-project-options li button:hover{background:#f8fafc}.persona-project-options li button[aria-current=true]{background:#eef2ff;color:#4338ca;font-weight:600}.persona-project-empty{padding:.5rem;color:#64748b;font-size:.8125rem}
.persona-customer-workspace {
  height: 100dvh;
}

@media (min-width: 768px) {
  .persona-customer-split {
    display: flex;
    flex-direction: row;
  }

  .persona-customer-split > .persona-customer-list {
    display: flex;
    flex: 0 0 clamp(14rem, 30%, 21.25rem);
    min-width: 0;
  }

  .persona-customer-split > .persona-customer-details {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .persona-customer-workspace {
    height: calc(100dvh - 63px);
  }

  div:has(> .persona-mobile-appbar):has(> main > .persona-customer-workspace) {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .persona-mobile-appbar ~ main:has(> .persona-customer-workspace) {
    min-height: 0;
    overflow: hidden;
  }

  .persona-mobile-appbar ~ main > .persona-customer-workspace {
    height: 100%;
  }
}

.persona-customer-toolbar {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  row-gap: .5rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: white;
}

.persona-customer-toolbar-controls,
.persona-customer-toolbar-actions,
.persona-customer-view-toggle {
  display: flex;
  align-items: center;
  gap: .375rem;
  min-width: 0;
}

.persona-customer-view-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.persona-customer-toolbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  height: 2.25rem;
  padding-inline: .75rem;
  border: 1px solid #e2e8f0;
  border-radius: .5rem;
  background: white;
  color: #334155;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

.persona-customer-toolbar svg,
.persona-customer-card-actions svg {
  flex: none;
}

.persona-customer-toolbar button:hover,
.persona-customer-toolbar button[aria-pressed="true"] {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
}

.persona-customer-toolbar .persona-new-customer {
  border-color: #4f46e5;
  background: #4f46e5;
  color: white;
}

.persona-customer-toolbar .persona-new-customer:hover {
  background: #4338ca;
}

.persona-customer-toolbar button:disabled {
  opacity: .55;
}

.persona-customer-card-actions {
  display: flex;
  flex: none;
  gap: .375rem;
}

.persona-customer-card-actions button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
}

@media (max-width: 767px) {
  .persona-customer-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }
}

@media (max-width: 639px) {
  .persona-customer-toolbar-controls {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .persona-customer-toolbar button {
    gap: .25rem;
    padding-inline: .5rem;
  }
}
.persona-mobile-drawer-backdrop, .persona-mobile-drawer-heading, .persona-mobile-nav-label { display: none; }
@media (max-width: 767px) {
  .persona-drawer-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .persona-mobile-appbar { padding-block-start: max(.75rem, env(safe-area-inset-top)); }
  .persona-mobile-drawer {
    z-index: 80; height: 100dvh; width: min(19rem, calc(100vw - 2rem)); gap: .5rem;
    padding: max(.85rem, env(safe-area-inset-top)) 1rem max(.75rem, env(safe-area-inset-bottom));
    visibility: hidden; transform: translateX(100%);
    transition: transform .24s ease, visibility 0s linear .24s;
  }
  .persona-mobile-drawer[data-open="true"] { z-index: 80; visibility: visible; transform: none; transition-delay: 0s; }
  .persona-mobile-drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 79; background: #0f172a75; }
  .persona-mobile-drawer-heading {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    border-bottom: 1px solid #e2e8f0; padding-bottom: .75rem; flex: none;
  }
  .persona-mobile-drawer-heading button {
    display: grid; place-items: center; width: 44px; height: 44px; flex: none;
    border: 1px solid #e2e8f0; border-radius: .65rem; color: #475569; background: white;
  }
  .persona-mobile-drawer-heading span { font-size: .85rem; font-weight: 700; }
  .persona-mobile-drawer .persona-desktop-only { display: none; }
  .persona-mobile-drawer nav button { min-height: 44px; justify-content: flex-start; gap: .75rem; }
  .persona-mobile-drawer .persona-mobile-nav-label { display: inline; }
  body:has(.persona-mobile-drawer[data-open="true"]) { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .persona-mobile-drawer { transition: none; }
}
