:root {
  --ink: #2c2740;
  --muted: #746f88;
  --subtle: #a19bb1;
  --line: rgba(117, 101, 159, .18);
  --coral: #ef765f;
  --orange: #f19a60;
  --violet: #7664d9;
  --blue: #648bdc;
  --mint: #55b89a;
  --surface: rgba(255, 252, 248, .72);
  --canvas: #fbf5ef;
  --shadow: 0 20px 52px rgba(103, 76, 130, .13);
  --display: 'Trebuchet MS', 'Segoe UI', sans-serif;
  --body: 'Segoe UI', Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { margin: 0; min-width: 320px; min-height: 100dvh; color: var(--ink); font: 14px var(--body); background: radial-gradient(circle at 87% -10%, rgba(202, 183, 244, .45), transparent 28%), radial-gradient(circle at 45% 35%, rgba(183, 220, 243, .32), transparent 32%), radial-gradient(circle at 8% 90%, rgba(247, 187, 150, .22), transparent 26%), var(--canvas); }
body::before, body::after { content: ""; position: fixed; z-index: -1; width: 280px; height: 280px; border-radius: 50%; filter: blur(55px); opacity: .22; pointer-events: none; }
body::before { top: 18%; right: -120px; background: #d7b8ef; }
body::after { bottom: -120px; left: 18%; background: #ffc3a4; }
button, textarea { font: inherit; } button { cursor: pointer; }
button:focus-visible, textarea:focus-visible { outline: 3px solid rgba(239, 118, 95, .28); outline-offset: 3px; }
.app-shell { display: flex; min-height: 100dvh; }
.sidebar { width: 256px; flex: 0 0 256px; display: flex; flex-direction: column; padding: 28px 17px 19px; background: rgba(255, 250, 247, .62); border-right: 1px solid rgba(117, 101, 159, .14); backdrop-filter: blur(18px); }
.brand { display: flex; gap: 11px; align-items: center; padding: 0 10px 47px; }
.brand-mark { width: 30px; height: 30px; position: relative; display: flex; align-items: flex-end; gap: 3px; padding: 6px; border-radius: 10px; background: linear-gradient(145deg, var(--coral), var(--violet)); box-shadow: 0 7px 14px rgba(225, 111, 107, .25); }
.brand-mark span { display: block; width: 4px; border-radius: 3px; background: #fffaf7; }.brand-mark span:nth-child(1) { height: 8px; opacity: .7; }.brand-mark span:nth-child(2) { height: 13px; opacity: .85; }.brand-mark span:nth-child(3) { height: 17px; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }.brand-copy strong { font: 800 15px var(--display); letter-spacing: -.45px; }.brand-copy strong span { color: var(--coral); }.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: .06em; }
.nav-label { margin: 0 12px 12px; color: #a39baa; font-size: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: .13em; }
.main-nav { display: flex; flex-direction: column; gap: 5px; }.nav-item { width: 100%; display: flex; align-items: center; gap: 13px; border: 0; border-radius: 10px; padding: 12px 13px; color: #827b95; background: transparent; text-align: left; transition: color .2s, background .2s, transform .2s; }.nav-item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.nav-item:nth-of-type(2) { color: #d97868; }.nav-item:nth-of-type(3) { color: #7b69d5; }.nav-item:nth-of-type(4) { color: #5599c7; }.nav-item:nth-of-type(5) { color: #56a990; }.nav-item:hover { background: rgba(255, 235, 225, .6); transform: translateX(2px); }.nav-item.active { color: #bd5b54; background: linear-gradient(90deg, rgba(255, 224, 211, .78), rgba(235, 225, 253, .62)); font-weight: 700; box-shadow: inset 3px 0 var(--coral); }.nav-badge { margin-left: auto; border-radius: 10px; padding: 2px 7px; background: #eee5fb; color: #7968c5; font-size: 10px; font-weight: 700; }
.sidebar-footer { margin-top: auto; }.status-line { display: flex; gap: 8px; align-items: center; padding: 0 12px 19px; color: #8b8399; font-size: 11px; }.status-dot, .secure-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(85, 184, 154, .13); }.workspace-profile { display: flex; gap: 9px; align-items: center; padding: 14px 8px 0; border-top: 1px solid var(--line); }.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #f7d8d0; color: #b55f63; font-size: 10px; font-weight: 700; }.workspace-profile strong, .workspace-profile small { display: block; }.workspace-profile strong { font-size: 11px; }.workspace-profile small { margin-top: 2px; color: var(--muted); font-size: 10px; }.more-button { margin-left: auto; border: 0; background: none; color: #9290a1; letter-spacing: 2px; }
.main-content { width: min(100%, 1100px); padding: 0 62px 26px; }.topbar { height: 79px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.breadcrumb { color: #9a91a4; font-size: 12px; }.breadcrumb strong { color: #584e70; font-weight: 600; }.breadcrumb-slash { margin: 0 10px; color: #c7becd; }.topbar-actions { display: flex; gap: 11px; align-items: center; }.new-chat-button { border: 1px solid rgba(239,118,95,.32); border-radius: 9px; padding: 8px 12px; color: #a8504c; background: rgba(255, 237, 229, .68); font-size: 11px; font-weight: 700; transition: transform .2s, background .2s, opacity .2s; }.new-chat-button:hover { transform: translateY(-1px); background: #ffe2d8; }.new-chat-button:disabled { cursor: not-allowed; opacity: .55; transform: none; }.icon-button, .help-button { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.45); color: #7e7495; }.icon-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }.notification-dot { position: absolute; top: 7px; right: 7px; width: 4px; height: 4px; background: var(--coral); border: 1px solid #fff7f0; border-radius: 50%; }.help-button { font-weight: 700; font-size: 14px; }
.hero { max-width: 650px; margin: 55px auto 30px; text-align: center; }.eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid rgba(118,100,191,.2); border-radius: 20px; color: #7765b5; background: rgba(255,255,255,.5); font-size: 10px; font-weight: 700; }.sparkle { color: var(--coral); font-size: 12px; }.hero h1 { margin: 18px 0 8px; font: 800 clamp(30px, 4vw, 41px) var(--display); letter-spacing: -1.7px; }.hero h1 span { color: var(--coral); }.hero p { margin: 0; color: var(--muted); font-size: 14px; }
.assistant-panel { position: relative; max-width: 850px; margin: 0 auto; padding: 20px 21px 17px; border: 1px solid rgba(255,255,255,.86); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(21px); }.panel-heading { display: flex; justify-content: space-between; align-items: center; margin: 0 3px 15px; }.assistant-identity { display: flex; gap: 10px; align-items: center; }.orb { width: 27px; height: 27px; display: flex; gap: 2px; align-items: center; justify-content: center; border-radius: 9px; background: linear-gradient(135deg, #ffd8c8, #ddd3fa); }.orb i { width: 3px; height: 9px; border-radius: 4px; background: var(--coral); }.orb i:nth-child(2) { height: 14px; background: var(--violet); }.orb i:nth-child(3) { height: 6px; background: var(--blue); }.assistant-identity strong, .assistant-identity span { display: block; }.assistant-identity strong { font-size: 12px; }.assistant-identity span { margin-top: 2px; color: var(--muted); font-size: 10px; }.secure-label { display: flex; align-items: center; gap: 7px; color: #8a8395; font-size: 10px; }
.question-form { padding: 15px 15px 10px; border: 1px solid rgba(239, 118, 95, .22); border-radius: 13px; background: rgba(255,255,255,.76); box-shadow: 0 4px 12px rgba(123, 86, 126, .05); }.question-form textarea { width: 100%; min-height: 27px; max-height: 140px; resize: none; overflow-y: hidden; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; line-height: 1.5; }.question-form textarea::placeholder { color: #a7a0af; }.input-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 11px; }.input-hint { color: #a39baa; font-size: 10px; }.input-hint kbd { display: inline-grid; place-items: center; min-width: 18px; height: 17px; margin-right: 3px; border: 1px solid #e5dce1; border-radius: 4px; color: #837a94; background: #fffaf8; font-size: 10px; }.hint-divider { display: inline-block; height: 11px; margin: 0 8px -2px; border-left: 1px solid #ded4de; }.send-button { display: flex; align-items: center; gap: 6px; border: 0; border-radius: 8px; padding: 7px 11px 7px 13px; color: #fffaf7; background: linear-gradient(135deg, var(--coral), var(--violet)); font-size: 11px; font-weight: 700; box-shadow: 0 5px 10px rgba(191, 99, 120, .2); transition: transform .2s, box-shadow .2s, opacity .2s; }.send-button:hover { transform: translateY(-1px); box-shadow: 0 7px 14px rgba(191,99,120,.3); }.send-button:disabled { cursor: not-allowed; opacity: .58; transform: none; }.send-button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.suggestions { display: flex; gap: 13px; align-items: center; margin-top: 14px; }.suggestions-label { color: #a098aa; font-size: 10px; white-space: nowrap; }.suggestion-list { display: flex; gap: 7px; flex-wrap: wrap; }.suggestion { display: inline-flex; gap: 6px; align-items: center; padding: 6px 9px; border: 1px solid rgba(116, 126, 183, .18); border-radius: 7px; color: #69627c; background: rgba(246,247,255,.66); font-size: 10px; transition: border .2s, color .2s, background .2s; }.suggestion:nth-child(1) { border-color: #f1b6a9; background: #fff1eb; }.suggestion:nth-child(2) { border-color: #b9cceb; background: #eef6ff; }.suggestion:nth-child(3) { border-color: #cfc2ef; background: #f5f0ff; }.suggestion:nth-child(4) { border-color: #b7dfd1; background: #effaf5; }.suggestion span { color: #a29aaa; font-size: 12px; }.suggestion:hover { border-color: var(--coral); color: #a8504c; }
.conversation { max-width: 850px; margin: 28px auto 0; }.conversation-empty { padding: 37px 15px 31px; text-align: center; border-bottom: 1px solid var(--line); }.empty-icon { width: 41px; height: 41px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 13px; color: #7765c8; background: #eee7fb; }.empty-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }.conversation-empty h2 { margin: 0 0 6px; font: 700 15px var(--display); }.conversation-empty p { max-width: 370px; margin: auto; color: var(--muted); font-size: 12px; line-height: 1.5; }.messages { display: flex; flex-direction: column; gap: 18px; padding: 23px 4px; }.message { display: flex; gap: 10px; animation: rise .35s ease both; }.message.user { justify-content: flex-end; }.message-bubble { max-width: min(680px, 86%); padding: 12px 15px; border-radius: 13px; color: #443d59; line-height: 1.55; }.message.user .message-bubble { white-space: pre-wrap; border-top-right-radius: 4px; color: #fffaf7; background: linear-gradient(135deg, var(--coral), var(--violet)); box-shadow: 0 8px 17px rgba(191, 99, 120, .14); }.message.assistant .message-bubble { border: 1px solid rgba(118, 100, 170, .18); border-top-left-radius: 4px; background: rgba(255,255,255,.68); }.message-bubble h1, .message-bubble h2, .message-bubble h3 { margin: 0 0 8px; color: #342d4c; font-family: var(--display); line-height: 1.25; }.message-bubble h1 { font-size: 20px; }.message-bubble h2 { font-size: 17px; }.message-bubble h3 { font-size: 15px; }.message-bubble p { margin: 0 0 8px; }.message-bubble p:last-child { margin-bottom: 0; }.message-bubble ul, .message-bubble ol { margin: 7px 0 8px 20px; padding: 0; }.message-bubble li { padding-left: 3px; margin: 3px 0; }.message-meta { align-self: flex-end; padding-bottom: 4px; color: #9d95aa; font-size: 10px; }.assistant-mini { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 9px; background: #eee7fb; color: #7162c3; font-size: 12px; }.typing { display: flex; align-items: center; gap: 4px; height: 17px; }.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); animation: pulse 1s infinite ease-in-out; }.typing i:nth-child(2) { background: var(--violet); animation-delay: .15s; }.typing i:nth-child(3) { background: var(--blue); animation-delay: .3s; }.page-footer { display: flex; justify-content: space-between; max-width: 850px; margin: 0 auto; padding: 18px 4px 0; color: #a19aaa; font-size: 10px; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%,80%,100% { opacity: .35; transform: scale(.85); } 40% { opacity: 1; transform: scale(1); } }
@media (max-width: 800px) { .sidebar { width: 208px; flex-basis: 208px; }.main-content { padding: 0 28px 22px; } }
@media (max-width: 640px) { .app-shell { display: block; }.sidebar { width: 100%; height: auto; padding: 15px 15px 10px; border-right: 0; border-bottom: 1px solid var(--line); }.brand { padding: 0 4px 13px; }.main-nav { flex-direction: row; overflow-x: auto; gap: 4px; }.nav-label, .sidebar-footer, .nav-badge { display: none; }.nav-item { flex: 0 0 auto; width: auto; padding: 9px 10px; gap: 7px; font-size: 11px; }.nav-item svg { width: 15px; height: 15px; }.main-content { padding: 0 16px 22px; }.topbar { height: 57px; }.new-chat-button { padding: 7px 9px; }.hero { margin: 37px auto 23px; }.hero p { font-size: 13px; }.assistant-panel { padding: 16px 13px 13px; }.secure-label { display: none; }.suggestions { display: block; }.suggestions-label { display: block; margin-bottom: 8px; }.suggestion-list { gap: 6px; }.suggestion { font-size: 9px; }.input-hint { display: none; }.input-footer { justify-content: flex-end; }.page-footer { display: block; line-height: 1.7; }.page-footer span { display: block; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* CoolPlatform.AI enterprise color system */
:root {
  --coral: #FF6B4A;
  --orange: #FF9F43;
  --yellow: #FFD166;
  --violet: #7C5CFC;
  --blue: #4C7DFF;
  --mint: #45D6A1;
  --cream: #FFF7ED;
  --lavender: #F3E8FF;
  --canvas: #FFF7ED;
  --surface: rgba(255, 255, 255, .9);
  --line: rgba(76, 67, 109, .18);
}

html {
  background: var(--cream);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 107, 74, .28) 0, rgba(255, 107, 74, .1) 18%, transparent 35%),
    radial-gradient(circle at 90% 6%, rgba(124, 92, 252, .28) 0, rgba(124, 92, 252, .1) 20%, transparent 38%),
    radial-gradient(circle at 76% 72%, rgba(76, 125, 255, .22) 0, rgba(76, 125, 255, .08) 20%, transparent 39%),
    radial-gradient(circle at 18% 88%, rgba(255, 209, 102, .28) 0, rgba(255, 159, 67, .08) 18%, transparent 36%),
    linear-gradient(135deg, var(--cream) 0%, #fffdf8 42%, var(--lavender) 100%);
}

body::before {
  width: 360px;
  height: 360px;
  top: 13%;
  right: -105px;
  background: linear-gradient(145deg, var(--coral), var(--orange));
  opacity: .2;
  filter: blur(70px);
}

body::after {
  width: 390px;
  height: 390px;
  bottom: -150px;
  left: 12%;
  background: linear-gradient(145deg, var(--blue), var(--violet));
  opacity: .18;
  filter: blur(78px);
}

.sidebar {
  background: rgba(255, 255, 255, .76);
  border-right-color: rgba(124, 92, 252, .17);
}

.brand-mark {
  background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 36%, var(--violet) 100%);
  box-shadow: 0 9px 22px rgba(124, 92, 252, .25), 0 5px 12px rgba(255, 107, 74, .2);
}

.brand-copy strong span {
  color: var(--coral);
}

.nav-item {
  color: #554e68;
}

.nav-item:nth-of-type(1) svg { color: var(--coral); }
.nav-item:nth-of-type(2) svg { color: var(--orange); }
.nav-item:nth-of-type(3) svg { color: var(--violet); }
.nav-item:nth-of-type(4) svg { color: var(--blue); }
.nav-item:nth-of-type(5) svg { color: var(--mint); }

.nav-item:hover {
  color: #342d4c;
  background: linear-gradient(90deg, rgba(255, 107, 74, .13), rgba(124, 92, 252, .1));
}

.nav-item.active {
  color: #3f315f;
  background: linear-gradient(90deg, rgba(255, 107, 74, .19), rgba(243, 232, 255, .92));
  box-shadow: inset 3px 0 var(--coral);
}

.nav-badge {
  color: #5035c7;
  background: rgba(124, 92, 252, .14);
}

.main-content {
  position: relative;
  isolation: isolate;
}

.main-content::before,
.main-content::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(18px);
}

.main-content::before {
  width: 220px;
  height: 220px;
  top: 112px;
  left: 5%;
  border-radius: 44% 56% 63% 37%;
  background:
    radial-gradient(circle at 25% 28%, rgba(255, 107, 74, .35), transparent 43%),
    radial-gradient(circle at 74% 30%, rgba(255, 159, 67, .31), transparent 42%),
    radial-gradient(circle at 52% 78%, rgba(76, 125, 255, .25), transparent 46%);
}

.main-content::after {
  width: 250px;
  height: 250px;
  right: 1%;
  top: 330px;
  border-radius: 61% 39% 42% 58%;
  background:
    radial-gradient(circle at 30% 36%, rgba(124, 92, 252, .32), transparent 45%),
    radial-gradient(circle at 70% 67%, rgba(69, 214, 161, .28), transparent 44%);
}

.assistant-panel {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(124, 92, 252, .2);
  box-shadow:
    0 24px 65px rgba(76, 67, 109, .14),
    0 4px 18px rgba(255, 107, 74, .08);
}

.assistant-panel::after {
  content: "Salesforce    Platform    Gainsight    Service Cloud";
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0 auto;
  padding: 6px 10px;
  overflow: hidden;
  border: 1px solid rgba(124, 92, 252, .2);
  border-radius: 999px;
  color: #4b4162;
  background:
    linear-gradient(
      90deg,
      rgba(76, 125, 255, .18) 0 25%,
      rgba(255, 159, 67, .2) 25% 50%,
      rgba(124, 92, 252, .18) 50% 75%,
      rgba(69, 214, 161, .2) 75% 100%
    );
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: pre;
}

.question-form {
  background: #fff;
  border-color: rgba(76, 125, 255, .24);
}

.suggestion {
  color: #3f3951;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(66, 54, 94, .05);
}

.suggestion:nth-child(1) {
  border-color: rgba(255, 107, 74, .58);
  background: rgba(255, 107, 74, .14);
}

.suggestion:nth-child(2) {
  border-color: rgba(76, 125, 255, .5);
  background: rgba(76, 125, 255, .13);
}

.suggestion:nth-child(3) {
  border-color: rgba(124, 92, 252, .5);
  background: rgba(124, 92, 252, .13);
}

.suggestion:nth-child(4) {
  border-color: rgba(69, 214, 161, .58);
  background: rgba(69, 214, 161, .14);
}

.suggestion:hover {
  color: #2f2549;
  border-color: var(--orange);
  background: rgba(255, 209, 102, .23);
}

.send-button {
  background: linear-gradient(135deg, var(--coral) 0%, #e85b74 46%, var(--violet) 100%);
  box-shadow: 0 8px 18px rgba(167, 72, 137, .28);
}

.send-button:hover {
  box-shadow: 0 10px 24px rgba(167, 72, 137, .36);
}

.message.user .message-bubble {
  background: linear-gradient(135deg, var(--coral) 0%, #e85b74 46%, var(--violet) 100%);
  box-shadow: 0 9px 22px rgba(167, 72, 137, .2);
}

.message.assistant .message-bubble {
  color: #352e46;
  background: var(--cream);
  border-color: rgba(124, 92, 252, .48);
  box-shadow: 0 7px 20px rgba(124, 92, 252, .08);
}

.assistant-mini {
  color: #fff;
  background: linear-gradient(145deg, var(--violet), var(--blue));
}

.empty-icon {
  color: #5a3ed2;
  background: linear-gradient(145deg, var(--lavender), rgba(76, 125, 255, .18));
  border: 1px solid rgba(124, 92, 252, .2);
}

.new-chat-button {
  color: #6b2c28;
  background: rgba(255, 107, 74, .14);
  border-color: rgba(255, 107, 74, .46);
}

.status-dot,
.secure-dot {
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(69, 214, 161, .16);
}

@media (max-width: 640px) {
  .assistant-panel::after {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}