/* NEO MARKET V12.8.35 — persistent global AI + saved designs + vision polish */

/* ChatGPT-like composer: writing area is contained, + / mic / send sit on the bottom edge. */
.neo-ai-shell.neo-ai-v12829-live .neo-ai-composer{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 44px 44px!important;
  align-items:end!important;
  gap:9px!important;
  padding:11px 12px!important;
  min-height:96px!important;
}
.neo-ai-shell.neo-ai-v12829-live #neoAIFileInput{display:none!important}
.neo-ai-shell.neo-ai-v12829-live #neoAIAttachButton{grid-column:1!important;align-self:end!important;margin:0!important;transform:none!important}
.neo-ai-shell.neo-ai-v12829-live #neoAIInput{grid-column:2!important;align-self:stretch!important;width:100%!important;min-width:0!important;min-height:74px!important;max-height:230px!important;margin:0!important;padding:9px 6px!important;resize:none!important;box-sizing:border-box!important;overflow:auto!important}
.neo-ai-shell.neo-ai-v12829-live #neoAIMicButton{grid-column:3!important;align-self:end!important;margin:0!important;transform:none!important}
.neo-ai-shell.neo-ai-v12829-live #neoAISendButton{grid-column:4!important;align-self:end!important;margin:0!important;transform:none!important}
.neo-ai-shell.neo-ai-v12829-live .neo-ai-round,.neo-ai-shell.neo-ai-v12829-live .neo-ai-send{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;max-width:42px!important;max-height:42px!important}

/* Keep New Era Intelligence down in the sidebar footer instead of repeating it at the top. */
.neo-ai-shell.neo-ai-v12829-live .neo-ai-v12829-brand small{display:none!important}
.neo-ai-shell.neo-ai-v12829-live .neo-ai-v12829-side-foot{margin-top:auto!important}
.neo-ai-shell.neo-ai-v12829-live .neo-ai-v12829-side-foot strong{font-weight:900!important}

/* Attachment / image understanding status. */
.neo-v12835-vision-badge{margin-left:auto;display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:color-mix(in srgb,var(--neo-v12829-accent) 18%,transparent);border:1px solid color-mix(in srgb,var(--neo-v12829-accent) 38%,transparent);font-size:.68rem;font-weight:850;white-space:nowrap}

/* CEO Appearance Studio: stable library tabs + recovery history. */
.neo-v12835-studio-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px;padding:6px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.045)}
.neo-v12835-studio-tabs button{min-height:40px;padding:0 15px;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;font-weight:850;cursor:pointer;transform:none!important;transition:none!important}
.neo-v12835-studio-tabs button.active{background:rgba(55,216,255,.13);border-color:rgba(55,216,255,.28);box-shadow:inset 0 -2px 0 #37d8ff}
.neo-v12835-saved-panel{padding:4px 0 18px}
.neo-v12835-saved-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.neo-v12835-saved-head h3{margin:3px 0 5px}.neo-v12835-saved-head p{margin:0;opacity:.76;max-width:760px}
.neo-v12835-live-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;margin-bottom:14px;border:1px solid rgba(55,216,255,.24);border-radius:16px;background:linear-gradient(135deg,rgba(55,216,255,.10),rgba(255,255,255,.04))}.neo-v12835-live-card span,.neo-v12835-live-card strong{display:block}.neo-v12835-live-card span{font-size:.65rem;letter-spacing:.13em;font-weight:900;color:#5ee7ff}.neo-v12835-live-card strong{margin-top:3px;font-size:1.05rem}.neo-v12835-live-card button{min-height:38px;padding:0 13px;border-radius:11px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:inherit;font-weight:800}
.neo-v12835-saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.neo-v12835-saved-card{display:grid;grid-template-columns:62px minmax(0,1fr);gap:12px;padding:13px;border:1px solid rgba(255,255,255,.09);border-radius:17px;background:rgba(255,255,255,.045)}.neo-v12835-saved-swatch{width:62px;height:62px;border-radius:15px;background:linear-gradient(145deg,var(--a),var(--s) 48%,var(--b));box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 10px 24px rgba(0,0,0,.18)}.neo-v12835-saved-copy span,.neo-v12835-saved-copy strong,.neo-v12835-saved-copy small{display:block}.neo-v12835-saved-copy span{font-size:.63rem;letter-spacing:.11em;font-weight:900;opacity:.7}.neo-v12835-saved-copy strong{margin:4px 0;font-size:.98rem}.neo-v12835-saved-copy small{opacity:.64}.neo-v12835-saved-actions{grid-column:1/-1;display:flex;gap:7px}.neo-v12835-saved-actions button{min-height:36px;padding:0 11px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:inherit;font-weight:800}

/* Extra Neo AI settings. */
.neo-ai-v12832-settings-grid .neo-v12835-color input[type="color"]{width:100%!important;height:46px!important;padding:4px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.15)!important;background:rgba(255,255,255,.06)!important}
.neo-ai-v12832-settings-grid .neo-v12835-color input[type="color"]:disabled{opacity:.72;cursor:not-allowed}
.neo-v12835-vision-status strong{font-size:1.05rem;color:var(--neo-v12829-accent)}

/* Preserve readable text in both dark and light appearances. */
.neo-ai-shell.neo-ai-v12829-live{--neo-v12835-copy-opacity:.88}
.neo-ai-shell.neo-ai-v12829-live p,.neo-ai-shell.neo-ai-v12829-live small,.neo-ai-shell.neo-ai-v12829-live .muted{opacity:var(--neo-v12835-copy-opacity)!important}
.neo-ai-shell.neo-ai-v12829-live[data-neo-ai-v12834-tone="light"]{--neo-v12835-copy-opacity:.82}

@media(max-width:760px){
  .neo-ai-shell.neo-ai-v12829-live .neo-ai-composer{grid-template-columns:42px minmax(0,1fr) 42px 42px!important;padding:9px!important}
  .neo-v12835-saved-grid{grid-template-columns:1fr}.neo-v12835-live-card{align-items:flex-start;flex-direction:column}
}
