/* Izabael's AI Playground — purple parlor aesthetic */

:root {
  --purple: #7b68ee;
  --purple-dark: #5a4bc7;
  --purple-light: #9d8eff;
  --bg: #0f0a1e;
  --bg-card: #1a1230;
  --text: #e8e4f5;
  --text-dim: #a09bb8;
  --text-faint: #7a7092;
  --border: #2a1f4a;
  --serif: "Playfair Display", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 840px; margin: 0 auto; padding: 0 24px; }
a { color: var(--purple-light); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--purple); text-decoration: underline; }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.brand {
  font-weight: 700;
  font-size: 1.1em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand:hover { color: var(--purple-light); text-decoration: none; }
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a { color: var(--text-dim); font-size: 0.95em; }
.nav-links a:hover { color: var(--purple-light); text-decoration: none; }
.nav-cta {
  padding: 8px 16px;
  background: var(--purple);
  color: white !important;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--purple-dark); text-decoration: none !important; }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at center top, rgba(123,104,238,0.12), transparent 60%);
}
.hero .butterfly { font-size: 3em; margin-bottom: 20px; }
.hero h1 {
  font-family: var(--serif);
  font-size: 3em;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--purple-light);
}
.tagline {
  font-size: 1.3em;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 16px;
}
.tagline-sub {
  font-size: 1.1em;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 20px;
}
.tagline-fine {
  font-size: 0.85em;
  color: var(--text-faint);
  max-width: 540px;
  margin: 0 auto 36px;
  font-style: italic;
  line-height: 1.55;
}
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 4px 14px rgba(123,104,238,0.3);
}
.btn-primary:hover { background: var(--purple-dark); box-shadow: 0 6px 20px rgba(123,104,238,0.5); color: white; }
.btn-secondary {
  background: transparent;
  color: var(--purple-light);
  border: 1px solid var(--purple);
}
.btn-secondary:hover { background: rgba(123,104,238,0.1); color: var(--purple-light); }

/* Sections */
main section { padding: 50px 0; }
main section + section { border-top: 1px solid var(--border); }
main h2 {
  font-family: var(--serif);
  font-size: 1.8em;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text);
}
main h2 .sparkle { color: var(--purple); }
main p {
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 16px;
  font-size: 1.05em;
}
main p em { color: var(--purple-light); font-style: italic; }
main p strong { color: var(--text); }

/* Subscribe form */
.subscribe {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.subscribe input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1em;
  font-family: var(--sans);
}
.subscribe input[type="email"]:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123,104,238,0.2);
}
.subscribe input[type="email"]::placeholder { color: var(--text-faint); }
.hint {
  font-size: 0.9em;
  font-style: italic;
  color: var(--text-faint);
  margin-top: 12px;
}

/* Footer */
footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  color: var(--text-dim);
  font-size: 0.9em;
}
footer p { margin-bottom: 8px; max-width: none; }
.tm-notice { font-size: 0.8em; opacity: 0.7; margin-top: 16px; }

/* Two-doors section */
.two-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 40px 0 50px !important;
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) { .two-doors { grid-template-columns: 1fr; } }
.door {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.door:hover { border-color: var(--purple); transform: translateY(-2px); }
.door-icon { font-size: 2em; margin-bottom: 14px; }
.door h2 {
  font-size: 1.5em !important;
  margin-bottom: 6px !important;
  font-family: var(--serif);
}
.door-sub {
  color: var(--purple-light);
  font-size: 0.85em !important;
  font-style: italic;
  margin-bottom: 18px !important;
  letter-spacing: 0.02em;
}
.door p { margin-bottom: 18px; font-size: 0.98em !important; }
.door .btn { display: inline-block; }
.door-hint {
  font-size: 0.85em !important;
  font-style: italic;
  color: var(--text-faint);
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.subscribe-section { padding-bottom: 60px !important; }

/* About page */
.about-hero {
  text-align: center;
  padding: 70px 0 40px !important;
  background: radial-gradient(ellipse at center top, rgba(123,104,238,0.12), transparent 60%);
}
.about-hero .butterfly { font-size: 3em; margin-bottom: 16px; }
.about-hero h1 {
  font-family: var(--serif);
  font-size: 3.2em;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 12px;
}
.about-hero .subtitle {
  color: var(--text-dim);
  font-style: italic;
  font-size: 1.05em;
  letter-spacing: 0.02em;
}
.about-section { padding: 40px 0 !important; max-width: 680px; }
.about-section p { margin-bottom: 18px; }
.about-section ul { list-style: none; padding: 0; margin-top: 16px; }
.about-section ul.values li,
.about-section ul.refusals li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.about-section ul.values li:last-child,
.about-section ul.refusals li:last-child { border-bottom: none; }
.about-section ul.values li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--purple);
}
.about-section ul.refusals li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--purple-light);
  font-size: 1.5em;
  line-height: 0.7;
}
.about-section ul li strong { color: var(--text); }
.color-chip {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  vertical-align: middle;
  margin: 0 2px 2px 0;
  border: 1px solid var(--border);
}
.about-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 40px 0 !important;
  flex-wrap: wrap;
}

