/* Provati Admin — modern dashboard UI */
:root {
  --adm-bg: #f4f7f5;
  --adm-surface: #ffffff;
  --adm-border: #e3ebe6;
  --adm-text: #132a22;
  --adm-muted: #5f7a6f;
  --adm-brand: #0d5c44;
  --adm-brand-2: #14875f;
  --adm-accent: #e8a317;
  --adm-danger: #c0392b;
  --adm-warn: #b7791f;
  --adm-ok: #1a7f4e;
  --adm-radius: 14px;
  --adm-radius-sm: 10px;
  --adm-shadow: 0 8px 32px rgba(13, 92, 68, 0.08);
  --adm-side-w: 268px;
}

.admin-body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--adm-bg);
  color: var(--adm-text);
  -webkit-font-smoothing: antialiased;
}

.admin-shell {
  display: grid;
  grid-template-columns: var(--adm-side-w) 1fr;
  min-height: 100svh;
}

.admin-side {
  position: sticky;
  top: 0;
  height: 100svh;
  background: linear-gradient(165deg, #082f24 0%, #0d5c44 45%, #0f6b4f 100%);
  color: #e8f5ef;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  z-index: 40;
  box-shadow: 4px 0 40px rgba(8, 47, 36, 0.2);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.admin-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.admin-brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.admin-brand small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  font-weight: 600;
}

.admin-nav-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
  padding: 14px 12px 6px;
}

.admin-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--adm-radius-sm);
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.15s, color 0.15s, transform 0.1s;
}

.admin-side a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

.admin-side a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-side a.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.admin-side a.is-active svg { opacity: 1; }

.admin-side-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 8px;
}

.admin-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--adm-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f1b83b, #e8a317);
  color: #082f24;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}

.admin-user-info strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.admin-user-info small {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  word-break: break-all;
}

.admin-side-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--adm-radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.admin-logout-form { margin: 0; }

.admin-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 120, 100, 0.35);
  border-radius: var(--adm-radius-sm);
  background: rgba(192, 57, 43, 0.18);
  color: #ffe8e5;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.admin-logout-btn:hover {
  background: rgba(192, 57, 43, 0.32);
  transform: translateY(-1px);
}

.admin-logout-btn svg { width: 18px; height: 18px; }

.admin-workspace {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(20, 135, 95, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(232, 163, 23, 0.05), transparent),
    var(--adm-bg);
}

.admin-main {
  max-width: 1280px;
}

.adm-filter-bar {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: var(--adm-shadow);
}

.adm-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.adm-filter-field {
  display: grid;
  gap: 4px;
  margin: 0;
}

.adm-filter-field span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--adm-muted);
}

.adm-filter-field input,
.adm-filter-field select {
  margin: 0;
  padding: 9px 11px;
  font-size: 13px;
}

.adm-filter-search { grid-column: span 2; }

.adm-filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.adm-filter-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--adm-muted);
}

.adm-content-card {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  box-shadow: var(--adm-shadow);
  overflow: hidden;
}

.adm-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--adm-muted);
  font-weight: 600;
}

.adm-empty strong {
  display: block;
  font-size: 16px;
  color: var(--adm-text);
  margin-bottom: 6px;
}

.upload-zone-modern {
  border: 2px dashed #b8d4c8;
  border-radius: var(--adm-radius);
  padding: 20px;
  background: linear-gradient(180deg, #f8fbf9, #fff);
}

.upload-zone-modern .upload-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.upload-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  background: #edf9f1;
  color: var(--adm-brand);
  margin-bottom: 8px;
}

.danger-zone {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--adm-radius);
  border: 1px solid #f5c4be;
  background: #fff8f7;
}

.danger-zone h3 { margin: 0 0 8px; color: var(--adm-danger); font-size: 15px; }

.admin-workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 28px);
  background: rgba(244, 247, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--adm-border);
}

.admin-topbar-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.admin-breadcrumb {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--adm-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-topbar h1 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.admin-topbar .sub {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--adm-muted);
  margin-top: 2px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
}

