/* Modern responsive styles - keep IDs/classes used by templates */
:root{
  --bg: #f6f8fa;
  --card: #ffffff;
  --muted: #6c757d;
  --text: #222831;
  --primary: #0d6efd; /* bootstrap-like blue */
  --accent: #28a745;
  --radius: 12px;
  --container-max: 900px;
}

html, body { height: 100%; }
body{
  margin:0;
  font-family: InterLocal, Inter, Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI";
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Centered page container */
#content{
  width: 92%;
  max-width: 640px;
  margin: 28px auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.06);
  border: 1px solid rgba(17,24,39,0.04);
}

/* Card look used across pages */
.card, .uploadForm, .form-signin {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(17,24,39,0.06);
  border: 1px solid rgba(17,24,39,0.04);
}

/* Modern form styles */
.form-signin{
  width: 100%;
  padding: 28px;
  box-sizing: border-box;
}

.form-signin .form-control{
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid rgba(17,24,39,0.08);
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.form-signin .form-control:focus{
  outline: none;
  box-shadow: 0 4px 12px rgba(13,110,253,0.08);
  border-color: rgba(13,110,253,0.6);
}

/* Primary buttons */
.btn-primary{
  display: inline-block;
  width: 100%;
  background: linear-gradient(90deg,var(--primary), #0056d6);
  color:var(--surface-text);
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(13,110,253,0.12);
  transition: transform .08s ease, box-shadow .12s ease;
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 10px 28px rgba(13,110,253,0.14); }
.btn-lg{ padding: 12px 16px; font-size: 16px; }
.btn-success{ background: linear-gradient(90deg,var(--accent), #1e7e34); color:var(--surface-text); border-radius:10px; padding:12px; border:none; }
.btn-warning{ background:#ffc107; color:#222; border-radius:10px; padding:12px; border:none; }

/* Subtitle & headings */
#top_title{ font-weight:700; font-size:22px; margin-bottom:6px; }
#sub_title{ color:var(--primary); font-weight:500; }

/* Utilities */
.longDescription{ max-width: 760px; margin: 0 auto; text-align: justify; color:var(--muted); }
.seoBreadcrumb{ margin: 0 0 18px; font-size: 0.95rem; text-align:left; color:var(--muted); }
.seoBreadcrumb a{ color:var(--primary); font-weight:600; }
.seoInternalLinking{ margin-top:28px; padding:20px; border:1px solid rgba(13,110,253,0.12); border-radius:16px; background:linear-gradient(180deg,#f8fbff,#ffffff); text-align:left; }
.seoInternalLinking h2{ margin-top:12px; color:#1f3f68; }
.seoInternalLinks{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px 16px; padding-left:18px; }
.seoInternalLinks li{ margin-bottom:6px; }
.seoInternalLinks a{ color:var(--primary); font-weight:600; text-decoration:none; }
.seoInternalLinks a:hover{ text-decoration:underline; }

/* Chat / messages (adapted to new theme) */
.media-chat .media-body p{ padding: 10px 12px; background:#f1f5f9; color: #3b3f47; border-radius: 10px; }
.media-chat.media-chat-reverse .media-body p{ background: linear-gradient(90deg,var(--primary),#2fa6ff); color: #fff; }

/* Publisher */
.publisher{ display:flex; gap:8px; align-items:center; padding:12px; border-top:1px solid rgba(17,24,39,0.04); background:linear-gradient(180deg,#fff,#fbfdff); border-radius: 0 0 var(--radius) var(--radius); }
.publisher-input{ padding:10px 12px; border-radius:8px; border:1px solid rgba(17,24,39,0.06); flex:1; }
.publisher-btn{ background:transparent; border:none; color:var(--muted); cursor:pointer; }

/* Loading state */
#loading{ display:none; text-align:center; padding:36px; }

/* Full page loader */
#global-loader-backdrop{
  position:fixed;
  inset:0;
  background:rgba(15,20,36,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
}
#global-loader{
  width:96px;
  height:96px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 30px rgba(0,0,0,0.2);
}
#global-loader .spinner{
  width:56px;
  height:56px;
  border-radius:50%;
  border:6px solid rgba(255,255,255,0.12);
  border-top-color:var(--primary);
  animation:spin 1s linear infinite;
}
@keyframes spin{ to { transform:rotate(360deg); } }

/* small visible text under spinner */
#global-loader .loader-text{ margin-top:10px; color: #fff; font-size:14px; text-align:center; }
#global-loader > div{display:flex;flex-direction:column;align-items:center;width:100%;}

/* Fade-in when content is revealed */
.content-fade {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .36s ease, transform .36s ease;
}
.content-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button micro-interaction for clicks */
.btn:active{ transform: translateY(0) scale(.995); transition: transform .06s ease; }

/* subtle hover for interactive icons */
.publisher-btn:hover, .publisher-btn:focus{ color: var(--primary); transform: translateY(-2px); }

/* ensure language links are consistent */
.languages-inline a{ padding:6px 8px; border-radius:8px; background:transparent; color:var(--muted); text-decoration:none; }
.languages-inline a:hover{ background: rgba(13,110,253,0.04); color: var(--primary); }

/* Responsive adjustments */
@media (max-width: 767px){
  #content{ padding: 18px 12px; }
  .form-signin{ padding: 18px; }
  #top_title{ font-size:18px; }
}

@media (min-width: 768px){
  #content{ margin: 40px auto; }
  .form-signin{ max-width:560px; margin: 0 auto; }
}

/* Keep legacy selectors compatible */
.uploadForm{ padding: 18px; }
.card-bordered{ border: 1px solid rgba(17,24,39,0.04); }
.card-title{ font-weight:600; font-size:18px; color:var(--text); padding: 12px 16px; }

/* Accessibility improvements */
input:focus, textarea:focus, button:focus{ box-shadow: 0 6px 18px rgba(13,110,253,0.08); }

/* Small screens: make language links wrap nicely */
.languages-inline{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }

/* keep legacy styles that other pages may depend on but supersede visual treatment */
.text-info { color: var(--primary) !important; }

/* Voice chat page */
#content.voice-page{
  max-width:720px;
  margin:42px auto 32px;
  padding:22px;
  border:1px solid rgba(14,70,140,.10);
  background:
    radial-gradient(circle at 100% 0, rgba(13,110,253,.10), transparent 31%),
    linear-gradient(145deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 20px 60px rgba(18,52,86,.10);
}
.voice-page__header{
  margin-bottom:20px;
  padding:0 2px 16px;
  border-bottom:1px solid rgba(14,70,140,.10);
}
.voice-page__header #top_logo img{ max-height:48px; width:auto; }
/* The speaking and idle companion visuals need enough presence to feel conversational. */
.voice-page__header #top_logo img[data-speech-logo="1"]{
  display:block;
  width:clamp(300px,38vw,390px) !important;
  height:auto !important;
  max-height:none;
  aspect-ratio:272 / 153;
  padding:4px;
  border-radius:14px;
  background:linear-gradient(135deg,#f7fbff,#edf5ff);
  box-shadow:0 10px 24px rgba(25,82,142,.10);
}
.voice-page__header #top_logo img[data-speech-logo="1"].speech-logo-enter,
.text-page__header #top_logo img[data-speech-logo="1"].speech-logo-enter{
  animation:speech-logo-enter .42s cubic-bezier(.22,.8,.32,1) both;
}
@keyframes speech-logo-enter{
  from{ opacity:0; transform:translateY(8px) scale(.975); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
.voice-page__header #languageSelect{
  min-height:40px;
  border:1px solid #d5e1f1;
  border-radius:9px;
  color:#28415e;
  font-size:.875rem;
  font-weight:600;
  background-color:#fff;
  box-shadow:none;
}
.voice-recorder-card{
  position:relative;
  overflow:hidden;
  padding:clamp(24px,4vw,36px) !important;
  border:1px solid rgba(13,110,253,.16) !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.88);
  box-shadow:0 16px 38px rgba(19,68,118,.10) !important;
}
.voice-recorder-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#0b63d1,#34a6ff);
}
.voice-page #top_title{
  margin:0 0 8px;
  color:#172b4d;
  font-size:clamp(1.55rem,3.5vw,2rem);
  letter-spacing:-.035em;
}
.voice-page #sub_title{
  display:block;
  margin:0 auto 26px;
  color:#5a6f89 !important;
  font-size:1rem;
  line-height:1.55;
}
.voice-recorder-card__actions{ display:grid; gap:10px; }
.voice-recorder-card #startRecord,
.voice-recorder-card #stopRecord,
.voice-recorder-card__send{
  min-height:54px;
  border-radius:11px;
  font-size:1rem;
  letter-spacing:.005em;
}
.voice-recorder-card #startRecord{
  background:linear-gradient(135deg,#0b63d1,#087ce5);
  box-shadow:0 10px 22px rgba(11,99,209,.24);
}
.voice-recorder-card #startRecord #microIcon{ margin-right:3px; }
.voice-recorder-card #stopRecord{
  background:#eff4fa;
  color:#46617e;
  box-shadow:none;
}
.voice-recorder-card #stopRecord:not(:disabled){
  color:#fff;
  background:linear-gradient(135deg,#d84242,#b92323);
  box-shadow:0 10px 22px rgba(185,35,35,.20);
}
.voice-recorder-card .btn:disabled{
  opacity:1;
  cursor:not-allowed;
  filter:saturate(.55);
}
.voice-recorder-card__preview{
  width:100%;
  margin:16px 0;
  border-collapse:separate;
  border-spacing:0;
  background:#f5f8fc;
  border:1px solid #e3ebf5;
  border-radius:11px;
}
.voice-recorder-card__preview td{ padding:10px; }
.voice-recorder-card__preview audio{ display:block; max-width:100%; }
.voice-recorder-card__send:disabled{ background:#aebdce; box-shadow:none; }
.voice-page__divider{
  margin:26px 0 18px;
  border:0;
  border-top:1px solid #dce6f2;
}
.voice-page__alternatives{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.voice-page__alternatives .btn{
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #cbdcf0;
  background:#fff;
  color:#17579f;
  box-shadow:none;
  font-size:.94rem;
}
.voice-page__alternatives .btn:hover,
.voice-page__alternatives .btn:focus{
  color:#084fb0;
  border-color:#72a9e7;
  background:#f1f7ff;
  box-shadow:0 8px 20px rgba(28,89,151,.10);
}
@media (max-width:575px){
  #content.voice-page{ width:94%; margin:18px auto 24px; padding:14px; border-radius:16px; }
  #top_image.voice-page__header{ flex-wrap:wrap; row-gap:8px; margin-bottom:14px; padding-bottom:12px; }
  .voice-page__header #top_logo img{ max-height:38px; }
  .voice-page__header #top_logo img[data-speech-logo="1"]{
    width:min(100%,320px) !important;
    max-height:none;
  }
  .voice-page__header #languageSelect{ max-width:132px; margin-left:6px !important; }
  .voice-recorder-card{ padding:24px 16px !important; border-radius:14px !important; }
  .voice-page #sub_title{ margin-bottom:20px; font-size:.92rem; }
  .voice-recorder-card__preview audio{ width:100% !important; }
  .voice-page__alternatives{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){
  .voice-page .btn{ transition:none; }
  .voice-page__header #top_logo img[data-speech-logo="1"].speech-logo-enter,
  .text-page__header #top_logo img[data-speech-logo="1"].speech-logo-enter{ animation:none; }
}

/* Text chat page */
#content.text-page{
  max-width:720px;
  margin:42px auto 32px;
  padding:22px;
  border:1px solid rgba(14,70,140,.10);
  background:
    radial-gradient(circle at 100% 0, rgba(13,110,253,.10), transparent 31%),
    linear-gradient(145deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 20px 60px rgba(18,52,86,.10);
}
.text-page__header{
  margin-bottom:20px;
  padding:0 2px 16px;
  border-bottom:1px solid rgba(14,70,140,.10);
}
.text-page__header #top_logo img{ max-height:48px; width:auto; }
/* Keep the speaking and idle companion prominent in text conversations too. */
.text-page__header #top_logo img[data-speech-logo="1"]{
  display:block;
  width:clamp(300px,38vw,390px) !important;
  height:auto !important;
  max-height:none;
  aspect-ratio:272 / 153;
  padding:4px;
  border-radius:14px;
  background:linear-gradient(135deg,#f7fbff,#edf5ff);
  box-shadow:0 10px 24px rgba(25,82,142,.10);
}
.text-page__header #languageSelect{
  min-height:40px;
  border:1px solid #d5e1f1;
  border-radius:9px;
  color:#28415e;
  font-size:.875rem;
  font-weight:600;
  background-color:#fff;
  box-shadow:none;
}
.text-composer-card{
  position:relative;
  overflow:hidden;
  padding:clamp(22px,4vw,34px) !important;
  border:1px solid rgba(13,110,253,.16) !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.90);
  box-shadow:0 16px 38px rgba(19,68,118,.10) !important;
}
.text-composer-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#0b63d1,#34a6ff);
}
.text-page #top_title:empty,
.text-page #sub_title:empty{ display:none; }
.text-page #sub_title:has(br:only-child){ display:none; }
.text-page #top_title:not(:empty){
  margin:0 0 8px;
  color:#172b4d;
  font-size:clamp(1.55rem,3.5vw,2rem);
  letter-spacing:-.035em;
}
.text-page #sub_title:not(:empty){
  display:block;
  margin:0 auto 22px;
  color:#5a6f89 !important;
  line-height:1.55;
}
.text-composer-card #textToSend{
  display:block;
  width:100% !important;
  min-height:184px;
  margin:0;
  padding:16px;
  resize:vertical;
  border:1px solid #cedcec;
  border-radius:12px;
  background:#fbfdff;
  color:#213a58;
  font:inherit;
  line-height:1.55;
  box-sizing:border-box;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.text-composer-card #textToSend::placeholder{ color:#8292a6; }
.text-composer-card #textToSend:focus{
  outline:0;
  border-color:#4a96e8;
  background:#fff;
  box-shadow:0 0 0 4px rgba(13,110,253,.11);
}
.text-composer-card__response{
  width:100%;
  margin:16px 0;
  border-collapse:separate;
  border-spacing:0;
  background:#f5f8fc;
  border:1px solid #e3ebf5;
  border-radius:11px;
}
.text-composer-card__response td{ padding:10px; }
.text-composer-card__response audio{ display:block; max-width:100%; }
.text-composer-card #responseText{
  color:#365777;
  font-size:.92rem;
  line-height:1.45;
  text-align:left;
}
.text-composer-card__send{
  min-height:54px;
  border-radius:11px;
  font-size:1rem;
  box-shadow:0 10px 22px rgba(11,99,209,.24);
}
.text-page__divider{
  margin:26px 0 18px;
  border:0;
  border-top:1px solid #dce6f2;
}
.text-page__alternatives{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.text-page__alternatives br{ display:none; }
.text-page__alternatives .btn{
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 !important;
  border:1px solid #cbdcf0;
  background:#fff;
  color:#17579f;
  box-shadow:none;
  font-size:.94rem;
}
.text-page__alternatives .btn:hover,
.text-page__alternatives .btn:focus{
  color:#084fb0;
  border-color:#72a9e7;
  background:#f1f7ff;
  box-shadow:0 8px 20px rgba(28,89,151,.10);
}
@media (max-width:575px){
  #content.text-page{ width:94%; margin:18px auto 24px; padding:14px; border-radius:16px; }
  #top_image.text-page__header{ flex-wrap:wrap; row-gap:8px; margin-bottom:14px; padding-bottom:12px; }
  .text-page__header #top_logo img{ max-height:38px; }
  .text-page__header #top_logo img[data-speech-logo="1"]{
    width:min(100%,320px) !important;
    max-height:none;
  }
  .text-page__header #languageSelect{ max-width:132px; margin-left:6px !important; }
  .text-composer-card{ padding:24px 16px !important; border-radius:14px !important; }
  .text-composer-card #textToSend{ min-height:156px; padding:14px; }
  .text-composer-card__response audio{ width:100% !important; }
  .text-page__alternatives{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){
  .text-composer-card #textToSend,
  .text-page .btn{ transition:none; }
}

/* Prefer a locally installed Inter font if present */
@font-face {
  font-family: 'InterLocal';
  src: url('../vendor/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InterLocal';
  src: url('../vendor/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Homepage document workspace */
body:has(.document-workspace){
  background:
    radial-gradient(circle at 5% 0%, rgba(48, 132, 255, .14), transparent 28rem),
    radial-gradient(circle at 96% 14%, rgba(38, 190, 146, .10), transparent 22rem),
    #f5f8fc;
}
.document-workspace#content{
  width:min(1120px, calc(100% - 32px));
  max-width:1120px;
  margin:30px auto 24px;
  padding:clamp(18px, 3vw, 38px);
  text-align:left;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(151,174,205,.28);
  border-radius:24px;
  box-shadow:0 22px 70px rgba(33,62,108,.10);
}
.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:42px;}
.workspace-brand{display:inline-flex;align-items:center;text-decoration:none;min-width:0;}
.workspace-brand #top_logo img{max-height:44px;width:auto;object-fit:contain;}
.workspace-language select{width:auto!important;min-width:124px;margin:0!important;border-radius:10px;border-color:#d7e1f0;color:#31415b;font-size:.88rem;}
.workspace-intro{max-width:730px;margin:44px auto 34px!important;text-align:center;}
.workspace-kicker{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #cfe0ff;border-radius:999px;background:#edf5ff;color:#2165b7;font-size:.75rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;}
.workspace-intro #top_title{margin:15px 0 10px!important;color:#152b4b;font-size:clamp(1.85rem,4vw,3rem);line-height:1.08;letter-spacing:-.045em;}
.workspace-intro #sub_title{display:block;margin:0!important;color:#4f6381!important;font-size:clamp(.98rem,1.8vw,1.12rem);font-weight:400;line-height:1.65;}
.workspace-seo-intro{margin:18px auto 0;color:#63738a;font-size:.95rem;line-height:1.6;}
.workspace-seo-intro p{margin:0;}
.workspace-panel{padding:clamp(18px,3vw,28px);border:1px solid #deE7f3;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(38,67,112,.055);}
.workspace-panel + .workspace-panel{margin-top:18px;}
.workspace-panel--upload{border-top:3px solid #2577e8;}
.workspace-panel--chat{border-top:3px solid #14a36f;}
.workspace-panel__heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px;}
.workspace-panel__heading h2{margin:1px 0 3px;color:#193151;font-size:1.1rem;font-weight:700;line-height:1.3;}
.workspace-panel__heading p{margin:0;color:#6e7e94;font-size:.9rem;line-height:1.45;}
.workspace-panel__icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#eaf3ff;color:#2577e8;font-size:1.05rem;}
.workspace-panel--chat .workspace-panel__icon{background:#e9f9f2;color:#129365;}
.uploadFilesForm,.chatWithVector{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
.workspace-panel__toolbar{display:flex;justify-content:flex-end;margin:-8px 0 12px;}
.upload-dropzone{display:flex!important;align-items:center;justify-content:center;min-height:238px!important;padding:24px!important;border:1.5px dashed #77a9ee!important;border-radius:15px!important;background:linear-gradient(135deg,#f7fbff,#edf6ff)!important;transition:border-color .18s ease,background .18s ease,transform .18s ease!important;cursor:pointer;}
.upload-dropzone:hover,.upload-dropzone:focus{outline:0;border-color:#2275e8!important;background:#f1f7ff!important;transform:translateY(-1px);}
.upload-dropzone__content{display:flex;flex-direction:column;align-items:center;max-width:480px;text-align:center;color:#61728a;}
.upload-dropzone__content strong{margin-top:11px;color:#1b3559;font-size:1.12rem;}.upload-dropzone__content small{margin-top:6px;color:#8391a3;}.upload-dropzone__icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#dcebff;color:#2577e8;font-size:1.55rem;}.upload-dropzone__content .btn{margin-top:17px;}
#uploadFilesInput{display:none;}.external-urls,.selected-files,.uploaded-documents{margin-top:21px;padding-top:19px;border-top:1px solid #e8eef6;}.workspace-field-label,.question-field label{display:block;margin-bottom:8px;color:#304866;font-size:.9rem;font-weight:700;}
#externalUrlsList{display:flex;flex-direction:column;gap:8px;}.external-url-row{display:flex;align-items:center;gap:8px;}.external-urls #addExternalUrlButton{margin-top:9px;}.external-urls small,.instructions-field small,.vector-store-field small{display:block;margin-top:7px;color:#7b899b;font-size:.8rem;}.form-control{border-color:#d7e1ee;border-radius:10px;box-shadow:none!important;}.form-control:focus{border-color:#6198e9!important;}
.upload-response-row{display:flex;align-items:center;gap:9px;margin-top:16px;color:#2167ba;}.upload-response-row img,.chat-submit-row img{width:26px;height:26px;}.uploadFilesForm .btn-primary{margin-top:17px;}.uploaded-documents__header{display:flex;align-items:center;justify-content:space-between;gap:12px;}.uploaded-documents__header .workspace-field-label{margin:0;}.uploaded-documents #uploadedDocumentsEmpty{margin-top:9px;color:#7b899b;font-size:.9rem;}.uploaded-documents ul,.selected-files ul{padding:0;margin:9px 0 0;list-style:none;}
.question-field textarea{min-height:105px;resize:vertical;}.instructions-field{margin-top:13px;}.instructions-field #chatVectorInstructionsWrapper{margin-top:10px;}.chat-submit-row{display:flex;align-items:center;gap:10px;margin-top:18px;}.chat-submit-row .btn{width:auto;min-width:190px;}.workspace-panel--chat .btn-success{background:linear-gradient(135deg,#13a471,#07865a);box-shadow:0 8px 20px rgba(11,148,101,.18);}.workspace-panel--chat #chatVectorNoVectorWarning{margin-top:13px;color:#be3d44;}.workspace-panel--chat #chatVectorIngestionWarning{margin-top:13px;color:#a66b08;}.workspace-panel--chat #chatVectorConversation{display:flex;flex-direction:column;margin-top:19px;}
.workspace-account-actions{margin-top:22px;text-align:center;}.workspace-account-actions .btn{margin-top:9px;}.workspace-description{width:min(940px,calc(100% - 32px));max-width:940px;margin:0 auto 28px!important;padding:20px 4px;color:#65748a;text-align:left;line-height:1.65;}.workspace-languages{text-align:center;margin-bottom:21px;padding-bottom:18px;border-bottom:1px solid #dde7f2;}.workspace-languages a{margin:0 5px;color:#276bc0;text-decoration:none;font-size:.88rem;}.workspace-legal{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:24px;padding-top:17px;border-top:1px solid #dde7f2;}.workspace-legal a{color:#526b89;text-decoration:none;font-size:.87rem;}.workspace-legal a:hover,.workspace-languages a:hover{text-decoration:underline;}
@media (max-width: 640px){.document-workspace#content{width:calc(100% - 20px);margin:10px auto 18px;padding:18px 14px;border-radius:18px;}.workspace-intro{margin:30px auto 25px!important;}.workspace-intro #top_title{font-size:1.85rem!important;}.workspace-panel{padding:18px 14px;border-radius:15px;}.upload-dropzone{min-height:210px!important;padding:18px!important;}.workspace-header{gap:10px;}.workspace-brand #top_logo img{max-width:160px;max-height:36px;}.workspace-language select{min-width:0;max-width:120px;font-size:.8rem;}.external-url-row{align-items:stretch;flex-wrap:wrap;}.external-url-row .form-control{width:100%;flex:1 1 100%;}.chat-submit-row .btn{width:100%;}.workspace-description{width:calc(100% - 28px);font-size:.92rem;}.workspace-panel__heading{gap:10px;}.workspace-panel__icon{flex-basis:34px;width:34px;height:34px;}}
@media (prefers-reduced-motion:reduce){.upload-dropzone{transition:none!important;}.upload-dropzone:hover,.upload-dropzone:focus{transform:none;}}
/* Legal links are centered. */
.workspace-legal{justify-content:center;}