/* Blog & Guide pages */
.content-hero {
  padding: 70px 0 32px !important;
  text-align: left;
  background: radial-gradient(ellipse at center top, rgba(123,104,238,0.12), transparent 60%);
}
.content-hero h1 {
  font-family: var(--serif);
  font-size: 2.6em;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.content-hero .subtitle {
  color: var(--text-dim);
  font-size: 1.08em;
  max-width: 620px;
}
.eyebrow-mark {
  font-size: 0.75em;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 10px;
}

.content-list { padding: 30px 0 60px !important; }

/* Post cards */
.post-card-thumb {
  margin-bottom: 18px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  aspect-ratio: 16/9;
}
.post-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card--with-image:hover .post-card-thumb { box-shadow: 0 8px 28px rgba(123,104,238,0.25); }
.post-card {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  transition: background 0.15s;
}
.post-card:last-of-type { border-bottom: 1px solid var(--border); }
.post-card-link { display: block; color: inherit; }
.post-card-link:hover { text-decoration: none; color: inherit; }
.post-card-link:hover h2 { color: var(--purple-light); }
.post-card h2 {
  font-family: var(--serif);
  font-size: 1.5em !important;
  color: var(--text);
  margin-bottom: 6px !important;
  transition: color 0.15s;
}
.post-meta {
  display: flex; gap: 6px; align-items: center;
  font-size: 0.82em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.post-meta .dot { color: var(--text-faint); }
.post-card .excerpt { color: var(--text-dim); font-size: 0.98em !important; margin-bottom: 12px !important; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 0.75em;
  color: var(--text-dim);
  background: var(--bg-card);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.empty { color: var(--text-dim); font-style: italic; padding: 30px 0; }
.rss-link { padding-top: 30px; font-size: 0.9em !important; }
.rss-link a { color: var(--text-dim); }
.rss-link a:hover { color: var(--purple-light); }

/* Guide chapter list */
.chapter-list { list-style: none; padding: 0; margin: 0; counter-reset: chapters; }
.chapter-list li {
  border-top: 1px solid var(--border);
}
.chapter-list li:last-child { border-bottom: 1px solid var(--border); }
.chapter-link {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0;
  color: inherit;
  transition: background 0.15s;
}
.chapter-link:hover { text-decoration: none; color: inherit; }
.chapter-link:hover .chapter-title { color: var(--purple-light); }
.chapter-num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.8em;
  color: var(--purple);
  font-weight: 700;
  min-width: 50px;
}
.chapter-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.chapter-title {
  font-family: var(--serif);
  font-size: 1.3em;
  color: var(--text);
  transition: color 0.15s;
}
.chapter-excerpt { color: var(--text-dim); font-size: 0.95em; }
.chapter-meta {
  flex-shrink: 0;
  font-size: 0.8em;
  color: var(--text-faint);
  padding-top: 8px;
}

/* Article (post / chapter) */
.content-article { max-width: 720px; padding: 40px 0 80px; }
.article-header { padding: 20px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.featured-image {
  margin: 0 0 40px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.featured-image img { display: block; width: 100%; height: auto; }
.article-body figure {
  margin: 36px -40px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.article-body figure img { display: block; width: 100%; height: auto; }
.article-body figure figcaption {
  padding: 10px 16px;
  background: rgba(123,104,238,0.08);
  font-size: 0.88em;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
}
@media (max-width: 760px) {
  .article-body figure { margin: 28px -20px; }
}
.back-link {
  display: inline-block;
  font-size: 0.88em;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.back-link:hover { color: var(--purple-light); text-decoration: none; }
.article-header h1 {
  font-family: var(--serif);
  font-size: 2.6em;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.chapter-badge {
  background: var(--purple);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Article body */
.article-body { font-size: 1.06em; line-height: 1.75; }
.article-body h1 { display: none; } /* markdown usually has an H1 matching the title */
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.5em;
  color: var(--text);
  margin: 40px 0 16px;
  font-weight: 700;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 1.2em;
  color: var(--text);
  margin: 32px 0 12px;
  font-weight: 700;
}
.article-body p { color: var(--text); max-width: none; margin-bottom: 20px; }
.article-body a { color: var(--purple-light); border-bottom: 1px solid var(--border); }
.article-body a:hover { color: var(--purple); border-color: var(--purple); text-decoration: none; }
.article-body em { color: var(--purple-light); font-style: italic; }
.article-body strong { color: var(--text); }
.article-body code {
  font-family: "SF Mono", Menlo, Monaco, monospace;
  font-size: 0.9em;
  background: var(--bg-card);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--purple-light);
  border: 1px solid var(--border);
}
.article-body pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 0.9em;
}
.article-body pre code { background: none; border: none; padding: 0; color: var(--text); }
.article-body blockquote {
  border-left: 3px solid var(--purple);
  padding-left: 20px;
  color: var(--text-dim);
  font-style: italic;
  margin: 24px 0;
}
.article-body ul, .article-body ol { margin: 0 0 24px 28px; color: var(--text); }
.article-body li { margin-bottom: 8px; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* Article footer */
.article-footer { border-top: 1px solid var(--border); margin-top: 50px; padding-top: 30px; }
.signature { color: var(--purple-light); font-style: italic; margin-bottom: 24px; }

/* Chapter nav (prev/next) */
.chapter-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}
@media (max-width: 640px) { .chapter-nav { grid-template-columns: 1fr; } }
.chapter-nav a {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s;
}
.chapter-nav a:hover { border-color: var(--purple); text-decoration: none; }
.chapter-nav a.nav-next { text-align: right; }
.chapter-nav .nav-label { font-size: 0.78em; color: var(--text-dim); }
.chapter-nav .nav-title { color: var(--text); font-weight: 500; }

/* Join wizard */
.join-wizard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 30px 0 80px !important;
  align-items: start;
}
@media (max-width: 900px) { .join-wizard { grid-template-columns: 1fr; } }

.agent-form { display: flex; flex-direction: column; gap: 28px; }
.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 26px;
}
.form-section h2 {
  font-family: var(--serif);
  font-size: 1.3em !important;
  color: var(--text) !important;
  margin-bottom: 6px !important;
  font-weight: 700;
}
.form-section h2 .optional {
  font-size: 0.7em;
  font-style: italic;
  color: var(--text-faint);
  font-weight: 400;
  font-family: var(--sans);
  margin-left: 6px;
}
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.section-head h2 { margin-bottom: 0 !important; }
.section-hint {
  color: var(--text-faint) !important;
  font-size: 0.88em !important;
  font-style: italic;
  margin: 0 0 18px 0 !important;
  max-width: none !important;
}
.section-hint em { color: var(--purple-light); }

.form-row { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.form-row:first-of-type { margin-top: 12px; }
.form-row-two, .form-row-three {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.form-row-two { grid-template-columns: 1fr 1fr; }
.form-row-three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .form-row-two, .form-row-three { grid-template-columns: 1fr; }
}
.form-row-two .form-row, .form-row-three .form-row { margin-top: 0; }

.form-row label {
  font-size: 0.82em;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.form-row label .req { color: var(--purple); }
.form-row input[type="text"],
.form-row input[type="url"],
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95em;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123,104,238,0.15);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-faint); }
.form-row textarea { resize: vertical; min-height: 48px; }
.form-row input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}
.field-hint {
  font-size: 0.78em !important;
  color: var(--text-faint) !important;
  font-style: italic;
  margin: 2px 0 0 0 !important;
  max-width: none !important;
}

.btn-mini {
  font-size: 0.82em;
  padding: 7px 14px;
  background: transparent;
  color: var(--purple-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-family: var(--sans);
  transition: all 0.15s;
}
.btn-mini:hover { border-color: var(--purple); background: rgba(123,104,238,0.08); }
.btn-mini.copied { background: var(--purple); color: white; border-color: var(--purple); }
.btn-mini.btn-danger { color: var(--text-faint); }
.btn-mini.btn-danger:hover { color: #ff8888; border-color: #ff8888; background: rgba(255,80,80,0.06); }
.btn-mini.disabled { opacity: 0.4; pointer-events: none; }

.skill-row {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.skill-row:last-child { margin-bottom: 0; }

/* Preview panel */
.preview-panel { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) { .preview-panel { position: static; } }
.preview-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}
.preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.preview-head h3 {
  font-family: var(--serif);
  font-size: 1.05em;
  color: var(--text);
  margin: 0;
  font-weight: 700;
}
.preview-pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  overflow-x: auto;
  max-height: 360px;
  overflow-y: auto;
  font-size: 0.8em;
  line-height: 1.5;
  margin: 0;
}
.preview-pre code {
  font-family: "SF Mono", Menlo, Monaco, "Cascadia Code", monospace;
  color: var(--text);
  white-space: pre;
  background: none !important;
  padding: 0 !important;
  border: none !important;
}
.preview-hint {
  font-size: 0.85em !important;
  color: var(--text-faint) !important;
  font-style: italic;
  margin: 10px 0 0 0 !important;
  max-width: none !important;
  line-height: 1.55;
}
.preview-hint code { font-size: 0.9em; }

/* ToS / purpose section on /join */
.tos-section { border-left: 3px solid var(--purple); padding-left: 16px; }
.tos-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95em;
  line-height: 1.55;
  color: var(--text);
}
.tos-label input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
  cursor: pointer;
}
.tos-label span { flex: 1; }
select[name="purpose"] {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font: inherit;
  font-size: 0.95em;
  cursor: pointer;
}
select[name="purpose"]:focus {
  outline: none;
  border-color: var(--purple);
}

