/* Georgia Tech-inspired palette: black + gold, with navy + red accents. */
:root {
  color-scheme: light;
  --ink: #0a1220;
  --muted: #4a5468;
  --paper: #ffffff;
  --paper-tint: #fbf7ea;
  --line: #e0d9be;
  --gt-gold: #b3a369;
  --gt-gold-bright: #eaaa00;
  --gt-navy: #003057;
  --gt-navy-deep: #001a33;
  --gt-red: #c8102e;
  --gt-black: #0a1220;
  --accent: #003057;
  --accent-hover: #c8102e;
  --grad-gold: linear-gradient(135deg, #b3a369 0%, #eaaa00 100%);
  --grad-navy: linear-gradient(135deg, #003057 0%, #1e4e8c 100%);
  --grad-red:  linear-gradient(135deg, #7a0a1c 0%, #c8102e 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background:
    radial-gradient(1100px 500px at 8% -6%, rgba(179, 163, 105, 0.20), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(0, 48, 87, 0.10), transparent 55%),
    radial-gradient(900px 500px at 50% 100%, rgba(200, 16, 46, 0.06), transparent 55%),
    var(--paper-tint);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 1.75rem 1.25rem 3rem; }

/* --- Header --- */
.site-header {
  background: var(--gt-black);
  border-bottom: 3px solid var(--gt-gold);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: 1080px; margin: 0 auto;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gt-gold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand:hover { color: var(--gt-gold-bright); text-decoration: none; }
.nav a {
  margin-left: 1.1rem;
  color: #f4ecd0;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.nav a:hover { color: var(--gt-gold-bright); border-bottom-color: var(--gt-gold-bright); text-decoration: none; }

/* --- Footer --- */
.site-footer {
  padding: 1.5rem 0 2rem;
  color: #f4ecd0;
  background: var(--gt-black);
  border-top: 3px solid var(--gt-gold);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 3rem;
}

/* --- Hero --- */
.hero {
  padding: 3rem 1.5rem 2rem;
  background: var(--grad-navy);
  border-radius: 22px;
  color: #fff;
  margin-bottom: 1.5rem;
  border: 2px solid var(--gt-gold);
  box-shadow: 0 24px 60px -20px rgba(0, 26, 51, 0.6);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--gt-gold-bright);
}
.hero .lead {
  font-size: 1.15rem;
  color: #e7edf4;
  max-width: 62ch;
  margin: 0 0 0.75rem;
}
.hero .lead-sub {
  color: #cbd5e1;
  max-width: 62ch;
  margin: 0 0 1.5rem;
}
.hero-tiles {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1.5rem;
}
.tile {
  display: block;
  color: #fff;
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tile:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -14px rgba(0, 0, 0, 0.6);
  border-color: var(--gt-gold-bright);
}
.tile-pr      { background: var(--grad-gold); color: #0a1220; }
.tile-patents { background: var(--grad-red); }
.tile-all     { background: var(--grad-navy); border-color: var(--gt-gold); }
.tile-label { display: block; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; opacity: 0.95; }
.tile-count { display: block; font-size: 2.6rem; font-weight: 800; margin-top: 0.25rem; line-height: 1; }
.tile-sub   { display: block; margin-top: 0.4rem; opacity: 0.95; }
.hero-links { margin-top: 1rem; font-size: 1rem; color: #f4ecd0; }
.hero-links a { color: var(--gt-gold-bright); font-weight: 600; }
.hero-links a:hover { color: #fff; }

/* --- Page heads --- */
.page-head {
  padding: 1.75rem 1.25rem;
  background: var(--gt-black);
  color: #fff;
  border-radius: 18px;
  border-left: 8px solid var(--gt-gold);
  margin-bottom: 1.5rem;
}
.page-head h1 {
  font-size: 2rem;
  margin: 0 0 0.4rem;
  color: var(--gt-gold-bright);
}
.page-head .lead {
  color: #e7edf4;
  max-width: 66ch;
  margin: 0;
}
.page-head .lead a { color: var(--gt-gold-bright); }
.page-head .lead a:hover { color: #fff; }

/* --- Cards --- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gt-navy);
  border-radius: 12px;
  padding: 1.1rem 1.2rem 1rem;
  box-shadow: 0 6px 20px rgba(10, 18, 32, 0.06);
  position: relative;
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 1rem;
}

.mention h3, .patent h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.35;
}
.mention h3 a, .patent h3 a { color: var(--ink); }
.mention h3 a:hover, .patent h3 a:hover { color: var(--gt-red); text-decoration: none; }
.mention .desc, .patent .desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.15rem 0 0.6rem;
}
.mention .outlet, .patent .pub {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: var(--gt-black);
  background: var(--gt-gold);
}
.patent .pub { background: var(--gt-red); color: #fff; }
.mention .src, .patent .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* --- Patents preview on landing --- */
.patents-preview { border-top-color: var(--gt-red); }
.patents-preview h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--gt-navy);
}
.patent-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0.75rem;
  display: grid;
  gap: 0.4rem;
}
.patent-list li a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(179,163,105,0.14), rgba(200,16,46,0.06));
  color: var(--ink);
  border-left: 3px solid var(--gt-gold);
  transition: background 0.15s ease;
}
.patent-list li a:hover {
  text-decoration: none;
  background: linear-gradient(90deg, rgba(179,163,105,0.28), rgba(200,16,46,0.14));
  border-left-color: var(--gt-red);
}
.more { font-weight: 700; color: var(--gt-red); }
.more:hover { color: var(--gt-navy); }

/* --- Bio / Work pages --- */
.bio-intro, .bio-highlights, .bio-roles { margin-bottom: 1.25rem; }

.career-arc { margin-bottom: 1.25rem; border-left: 4px solid var(--gt-gold); }
.career-arc-header {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.4rem;
}
.career-arc-header h2 {
  color: var(--gt-navy); font-family: Georgia, serif;
  margin: 0; font-size: 1.15rem;
}
.career-arc-years {
  color: var(--gt-red); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.career-arc-lead { margin: 0 0 0.9rem 0; color: #444; }
.career-chain {
  list-style: none; padding: 0; margin: 0 0 0.9rem 0;
  display: grid; gap: 0.4rem;
}
.career-step {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(9rem, 1fr) minmax(10rem, auto);
  gap: 0.6rem 1rem;
  padding: 0.55rem 0.75rem;
  background: #f6f4ee;
  border-left: 3px solid var(--gt-navy);
  border-radius: 3px;
  align-items: baseline;
}
.career-step-role { font-weight: 700; color: var(--gt-navy); }
.career-step-employer { color: #333; }
.career-step-note { color: #666; font-size: 0.88rem; font-style: italic; }
.career-arc-footnote { margin: 0; color: #555; font-size: 0.92rem; }
@media (max-width: 640px) {
  .career-step { grid-template-columns: 1fr; gap: 0.15rem; padding: 0.5rem 0.7rem; }
  .career-step-note { font-size: 0.85rem; }
}

.bio-intro p, .bio-roles p, .work-section p { line-height: 1.65; margin: 0 0 0.9rem 0; }
.bio-highlights h2, .bio-roles h2, .work-section h2 {
  color: var(--gt-navy);
  margin-top: 0;
  border-bottom: 2px solid var(--gt-gold);
  padding-bottom: 0.35rem;
  display: inline-block;
}
.bio-highlights ul.bullet-list { padding-left: 1.2rem; margin: 0.6rem 0 0 0; }
.bio-highlights ul.bullet-list li {
  line-height: 1.55;
  margin-bottom: 0.45rem;
  padding-left: 0.25rem;
}
.bio-highlights ul.bullet-list li::marker { color: var(--gt-red); font-weight: 800; }
.work-section {
  border-left: 6px solid var(--gt-gold);
  border-top: 1px solid var(--line);
  margin-bottom: 1.25rem;
}
.work-section .meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}
.work-section .meta a { color: var(--gt-red); font-weight: 600; }

.empty {
  color: var(--muted);
  padding: 1rem;
  background: rgba(179,163,105,0.10);
  border-left: 4px solid var(--gt-gold);
  border-radius: 8px;
}

code {
  background: #f4ecd0;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  color: var(--gt-navy);
  font-size: 0.92em;
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .nav a { margin-left: 0; margin-right: 0.9rem; }
  .hero { padding: 2rem 1.25rem 1.5rem; }
}

.patent .long-desc {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0.4rem 0 0.8rem;
  padding: 0.75rem 0.9rem;
  background: rgba(179,163,105,0.09);
  border-left: 3px solid var(--gt-gold);
  border-radius: 6px;
}

.bio-looking { border-top-color: var(--gt-red); }
.bio-looking h2 { color: var(--gt-red); border-bottom-color: var(--gt-red); }

.essay { border-left: 6px solid var(--gt-navy); }
.essay h2 { color: var(--gt-navy); margin-top: 0; border-bottom: 2px solid var(--gt-gold); padding-bottom: 0.35rem; display: inline-block; }
.essay p { line-height: 1.7; margin: 0 0 0.9rem 0; }

.speaking-section { border-left: 6px solid var(--gt-gold); }
.speaking-section h2 { color: var(--gt-navy); margin-top: 0; }
.speaking-section p { line-height: 1.65; margin: 0 0 0.7rem 0; }
.closing-note {
  color: var(--muted);
  font-style: italic;
  margin: 1rem 0.25rem 0;
  padding-left: 0.75rem;
  border-left: 3px solid var(--gt-gold);
}

.contact-card { border-top-color: var(--gt-gold); }
.contact-list { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.6rem; }
.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.55rem 0.6rem;
  background: linear-gradient(90deg, rgba(179,163,105,0.12), rgba(0,48,87,0.04));
  border-left: 3px solid var(--gt-gold);
  border-radius: 6px;
  align-items: center;
}
.ch-label { font-weight: 700; color: var(--gt-navy); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; }
.ch-value { color: var(--ink); }
.ch-value a { color: var(--gt-red); font-weight: 600; }
.contact-card .note { color: var(--muted); font-size: 0.95rem; margin: 1rem 0 0; }

@media (max-width: 520px) {
  .contact-list li { grid-template-columns: 1fr; gap: 0.15rem; }
}

.see-also { border-top-color: var(--gt-gold-bright); background: linear-gradient(180deg, rgba(234,170,0,0.06), transparent); }
.see-also h2 { color: var(--gt-navy); margin-top: 0; font-size: 1.1rem; }
.see-also p { margin: 0.35rem 0; }
.see-also a { color: var(--gt-red); font-weight: 600; }
.see-also-inline { color: var(--muted); font-size: 0.95rem; margin-top: 0.6rem; }
.see-also-inline a { color: var(--gt-navy); font-weight: 600; }
.see-also-list { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.35rem; }
.see-also-list li::before { content: "\2192  "; color: var(--gt-red); font-weight: 800; }

.hire-pitch-card { border-top: 4px solid var(--gt-red); }
.hire-pitch { font-size: 1.05rem; line-height: 1.55; color: #222; margin: 0 0 1rem 0; }
.hire-ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hire-ctas a {
  display: inline-block; padding: 0.55rem 1rem; border-radius: 4px;
  text-decoration: none; font-weight: 700; letter-spacing: 0.01em;
  border: 2px solid var(--gt-navy);
}
.hire-ctas .cta-primary { background: var(--gt-navy); color: #fff; }
.hire-ctas .cta-primary:hover { background: var(--gt-red); border-color: var(--gt-red); }
.hire-ctas .cta-secondary { color: var(--gt-navy); background: #fff; }
.hire-ctas .cta-secondary:hover { background: var(--gt-navy); color: #fff; }
.hire-highlights { border-top-color: var(--gt-gold); }
.hire-looking { border-top-color: var(--gt-red); }
.hire-looking h2 { color: var(--gt-red); border-bottom-color: var(--gt-red); }

.chat-card { border-top-color: var(--gt-red); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 220px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.6rem;
  background: rgba(0,48,87,0.03);
  border: 1px solid rgba(0,48,87,0.12);
  border-radius: 8px;
  margin-bottom: 0.8rem;
}
.chat-msg { display: flex; }
.chat-msg-user { justify-content: flex-end; }
.chat-msg-assistant, .chat-msg-system { justify-content: flex-start; }
.chat-bubble {
  max-width: 88%;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.chat-msg-user .chat-bubble {
  background: var(--gt-navy);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.chat-msg-assistant .chat-bubble {
  background: #fff;
  border: 1px solid rgba(179,163,105,0.5);
  border-left: 3px solid var(--gt-gold-bright);
  border-bottom-left-radius: 3px;
  color: var(--ink);
}
.chat-msg-assistant .chat-bubble a { color: var(--gt-red); font-weight: 600; }
.chat-msg-system .chat-bubble { background: rgba(200,16,46,0.08); color: var(--gt-red); font-style: italic; }
.chat-form { display: flex; flex-direction: column; gap: 0.5rem; }
#chat-input {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 2px solid rgba(0,48,87,0.35);
  border-radius: 6px;
  resize: vertical;
  min-height: 3rem;
  background: #fff;
  color: var(--ink);
}
#chat-input:focus { outline: none; border-color: var(--gt-gold-bright); box-shadow: 0 0 0 3px rgba(234,170,0,0.25); }
.chat-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.chat-status { color: var(--muted); font-size: 0.9rem; }
.chat-submit {
  background: var(--gt-red);
  color: #fff;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}
.chat-submit:hover { background: #a80d26; }
.chat-submit:disabled { background: #999; cursor: not-allowed; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.chip {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(179,163,105,0.15);
  border: 1px solid rgba(179,163,105,0.4);
  color: var(--gt-navy);
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}
.chip:hover { background: rgba(179,163,105,0.28); }
.chat-footnote { color: var(--muted); font-size: 0.85rem; margin-top: 0.9rem; line-height: 1.5; }
.chat-footnote a { color: var(--gt-red); }

/* --- Corner chat launcher (see adam/assets/chat-launcher.js) --- */
.wos-chat-root { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 9998; font-family: inherit; }
.wos-chat-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.wos-chat-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem 0.6rem 0.85rem;
  background: var(--gt-red); color: #fff;
  border: 2px solid var(--gt-gold-bright);
  border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(10,18,32,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.wos-chat-pill:hover { background: #a80d26; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10,18,32,0.4); }
.wos-chat-pill:focus-visible { outline: 3px solid var(--gt-gold-bright); outline-offset: 2px; }
.wos-chat-pill-icon { font-size: 1.05rem; line-height: 1; }
.wos-chat-pill-label { line-height: 1; }

.wos-chat-teaser {
  position: absolute; right: 0; bottom: 3.6rem;
  max-width: 260px;
  background: #fff; color: var(--ink);
  border: 1px solid rgba(179,163,105,0.5);
  border-left: 4px solid var(--gt-gold-bright);
  border-radius: 10px;
  padding: 0.6rem 2rem 0.6rem 0.8rem;
  box-shadow: 0 6px 14px rgba(10,18,32,0.25);
  opacity: 0; transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.9rem;
  cursor: pointer;
}
.wos-chat-teaser::after {
  content: ""; position: absolute; right: 1.2rem; bottom: -8px;
  width: 14px; height: 14px; background: #fff;
  border-right: 1px solid rgba(179,163,105,0.5);
  border-bottom: 1px solid rgba(179,163,105,0.5);
  transform: rotate(45deg);
}
.wos-chat-teaser-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wos-chat-teaser-close {
  position: absolute; top: 4px; right: 6px;
  background: transparent; border: 0; padding: 2px 6px;
  color: var(--muted); cursor: pointer; font-size: 1.05rem; line-height: 1;
}
.wos-chat-teaser-close:hover { color: var(--gt-red); }

.wos-chat-panel[hidden] { display: none !important; }
.wos-chat-panel {
  position: absolute; right: 0; bottom: 3.6rem;
  width: 380px; max-width: calc(100vw - 2rem);
  height: 520px; max-height: calc(100vh - 5rem);
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,48,87,0.25);
  border-top: 4px solid var(--gt-gold-bright);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(10,18,32,0.45);
  overflow: hidden;
  transform-origin: bottom right;
  animation: wos-chat-pop 0.18s ease-out;
}
@keyframes wos-chat-pop {
  from { opacity: 0; transform: scale(0.94) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wos-chat-panel { animation: none; }
  .wos-chat-teaser { transition: none; }
}

.wos-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: var(--gt-navy); color: #fff;
}
.wos-chat-title { font-size: 1rem; margin: 0; color: #fff; }
.wos-chat-header-right { display: flex; align-items: center; gap: 0.4rem; }
.wos-chat-full { color: var(--gt-gold-bright); font-size: 0.85rem; text-decoration: none; }
.wos-chat-full:hover { text-decoration: underline; }
.wos-chat-close {
  background: transparent; border: 0; color: #fff;
  font-size: 1.35rem; line-height: 1; cursor: pointer; padding: 0 0.4rem;
}
.wos-chat-close:hover { color: var(--gt-gold-bright); }

.wos-chat-messages {
  flex: 1 1 auto; overflow-y: auto;
  padding: 0.65rem; display: flex; flex-direction: column; gap: 0.5rem;
  background: rgba(0,48,87,0.03);
}
.wos-chat-msg { display: flex; }
.wos-chat-msg-user { justify-content: flex-end; }
.wos-chat-msg-assistant, .wos-chat-msg-system { justify-content: flex-start; }
.wos-chat-bubble {
  max-width: 88%; padding: 0.5rem 0.7rem; border-radius: 12px;
  line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; font-size: 0.92rem;
}
.wos-chat-msg-user .wos-chat-bubble {
  background: var(--gt-navy); color: #fff; border-bottom-right-radius: 3px;
}
.wos-chat-msg-assistant .wos-chat-bubble {
  background: #fff;
  border: 1px solid rgba(179,163,105,0.5);
  border-left: 3px solid var(--gt-gold-bright);
  border-bottom-left-radius: 3px;
  color: var(--ink);
}
.wos-chat-msg-assistant .wos-chat-bubble a { color: var(--gt-red); font-weight: 600; }
.wos-chat-msg-system .wos-chat-bubble { background: rgba(200,16,46,0.08); color: var(--gt-red); font-style: italic; }

.wos-chat-form { padding: 0.6rem; border-top: 1px solid rgba(0,48,87,0.12); background: #fff; }
.wos-chat-input {
  width: 100%; box-sizing: border-box;
  font: inherit; padding: 0.5rem 0.6rem;
  border: 2px solid rgba(0,48,87,0.25); border-radius: 6px;
  resize: none; min-height: 2.6rem;
  color: var(--ink); background: #fff;
}
.wos-chat-input:focus { outline: none; border-color: var(--gt-gold-bright); box-shadow: 0 0 0 3px rgba(234,170,0,0.25); }
.wos-chat-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; gap: 0.75rem; }
.wos-chat-status { color: var(--muted); font-size: 0.85rem; }
.wos-chat-submit {
  background: var(--gt-red); color: #fff; border: none;
  padding: 0.45rem 1.1rem; border-radius: 6px;
  font-weight: 700; font-size: 0.9rem; cursor: pointer;
}
.wos-chat-submit:hover { background: #a80d26; }
.wos-chat-submit:disabled { background: #999; cursor: not-allowed; }

@media (max-width: 520px) {
  .wos-chat-root { right: 0.75rem; bottom: 0.75rem; }
  .wos-chat-panel { width: calc(100vw - 1.5rem); height: calc(100vh - 4rem); }
  .wos-chat-pill-label { display: none; }
  .wos-chat-pill { padding: 0.75rem; }
  .wos-chat-pill-icon { font-size: 1.35rem; }
}