.admin-badge.ok { color: var(--adm-ok); border-color: #b8e6cc; background: #edf9f1; }
.admin-badge.warn { color: var(--adm-warn); border-color: #f0ddb8; background: #fff9ed; }

.admin-main {
  padding: 0 clamp(16px, 3vw, 28px) 32px;
  flex: 1;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

/* Buttons */
.admin-body .btn,
.admin-body button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--adm-radius-sm);
  font-weight: 800;
  font-size: 13px;
  border: 1px solid var(--adm-border);
  background: var(--adm-surface);
  color: var(--adm-text);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s;
  text-decoration: none;
}

.admin-body .btn:hover { box-shadow: var(--adm-shadow); }
.admin-body .btn-primary,
.admin-body .btn.primary {
  background: linear-gradient(135deg, var(--adm-brand-2), var(--adm-brand));
  color: #fff;
  border: none;
}

.admin-body .btn-ghost {
  background: transparent;
  border-color: var(--adm-border);
}

.admin-body .btn-sm { padding: 6px 12px; font-size: 12px; }

/* Cards & grids */
.admin-card,
.settings-card,
.channel-panel {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: var(--adm-shadow);
}

.admin-card h2,
.settings-card h2,
.admin-card h3,
.settings-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--adm-brand);
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.stat-grid,
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card,
.analytics-card {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 18px;
  box-shadow: var(--adm-shadow);
  transition: transform 0.15s;
}

.stat-card:hover,
.analytics-card:hover { transform: translateY(-2px); }

.stat-card span,
.analytics-card span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--adm-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card strong,
.analytics-card strong {
  display: block;
  font-size: 26px;
  margin-top: 8px;
  color: var(--adm-brand);
  letter-spacing: -0.02em;
}

.analytics-card.accent strong { color: #c45b2c; }
.analytics-card.gold strong { color: #b8860b; }

.analytics-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.analytics-panel {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 20px;
  box-shadow: var(--adm-shadow);
}

.analytics-panel h3 { margin: 0 0 14px; font-size: 15px; }

.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; }
.bar-chart .bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.bar-chart .bar {
  width: 100%;
  max-width: 36px;
  background: linear-gradient(180deg, #2a9d6e, var(--adm-brand));
  border-radius: 8px 8px 2px 2px;
  min-height: 4px;
}
.bar-chart small { font-size: 10px; color: var(--adm-muted); font-weight: 700; }

.status-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.status-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef6f1;
  font-size: 12px;
  font-weight: 800;
}
.status-pill em { font-style: normal; color: var(--adm-brand); margin-left: 6px; }

.source-list, .top-list { list-style: none; padding: 0; margin: 0; }
.source-list li, .top-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eef2ef;
  font-size: 14px;
  font-weight: 600;
}

/* Tables */
.table-wrap {
  overflow: auto;
  border-radius: var(--adm-radius);
  border: 1px solid var(--adm-border);
  background: var(--adm-surface);
  box-shadow: var(--adm-shadow);
}

.admin-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-body table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--adm-muted);
  background: #f8fbf9;
  border-bottom: 1px solid var(--adm-border);
}

.admin-body table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f4f2;
  font-weight: 600;
}

.admin-body table tr:hover td { background: #f8fbf9; }
.admin-body table a { color: var(--adm-brand-2); font-weight: 800; }

/* Forms */
.admin-body label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--adm-muted);
  margin-bottom: 12px;
}

.admin-body input,
.admin-body textarea,
.admin-body select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-sm);
  font: inherit;
  font-weight: 600;
  color: var(--adm-text);
  background: #fafcfb;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus {
  outline: none;
  border-color: var(--adm-brand-2);
  box-shadow: 0 0 0 3px rgba(20, 135, 95, 0.15);
}

.admin-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-body label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
  cursor: pointer;
}

.admin-body label.check input { width: auto; min-height: auto; }

.channel-toggles { display: grid; gap: 10px; }
.channel-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fbf9;
  border-radius: var(--adm-radius-sm);
  border: 1px solid var(--adm-border);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s;
}
.channel-toggle:has(input:checked) {
  border-color: var(--adm-brand-2);
  background: #edf9f1;
}
.channel-toggle input { width: auto; min-height: auto; }

.upload-zone {
  border: 2px dashed #c5d9ce;
  border-radius: var(--adm-radius-sm);
  padding: 20px;
  background: #f8fbf9;
  margin: 12px 0;
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.media-preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--adm-border);
}

/* Alerts */
.save-ok, .adm-alert-ok, .notice.ok {
  padding: 12px 16px;
  border-radius: var(--adm-radius-sm);
  background: #edf9f1;
  color: var(--adm-ok);
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid #b8e6cc;
}

