/* claude.ai inside Internet Explorer (js/claude-site.js): a 2026 site in
   2001's browser. claude.ai's own look -- warm off-white, dark warm-grey
   text, Claude's replies in a serif -- with no logo image: the glyph is a
   character in Claude's orange. */

.ie-view:has(> .cl-site) {
  padding: 0;
  overflow: hidden;
  display: flex;
}

.cl-site {
  --cl-bg: #faf9f5;
  --cl-text: #3d3929;
  --cl-muted: #7b7872;
  --cl-rule: #e5e2d9;
  --cl-bubble: #f0eee6;
  --cl-accent: #c96442;
  flex: 1;
  min-width: 0;
  display: flex;
  background: var(--cl-bg);
  color: var(--cl-text);
  font: 15px/1.5 -apple-system, "Segoe UI", system-ui, sans-serif;
}

.cl-glyph::before { content: "\273B"; color: #d97757; }

/* ---------- the collapsed sidebar ---------- */

.cl-sidebar {
  width: 52px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  border-right: 1px solid var(--cl-rule);
}
.cl-new {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--cl-accent);
  color: #fff;
  font: 20px/1 sans-serif;
  cursor: pointer;
}
.cl-new::before { content: "+"; }
.cl-avatar {
  margin-top: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cl-text);
  color: var(--cl-bg);
  font: 13px/30px sans-serif;
  text-align: center;
}

/* ---------- the main column ---------- */

.cl-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cl-empty {
  margin: auto;
  width: min(640px, calc(100% - 48px));
  padding-bottom: 8vh;
}
.cl-hello {
  font: normal 36px/1.2 Georgia, "Times New Roman", serif;
  text-align: center;
  margin: 0 0 28px;
}
.cl-hello .cl-glyph { margin-right: 14px; }

.cl-chat { display: none; }
.cl-talking .cl-chat {
  display: block;
  flex: 1;
  overflow: auto;
  padding: 28px max(24px, calc((100% - 680px) / 2)) 8px;
}

.cl-msg { margin: 0 0 18px; }
.cl-user {
  width: fit-content;
  max-width: 80%;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--cl-bubble);
  white-space: pre-wrap;
}
.cl-claude { font: 16px/1.65 Georgia, "Times New Roman", serif; }
.cl-claude p { margin: 0 0 14px; }
.cl-claude p:last-child { margin-bottom: 0; }
/* The person who built the site, as distinct from Claude's own answer. */
.cl-claude .cl-reflection {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--cl-rule);
}
.cl-claude .cl-by {
  font: 600 12px/1.4 -apple-system, "Segoe UI", system-ui, sans-serif;
  color: var(--cl-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.cl-claude ul { margin: 0 0 14px; padding-left: 22px; }
.cl-claude li { margin-bottom: 6px; }
.cl-claude > :last-child { margin-bottom: 0; }
.cl-site .cl-claude a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cl-thinking .cl-glyph {
  display: inline-block;
  font-size: 22px;
  animation: cl-think 1.4s ease-in-out infinite;
}
@keyframes cl-think {
  50% { transform: rotate(90deg) scale(0.8); }
  100% { transform: rotate(180deg); }
}

/* ---------- the composer and the chips ---------- */

.cl-composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 12px 12px 16px;
  background: #fff;
  border: 1px solid var(--cl-rule);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(61, 57, 41, 0.06);
}
.cl-talking .cl-composer {
  width: min(680px, calc(100% - 48px));
  margin: 0 auto 16px;
  box-sizing: border-box;
}
.cl-input {
  flex: 1;
  min-height: 48px;
  border: 0;
  outline: none;
  resize: none;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 16px;
}
.cl-input::placeholder { color: var(--cl-muted); }
.cl-send {
  width: 32px;
  height: 32px;
  flex: none;
  border: 0;
  border-radius: 8px;
  background: var(--cl-accent);
  color: #fff;
  font: bold 16px/1 sans-serif;
  cursor: pointer;
}
.cl-send::before { content: "\2191"; }
.cl-send:disabled { opacity: 0.45; cursor: default; }

.cl-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
}
.cl-chat .cl-chips { justify-content: flex-start; margin: 0 0 24px; }
.cl-chip {
  padding: 6px 12px;
  border: 1px solid var(--cl-rule);
  border-radius: 8px;
  background: var(--cl-bg);
  color: var(--cl-text);
  font: 14px/1.3 -apple-system, "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}
.cl-chip:hover { background: var(--cl-bubble); }
