:root,
:host {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #26313d;
  font-synthesis: none;
  --red: #d42b35;
  --red-dark: #b51e29;
  --ink: #18232e;
  --muted: #7e8790;
  --border: #e5e8eb;
  --paper: #f6f7f9;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
a {
  transition:
    background 0.16s,
    color 0.16s,
    box-shadow 0.16s;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6684a2;
  outline-offset: 3px;
}
input:focus,
textarea:focus {
  outline: 0;
  border-color: #aab5c2;
  box-shadow: 0 0 0 3px #e9edf2;
}
input,
textarea {
  width: 100%;
  border: 1px solid #dce1e6;
  border-radius: 9px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
textarea {
  resize: vertical;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #44515e;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  line-height: 1.2;
  margin-bottom: 10px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
}
small {
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
.muted-text {
  color: var(--muted);
  font-size: 13px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: #889099;
  text-transform: uppercase;
}
.brand {
  font-size: 37px;
  font-weight: 850;
  letter-spacing: -2.4px;
  color: #23303c;
  line-height: 1;
}
.brand span {
  color: var(--red);
  font-size: 13px;
  margin-left: 3px;
  letter-spacing: 0;
}
.brand-light {
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 17px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.btn.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 6px #d42b3512;
}
.btn.primary:hover {
  background: var(--red-dark);
}
.btn.secondary {
  background: #fff;
  border-color: #dfe4e9;
  color: #354352;
}
.btn.secondary:hover {
  background: #f3f5f7;
}
.btn.compact {
  padding: 8px 11px;
  font-size: 11px;
}
.btn.full {
  width: 100%;
  justify-content: space-between;
}
.text-link {
  color: #a9222e;
  font-size: 13px;
  font-weight: 650;
}
.text-button {
  border: 0;
  background: none;
  color: #6b7785;
  font-size: 11px;
  padding: 4px 0;
}
.text-button:hover {
  color: var(--red);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35a578;
  flex-shrink: 0;
}
.status-dot.amber {
  background: #d8972b;
}
.error {
  color: #b42332;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.error:empty {
  display: none;
}
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 5px;
  background: #eef1f4;
  color: #6d7885;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
}
.tag.bot {
  background: #eef4f0;
  color: #497c5c;
}
.tag.waiting,
.tag.amber {
  background: #fff4dd;
  color: #a1711f;
}
.tag.human {
  background: #eaf1fc;
  color: #4272ae;
}
.tag.closed {
  background: #f0f0f2;
  color: #858591;
}
.tag.muted {
  background: #f1f3f5;
  color: #76818c;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e6e8ec;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f3f1ed;
  color: #7d6958;
  font-size: 12px;
  font-weight: 700;
}
.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -2px;
}
.logo-mark.small {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  font-size: 21px;
}
/* Administration */
.admin-body {
  background: var(--paper);
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 226px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  background: #1d2935;
  padding: 29px 20px;
  color: #a8b4c0;
  z-index: 5;
}
.sidebar .brand {
  padding: 1px 10px 30px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #34404b;
  border-bottom: 1px solid #34404b;
  padding: 21px 0;
  margin-bottom: 26px;
}
.workspace-label strong {
  font-size: 12px;
  color: #e8edf1;
  display: block;
}
.workspace-label small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.workspace-label > .status-dot {
  margin-left: auto;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #728393;
  margin: 0 10px 12px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  border: 0;
  background: none;
  color: #a9b5c0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 11px;
  border-radius: 7px;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}
.nav-item > span {
  font-size: 18px;
  line-height: 1;
  width: 20px;
  text-align: center;
}
.nav-item.active {
  background: #35414d;
  color: #fff;
}
.nav-item.active > span {
  color: #f06d75;
}
.nav-item:hover {
  background: #2e3a46;
  color: #fff;
}
.nav-item b {
  margin-left: auto;
  background: #d42b35;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
}
.sidebar-bottom {
  margin-top: auto;
}
.demo-note {
  border: 1px solid #3b4652;
  border-radius: 9px;
  padding: 13px;
  margin-bottom: 18px;
}
.demo-note strong {
  font-size: 10px;
  color: #d9dfe4;
  margin-left: 7px;
}
.demo-note p {
  font-size: 11px;
  line-height: 1.7;
  margin: 8px 0 0 14px;
  color: #8e9ba8;
}
.admin-main {
  margin-left: 226px;
  width: calc(100% - 226px);
  min-width: 0;
}
.topbar {
  height: 67px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
}
.breadcrumb {
  font-size: 11px;
  color: #9aa1a9;
}
.breadcrumb span {
  margin: 0 15px;
  color: #c4cad0;
}
.breadcrumb strong {
  font-weight: 500;
  color: #5f6b77;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #7e8790;
}
.user-chip .avatar {
  margin-left: 15px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 31px 34px 24px;
  gap: 20px;
}
.page-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 11px;
}
.page-heading h1 {
  font-size: 28px;
  margin-bottom: 7px;
}
.page-heading p:last-child {
  margin-bottom: 0;
  color: #87909b;
  font-size: 12px;
}
.view {
  padding: 0 34px;
}
.global-error {
  margin: 0 34px 16px;
  padding: 12px;
  background: #fff0f1;
  border-radius: 8px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 24px;
}
.stats article {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 17px 20px;
  background: #fff;
}
.stats article > span {
  font-size: 11px;
  color: #717e8b;
  display: block;
}
.stats strong {
  font-size: 30px;
  font-weight: 650;
  display: block;
  letter-spacing: -1px;
  margin: 10px 0 8px;
}
.stats small {
  font-size: 10px;
  color: #a0a7af;
}
.stats small .status-dot {
  margin-right: 4px;
  width: 5px;
  height: 5px;
}
.inbox {
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  background: white;
  overflow: hidden;
  height: 650px;
  max-height: calc(100vh - 340px);
  min-height: 440px;
}
.conversation-list {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.list-heading {
  padding: 20px 18px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.list-heading h2 {
  font-size: 14px;
  margin: 0;
}
.count {
  background: #f0f2f5;
  color: #9ba3ad;
  font-size: 10px;
  border-radius: 5px;
  margin-left: 5px;
  padding: 3px 5px;
}
.live-label {
  font-size: 9px;
  color: #8d97a2;
  white-space: nowrap;
}
.live-label i {
  width: 4px;
  height: 4px;
  margin-right: 3px;
}
.search-label {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 16px 14px;
}
.search-label span {
  position: absolute;
  left: 11px;
  font-size: 21px;
  color: #9aa3ad;
  line-height: 1;
}
.search-label input {
  padding: 9px 10px 9px 32px;
  font-size: 11px;
  background: #f9fafb;
  border-color: #ebedf0;
  border-radius: 6px;
}
.filters {
  display: flex;
  padding: 0 13px 13px;
  gap: 3px;
  border-bottom: 1px solid var(--border);
}
.filters button {
  font-size: 9px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #939ca6;
  padding: 6px 8px;
}
.filters button.active {
  background: #fbecef;
  color: #b52c3a;
}
.conversation-items {
  overflow: auto;
  flex: 1;
}
.conversation-item {
  display: block;
  text-align: left;
  width: 100%;
  padding: 15px 18px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #f0f2f4;
  border-left: 3px solid transparent;
}
.conversation-item:hover {
  background: #fafbfc;
}
.conversation-item.selected {
  background: #fdf6f6;
  border-left-color: var(--red);
}
.conversation-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.conversation-row strong {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conversation-row time {
  font-size: 9px;
  color: #98a1aa;
  margin-left: auto;
}
.conversation-row .avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 10px;
}
.preview-text {
  font-size: 11px;
  color: #8a939e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 9px 0;
}
.conversation-item .tag {
  font-size: 8px;
  padding: 3px 6px;
}
.list-empty {
  padding: 35px 22px;
  text-align: center;
  color: #929ca5;
}
.list-empty strong {
  font-size: 12px;
  font-weight: 500;
}
.list-empty p {
  font-size: 11px;
  margin-top: 10px;
}
.conversation-detail {
  min-width: 0;
  min-height: 0;
}
.empty-state {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 63px;
  height: 63px;
  border-radius: 20px;
  background: #f8eff0;
  color: #bd4853;
  font-size: 29px;
  margin-bottom: 22px;
}
.empty-state h2 {
  font-size: 18px;
}
.empty-state p {
  font-size: 12px;
  color: #919ba5;
  max-width: 270px;
  margin-bottom: 25px;
}
.empty-state .btn {
  font-size: 11px;
}
.active-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.detail-header {
  padding: 17px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f1f3;
  gap: 12px;
}
.detail-header h2 {
  font-size: 13px;
  margin-bottom: 4px;
}
.detail-header small {
  color: #9aa3ad;
  font-size: 10px;
}
.detail-actions {
  padding: 9px 20px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #f0f1f3;
}
.messages {
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
}
.admin-messages {
  flex: 1;
  padding: 18px 22px;
  background: #fcfcfd;
}
.message {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 17px;
  max-width: 90%;
}
.message.visitor {
  align-items: flex-end;
  margin-left: auto;
}
.message-author {
  font-size: 9px;
  color: #9ba4ae;
  margin: 0 2px 5px;
}
.bubble {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.65;
  border: 1px solid #e8ebef;
  background: #fff;
  border-radius: 0 11px 11px 11px;
  padding: 10px 13px;
  color: #53616e;
}
.visitor .bubble {
  background: #253746;
  border-color: #253746;
  border-radius: 11px 0 11px 11px;
  color: #fff;
}
.operator .bubble {
  border-color: #e5d4d7;
  background: #fff4f5;
}
.message-time {
  font-size: 8px;
  color: #aeb6be;
  margin: 5px 2px 0;
}
.message.system {
  max-width: 100%;
  align-items: center;
  margin: 12px 0;
}
.system .bubble {
  font-size: 10px;
  color: #9a8b73;
  background: #faf7f0;
  border: 0;
  text-align: center;
  border-radius: 6px;
  padding: 6px 10px;
}
.system .message-time {
  display: none;
}
.reply-form {
  padding: 13px 20px 15px;
  border-top: 1px solid var(--border);
}
.reply-form textarea {
  border: 0;
  box-shadow: none;
  padding: 5px 0;
  font-size: 12px;
  resize: none;
  background: transparent;
}
.reply-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}
.reply-form span {
  font-size: 9px;
  color: #a2aab2;
}
.reply-form .btn {
  font-size: 11px;
  padding: 9px 14px;
}
.admin-footer {
  padding: 25px 35px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #b0b8c0;
}
.admin-footer span:first-child {
  font-weight: 650;
}
.notice {
  border: 1px solid #eee3ce;
  background: #fffbf3;
  border-radius: 8px;
  padding: 13px 16px;
  color: #9c7b40;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.catalog-search {
  max-width: 440px;
  margin: 0 0 20px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  border: 1px solid #e5e8eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  padding: 12px;
  gap: 13px;
  width: 100%;
}
.product-card > img {
  width: 86px;
  height: 86px;
  border-radius: 7px;
  align-self: center;
}
.product-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-info > .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.product-info > strong {
  font-size: 12px;
  line-height: 1.4;
  margin: 5px 0;
}
.product-info > p {
  font-size: 10px;
  color: #8d969f;
  margin-bottom: 8px;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.product-foot b {
  font-size: 12px;
  color: #c32c38;
}
.product-foot .tag {
  font-size: 8px;
}
.settings-layout {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  padding: 25px;
}
.panel-heading {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}
.panel-heading h2 {
  font-size: 15px;
  margin-bottom: 6px;
}
.panel-heading p {
  font-size: 11px;
  color: #98a1ab;
  margin: 0;
}
.step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  background: #f9eff0;
  border-radius: 8px;
  font-size: 10px;
  color: #ba4d57;
}
.panel > label {
  margin-bottom: 22px;
}
.faq-row {
  border-bottom: 1px solid #eff1f3;
  margin-bottom: 18px;
  padding-bottom: 15px;
}
.faq-row label {
  margin-bottom: 13px;
  font-size: 11px;
}
.faq-row input,
.faq-row textarea {
  font-size: 12px;
}
.save-row {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.save-row > span {
  font-size: 12px;
  color: #4b8460;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.integration-card {
  position: relative;
}
.integration-icon {
  height: 45px;
  width: 45px;
  border-radius: 12px;
  background: #eaf3e4;
  color: #5a8b36;
  font-size: 25px;
  font-weight: 750;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
}
.integration-icon.dark {
  background: #eaf0ee;
  color: #314f45;
}
.integration-icon.neutral {
  background: #f0edf5;
  color: #8b7baa;
}
.integration-card > .tag {
  position: absolute;
  right: 20px;
  top: 26px;
}
.integration-card h2 {
  font-size: 17px;
}
.integration-card p {
  font-size: 12px;
  color: #8a94a0;
}
.integration-card p strong {
  font-weight: 550;
  color: #5d6874;
}
/* Authentication */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.auth-art {
  background: #1e2d3a;
  color: #c2ccd4;
  padding: 48px 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.auth-art:after {
  content: "";
  width: 540px;
  height: 540px;
  border: 1px solid #344350;
  position: absolute;
  right: -290px;
  top: 30%;
  border-radius: 50%;
  pointer-events: none;
}
.auth-art h1 {
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -1.4px;
  color: white;
  margin: 24px 0;
}
.auth-art p {
  font-size: 14px;
  color: #91a1af;
  max-width: 310px;
}
.auth-art .eyebrow {
  color: #bb7d84;
  font-size: 9px;
}
.auth-art > small {
  font-size: 10px;
  color: #6c8191;
}
.auth-form-wrap {
  display: grid;
  place-items: center;
  padding: 45px;
}
.auth-form {
  width: 100%;
  max-width: 345px;
}
.auth-form .logo-mark {
  margin-bottom: 32px;
}
.auth-form > .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.auth-form h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
}
.auth-form .muted-text {
  margin-bottom: 25px;
  line-height: 1.8;
}
.auth-form label {
  margin: 19px 0;
}
.auth-form .error {
  margin-bottom: 15px;
}
.auth-form > .text-link {
  display: block;
  text-align: center;
  margin-top: 25px;
  font-size: 11px;
}
/* Widget */
.widget-body {
  background: #fff;
  height: 100dvh;
}
.chat-panel {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px;
  background: #203140;
  color: #fff;
  border-bottom: 3px solid var(--red);
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  letter-spacing: -2px;
  font-weight: 800;
  font-size: 27px;
  flex-shrink: 0;
}
.chat-header strong {
  font-size: 13px;
}
.chat-header small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #acbdcc;
  margin-top: 5px;
}
.chat-header .status-dot {
  width: 5px;
  height: 5px;
}
.icon-button {
  background: none;
  border: 0;
  color: #c2cbd3;
  font-size: 24px;
  padding: 5px;
  margin-left: auto;
}
.simulation-strip {
  background: #fff9ed;
  font-size: 9px;
  color: #a58b55;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #f1eadc;
}
.simulation-strip > span {
  font-size: 8px;
  letter-spacing: 0.6px;
  font-weight: 750;
  border: 1px solid #e5d6b9;
  border-radius: 3px;
  padding: 1px 4px;
}
.widget-messages {
  flex: 1;
  padding: 18px 14px 3px;
  background: #f8f9fa;
}
.widget-messages .message {
  max-width: 93%;
  margin-bottom: 15px;
}
.widget-messages .bubble {
  font-size: 12px;
  line-height: 1.65;
}
.widget-messages .product-card {
  padding: 8px;
  gap: 8px;
  margin-top: 9px;
}
.widget-messages .product-card > img {
  width: 55px;
  height: 64px;
}
.widget-messages .product-info > strong {
  font-size: 11px;
}
.widget-messages .product-info > p {
  display: none;
}
.widget-messages .product-foot .tag {
  display: none;
}
.widget-messages .message-author {
  font-size: 8px;
}
.widget-messages .product-foot b {
  font-size: 11px;
}
.quick-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 13px 14px;
  background: #f8f9fa;
}
.topic {
  padding: 9px 10px;
  border: 1px solid #e4e7eb;
  background: #fff;
  border-radius: 7px;
  color: #63717f;
  font-size: 10px;
  text-align: left;
}
.topic:before {
  content: "↗";
  color: #c43e49;
  margin-right: 6px;
}
.topic:hover {
  border-color: #dca5ac;
  background: #fff9fa;
}
.chat-controls {
  padding: 10px 14px 6px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf0f3;
}
.chat-controls .text-button {
  font-size: 9px;
}
.chat-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 12px 0;
  padding: 5px;
  border: 1px solid #dfe4e9;
  border-radius: 10px;
  background: #fff;
}
.chat-composer textarea {
  border: 0;
  box-shadow: none;
  font-size: 12px;
  resize: none;
  padding: 7px 8px;
  max-height: 80px;
}
.chat-composer button {
  border: 0;
  border-radius: 7px;
  background: var(--red);
  color: white;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  font-size: 22px;
}
.chat-footer {
  text-align: center;
  font-size: 8px;
  color: #a3acb5;
  padding: 10px 4px;
}
.chat-footer span {
  margin: 0 5px;
}
.contact-section {
  padding: 8px 14px 0;
  border-top: 1px solid #eceff2;
  max-height: 220px;
  overflow: auto;
}
.contact-section form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 0;
}
.contact-section label {
  font-size: 10px;
  gap: 3px;
}
.contact-section input {
  font-size: 11px;
  padding: 6px 8px;
}
.contact-section small {
  grid-column: 1/-1;
  color: #98a2ac;
  font-size: 8px;
}
.contact-section .muted-text {
  margin: 6px 0;
  font-size: 10px;
}
.widget-body .error {
  padding: 5px 14px;
  font-size: 10px;
}
.chat-launcher {
  position: fixed;
  bottom: 25px;
  right: 27px;
  width: 61px;
  height: 61px;
  border-radius: 50%;
  background: #203140;
  border: 3px solid white;
  box-shadow: 0 5px 22px #152b3b35;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -3px;
  color: #fff;
  z-index: 2147483001;
  cursor: pointer;
}
.chat-launcher:hover {
  background: var(--red);
}
.launcher-hint {
  position: fixed;
  right: 100px;
  bottom: 40px;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  padding: 10px 14px;
  background: white;
  color: #556471;
  font-size: 11px;
  box-shadow: 0 4px 18px #2233440c;
  z-index: 2147483000;
}
.chat-frame {
  position: fixed;
  bottom: 100px;
  right: 27px;
  width: 380px;
  height: min(650px, calc(100dvh - 125px));
  border: 1px solid #e3e6eb;
  border-radius: 16px;
  box-shadow: 0 15px 60px #172d4930;
  background: #fff;
  z-index: 2147483000;
}
/* Demonstration storefront */
.store-body {
  background: #fff;
  color: #26313d;
}
.preview-bar {
  background: #233341;
  color: #afbcc7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6%;
  font-size: 10px;
  letter-spacing: 0.1px;
}
.preview-bar .status-dot {
  margin-right: 7px;
  width: 5px;
  height: 5px;
}
.preview-bar a {
  color: white;
  font-size: 10px;
}
.store-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 6%;
  border-bottom: 1px solid #efefef;
}
.store-header .brand {
  font-size: 44px;
}
.store-tagline {
  max-width: 110px;
  font-size: 10px;
  line-height: 1.5;
  color: #969da5;
  border-left: 1px solid #ddd;
  padding-left: 20px;
}
.store-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 560px;
  margin-left: auto;
  position: relative;
}
.store-search span {
  position: absolute;
  left: 15px;
  font-size: 25px;
  color: #99a3ac;
}
.store-search input {
  padding-left: 42px;
  background: #f8f9fa;
  border-color: #ebedef;
  font-size: 12px;
}
.store-account {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 24px;
  color: #7b8792;
}
.store-account span {
  font-size: 11px;
}
.store-nav {
  display: flex;
  gap: 32px;
  padding: 0 6%;
  border-bottom: 1px solid #e9ebed;
  overflow: auto;
}
.store-nav button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 11px;
  padding: 17px 0;
  white-space: nowrap;
  color: #7c8792;
}
.store-nav button.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.store-main {
  max-width: 1440px;
  margin: auto;
  padding: 28px 6% 0;
}
.store-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 390px;
  border: 1px solid #edece9;
  border-radius: 17px;
  background: #f7f5f2;
  overflow: hidden;
  padding: 47px 48px;
  position: relative;
}
.store-hero .eyebrow {
  color: #b67d7b;
  font-size: 9px;
  margin-bottom: 22px;
}
.store-hero h1 {
  font-size: 42px;
  letter-spacing: -1.8px;
  line-height: 1.14;
  font-weight: 700;
}
.store-hero em {
  font-style: normal;
  color: var(--red);
}
.store-hero p:not(.eyebrow) {
  font-size: 12px;
  color: #879098;
  max-width: 330px;
  margin: 20px 0 24px;
}
.store-hero small {
  display: block;
  color: #a0a5a9;
  font-size: 9px;
  margin-top: 15px;
}
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #e9e4df;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.orbit-two {
  width: 290px;
  height: 290px;
  background: #f0ece7;
}
.hero-chat-card {
  width: 270px;
  background: #fff;
  border: 1px solid #e5e1db;
  padding: 22px;
  border-radius: 17px;
  box-shadow: 0 15px 32px #4135280a;
  transform: rotate(-3deg);
  position: relative;
}
.hero-chat-card > .chat-avatar {
  width: 33px;
  height: 33px;
  font-size: 24px;
  display: inline-grid;
  vertical-align: middle;
  margin-right: 7px;
}
.hero-chat-card > strong {
  font-size: 12px;
}
.store-hero .hero-chat-card > p {
  background: #f5f7fa;
  padding: 11px 10px;
  border-radius: 8px;
  font-size: 11px;
  margin: 18px 0;
  color: #667582;
}
.mini-product {
  border: 1px solid #edf0f2;
  border-radius: 9px;
  display: flex;
  gap: 10px;
  padding: 9px;
  align-items: center;
}
.mini-product img {
  width: 60px;
  height: 65px;
  border-radius: 6px;
}
.mini-product small {
  font-size: 6px;
  letter-spacing: 0.5px;
  margin: 0 0 7px;
}
.mini-product b {
  font-size: 10px;
  display: block;
  margin-bottom: 8px;
}
.mini-product span {
  color: #bb2a36;
  font-size: 11px;
  font-weight: 700;
}
.hero-badge {
  position: absolute;
  bottom: -24px;
  left: 30px;
  background: #243747;
  color: #cdd9e1;
  box-shadow: 0 7px 15px #24374715;
  border-radius: 7px;
  padding: 13px 17px;
  font-size: 9px;
  white-space: nowrap;
  transform: rotate(3deg);
}
.store-catalog {
  padding: 43px 0 26px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 23px;
}
.section-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 9px;
}
.section-heading h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin-bottom: 0;
}
.section-heading > .muted-text {
  font-size: 10px;
}
.store-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.store-product {
  border: 1px solid #e8eaed;
  border-radius: 12px;
  overflow: hidden;
}
.product-visual {
  position: relative;
  background: #f6f5f2;
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.product-visual img {
  width: 125px;
  height: 135px;
}
.demo-label {
  position: absolute;
  top: 12px;
  left: 13px;
  font-size: 7px;
  color: #a1a29d;
  border: 1px solid #dedfd9;
  border-radius: 3px;
  padding: 3px 5px;
  letter-spacing: 1px;
}
.store-product-content {
  padding: 19px;
}
.store-product-content .eyebrow {
  font-size: 7px;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.store-product-content h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.sku {
  font-size: 9px;
  color: #a7afb6;
  margin-bottom: 19px;
}
.store-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.store-product-bottom > strong {
  font-size: 16px;
  font-weight: 650;
  color: #293846;
}
.ask-product {
  border: 1px solid #e3e7eb;
  border-radius: 7px;
  background: #fff;
  color: #73818d;
  width: 30px;
  height: 30px;
  font-size: 17px;
}
.ask-product:hover {
  border-color: #d58890;
  color: var(--red);
}
.store-product-content > small {
  font-size: 9px;
  color: #a7afb6;
}
.catalog-disclaimer {
  font-size: 9px;
  color: #a8afb6;
  margin: 18px 0 0;
}
.demo-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid #eceef0;
  padding: 28px 0 40px;
}
.demo-how > div {
  padding-right: 22px;
}
.demo-how span {
  font-size: 10px;
  color: #bd777f;
  display: block;
  margin-bottom: 12px;
}
.demo-how h3 {
  font-size: 12px;
  margin-bottom: 9px;
}
.demo-how p {
  font-size: 10px;
  color: #9ba4ad;
  margin: 0;
}
.store-footer {
  border-top: 1px solid #eef0f2;
  padding: 27px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}
.store-footer .brand {
  font-size: 28px;
}
.store-footer p,
.store-footer > a:last-child {
  font-size: 10px;
  color: #9da7af;
  margin: 0;
}
@media (min-width: 1600px) {
  .inbox {
    max-height: none;
    height: 690px;
  }
  .admin-main {
    max-width: 1800px;
  }
  .store-main {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 195px;
    padding: 26px 14px;
  }
  .admin-main {
    margin-left: 195px;
    width: calc(100% - 195px);
  }
  .topbar {
    padding: 0 24px;
  }
  .page-heading {
    padding: 28px 24px 22px;
  }
  .view {
    padding: 0 24px;
  }
  .stats {
    gap: 10px;
  }
  .stats article {
    padding: 15px 12px;
  }
  .stats article > span {
    font-size: 10px;
  }
  .stats small {
    font-size: 8px;
  }
  .live-label {
    display: none;
  }
  .inbox {
    grid-template-columns: 270px 1fr;
  }
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .integration-card {
    max-width: 680px;
  }
  .integration-icon {
    margin-bottom: 18px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .store-hero {
    padding: 40px 33px;
  }
  .store-hero h1 {
    font-size: 35px;
  }
  .hero-chat-card {
    width: 245px;
  }
  .store-tagline {
    display: none;
  }
  .store-nav {
    gap: 25px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px 20px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .sidebar .brand {
    padding: 0;
    font-size: 28px;
  }
  .sidebar .workspace-label,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
  }
  .nav-item {
    font-size: 10px;
    padding: 10px 8px;
    width: auto;
    gap: 5px;
  }
  .nav-item > span {
    font-size: 14px;
    width: auto;
  }
  .workspace {
    display: block;
  }
  .admin-main {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 50px;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .inbox {
    max-height: none;
    height: 620px;
    grid-template-columns: 255px 1fr;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .store-hero h1 {
    font-size: 31px;
  }
  .hero-illustration {
    transform: scale(0.9);
  }
  .store-products {
    gap: 13px;
  }
  .store-product-content {
    padding: 14px;
  }
  .store-product-content h3 {
    font-size: 12px;
  }
  .store-search {
    max-width: none;
  }
  .store-header {
    padding-top: 22px;
    padding-bottom: 22px;
    gap: 20px;
  }
  .auth-art {
    padding: 35px 30px;
  }
  .auth-art h1 {
    font-size: 31px;
  }
  .auth-form-wrap {
    padding: 30px;
  }
  .page-heading .btn {
    font-size: 10px;
  }
  .store-nav {
    gap: 19px;
  }
  .store-nav button {
    font-size: 10px;
  }
}
@media (max-width: 600px) {
  .preview-bar {
    font-size: 8px;
    padding: 9px 16px;
    gap: 12px;
  }
  .preview-bar a {
    font-size: 8px;
    white-space: nowrap;
  }
  .store-header {
    padding: 20px 18px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .store-header .brand {
    font-size: 36px;
  }
  .store-search {
    order: 3;
    width: 100%;
    flex: auto;
  }
  .store-account {
    margin-left: auto;
  }
  .store-nav {
    padding: 0 18px;
    gap: 22px;
  }
  .store-main {
    padding: 18px 16px 0;
  }
  .store-hero {
    display: block;
    padding: 29px 25px;
    min-height: 0;
  }
  .store-hero h1 {
    font-size: 33px;
  }
  .store-hero .eyebrow {
    font-size: 8px;
  }
  .store-hero p:not(.eyebrow) {
    font-size: 12px;
  }
  .hero-illustration {
    display: none;
  }
  .store-hero small {
    font-size: 8px;
  }
  .store-catalog {
    padding-top: 29px;
  }
  .section-heading {
    align-items: start;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading > .muted-text {
    font-size: 9px;
    max-width: 70px;
    text-align: right;
  }
  .store-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .product-visual {
    height: 130px;
  }
  .product-visual img {
    width: 100px;
    height: 100px;
  }
  .store-product-content {
    padding: 12px;
  }
  .store-product-content h3 {
    font-size: 11px;
    line-height: 1.4;
    min-height: 31px;
  }
  .store-product-content .eyebrow {
    font-size: 6px;
    letter-spacing: 0.8px;
  }
  .store-product-bottom > strong {
    font-size: 13px;
  }
  .store-product-content > small {
    font-size: 8px;
  }
  .demo-how {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 25px;
  }
  .demo-how > div {
    padding-right: 0;
  }
  .demo-how span {
    float: left;
    margin: 3px 13px 0 0;
  }
  .demo-how p {
    margin-left: 26px;
  }
  .store-footer {
    padding: 20px 18px 80px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .store-footer p {
    font-size: 9px;
  }
  .chat-frame {
    right: 10px;
    bottom: 84px;
    width: calc(100vw - 20px);
    height: min(620px, calc(100dvh - 100px));
    border-radius: 14px;
  }
  .chat-launcher {
    right: 15px;
    bottom: 15px;
    width: 55px;
    height: 55px;
  }
  .launcher-hint {
    right: 82px;
    bottom: 27px;
    font-size: 10px;
  }
  .auth-shell {
    display: block;
  }
  .auth-art {
    display: none;
  }
  .auth-form-wrap {
    min-height: 100vh;
    padding: 30px;
  }
  .sidebar {
    padding: 14px 12px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .sidebar nav {
    justify-content: space-between;
    overflow: auto;
  }
  .nav-item {
    font-size: 9px;
    padding: 8px 5px;
  }
  .nav-item > span {
    display: none;
  }
  .sidebar .brand {
    font-size: 25px;
  }
  .topbar {
    padding: 0 16px;
  }
  .page-heading {
    padding: 23px 16px 20px;
    align-items: start;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p:last-child {
    font-size: 10px;
    max-width: 190px;
  }
  .page-heading .btn {
    padding: 9px 10px;
    font-size: 9px;
    gap: 4px;
    margin-top: 20px;
  }
  .view {
    padding: 0 12px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
  }
  .stats article {
    padding: 12px 14px;
  }
  .stats strong {
    font-size: 26px;
    margin: 6px 0;
  }
  .inbox {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 800px;
  }
  .conversation-list {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    max-height: 300px;
    min-height: 210px;
  }
  .conversation-items {
    min-height: 90px;
  }
  .list-heading {
    padding: 14px 16px 10px;
  }
  .conversation-item {
    padding: 12px 16px;
  }
  .conversation-detail {
    height: 560px;
  }
  .empty-state {
    padding: 25px;
  }
  .detail-header {
    padding: 14px;
  }
  .detail-actions {
    padding: 9px 12px;
    flex-wrap: wrap;
  }
  .detail-actions .btn {
    font-size: 10px;
  }
  .admin-messages {
    padding: 15px;
  }
  .reply-form {
    padding: 12px;
  }
  .reply-form span {
    max-width: 170px;
  }
  .panel {
    padding: 20px;
  }
  .settings-layout {
    gap: 14px;
  }
  .global-error {
    margin: 0 12px 14px;
  }
  .save-row {
    flex-direction: column;
    align-items: stretch;
  }
  .integration-grid {
    gap: 13px;
  }
  .admin-footer {
    padding: 20px 15px;
  }
  .catalog-grid .product-card > img {
    width: 65px;
    height: 65px;
  }
  .catalog-grid .product-info > p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.mobile-logout {
  display: none;
}
@media (max-width: 850px) {
  .mobile-logout {
    display: inline-block;
    font-size: 10px;
    margin-left: 8px;
  }
}