.save-err, .adm-alert-err, .notice.warn {
  padding: 12px 16px;
  border-radius: var(--adm-radius-sm);
  background: #fff0ee;
  color: var(--adm-danger);
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid #f5c4be;
}

.notice { padding: 12px 16px; border-radius: var(--adm-radius-sm); background: #edf9f1; color: var(--adm-ok); font-weight: 700; margin-bottom: 16px; }

/* Risk badges */
.risk-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.risk-badge.green { background: #edf9f1; color: var(--adm-ok); }
.risk-badge.yellow { background: #fff9ed; color: var(--adm-warn); }
.risk-badge.red { background: #fff0ee; color: var(--adm-danger); }

/* Assistant chat */
.assistant-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 420px;
  max-height: 65vh;
}
.assistant-messages {
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fbf9;
  border-radius: var(--adm-radius-sm);
}
.assistant-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.assistant-bubble.user {
  align-self: flex-end;
  background: var(--adm-brand);
  color: #fff;
}
.assistant-bubble.bot {
  align-self: flex-start;
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
}

/* Login */
.admin-login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #082f24 0%, #0d5c44 50%, #14875f 100%);
}

.admin-login-card {
  width: min(420px, 100%);
  padding: 36px 32px;
  background: var(--adm-surface);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 14px;
  text-align: center;
}

.admin-login-card img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin: 0 auto;
  object-fit: cover;
}

.admin-login-card h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.admin-login-card label { text-align: left; }

.admin-menu-btn {
  display: none;
  padding: 8px 12px;
  border: 1px solid var(--adm-border);
  border-radius: 8px;
  background: var(--adm-surface);
  font-weight: 800;
  cursor: pointer;
}

.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 35;
}

.media-lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.media-lib-card {
  background: var(--adm-surface);
  border-radius: var(--adm-radius);
  overflow: hidden;
  border: 1px solid var(--adm-border);
  position: relative;
  box-shadow: var(--adm-shadow);
}
.media-lib-card img,
.media-lib-card video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.media-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--adm-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}
.media-lib-meta {
  padding: 12px;
  display: grid;
  gap: 4px;
  font-size: 13px;
}
.media-lib-meta a { color: var(--adm-brand-2); font-weight: 800; font-size: 12px; }

@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    position: fixed;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    width: var(--adm-side-w);
  }
  .admin-side.is-open { transform: translateX(0); }
  .admin-overlay.is-visible { display: block; }
  .admin-menu-btn { display: inline-flex; }
  .admin-body .form-row { grid-template-columns: 1fr; }
}

