:root{color-scheme:dark;--bg:#111116;--panel:#201f29;--panel2:#292833;--border:#393744;--text:#e7e4ed;--muted:#aaa6b8;--accent:#77d9ae}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}button,textarea{font:inherit}button{cursor:pointer}a{color:var(--accent)}.shell{height:100dvh;display:flex;overflow:hidden}.sidebar{width:258px;flex-shrink:0;background:#1a1921;border-right:1px solid var(--border);padding:18px 12px;display:flex;flex-direction:column;gap:16px}.brand{padding:8px 12px;font-weight:750;letter-spacing:.02em;color:var(--accent)}.new{background:var(--panel2);border:1px solid var(--border);border-radius:12px;color:var(--text);padding:11px;text-align:left}.section{color:var(--muted);font-size:11px;letter-spacing:.1em;padding:0 12px}.agents{display:grid;gap:4px}.agent{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;border-radius:10px;background:transparent;color:var(--text);text-align:left;padding:11px 12px}.agent.active{background:#30352f}.agent[disabled]{opacity:.56;cursor:not-allowed}.soon{font-size:10px;color:var(--muted)}.sidebar-foot{margin-top:auto;padding:12px;font-size:12px;color:var(--muted)}.main{flex:1;min-width:0;display:flex;flex-direction:column}.top{min-height:62px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:14px;padding:12px 22px}.top strong{font-size:16px}.tag{font-size:11px;color:var(--accent);border:1px solid #4a765d;border-radius:20px;padding:3px 9px}.menu{display:none;background:transparent;border:1px solid var(--border);border-radius:8px;color:var(--text);padding:5px 10px}.thread{flex:1;overflow-y:auto;padding:34px 20px 20px}.messages{max-width:790px;margin:auto;display:flex;flex-direction:column;gap:22px}.welcome{margin:14vh auto 0;max-width:690px;text-align:center}.welcome h1{font-size:clamp(25px,4vw,37px);font-weight:600;margin:0 0 12px}.welcome p{color:var(--muted);margin:0}.message{white-space:pre-wrap;overflow-wrap:anywhere}.message.user{align-self:flex-end;max-width:85%;background:var(--panel2);padding:12px 17px;border-radius:18px}.message.assistant{align-self:stretch}.role{font-size:12px;color:var(--accent);font-weight:700;margin-bottom:6px}.composer-wrap{padding:14px 20px 20px}.composer{max-width:790px;margin:auto;border:1px solid #4a4656;background:var(--panel);border-radius:18px;padding:12px}.composer textarea{display:block;width:100%;min-height:54px;max-height:180px;resize:vertical;border:0;outline:0;background:transparent;color:var(--text);padding:5px 8px}.composer textarea::placeholder{color:var(--muted)}.actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 5px}.hint{font-size:11px;color:var(--muted)}.send{background:var(--accent);color:#102219;border:0;border-radius:10px;padding:8px 17px;font-weight:700}.send:disabled{opacity:.45;cursor:default}.disclaimer{max-width:790px;margin:7px auto 0;text-align:center;font-size:11px;color:var(--muted)}@media(max-width:740px){.sidebar{position:absolute;z-index:4;inset:0 auto 0 0;transform:translateX(-100%);transition:transform .2s;box-shadow:0 0 30px #0007}.sidebar.open{transform:none}.menu{display:block}.thread{padding:24px 14px}.composer-wrap{padding:10px}.top{padding:10px 14px}.welcome{margin-top:13vh}.hint{font-size:10px}}


/* SolarCompute AI Workbench — aligned to solarcompute.com.au brand */
:root {
  color-scheme: dark;
  --bg: #071019;
  --panel: #0b1220;
  --panel2: #122131;
  --border: rgba(255,255,255,.10);
  --text: #e5e7eb;
  --muted: #a7b3c2;
  --accent: #f5b841;
  --accent-blue: #3a8dff;
}
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #071019;
}
.sidebar { background: #09141f; }
.brand { padding: 6px 12px 12px; }
.brand img { display: block; width: 100%; max-width: 205px; height: auto; }
.new { background: #132231; }
.new:hover, .agent:not([disabled]):hover { background: #192b3a; }
.agent.active { background: rgba(216,155,43,.13); border: 1px solid rgba(216,155,43,.28); }
.top { background: #0b1723; }
.top strong, .welcome h1 { font-family: "Space Grotesk", Inter, sans-serif; }
.tag { border-color: rgba(245,184,65,.4); }
.message.user { background: #172737; }
.composer { border-color: rgba(245,184,65,.28); }
.composer:focus-within { border-color: #d89b2b; }
.send {
  background: linear-gradient(135deg,#d89b2b,#f5b841);
  color: #071019;
}
.send:hover:not(:disabled) { filter: brightness(1.08); }
a { color: #f5b841; }
:focus-visible { outline: 2px solid #f5b841; outline-offset: 3px; }

/* SolarCompute sidebar typography alignment */
.sidebar, .sidebar button, .sidebar a, .sidebar .section, .sidebar .soon { font-family: Inter, Arial, sans-serif !important; }

/* Sidebar font alignment v2 */
.sidebar, .sidebar button, .sidebar a, .sidebar .section, .sidebar .soon, .sidebar .agent span { font-family: "Space Grotesk", sans-serif !important; }

/* Sidebar agent font size refinement */
.sidebar .agents .agent { font-size: 13px !important; }
.sidebar .agents .agent span:first-child { font-size: 13px !important; }

/* Centre the welcome and composer before first message */
.main:has(#welcome) { position: relative; }
.main:has(#welcome) .thread { flex: 0 0 auto !important; overflow: visible !important; }
.main:has(#welcome) .composer-wrap { margin-top: 20px !important; }
.main:has(#welcome) { justify-content: center !important; }
.main:has(#welcome) .top { position: absolute !important; top: 0; left: 0; right: 0; }
.main:has(#welcome) .thread .messages { min-height: 0 !important; }
.main:has(#welcome) .welcome { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 auto !important; }


/* solarcompute-persistent-conversations-sidebar-v1 */
#conversation-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  padding: 0 3px 8px;
}

#conversation-list .conversation-item {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#conversation-list .conversation-item:hover {
  background: #192b3a;
}

#conversation-list .conversation-item.active {
  background: rgba(216,155,43,.13);
  border-color: rgba(216,155,43,.28);
}

#conversation-list .conversation-empty {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

#conversation-list .conversation-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Workbench design system v7 — modern conversational workspace */
:root{--bg:#0b111a;--panel:#18232f;--panel2:#202e3c;--border:#293846;--text:#f1f5f9;--muted:#a6b7c7;--accent:#eab04d}
body{background:var(--bg);font-size:14px}
.sidebar{width:278px;background:#0f1b27;border-right:1px solid #253545;padding:22px 13px;gap:14px}
.sidebar .brand{padding:4px 12px 19px}.sidebar .brand img{max-width:174px}
.new{background:#1a2b3a;border:1px solid #34495b;border-radius:12px;padding:12px 15px;font-weight:600}
.section{font-size:10px;letter-spacing:.15em;font-weight:700;color:#8098aa;margin-top:5px}
.agent{padding:11px 13px;border-radius:11px}.agent.active{background:#263341;border:1px solid #405265}
.soon{font-size:9px;letter-spacing:.08em}
.sidebar-foot{border-top:1px solid #253545;padding-top:17px}
.top{min-height:76px;background:#0b111a;border-bottom:1px solid #1d2c3a;padding:14px 30px}
.top strong{font-size:17px;font-weight:600}.tag{font-size:10px}
.messages,.composer,.disclaimer{max-width:840px}
.welcome{max-width:800px!important;width:100%;text-align:left!important}
.welcome-kicker{font-size:11px;letter-spacing:.19em;color:#eab04d;font-weight:700;margin-bottom:16px}
.welcome h1{font-size:clamp(34px,4vw,48px)!important;font-weight:600!important;letter-spacing:-.045em;line-height:1.15;margin-bottom:15px!important}
.welcome p{font-size:16px;line-height:1.65;color:#a9bdcd}
.suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:35px 0 0}
.suggestions button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;text-align:left;background:#14212e;border:1px solid #304151;border-radius:15px;color:#dce8f0;padding:16px 18px;font-weight:550}
.suggestions button span{color:#eab04d}.suggestions button:hover{background:#1e3040;border-color:#637a8b}
.main:has(#welcome) .composer-wrap{width:100%;margin:25px auto 0!important}
.composer{background:#172431;border:1px solid #3b5264;border-radius:21px;padding:17px 18px;box-shadow:0 12px 40px #0002}
.composer:focus-within{border-color:#d6a34b;box-shadow:0 0 0 3px #d6a34b15}
.composer textarea{font-size:15px;min-height:72px;padding:10px 7px}.composer .hint{font-size:11px}
.send{border-radius:12px;padding:10px 20px}
.disclaimer{font-size:11px;color:#8799a8}
.message.assistant{line-height:1.8}
@media(max-width:740px){.top{min-height:64px;padding:10px 16px}.welcome{padding:0 7px}.welcome h1{font-size:32px!important}.suggestions{grid-template-columns:1fr;gap:8px;margin-top:24px}.suggestions button{min-height:52px}.main:has(#welcome) .composer-wrap{margin-top:16px!important}.composer-wrap{padding:12px}.sidebar{width:280px}}
