.concierge-dock {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--surface, #ffffff);
  color: var(--ink, #111111);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  z-index: 1500;
  display: none;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
}
.concierge-dock.open { display: flex; }
.concierge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  gap: 8px;
}
.concierge-title-wrap { display: flex; flex-direction: column; gap: 2px; }
.concierge-title-wrap b { font-size: 1rem; }
.concierge-sub { font-size: 0.75rem; opacity: 0.65; }
.concierge-head-actions { display: flex; gap: 6px; }
.concierge-thread {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.concierge-bubble { border-radius: 12px; padding: 10px 12px; max-width: 94%; line-height: 1.4; }
.concierge-bubble.user { align-self: flex-end; background: rgba(0, 0, 0, 0.08); cursor: pointer; }
.concierge-bubble.assistant { align-self: flex-start; background: rgba(0, 0, 0, 0.04); cursor: pointer; }
.concierge-bubble p { margin: 0; }
.concierge-opened { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.concierge-pill {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}
.concierge-pill:hover { background: rgba(0, 0, 0, 0.06); }
.concierge-composer {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.concierge-composer.collapsed > textarea,
.concierge-composer.collapsed > button { display: none; }
.concierge-composer textarea { flex: 1; resize: none; min-height: 38px; }
.concierge-proposal {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.02);
}
.concierge-proposal-summary { margin: 0; font-weight: 600; }
.concierge-proposal-changes { margin: 0; padding-left: 18px; font-size: 0.85rem; }
.concierge-example-list { font-size: 0.9rem; opacity: 0.85; }

/* mobile: full screen sheet, isolated scroll */
@media (max-width: 767px) {
  .concierge-dock {
    inset: 0;
    width: 100vw;
    border-left: none;
    border-top: none;
    border-radius: 0;
  }
  .concierge-head { padding-top: max(12px, env(safe-area-inset-top)); }
  .concierge-thread { padding-bottom: 8px; }
}

.concierge-thread-page { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; }

/* keyboard hint on launcher */
.concierge-launcher .kbd { margin-left: 6px; font-size: 0.7rem; opacity: 0.9; }