/* phase7-starters.css — owner UX round (new chat / top bar / starters / panels). */

/* Anchored near composer bottom on fresh chat (above open keyboard, 428×~500px visible area) */
#transcript:has(.emptybox) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#feed:has(.emptybox) {
  width: 100%;
  margin-top: auto;
}

.empty.emptybox {
  margin-top: auto;
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Two chips at the top: folder and model */
.empty-top-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
}

.empty-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line2, rgba(255, 255, 255, 0.12));
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background .15s ease, border-color .15s ease;
}

.empty-chip:active {
  background: var(--surface2);
  border-color: var(--accent);
}

.empty-chip-icon {
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.empty-chip-text {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Starters wrapping row, ≥40px tall buttons */
.starter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  width: 100%;
}

.starter-triggers {
  display: contents;
}

.starter button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}

.starter button:active {
  border-color: var(--accent);
  background: var(--surface2);
}

.starter button.starter-btn-continue {
  border-color: var(--accent, #6366f1);
  color: var(--accent, #6366f1);
  font-weight: 600;
}
