/* THYNK SUP-CHAT-01.3C: confined UI foundation; no Tutor selectors. */
.thynk-support-widget, .thynk-support-page, .thynk-support-guest-shell {font-family:inherit;color:#002d4d;}
.thynk-support-widget *, .thynk-support-page *, .thynk-support-guest-shell * {box-sizing:border-box;}
.thynk-support-eyebrow {margin:0 0 6px;letter-spacing:.08em;font-size:11px;font-weight:800;color:#008e92;}
.thynk-support-widget {position:relative;z-index:1100;}
.thynk-support-launcher {position:fixed;z-index:1102;right:24px;bottom:22px;display:flex;align-items:center;gap:8px;min-height:54px;border:0;border-radius:40px;background:#002d4d;color:#fff;padding:10px 18px;box-shadow:0 8px 25px rgba(0,45,77,.28);font-weight:700;font-size:14px;cursor:pointer;}
.thynk-support-launcher span:first-child {display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:19px;color:#002d4d;background:#2fcdcf;}
.thynk-support-backdrop {position:fixed;inset:0;background:rgba(0,28,46,.42);z-index:1100;}
.thynk-support-dialog {position:fixed;z-index:1101;right:24px;bottom:90px;width:min(390px,calc(100vw - 32px));max-height:min(680px,calc(100dvh - 118px));overflow:hidden;display:flex;flex-direction:column;background:#fff;border:1px solid #cddfea;border-radius:18px;box-shadow:0 18px 55px rgba(0,25,49,.22);}
.thynk-support-dialog-head {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;background:linear-gradient(120deg,#e5f9f8,#eef3ff);padding:20px;}
.thynk-support-dialog-head h2 {margin:0;font-size:20px;line-height:1.3;color:#002d4d;}
.thynk-support-close {display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #cddfea;border-radius:10px;background:#fff;color:#002d4d;font-size:24px;cursor:pointer;}
.thynk-support-dialog-body {overflow-y:auto;overscroll-behavior:contain;padding:18px 20px 22px;}
.thynk-support-intro {margin:0 0 18px;font-size:14px;line-height:1.6;color:#4b657d;}
.thynk-support-topic-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.thynk-support-topic-grid a {display:flex;align-items:center;min-height:78px;padding:13px 12px;border:1px solid #cbdde7;border-radius:12px;background:#f8fbfd;color:#002d4d;text-decoration:none;font-size:13px;font-weight:700;line-height:1.45;}
.thynk-support-topic-grid a:hover {border-color:#2fcdcf;background:#effcfb;}
.thynk-support-primary-link {display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:13px 16px;border-radius:10px;background:#002d4d;color:#fff!important;text-decoration:none;font-weight:700;font-size:14px;}
.thynk-support-pending-note {font-size:12px;color:#607489;line-height:1.6;margin:16px 0 8px;}
.thynk-support-text-link {font-size:13px;color:#005b73;text-decoration:underline;}
html.thynk-support-open {overflow:hidden;}
.thynk-support-widget [hidden] {display:none!important;}
html.thynk-menu-open .thynk-support-widget {z-index:0;}
html.thynk-menu-open .thynk-support-launcher {visibility:hidden;pointer-events:none;}
.thynk-support-widget :focus-visible, .thynk-support-page :focus-visible, .thynk-support-guest-shell :focus-visible {outline:3px solid #2fcdcf;outline-offset:3px;}
/* Full Support page (guest or signed in); avoid global dashboard selectors. */
.thynk-support-page {width:min(1100px,100%);min-width:0;margin:0 auto;padding:24px 12px 60px;}
.thynk-support-page-hero {background:linear-gradient(115deg,#dff9f8,#edf0ff);padding:30px;border:1px solid #d0e7ec;border-radius:18px;margin-bottom:22px;}
.thynk-support-page-hero h1 {font-size:clamp(25px,3vw,34px);margin:0 0 9px;color:#002d4d;}
.thynk-support-page-hero p:last-child {font-size:14px;color:#435e77;line-height:1.6;margin:0;}
.thynk-support-page-card {background:#fff;border:1px solid #d2e1ea;border-radius:18px;padding:24px;margin-bottom:20px;}
.thynk-support-page-card h2 {font-size:19px;color:#002d4d;margin:0 0 18px;}
.thynk-support-page-topics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.thynk-support-page-topic {display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #cbdde7;border-radius:12px;text-decoration:none;color:#002d4d;background:#fafdff;}
.thynk-support-page-topic strong {font-size:14px;}
.thynk-support-page-topic span {font-size:12px;line-height:1.5;color:#607489;}
.thynk-support-page-topic:hover,.thynk-support-page-topic.is-selected {border-color:#20babc;background:#f0fbfc;}
.thynk-support-article-placeholder {margin-top:22px;padding:18px;border-left:4px solid #2fcdcf;border-radius:10px;background:#f2f9fa;}
.thynk-support-article-placeholder h3 {font-size:16px;margin:0 0 8px;}
.thynk-support-article-placeholder p {font-size:13px;color:#435e77;line-height:1.6;margin:8px 0;}
.thynk-support-article-placeholder a {color:#005b73;font-weight:700;}
.thynk-support-contact-actions {display:flex;flex-wrap:wrap;gap:10px;}
.thynk-support-contact-actions button {min-height:42px;padding:10px 14px;border:1px solid #cbdde7;border-radius:9px;background:#eef3f5;color:#607489;font:inherit;font-size:13px;cursor:not-allowed;}
.thynk-support-muted {font-size:13px;line-height:1.6;color:#607489;margin:15px 0 0;}
.thynk-support-guest-shell {min-height:100vh;background:#f0f6f9;}
.thynk-support-public-nav {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px max(20px,calc((100vw - 1090px)/2));background:#fff;border-bottom:1px solid #d7e4eb;}
.thynk-support-public-nav strong {font-size:24px;color:#002d4d;letter-spacing:.03em;}
.thynk-support-public-nav a {font-weight:700;text-decoration:none;color:#005b73;}
.thynk-support-public-footer {padding:20px;text-align:center;font-size:12px;color:#607489;}
@media(max-width:760px) {.thynk-support-page-topics {grid-template-columns:repeat(2,minmax(0,1fr));}.thynk-support-page-card {padding:18px;}}
@media(max-width:520px) {.thynk-support-launcher {right:12px;bottom:max(12px,env(safe-area-inset-bottom));}.thynk-support-dialog {right:10px;left:10px;width:auto;bottom:76px;max-height:calc(100dvh - 94px);}.thynk-support-dialog-head {padding:16px;}.thynk-support-dialog-body {padding:16px;}.thynk-support-page {padding:16px 10px 32px;}.thynk-support-page-hero {padding:22px 18px;}.thynk-support-page-topics {grid-template-columns:1fr;}.thynk-support-page-topic {padding:14px;}.thynk-support-public-nav {padding:12px 16px;}}
@media(prefers-reduced-motion:reduce) {.thynk-support-widget *, .thynk-support-page * {scroll-behavior:auto!important;transition:none!important;}}


/* THYNK SUP-CHAT-01.3D | Visual-only topic accent system
   Scoped to Support UI. No routes, endpoints, access checks, or Tutor changes.
   Applies to the existing 01.3C markup, using CSS-only icons. */
.thynk-support-page, .thynk-support-widget, .thynk-support-guest-shell {
  --sc-navy: #002d4d;
  --sc-teal: #2fcdcf;
  --sc-muted: #4b657d;
}
.thynk-support-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(117deg, #dcfaf6 0%, #ebf6ff 53%, #f2eaff 100%);
  border-color: #c8e9ea;
  box-shadow: 0 12px 30px rgba(0,45,77,.055);
}
.thynk-support-page-hero::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -80px;
  width: 220px;
  height: 220px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,95,224,.16), rgba(126,95,224,0) 71%);
  pointer-events: none;
}
.thynk-support-page-hero h1 {
  letter-spacing: -.025em;
}
.thynk-support-page-hero .thynk-support-eyebrow {
  color: #087d83;
}
.thynk-support-page-card {
  box-shadow: 0 8px 28px rgba(0,45,77,.045);
}
.thynk-support-page-card h2 {
  letter-spacing: -.01em;
}
/* Shared six-category design tokens. Matches the PHP topic array order. */
.thynk-support-page-topic:nth-child(1),
.thynk-support-topic-grid a:nth-child(1) {
  --sc-accent: #078d8d;
  --sc-soft: #e4f8f6;
  --sc-border: #a8e2e0;
  --sc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2215%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22m11%2012%209-9m-3%200%203%203m-6%200%203%203%22%2F%3E%3C%2Fsvg%3E");
}
.thynk-support-page-topic:nth-child(2),
.thynk-support-topic-grid a:nth-child(2) {
  --sc-accent: #2863db;
  --sc-soft: #ecf3ff;
  --sc-border: #bcd1fc;
  --sc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%204.5h6M9%2010h6m-6%204h6m-6%204h4%22%2F%3E%3C%2Fsvg%3E");
}
.thynk-support-page-topic:nth-child(3),
.thynk-support-topic-grid a:nth-child(3) {
  --sc-accent: #8051d5;
  --sc-soft: #f3edff;
  --sc-border: #dbcaf8;
  --sc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%202%202.3%207.7L22%2012l-7.7%202.3L12%2022l-2.3-7.7L2%2012l7.7-2.3z%22%2F%3E%3C%2Fsvg%3E");
}
.thynk-support-page-topic:nth-child(4),
.thynk-support-topic-grid a:nth-child(4) {
  --sc-accent: #bd710e;
  --sc-soft: #fff5e5;
  --sc-border: #f5d9a7;
  --sc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2010h18M7%2015h4%22%2F%3E%3C%2Fsvg%3E");
}
.thynk-support-page-topic:nth-child(5) {
  --sc-accent: #bf5052;
  --sc-soft: #fff0f0;
  --sc-border: #f1c3c6;
  --sc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%207a5%205%200%200%201-6.2%206.2L8%2019a3%203%200%201%201-3-3l5.8-5.8A5%205%200%200%201%2017%204l-3%203%203%203z%22%2F%3E%3C%2Fsvg%3E");
}
.thynk-support-page-topic:nth-child(6) {
  --sc-accent: #08846c;
  --sc-soft: #eafaf3;
  --sc-border: #ade2d3;
  --sc-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2016v-4m4%204V8m4%208v-6%22%2F%3E%3C%2Fsvg%3E");
}

/* Page tiles: icon + title + compact description. */
.thynk-support-page-topic {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: center;
  column-gap: 12px;
  row-gap: 6px;
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--sc-border,#cbdde7);
  border-top: 3px solid var(--sc-accent,#2fcdcf);
  border-radius: 13px;
  background: linear-gradient(135deg,var(--sc-soft,#f8fbfd) 0%,#fff 88%);
  box-shadow: 0 2px 7px rgba(0,45,77,.025);
  transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.thynk-support-page-topic::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background-color: var(--sc-accent,#078d8d);
  background-image: var(--sc-icon,none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 23px 23px;
  box-shadow: 0 5px 12px rgba(0,45,77,.08);
}
.thynk-support-page-topic strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  line-height: 1.45;
}
.thynk-support-page-topic span {
  grid-column: 2;
  grid-row: 2;
  color: #4c6076;
  font-size: 12px;
  line-height: 1.5;
}
.thynk-support-page-topic:hover,
.thynk-support-page-topic:focus-visible {
  transform: translateY(-3px);
  border-color: var(--sc-accent,#2fcdcf);
  background: linear-gradient(135deg,var(--sc-soft,#f0fbfc),#fff 85%);
  box-shadow: 0 12px 24px rgba(0,45,77,.095);
}
.thynk-support-page-topic.is-selected {
  border-color: var(--sc-accent,#2fcdcf);
  background: linear-gradient(135deg,var(--sc-soft,#f0fbfc),#fff 85%);
  box-shadow: inset 0 0 0 1px var(--sc-border,#cbdde7),0 6px 18px rgba(0,45,77,.06);
}
.thynk-support-page-topic.is-selected::before {
  box-shadow: 0 0 0 3px #fff,0 0 0 5px var(--sc-border,#a8e2e0);
}
/* Article placeholder remains explicitly a placeholder until FAQ API exists. */
.thynk-support-article-placeholder {
  border-left-color: #2fcdcf;
  border-top: 1px solid #cbecef;
  border-right: 1px solid #cbecef;
  border-bottom: 1px solid #cbecef;
  background: linear-gradient(120deg,#ecfbfa,#f6f8ff);
}
.thynk-support-article-placeholder h3 {color: #003c61;}
.thynk-support-article-placeholder a {
  color: #006e86;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
/* Pending contact actions remain truly disabled and non-clickable. */
.thynk-support-contact-actions button {
  opacity: 1;
  border-radius: 11px;
  border-color: #adddcd;
  background: #eafaf1;
  color: #326f58;
  font-weight: 700;
  cursor: not-allowed;
}
.thynk-support-contact-actions button:nth-child(2) {
  border-color: #d6c9f4;
  background: #f4efff;
  color: #705c96;
}
/* Modal/launcher visual polish, without changing its focus, close or z-index behavior. */
.thynk-support-launcher {
  border: 1px solid rgba(47,205,207,.32);
  background: linear-gradient(115deg,#002d4d 0%,#065775 100%);
  box-shadow: 0 11px 30px rgba(0,45,77,.25);
  transition: transform .18s ease,box-shadow .18s ease;
}
.thynk-support-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(0,45,77,.30);
}
.thynk-support-launcher span:first-child {
  background: linear-gradient(135deg,#46ddd4,#c5fff0);
}
.thynk-support-dialog {
  border-color: #c9e2e9;
  box-shadow: 0 22px 58px rgba(0,25,49,.24);
}
.thynk-support-dialog-head {
  background: linear-gradient(113deg,#dcfaf7,#e9f4ff 55%,#f3eaff);
  border-bottom: 1px solid #d7ebee;
}
.thynk-support-topic-grid a {
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--sc-border,#cbdde7);
  border-left: 3px solid var(--sc-accent,#2fcdcf);
  background: linear-gradient(135deg,var(--sc-soft,#f8fbfd),#fff);
  transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.thynk-support-topic-grid a::before {
  content: "";
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background-color: var(--sc-accent,#078d8d);
  background-image: var(--sc-icon,none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px 19px;
}
.thynk-support-topic-grid a:hover,
.thynk-support-topic-grid a:focus-visible {
  border-color: var(--sc-accent,#2fcdcf);
  background: linear-gradient(135deg,var(--sc-soft,#f0fbfc),#fff);
  box-shadow: 0 6px 14px rgba(0,45,77,.08);
  transform: translateY(-2px);
}
.thynk-support-primary-link {
  background: linear-gradient(105deg,#002d4d,#006b81);
  box-shadow: 0 7px 16px rgba(0,45,77,.12);
}
.thynk-support-primary-link:hover {background: linear-gradient(105deg,#00516c,#008c9e);}
/* Keep mobile layout readable without changing sidebar/assessment styles. */
@media(max-width:760px) {
  .thynk-support-page-topic {min-height: 122px;}
}
@media(max-width:520px) {
  .thynk-support-page-topic {min-height: 108px;padding:14px;}
  .thynk-support-page-topic::before {width:38px;height:38px;background-size:21px 21px;}
  .thynk-support-page-topic {grid-template-columns:38px minmax(0,1fr);}
  .thynk-support-contact-actions {display:grid;grid-template-columns:minmax(0,1fr);}
  .thynk-support-contact-actions button {width:100%;min-width:0;text-align:center;white-space:normal;}
}
@media(max-width:390px) {
  .thynk-support-topic-grid {grid-template-columns:minmax(0,1fr);}
  .thynk-support-topic-grid a {min-height:58px;}
}
@media(prefers-reduced-motion:reduce) {
  .thynk-support-page-topic,
  .thynk-support-topic-grid a,
  .thynk-support-launcher {transition:none!important;transform:none!important;}
}

/* SUP-CHAT-01.4C — Published FAQ accordion integration (Support-only). */
.thynk-support-knowledge {min-width:0;}
.thynk-support-knowledge-intro {margin:4px 0 14px!important;}
.thynk-support-faq-search {margin:16px 0;}
.thynk-support-faq-search label {display:block;margin-bottom:6px;font-size:13px;font-weight:700;color:#002d4d;}
.thynk-support-faq-search-row {display:flex;gap:9px;align-items:stretch;}
.thynk-support-faq-search input {flex:1;min-width:0;width:100%;padding:11px 12px;border:1px solid #bdd5e3;border-radius:9px;background:#fff;color:#002d4d;font:inherit;font-size:14px;}
.thynk-support-faq-search button,.thynk-support-faq-more {padding:10px 15px;border:1px solid #007e85;border-radius:9px;background:#006c81;color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer;}
.thynk-support-faq-more {margin-top:12px;}
.thynk-support-knowledge [hidden],.thynk-support-quick-faq [hidden] {display:none!important;}
.thynk-support-faq-status {margin:10px 0!important;font-size:13px!important;line-height:1.6;color:#49677d!important;}
.thynk-support-faq-results {display:grid;gap:9px;min-width:0;}
.thynk-support-faq-item {min-width:0;background:#fff;border:1px solid #cddfea;border-radius:11px;overflow:hidden;}
.thynk-support-faq-item[open] {border-color:#2fcdcf;box-shadow:0 5px 15px rgba(0,45,77,.07);}
.thynk-support-faq-item summary {display:list-item;cursor:pointer;padding:13px 14px;font-size:14px;font-weight:700;color:#002d4d;line-height:1.5;list-style-position:inside;}
.thynk-support-faq-item summary:hover {background:#f1fbfc;}
.thynk-support-faq-answer {padding:0 14px 14px;border-top:1px solid #e9eff3;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:#294d69;}
.thynk-support-faq-answer p,.thynk-support-faq-answer ul,.thynk-support-faq-answer ol {margin:10px 0 0;}
.thynk-support-faq-answer a {color:#006d86;text-decoration:underline;}
.thynk-support-faq-answer img {max-width:100%;height:auto;}
.thynk-support-faq-recovery {margin-top:15px!important;}
.thynk-support-quick-faq {margin-top:18px;padding-top:15px;border-top:1px solid #d7e9ec;min-width:0;}
.thynk-support-quick-faq h3 {margin:0 0 6px;font-size:15px;color:#002d4d;}
.thynk-support-quick-faq .thynk-support-faq-item summary {font-size:12px;padding:10px;}
.thynk-support-quick-faq .thynk-support-faq-answer {font-size:12px;padding:0 10px 11px;}
.thynk-support-faq-all {display:inline-block;margin-top:12px;font-size:13px;font-weight:700;color:#006a80;text-decoration:underline;}
.thynk-support-dialog .thynk-support-topic-grid a:nth-child(5) {--sc-accent:#bf5052;--sc-soft:#fff0f0;--sc-border:#f1c3c6;--sc-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272%27%3E%3Cpath%20d%3D%27M20%207a5%205%200%200%201-6%206l-6%206a3%203%200%200%201-4-4l6-6a5%205%200%200%201%206-6l-3%203%203%203z%27/%3E%3C/svg%3E");}
.thynk-support-dialog .thynk-support-topic-grid a:nth-child(6) {--sc-accent:#08846c;--sc-soft:#eafaf3;--sc-border:#ade2d3;--sc-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272%27%3E%3Crect%20x%3D%274%27%20y%3D%273%27%20width%3D%2716%27%20height%3D%2718%27%20rx%3D%272%27/%3E%3Cpath%20d%3D%27M8%2016v-4m4%204V8m4%208v-6%27/%3E%3C/svg%3E");}
@media(max-width:520px) { .thynk-support-faq-search-row {flex-direction:column;}.thynk-support-faq-search button {width:100%;} }


/* SUP-CHAT-01.4D: Conversational, FAQ-grounded UI. Scoped to existing Support widget. */
.thynk-support-chat {display:flex;flex-direction:column;min-width:0;gap:10px;}
.thynk-support-chat-disclosure {align-self:flex-start;margin:0;padding:5px 10px;border-radius:99px;background:#e8f8fa;color:#006d78;font-size:11px;font-weight:700;line-height:1.4;}
.thynk-support-chat-history {display:flex;flex-direction:column;gap:13px;min-width:0;min-height:185px;max-height:min(37dvh,320px);overflow-y:auto;overscroll-behavior:contain;padding:8px 4px 12px;scrollbar-width:thin;}
.thynk-support-chat-msg {display:flex;align-items:flex-end;gap:8px;min-width:0;}
.thynk-support-chat-msg.is-user {justify-content:flex-end;}
.thynk-support-chat-avatar {display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;background:#2fcdcf;color:#002d4d;border-radius:50%;font-weight:800;font-size:15px;}
.thynk-support-chat-bubble {max-width:calc(100% - 36px);min-width:0;border-radius:14px 14px 14px 3px;background:#f0f6f9;border:1px solid #d8e7ed;padding:11px 12px;font-size:13px;line-height:1.6;color:#153e58;overflow-wrap:anywhere;}
.thynk-support-chat-msg.is-user .thynk-support-chat-bubble {border-radius:14px 14px 3px 14px;color:#fff;background:#002d4d;border-color:#002d4d;}
.thynk-support-chat-faq-answer {border-top:1px solid #d7e9ec;margin-top:9px;padding-top:5px;overflow-wrap:anywhere;}
.thynk-support-chat-faq-answer p,.thynk-support-chat-faq-answer ul,.thynk-support-chat-faq-answer ol {margin:7px 0 0;}
.thynk-support-chat-faq-answer img {max-width:100%;height:auto;}
.thynk-support-chat-link {display:block;margin-top:9px;font-weight:700;color:#006a80;text-decoration:underline;}
.thynk-support-chat-prompts {display:flex;flex-wrap:wrap;gap:6px;}
.thynk-support-chat-prompts[hidden] {display:none!important;}
.thynk-support-chat-prompts button {padding:8px 10px;border-radius:99px;border:1px solid #c6dbea;background:#f7fbff;color:#003d60;font-size:11px;font-weight:700;line-height:1.3;cursor:pointer;}
.thynk-support-chat-prompts button:hover {border-color:#21bbbd;background:#edfbfb;}
.thynk-support-chat-form {margin:1px 0 0;}
.thynk-support-chat-label {display:block;font-size:12px;font-weight:700;color:#153e58;margin-bottom:5px;}
.thynk-support-chat-input-row {display:flex;align-items:stretch;gap:7px;}
.thynk-support-chat-input-row input {min-width:0;flex:1;width:100%;padding:11px 12px;background:#fff;border:1px solid #bbd2e1;border-radius:11px;font:inherit;font-size:13px;line-height:1.35;color:#002d4d;}
.thynk-support-chat-input-row button {min-width:56px;padding:8px 11px;background:#2fcdcf;border:1px solid #21b5b7;border-radius:11px;color:#002d4d;font-weight:800;font-size:12px;cursor:pointer;}
.thynk-support-chat-input-row button:disabled {opacity:.55;cursor:wait;}
.thynk-support-chat-status {margin:0!important;font-size:11px!important;color:#627d90!important;line-height:1.5!important;}
.thynk-support-chat-actions {display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:1px;}
.thynk-support-chat-actions a {font-size:12px;font-weight:700;color:#006f83;text-decoration:underline;}
.thynk-support-chat-handoff-note {margin:0!important;font-size:11px!important;line-height:1.5!important;color:#6b7b89!important;}
.thynk-support-library {border-top:1px solid #dce9ed;margin-top:16px;padding-top:13px;}
.thynk-support-library summary {cursor:pointer;font-size:12px;font-weight:700;color:#003a5f;}
.thynk-support-library .thynk-support-topic-grid {margin-top:11px;}
.thynk-support-dialog-body {min-height:0;}
@media(max-width:520px) {
  .thynk-support-chat-history {min-height:150px;max-height:31dvh;}
  .thynk-support-chat-input-row input {font-size:16px;}
  .thynk-support-chat-prompts button {font-size:11px;}
}
@media(prefers-reduced-motion:reduce) {.thynk-support-chat * {scroll-behavior:auto!important;}}


/* SUP-CHAT-01.4E.1 — Compact Support Assistant typography only.
   Keep mobile question input at 16px to avoid automatic iOS zoom.
   Display transient status only when populated by JS. */
.thynk-support-widget .thynk-support-dialog-head h2 {font-size:18px;line-height:1.3;}
.thynk-support-widget .thynk-support-eyebrow {font-size:10px;}
.thynk-support-widget .thynk-support-chat {gap:9px;}
.thynk-support-widget .thynk-support-chat-history {gap:10px;}
.thynk-support-widget .thynk-support-chat-bubble {font-size:12.5px;line-height:1.55;padding:10px 11px;}
.thynk-support-widget .thynk-support-chat-disclosure {font-size:10.5px;}
.thynk-support-widget .thynk-support-chat-label {font-size:11.5px;}
.thynk-support-widget .thynk-support-chat-prompts button {font-size:10.5px;}
.thynk-support-widget .thynk-support-chat-actions a {font-size:11.5px;}
.thynk-support-widget .thynk-support-chat-status:empty {display:none!important;}
@media (max-width:520px) {
  .thynk-support-widget .thynk-support-chat-bubble {font-size:13px;}
  .thynk-support-widget .thynk-support-chat-input-row input {font-size:16px;}
}
