.ask-launcher {
  position: fixed; right: 28px; bottom: 28px; z-index: 320;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal);
  color: var(--white);
  border: none; border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(46,48,51,0.22);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ask-launcher svg { width: 23px; height: 23px; }
.ask-launcher:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(46,48,51,0.28);
}
.ask-launcher.is-open { background: var(--accent-dark); }

.ask-panel {
  position: fixed; right: 28px; bottom: 92px; z-index: 320;
  width: 380px; max-height: min(600px, calc(100vh - 140px));
  display: flex; flex-direction: column;
  background: var(--cream);
  border: 0.5px solid var(--border-strong);
  box-shadow: 0 18px 44px rgba(46,48,51,0.18);
}
.ask-panel[hidden] { display: none; }

.ask-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 22px 22px 18px;
  border-bottom: 0.5px solid var(--border);
  flex-shrink: 0;
}
.ask-eyebrow {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 6px;
}
.ask-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; line-height: 1.1;
  color: var(--charcoal);
}
.ask-close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--muted);
  padding: 0 0 0 12px;
  transition: color 0.2s;
}
.ask-close:hover { color: var(--charcoal); }

.ask-thread {
  flex: 1; overflow-y: auto;
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 12px;
}

.ask-intro p {
  font-size: 12px; line-height: 1.85; color: var(--muted);
  margin-bottom: 18px;
}
.ask-suggestions { display: flex; flex-direction: column; gap: 6px; }
.ask-suggestions button {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; text-align: left;
  color: var(--mid); background: none; cursor: pointer;
  border: 0.5px solid var(--border);
  padding: 9px 12px;
  transition: border-color 0.2s, color 0.2s;
}
.ask-suggestions button:hover { border-color: var(--accent-dark); color: var(--charcoal); }

.ask-msg {
  font-size: 12.5px; line-height: 1.75;
  padding: 11px 14px;
  max-width: 88%;
}
.ask-msg-you {
  align-self: flex-end;
  background: var(--charcoal); color: var(--white);
}
.ask-msg-studio {
  align-self: flex-start;
  background: var(--panel); color: var(--mid);
  border: 0.5px solid var(--border);
}
.ask-pending { color: var(--muted); font-style: italic; }

.ask-links { display: flex; flex-direction: column; margin-top: -4px; }
.ask-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; color: var(--charcoal);
  text-decoration: none;
  padding: 10px 0;
  border-top: 0.5px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: color 0.2s;
}
.ask-links a::after { content: '→'; font-size: 12px; color: var(--accent-dark); flex-shrink: 0; }
.ask-links a:hover { color: var(--accent-dark); }

.ask-form {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px 16px;
  border-top: 0.5px solid var(--border);
  flex-shrink: 0;
}
.ask-input {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; color: var(--charcoal);
  background: transparent; border: none; outline: none;
  padding: 6px 0; letter-spacing: 0.02em;
}
.ask-input::placeholder { color: rgba(46,48,51,0.35); }
.ask-send {
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: var(--accent-dark);
  padding: 4px 2px;
  transition: transform 0.2s;
}
.ask-send:hover { transform: translateX(3px); }

@media (max-width: 560px) {
  .ask-launcher { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .ask-panel {
    right: 12px; left: 12px; bottom: 76px;
    width: auto; max-height: calc(100vh - 110px);
  }
  .ask-head { padding: 18px 18px 14px; }
  .ask-thread { padding: 16px 18px; }
  .ask-form { padding: 12px 18px 14px; }
}

.ask-mode {
  padding: 0 22px 10px;
  font-size: 10px; line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--muted);
  flex-shrink: 0;
}
.ask-mode[hidden] { display: none; }