/* Modern UI Enhancements */
.admin-footer-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.admin-side-link-btn, .admin-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--adm-radius-sm);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-side-link-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
.admin-side-link-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.admin-logout-btn {
  background: rgba(192, 57, 43, 0.15);
  color: #ffcfca;
  border: 1px solid rgba(192, 57, 43, 0.3);
}
.admin-logout-btn:hover {
  background: rgba(192, 57, 43, 0.3);
  color: #fff;
  border-color: rgba(192, 57, 43, 0.5);
  transform: translateY(-1px);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.status-indicator.ok { color: var(--adm-ok); border-color: #b8e6cc; }
.status-indicator.warn { color: var(--adm-warn); border-color: #f0ddb8; }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}
.status-indicator.ok .pulse-dot { background: var(--adm-ok); }
.status-indicator.warn .pulse-dot { background: var(--adm-warn); }
.status-indicator.ok .pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--adm-ok);
  opacity: 0.3;
  animation: pulse 2s infinite ease-out;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.btn-outline-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--adm-radius-sm);
  background: #fff;
  border: 1px solid var(--adm-border);
  color: var(--adm-text);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: all 0.15s ease;
}
.btn-outline-modern:hover {
  background: var(--adm-bg);
  border-color: #cdd9d3;
  transform: translateY(-1px);
}
/ *   C h a t G P T   S t y l e   A s s i s t a n t   * / 
 . a s s i s t a n t - p a n e l   {   b a c k g r o u n d :   # f 9 f 9 f 9 ;   b o r d e r - r a d i u s :   8 p x ;   b o r d e r :   1 p x   s o l i d   v a r ( - - a d m - b o r d e r ) ;   } 
 . c h a t - r o w   {   d i s p l a y :   f l e x ;   m a r g i n - b o t t o m :   1 6 p x ;   g a p :   1 2 p x ;   } 
 . c h a t - r o w . u s e r   {   j u s t i f y - c o n t e n t :   f l e x - e n d ;   } 
 . c h a t - r o w . b o t   {   j u s t i f y - c o n t e n t :   f l e x - s t a r t ;   } 
 . c h a t - a v a t a r   {   w i d t h :   3 2 p x ;   h e i g h t :   3 2 p x ;   b o r d e r - r a d i u s :   5 0 % ;   d i s p l a y :   f l e x ;   a l i g n - i t e m s :   c e n t e r ;   j u s t i f y - c o n t e n t :   c e n t e r ;   f l e x - s h r i n k :   0 ;   } 
 . b o t - a v a t a r   {   b a c k g r o u n d :   # 1 0 a 3 7 f ;   c o l o r :   w h i t e ;   } 
 . u s e r - a v a t a r   {   b a c k g r o u n d :   # e 5 e 5 e 5 ;   c o l o r :   # 3 3 3 ;   } 
 . a s s i s t a n t - b u b b l e . u s e r   {   b a c k g r o u n d :   # f 3 f 4 f 6 ;   c o l o r :   # 1 1 1 8 2 7 ;   b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ;   b o r d e r - r a d i u s :   1 6 p x ;   f o n t - w e i g h t :   5 0 0 ;   f o n t - s i z e :   1 5 p x ;   } 
 . a s s i s t a n t - b u b b l e . b o t   {   b a c k g r o u n d :   t r a n s p a r e n t ;   b o r d e r :   n o n e ;   p a d d i n g :   4 p x   0   0   0 ;   f o n t - w e i g h t :   4 0 0 ;   f o n t - s i z e :   1 5 p x ;   m a x - w i d t h :   9 0 % ;   c o l o r :   # 3 7 4 1 5 1 ;   } 
 . a s s i s t a n t - b u b b l e . b o t   p   {   m a r g i n - t o p :   0 ;   m a r g i n - b o t t o m :   0 . 7 5 r e m ;   } 
 . a s s i s t a n t - b u b b l e . b o t   p : l a s t - c h i l d   {   m a r g i n - b o t t o m :   0 ;   } 
 . a s s i s t a n t - b u b b l e . b o t   s t r o n g   {   f o n t - w e i g h t :   6 0 0 ;   c o l o r :   # 1 1 1 8 2 7 ;   } 
 . a s s i s t a n t - b u b b l e . b o t   u l ,   . a s s i s t a n t - b u b b l e . b o t   o l   {   m a r g i n - t o p :   0 ;   m a r g i n - b o t t o m :   0 . 7 5 r e m ;   p a d d i n g - l e f t :   2 0 p x ;   } 
 . a s s i s t a n t - b u b b l e . b o t   l i   {   m a r g i n - b o t t o m :   0 . 2 5 r e m ;   } 
 . a s s i s t a n t - b u b b l e . b o t   c o d e   {   b a c k g r o u n d :   r g b a ( 0 , 0 , 0 , 0 . 0 5 ) ;   p a d d i n g :   0 . 2 e m   0 . 4 e m ;   b o r d e r - r a d i u s :   4 p x ;   f o n t - s i z e :   0 . 9 e m ;   f o n t - f a m i l y :   m o n o s p a c e ;   } 
 / *   T y p i n g   a n i m a t i o n   * / 
 . t y p i n g   . d o t   {   d i s p l a y :   i n l i n e - b l o c k ;   w i d t h :   6 p x ;   h e i g h t :   6 p x ;   m a r g i n - r i g h t :   3 p x ;   b a c k g r o u n d :   # 9 c a 3 a f ;   b o r d e r - r a d i u s :   5 0 % ;   a n i m a t i o n :   t y p i n g   1 . 4 s   i n f i n i t e   e a s e - i n - o u t   b o t h ;   } 
 . t y p i n g   . d o t : n t h - c h i l d ( 1 )   {   a n i m a t i o n - d e l a y :   - 0 . 3 2 s ;   } 
 . t y p i n g   . d o t : n t h - c h i l d ( 2 )   {   a n i m a t i o n - d e l a y :   - 0 . 1 6 s ;   } 
 @ k e y f r a m e s   t y p i n g   {   0 % ,   8 0 % ,   1 0 0 %   {   t r a n s f o r m :   s c a l e ( 0 ) ;   }   4 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   }   } 
  
 