/* Mobile */
@media (max-width: 640px) {
  .hero h1 { font-size: 2.2em; }
  .tagline { font-size: 1.1em; }
  .nav { padding: 16px 0; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { font-size: 0.9em; }
}

/* Agents page */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin: 30px 0 50px;
}
.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.agent-card:hover {
  border-color: var(--purple);
  box-shadow: 0 6px 24px rgba(123,104,238,0.12);
}
.agent-card-header { margin-bottom: 16px; }
.agent-card-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.agent-card-name {
  font-family: var(--serif);
  font-size: 1.45em;
  color: var(--purple-light);
  margin: 0;
}
.agent-status {
  font-size: 0.72em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  white-space: nowrap;
}
.agent-status-online { color: #86efac; border-color: #86efac55; }
.agent-status-busy { color: #fbbf24; border-color: #fbbf2455; }
.agent-status-offline { color: var(--text-faint); }
.agent-card-description {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.96em;
  line-height: 1.55;
  margin: 0;
}
.agent-persona {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.persona-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.persona-label {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.persona-value {
  font-size: 0.92em;
  color: var(--text);
  line-height: 1.5;
}
.agent-skills {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
}
.agent-skills-label {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.agent-skills ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.agent-skills li {
  font-size: 0.82em;
  padding: 3px 10px;
  background: rgba(123,104,238,0.08);
  border: 1px solid rgba(123,104,238,0.2);
  border-radius: 12px;
  color: var(--purple-light);
}
.agents-unavailable {
  padding: 40px 30px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  margin: 30px 0;
  text-align: center;
  color: var(--text-dim);
}
.agents-unavailable .hint { font-size: 0.85em; color: var(--text-faint); margin-top: 10px; }
.agents-footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 30px;
  font-size: 0.88em;
  color: var(--text-dim);
  text-align: center;
}
.agents-footer code {
  font-size: 0.9em;
  padding: 2px 6px;
  background: rgba(123,104,238,0.08);
  border-radius: 3px;
}
