/* Live project drawer: existing project controls, no duplicated fixture UI. */
body.wiserobin-dashboard.project-drawer-open { overflow:hidden; }
body.wiserobin-dashboard .client-project-drawer {
  position:fixed; inset:64px 0 0 auto; margin:0; width:min(1200px,72vw);
  max-width:100vw; height:calc(100dvh - 64px); max-height:calc(100dvh - 64px);
  border:0; border-radius:0; padding:24px 28px; color:var(--product-ink);
  background:var(--product-bg); box-shadow:-12px 0 48px #173d3214;
  overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain;
}
body.wiserobin-dashboard .client-project-drawer:not([open]) { display:none; }
body.wiserobin-dashboard .client-project-drawer[open] { display:block; animation:client-drawer-enter 240ms ease-out both; }
.client-project-drawer::backdrop { background:#173d321a; backdrop-filter:blur(3px); clip-path:inset(64px 0 0); }
@keyframes client-drawer-enter { from { transform:translateX(36px); opacity:0; } to { transform:translateX(0); opacity:1; } }
body.wiserobin-dashboard .project-drawer-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:8px; }
body.wiserobin-dashboard .project-drawer-heading .project-back { margin:0; }
body.wiserobin-dashboard .project-drawer-close { border:0; background:transparent; color:var(--product-accent); width:40px; min-height:40px; padding:0; border-radius:5px; font:28px/1 Inter,sans-serif; }
body.wiserobin-dashboard .project-drawer-close:hover { background:var(--product-accent-soft); }
body.wiserobin-dashboard #projectDetailTitle:focus { outline:none; }
body.wiserobin-dashboard .client-project-drawer .project-section-nav.card { top:-24px; z-index:25; padding:8px 0 0; }
body.wiserobin-dashboard .client-project-drawer .communication-columns { grid-template-columns:minmax(0,1fr); }
body.wiserobin-dashboard .client-project-drawer .project-material-options { grid-template-columns:minmax(0,1fr); }
body.wiserobin-dashboard .client-project-drawer .project-pod-selector .pod-catalog { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.wiserobin-dashboard .project-drawer-status:empty { display:none; }
body.wiserobin-dashboard .project-drawer-status:not(:empty) { position:sticky; bottom:0; z-index:30; margin:16px 0 0; padding:12px 16px; border-radius:6px; background:var(--product-card); color:var(--product-accent); font-size:14px; }
body.wiserobin-dashboard .project-drawer-status.error { color:var(--product-danger); background:var(--product-danger-soft); }
@media(max-width:1000px) {
  body.wiserobin-dashboard .client-project-drawer { width:86vw; }
}
@media(max-width:620px) {
  .client-project-drawer::backdrop { clip-path:inset(0); }
  body.wiserobin-dashboard .client-project-drawer { inset:0; width:100vw; height:100dvh; max-height:100dvh; padding:16px; }
  body.wiserobin-dashboard .client-project-drawer .project-section-nav.card { top:-16px; }
  body.wiserobin-dashboard .client-project-drawer .project-pod-selector .pod-catalog { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) {
  body.wiserobin-dashboard .client-project-drawer[open] { animation:client-drawer-fade 120ms ease-out both; }
  .client-project-drawer::backdrop { backdrop-filter:none; }
}
@keyframes client-drawer-fade { from { opacity:0; } to { opacity:1; } }
