@font-face {
  font-family: "Amino";
  src: url("../public/fonts/amino_extralight-webfont.woff2") format("woff2"),
       url("../public/fonts/amino_extralight-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amino";
  src: url("../public/fonts/amino-webfont.woff2") format("woff2"),
       url("../public/fonts/amino-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amino";
  src: url("../public/fonts/amino_bold-webfont.woff2") format("woff2"),
       url("../public/fonts/amino_bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --wk-bg: #0f172a;
  --wk-bg-alt: #1d273b;
  --wk-surface: #151c2a;
  --wk-surface-2: #25324a;
  --wk-border: rgba(148, 163, 184, 0.18);
  --wk-text: #f8fafc;
  --wk-text-black: #151c2a;
  --wk-muted: #9ba9be;
  --wk-accent: #4299e1;
  --wk-accent-2: #22b8cf;
  --wk-danger: #fa5252;
  --wk-warning: #f59f00;
  --wk-shadow: 0 20px 50px rgba(15, 23, 42, 0.45);
  --wk-radius: 10px;
  --wk-radius-lg: 12px;
  --wk-app-height: 100vh;
  --wk-bottom-nav-height: 84px;
  --wk-chat-composer-height: 130px;
  --wk-mobile-chat-bottom-offset: 0px;
  --wk-panel: #4b5a75;
}

body[data-theme="light"] {
  --wk-bg: #f8fafc;
  --wk-bg-alt: #f1f5f9;
  --wk-surface: #ffffff;
  --wk-surface-2: #f1f5f9;
  --wk-border: rgba(148, 163, 184, 0.28);
  --wk-text: #0f172a;
  --wk-muted: #64748b;
  --wk-accent: #0054a6;
  --wk-accent-2: #0ca678;
  --wk-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

.wk-hidden {
  display: none !important;
}

html, body {
  height: 100%;
}

html.wk-app {
  height: 100%;
  overflow: hidden;
}

html.wk-login {
  height: 100%;
  overflow: auto;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: var(--wk-text);
  background: radial-gradient(circle at top, #1f2f49 0%, var(--wk-bg) 55%, #0b1220 100%);
}

body[data-theme="light"] {
  background: radial-gradient(circle at top, #ffffff 0%, #f3f6fb 40%, #e6edf6 100%);
}

body.wk-app {
  overflow: hidden;
  --wk-ui-scale: 1;
}

body.wk-app.wk-ui-scale-enabled .wk-shell {
  transform: scale(var(--wk-ui-scale));
  transform-origin: top left;
  width: calc(100% / var(--wk-ui-scale));
  height: calc(var(--wk-app-height) / var(--wk-ui-scale));
  min-height: calc(var(--wk-app-height) / var(--wk-ui-scale));
}

body.wk-login {
  overflow: auto;
}

.icon {
  display: inline-block;
  vertical-align: middle;
}

.wk-noscript {
  background: #fff4f4;
  color: #9b1c1c;
  padding: 16px 24px;
  text-align: center;
}

.wk-shell {
  height: var(--wk-app-height);
  min-height: var(--wk-app-height);
  display: grid;
  grid-template-columns: 320px 1fr 320px;
  gap: 0;
  padding: 0;
  position: relative;
}

.wk-sidebar,
.wk-chat,
.wk-details {
  background: var(--wk-surface);
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid var(--wk-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.wk-sidebar,
.wk-chat {
  position: relative;
}

.wk-details {
  border-right: none;
}

.wk-details.wk-details-empty {
  color: var(--wk-muted);
}

.wk-details.wk-details-empty .wk-details-section {
  display: none;
}

.wk-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--wk-border);
}

.wk-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.wk-brand-text {
  min-width: 0;
}

.wk-logo {
  width: 42px;
  height: 42px;
/*  border-radius: 10px;*/
  display: grid;
  place-items: center;
/*  font-weight: 700;*/
/*  background: linear-gradient(135deg, var(--wk-accent), var(--wk-accent-2));*/
/*  color: #061c2b;*/
}

.wk-logo img,
.wk-logo-image {
	width: 40px;
    height: auto;
}

.wk-logo.is-avatar {
  overflow: hidden;
  border-radius: 50%;
}

.wk-logo-image.is-avatar {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.wk-brand-title {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.wk-brand-sub {
  display: block;
  font-size: 12px;
  color: var(--wk-muted);
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-readonly-note {
  color: var(--wk-muted);
  margin-top: 6px;
}

.wk-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wk-operator-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.16);
  flex-shrink: 0;
}

.wk-operator-indicator[data-status="available"] {
  background: #32d296;
}

.wk-operator-indicator[data-status="offline"] {
  background: #ef4444;
}

.wk-operator-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  color: #e2e8f0;
}

.wk-menu-status-row {
  min-width: 160px;
}

.wk-menu-status-label,
.wk-operator-status-value {
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0;
}

.wk-operator-status[data-status="available"] .wk-menu-status-label,
.wk-operator-status[data-status="available"] .wk-operator-status-value {
  color: #32d296;
}

.wk-operator-status[data-status="offline"] .wk-menu-status-label,
.wk-operator-status[data-status="offline"] .wk-operator-status-value {
  color: var(--wk-muted);
}

.wk-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 34px;
  height: 20px;
  flex-shrink: 0;
}

.wk-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.wk-switch-slider {
  position: relative;
  display: block;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.45);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wk-switch-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
  transition: transform 0.2s ease;
}

.wk-switch input:checked + .wk-switch-slider {
  background: rgba(50, 210, 150, 0.35);
  border-color: rgba(50, 210, 150, 0.6);
}

.wk-switch input:checked + .wk-switch-slider::after {
  transform: translateX(14px);
}

.wk-switch input:disabled + .wk-switch-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.wk-menu {
  position: relative;
}

.wk-menu-dropdown {
  position: absolute;
  right: 0;
  top: 48px;
  background: var(--wk-surface);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  padding: 6px;
  min-width: 160px;
  box-shadow: var(--wk-shadow);
  display: none;
  z-index: 20;
}

.wk-menu.is-open .wk-menu-dropdown {
  display: grid;
  gap: 4px;
}

.wk-menu-dropdown button,
.wk-menu-link {
  border: none;
  background: transparent;
  color: var(--wk-text);
  padding: 8px 10px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
  display: block;
}

.wk-menu-dropdown button:hover,
.wk-menu-link:hover {
  background: rgba(66, 153, 225, 0.16);
}

.wk-menu-divider {
  height: 1px;
  background: var(--wk-border);
  margin: 6px 4px;
}

.wk-menu-fontsize-row {
  display: grid;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
}

.wk-menu-fontsize-row:hover {
  background: rgba(66, 153, 225, 0.08);
}

.wk-menu-fontsize-label {
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-menu-fontsize-controls {
  display: flex;
  gap: 6px;
}

.wk-menu-fontsize-controls button {
  flex: 1 1 0;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--wk-border);
  background: var(--wk-surface-2);
  color: var(--wk-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.wk-menu-fontsize-controls button.is-active {
  border-color: var(--wk-accent);
  background: rgba(66, 153, 225, 0.18);
}

.wk-icon-button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: var(--wk-radius);
  background: var(--wk-surface-2);
  color: var(--wk-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wk-icon-button:hover {
  transform: translateY(-1px);
  background: rgba(66, 153, 225, 0.18);
}

.wk-icon-button:disabled,
.wk-icon-button.is-disabled,
#wk-hitl-extra-toggle:disabled,
#wk-hitl-extra-toggle.is-disabled,
.wk-extra-action:disabled,
.wk-extra-action.is-disabled,
#wk-hitl-emoji-toggle:disabled,
#wk-hitl-emoji-toggle.is-disabled,
.wk-emoji-item:disabled,
.wk-emoji-item.is-disabled,
.wk-send:disabled,
.wk-send.is-disabled,
.wk-ghost:disabled,
.wk-ghost.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.wk-icon-button:disabled:hover,
.wk-icon-button.is-disabled:hover,
.wk-send:disabled:hover,
.wk-send.is-disabled:hover,
.wk-ghost:disabled:hover,
.wk-ghost.is-disabled:hover {
  transform: none;
}

.wk-search {
  padding: 16px 18px 4px;
  position: relative;
  border-bottom: 1px solid var(--wk-border);
}

.wk-search input {
  width: 100%;
  padding: 12px 42px 12px 14px;
  border-radius: var(--wk-radius);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface-2);
  color: var(--wk-text);
  outline: none;
}

.wk-search input::placeholder {
  color: var(--wk-muted);
}

.wk-search-icon {
  position: absolute;
  right: 30px;
  top: 28px;
  opacity: 0.7;
}

.wk-service-filter {
  padding: 10px 18px 12px;
  border-bottom: 1px solid var(--wk-border);
  display: grid;
  gap: 8px;
}

.wk-service-filter label {
  font-size: 12px;
  color: var(--wk-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.wk-service-filter select {
  width: 100%;
  min-height: 46px;
  border-radius: var(--wk-radius);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface-2);
  color: var(--wk-text);
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.45;
  outline: none;
}

.wk-service-filter select option {
  font-size: 12px;
  line-height: 2;
  padding: 15px 12px;
}

.wk-service-filter select option:disabled {
  color: var(--wk-muted);
}

.wk-conversation-list {
  flex: 1;
  overflow-y: hidden;
  overflow-x: hidden;
  padding: 0;
}

.wk-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.wk-pane-section {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.wk-pane-section.is-active {
  display: block;
}


.wk-conversation-list,
.wk-pane-section,
.wk-archived-list,
.wk-chat-body,
.wk-details,
.wk-mobile-details,
.wk-chat-composer textarea {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

.wk-conversation-list::-webkit-scrollbar,
.wk-pane-section::-webkit-scrollbar,
.wk-archived-list::-webkit-scrollbar,
.wk-chat-body::-webkit-scrollbar,
.wk-details::-webkit-scrollbar,
.wk-mobile-details::-webkit-scrollbar,
.wk-chat-composer textarea::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.wk-conversation-list::-webkit-scrollbar-track,
.wk-pane-section::-webkit-scrollbar-track,
.wk-archived-list::-webkit-scrollbar-track,
.wk-chat-body::-webkit-scrollbar-track,
.wk-details::-webkit-scrollbar-track,
.wk-mobile-details::-webkit-scrollbar-track,
.wk-chat-composer textarea::-webkit-scrollbar-track {
  background: transparent;
}

.wk-conversation-list::-webkit-scrollbar-thumb,
.wk-pane-section::-webkit-scrollbar-thumb,
.wk-archived-list::-webkit-scrollbar-thumb,
.wk-chat-body::-webkit-scrollbar-thumb,
.wk-details::-webkit-scrollbar-thumb,
.wk-mobile-details::-webkit-scrollbar-thumb,
.wk-chat-composer textarea::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
}

.wk-conversation-list::-webkit-scrollbar-thumb:hover,
.wk-pane-section::-webkit-scrollbar-thumb:hover,
.wk-archived-list::-webkit-scrollbar-thumb:hover,
.wk-chat-body::-webkit-scrollbar-thumb:hover,
.wk-details::-webkit-scrollbar-thumb:hover,
.wk-mobile-details::-webkit-scrollbar-thumb:hover,
.wk-chat-composer textarea::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.7);
}

.wk-contacts-list {
  border-top: 1px solid var(--wk-border);
}

.wk-contact-add {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--wk-border);
  background: transparent;
  color: var(--wk-accent-2);
  text-align: left;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.wk-contact-add:hover {
  background: rgba(66, 153, 225, 0.12);
}

.wk-contact-more {
  width: calc(100% - 24px);
  margin: 10px 12px 14px;
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  background: var(--wk-surface-2);
  color: var(--wk-text);
  padding: 10px 12px;
  cursor: pointer;
}

.wk-contact-more:hover {
  background: rgba(66, 153, 225, 0.14);
}

.wk-contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--wk-border);
  cursor: pointer;
  transition: background 0.2s ease;
}

.wk-contact-item:hover {
  background: rgba(66, 153, 225, 0.12);
}

.wk-contact-item.is-active {
  background: rgba(66, 153, 225, 0.18);
}

.wk-timelines-list {
  border-top: 1px solid var(--wk-border);
}

.wk-timeline-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--wk-border);
  cursor: pointer;
  transition: background 0.2s ease;
  align-items: center;
}

.wk-timeline-item:hover {
  background: rgba(66, 153, 225, 0.12);
}

.wk-timeline-item.is-active {
  background: rgba(66, 153, 225, 0.18);
}

.wk-timeline-item.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wk-service-off-x {
  color: #fa5252;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.wk-timeline-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
}

.wk-timeline-header {
  display: grid;
  gap: 3px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--wk-border);
}

.wk-trigger-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wk-trigger-header-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.wk-trigger-header-action {
  flex: 0 0 auto;
}

.wk-trigger-fire-button {
  width: auto;
  min-width: 160px;
}

.wk-trigger-fire-button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.wk-timeline-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.wk-timeline-subtitle {
  font-size: 12px;
  color: var(--wk-muted);
  line-height: 1.35;
}

.wk-timeline-toolbar {
  display: grid;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--wk-border);
  background: rgba(255, 255, 255, 0.02);
}

.wk-timeline-toolbar-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.wk-timeline-toolbar-search {
  flex: 1 1 260px;
  min-width: 0;
}

.wk-timeline-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
}

.wk-timeline-toolbar-limit {
  width: 140px;
}

.wk-timeline-toolbar-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--wk-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wk-timeline-toolbar-search input,
.wk-timeline-toolbar-date input,
.wk-timeline-toolbar-limit select {
  width: 100%;
  border-radius: var(--wk-radius);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface);
  color: var(--wk-text);
  padding: 10px 12px;
}

.wk-timeline-toolbar-search input:focus,
.wk-timeline-toolbar-date input:focus,
.wk-timeline-toolbar-limit select:focus {
  outline: none;
  border-color: rgba(66, 153, 225, 0.6);
  box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.14);
}

.wk-timeline-toolbar-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 10px;
}

.wk-timeline-page-button {
  width: auto;
  min-width: 104px;
}

.wk-timeline-events {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px 18px 18px;
  min-height: 0;
  overflow: auto;
}

.wk-timeline-event {
  border: 1px solid var(--wk-border);
  border-radius: calc(var(--wk-radius) - 2px);
  background: var(--wk-surface-2);
  padding: 10px 12px;
  display: grid;
  gap: 7px;
}

.wk-timeline-event-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wk-timeline-event-heading {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wk-timeline-event-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

.wk-timeline-event-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(66, 153, 225, 0.14);
  color: #90cdf4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wk-trigger-event-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wk-muted);
}

.wk-trigger-event-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-trigger-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wk-trigger-status-badge.is-success {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.wk-trigger-status-badge.is-warning {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

.wk-trigger-status-badge.is-error {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
}

.wk-trigger-status-badge.is-default {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5f5;
}

.wk-timeline-event-text {
  font-size: 12px;
  line-height: 1.34;
  color: var(--wk-text);
  word-break: break-word;
}

.wk-timeline-event-date {
  font-size: 11px;
  color: var(--wk-muted);
  white-space: nowrap;
  text-align: right;
}

.wk-timeline-event-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-timeline-meta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--wk-border);
  background: transparent;
  color: var(--wk-text);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wk-timeline-meta-button:hover {
  background: rgba(66, 153, 225, 0.12);
  border-color: rgba(66, 153, 225, 0.35);
}

.wk-timeline-meta-button.is-open {
  background: rgba(66, 153, 225, 0.16);
  border-color: rgba(66, 153, 225, 0.35);
}

.wk-timeline-meta-chevron {
  font-size: 12px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.wk-timeline-meta-button.is-open .wk-timeline-meta-chevron {
  transform: rotate(180deg);
}

.wk-timeline-metadata {
  display: none;
  border: 1px solid rgba(66, 153, 225, 0.18);
  background: rgba(5, 15, 24, 0.32);
  border-radius: var(--wk-radius);
  padding: 12px;
  overflow: auto;
}

.wk-timeline-metadata.is-open {
  display: block;
}

.wk-timeline-metadata-empty {
  font-size: 12px;
  color: var(--wk-muted);
}

.json-viewer {
  display: grid;
  gap: 4px;
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 12px;
  line-height: 1.35;
}

.json-node {
  display: grid;
  gap: 4px;
}

.json-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.json-toggle,
.json-toggle-placeholder {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.json-toggle {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--wk-muted);
  cursor: pointer;
  position: relative;
}

.json-toggle::before {
  content: '\25B8';
  display: block;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  transition: transform 0.2s ease;
}

.json-toggle.is-open::before {
  transform: rotate(90deg);
}

.json-toggle.is-empty {
  cursor: default;
  opacity: 0.4;
}

.json-toggle.is-empty::before {
  content: '\2022';
  transform: none;
}

.json-toggle-placeholder {
  display: inline-block;
}

.json-children {
  display: grid;
  gap: 4px;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px dashed rgba(148, 163, 184, 0.28);
}

.j-key {
  color: #7dd3fc;
  word-break: break-word;
}

.j-sep {
  color: var(--wk-muted);
}

.j-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(66, 153, 225, 0.14);
  color: #90cdf4;
  font-size: 11px;
}

.j-val {
  min-width: 0;
  word-break: break-word;
}

.j-str {
  color: #c4f1ff;
}

.j-num {
  color: #f6d365;
}

.j-bool {
  color: #86efac;
  text-transform: lowercase;
}

.j-null {
  color: #fda4af;
  text-transform: lowercase;
}

.wk-timeline-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px 16px;
}

.wk-timeline-results,
.wk-timeline-page-label {
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-timeline-page-label {
  min-width: 110px;
  text-align: center;
}

.wk-timeline-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wk-menu-dropdown button.is-disabled,
.wk-bottom-dropdown button.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 680px) {
  .wk-header-tools {
    gap: 6px;
  }

  .wk-menu-status-row {
    min-width: 140px;
  }

  .wk-menu-status-label,
  .wk-operator-status-value {
    font-size: 12px;
  }

  .wk-timeline-toolbar-top,
  .wk-timeline-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .wk-trigger-header {
    flex-direction: column;
    align-items: stretch;
  }

  .wk-trigger-fire-button {
    width: 100%;
    min-width: 0;
  }

  .wk-timeline-toolbar-actions {
    width: 100%;
  }

  .wk-timeline-toolbar-limit {
    width: 100%;
  }

  .wk-timeline-toolbar-dates {
    grid-template-columns: 1fr;
  }

  .wk-timeline-page-label {
    min-width: 0;
    text-align: left;
  }

  .wk-timeline-event-top {
    flex-direction: column;
  }

  .wk-timeline-event-date {
    text-align: left;
    white-space: normal;
  }
}

.wk-contact-meta {
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-contact-tag-row {
  margin-top: 4px;
}

.wk-contact-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.wk-contact-tag.is-default {
  background: rgba(148, 163, 184, 0.18);
  color: #d5deeb;
  border-color: rgba(148, 163, 184, 0.35);
}

.wk-contact-tag.is-cyan {
  background: rgba(34, 211, 238, 0.16);
  color: #7dd3fc;
  border-color: rgba(34, 211, 238, 0.32);
}

.wk-contact-tag.is-green {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.32);
}

.wk-contact-tag.is-yellow {
  background: rgba(234, 179, 8, 0.18);
  color: #fef08a;
  border-color: rgba(234, 179, 8, 0.34);
}

.wk-contact-tag.is-orange {
  background: rgba(249, 115, 22, 0.18);
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.34);
}

.wk-contact-tag.is-red {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.34);
}

.wk-contact-tag.is-dark {
  background: rgba(51, 65, 85, 0.34);
  color: #e2e8f0;
  border-color: rgba(100, 116, 139, 0.45);
}


body[data-theme="light"] .wk-contact-tag.is-default {
  background: #94a3b8;
  color: #ffffff;
  border-color: #94a3b8;
}

body[data-theme="light"] .wk-contact-tag.is-cyan {
  background: #0891b2;
  color: #ffffff;
  border-color: #0891b2;
}

body[data-theme="light"] .wk-contact-tag.is-green {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

body[data-theme="light"] .wk-contact-tag.is-yellow {
  background: #ca8a04;
  color: #ffffff;
  border-color: #ca8a04;
}

body[data-theme="light"] .wk-contact-tag.is-orange {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

body[data-theme="light"] .wk-contact-tag.is-red {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

body[data-theme="light"] .wk-contact-tag.is-dark {
  background: #475569;
  color: #ffffff;
  border-color: #475569;
}

.wk-agenda {
  border-top: 1px solid var(--wk-border);
  padding: 0;
  position: relative;
}

.wk-agenda-item {
  padding: 12px 18px;
  border-bottom: 1px solid var(--wk-border);
  display: grid;
  gap: 6px;
}

.wk-agenda-title {
  font-weight: 700;
}

.wk-agenda-meta {
  color: var(--wk-muted);
  font-size: 12px;
}

.wk-conv-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--wk-border);
  margin: 0;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.wk-conv-item > div:nth-child(2) {
  min-width: 0;
}

.wk-conv-item:hover {
  background: rgba(66, 153, 225, 0.12);
}

.wk-conv-item.is-active {
  background: rgba(66, 153, 225, 0.2);
}

.wk-conv-avatar {
  width: 48px;
  height: 48px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, #26405f, #0f304a);
  color: var(--wk-text);
}

.wk-conv-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wk-conv-title {
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-conv-newdot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
  flex: 0 0 auto;
}

.wk-conv-last {
  color: var(--wk-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-conv-meta {
  text-align: right;
  font-size: 12px;
  color: var(--wk-muted);
  display: grid;
  gap: 6px;
  justify-items: end;
  min-width: 88px;
}

.wk-conv-badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: rgba(66, 153, 225, 0.2);
  color: var(--wk-text);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wk-channel-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
}

.wk-channel-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.wk-channel-whatsapp {
  color: #25d366;
}

.wk-channel-telegram {
  color: #38a5e3;
}

.wk-channel-messenger {
  color: #1f8cff;
}

.wk-channel-instagram {
  color: #f06595;
}

.wk-channel-web,
.wk-channel-voice,
.wk-channel-manual {
  color: var(--wk-accent-2);
}

.wk-conv-badges {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.wk-conv-rating {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(250, 204, 21, 0.18);
  color: #facc15;
}

.wk-conv-rating-star {
  line-height: 1;
  font-size: 11px;
}

body[data-theme="light"] .wk-conv-rating {
  color: #8a5b00;
  background: rgba(245, 158, 11, 0.2);
}

.wk-conv-transfer {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.18);
  color: #9ef0bf;
}

body[data-theme="light"] .wk-conv-transfer {
  color: #127548;
}

.wk-conv-handler {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2px;
  font-weight: 700;
}

.wk-conv-handler.is-bot {
  background: rgba(148, 163, 184, 0.18);
  color: var(--wk-muted);
}

.wk-conv-handler.is-human {
  background: rgba(34, 197, 94, 0.18);
  color: #7ce1a4;
}

body[data-theme="light"] .wk-conv-handler.is-human {
  color: #107241;
}

.wk-conv-unread {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #22c55e;
  color: #04210f;
  font-size: 11px;
  font-weight: 700;
}

.wk-chat-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--wk-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wk-back {
  border: none;
  background: transparent;
  color: var(--wk-muted);
  cursor: pointer;
  display: none;
}

.wk-chat-title {
  flex: 1;
}

.wk-chat-name {
  font-weight: 700;
  font-size: 16px;
}

.wk-chat-meta {
  color: var(--wk-muted);
  font-size: 12px;
}

.wk-chat-status-badge {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.12);
  color: #fda4af;
}

body[data-theme="light"] .wk-chat-status-badge {
  border-color: rgba(225, 29, 72, 0.25);
  background: rgba(225, 29, 72, 0.1);
  color: #9f1239;
}

.wk-chat-rating {
  margin-top: 2px;
  font-size: 12px;
  color: var(--wk-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-chat-rating-stars {
  letter-spacing: 1px;
  font-weight: 700;
  display: inline-flex;
  gap: 2px;
}

.wk-chat-star {
  color: rgba(148, 163, 184, 0.55);
}

.wk-chat-star.is-full {
  color: #f6c354;
}

.wk-chat-rating-date {
  opacity: 0.9;
}

.wk-chat-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-chat-new-dot {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #04210f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35);
  animation: wk-new-dot-pulse 1.5s infinite;
}

@keyframes wk-new-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.wk-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15), transparent 40%);
}

.wk-chat-empty {
  margin: auto;
  text-align: center;
  color: var(--wk-muted);
}

.wk-chat-empty-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.wk-chat-day-sep {
  align-self: center;
  margin: 4px 0 2px;
}

.wk-chat-day-sep span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--wk-border);
  background: rgba(15, 23, 42, 0.25);
  color: var(--wk-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

body[data-theme="light"] .wk-chat-day-sep span {
  background: rgba(148, 163, 184, 0.12);
}

.wk-message {
  max-width: 70%;
  padding: 12px 14px;
  border-radius: var(--wk-radius);
  background: var(--wk-surface-2);
  color: var(--wk-text);
  position: relative;
  box-shadow: none;
  animation: wk-fade-in 0.3s ease;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wk-message-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.wk-message-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #26405f, #0f304a);
  color: #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
}

.wk-message-avatar.is-image {
  background: rgba(148, 163, 184, 0.18);
}

.wk-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wk-message-sender {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--wk-muted);
  margin-bottom: 0;
}

.wk-message--out .wk-message-sender {
  color: rgba(203, 213, 225, 0.9);
}

body[data-theme="light"] .wk-message--out .wk-message-sender {
  color: rgba(15, 23, 42, 0.6);
}

.wk-message-text {
  font-size: 16px;
  line-height: 1.50;
}

.wk-message-text-link,
.wk-message-text--html a {
  color: inherit;
  text-decoration: underline;
  word-break: break-word;
}

.wk-message-text--html img {
  max-width: 100%;
  height: auto;
  border-radius: calc(var(--wk-radius) - 4px);
}

.wk-message-media {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wk-message-image-link {
  display: block;
  border-radius: calc(var(--wk-radius) - 4px);
  overflow: hidden;
}

.wk-message-image {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.wk-message-audio {
  display: block;
  width: min(320px, 100%);
  max-width: 100%;
}

.wk-message-video {
  display: block;
  width: 100%;
  max-width: 420px;
  max-height: 320px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.55);
}

.wk-message-file-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--wk-accent);
  text-decoration: none;
}

.wk-message-file-link:hover {
  text-decoration: underline;
}

.wk-message-file-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}


.wk-message-attachment-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}

.wk-message-attachment-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-message-attachment-delete {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  background: rgba(239, 68, 68, 0.9);
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.wk-message-attachment-delete:hover {
  background: rgba(220, 38, 38, 0.96);
}

.wk-message-attachment-delete:disabled,
.wk-message-attachment-delete.is-loading {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.wk-message-file-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--wk-accent);
  flex: 0 0 auto;
}

.wk-message-file-icon svg {
  width: 100%;
  height: 100%;
}

.wk-message-file-name {
  min-width: 0;
}

.wk-message-file-name a,
.wk-message-file-label {
  font-weight: 600;
  text-decoration: none;
  color: var(--wk-text);
  overflow-wrap: anywhere;
}

.wk-message-file-name a:hover {
  text-decoration: underline;
}

.wk-message-location {
  display: grid;
  gap: 6px;
}

.wk-message-location-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.wk-message-location-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: var(--wk-accent);
  flex: 0 0 auto;
}

.wk-message-location-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.wk-message--out .wk-message-location-icon {
  color: inherit;
  opacity: 0.95;
}

.wk-message-location-coords {
  font-size: 12px;
  color: var(--wk-muted);
  word-break: break-word;
}

.wk-message-location-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--wk-accent);
}

.wk-message-location-link:hover {
  text-decoration: underline;
}

.wk-message--out .wk-message-location-link {
  color: inherit;
  opacity: 0.95;
}

.wk-message--out .wk-message-file-link,
.wk-message--out .wk-message-file-icon,
.wk-message--out .wk-message-file-name a,
.wk-message--out .wk-message-file-label {
  color: inherit;
  opacity: 0.95;
}

.wk-message--out {
  align-self: flex-end;
  background: rgba(66, 153, 225, 0.18);
  border: 0 solid rgba(66, 153, 225, 0.32);
  color: var(--wk-text);
}

body[data-theme="light"] .wk-message--out {
  background: rgba(0, 84, 166, 0.08);
  border-color: rgba(0, 84, 166, 0.24);
  color: #0f172a;
}

.wk-message-meta {
  font-size: 11px;
  color: var(--wk-muted);
  margin-top: 6px;
  text-align: right;
}

.wk-message--out .wk-message-meta {
  color: rgba(203, 213, 225, 0.86);
}

body[data-theme="light"] .wk-message--out .wk-message-meta {
  color: rgba(15, 23, 42, 0.55);
}

.wk-chat-composer {
  border-top: 1px solid var(--wk-border);
  padding: 14px 18px 16px;
  background: var(--wk-surface);
}

.wk-chat-alert {
  border: 1px solid rgba(66, 153, 225, 0.35);
  background: rgba(66, 153, 225, 0.12);
  color: var(--wk-text);
  border-radius: var(--wk-radius);
  padding: 8px 10px;
  font-size: 12px;
  margin-bottom: 8px;
}

.wk-chat-alert.is-error {
  border-color: rgba(250, 82, 82, 0.5);
  background: rgba(250, 82, 82, 0.12);
}

.wk-hitl-row {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.wk-hitl-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.wk-hitl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--wk-border);
  background: var(--wk-surface-2);
  color: var(--wk-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
}

.wk-hitl-badge.is-bot {
  border-color: rgba(66, 153, 225, 0.5);
  color: #78b7ff;
}

.wk-hitl-badge.is-human {
  border-color: rgba(34, 197, 94, 0.5);
  color: #5bd498;
}

#wk-hitl-toggle {
  width: auto;
  min-width: 110px;
  max-width: 190px;
  text-align: center;
  font-weight: 700;
  padding: 8px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#wk-hitl-toggle.is-bot {
  border-color: rgba(66, 153, 225, 0.5);
  background: rgba(66, 153, 225, 0.12);
}

#wk-hitl-toggle.is-human {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.14);
}

#wk-hitl-toggle.is-disabled,
#wk-hitl-toggle:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.wk-extra-picker-wrap {
  margin-left: auto;
  position: relative;
  flex: 0 0 auto;
}

.wk-emoji-picker-wrap {
  margin-left: 0;
  position: relative;
  flex: 0 0 auto;
}

#wk-hitl-extra-toggle,
#wk-hitl-emoji-toggle {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  line-height: 1;
}

.wk-extra-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: min(220px, calc(100vw - 40px));
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--wk-border);
  background: var(--wk-panel);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.34);
  z-index: 46;
  display: grid;
  gap: 6px;
}

.wk-extra-action {
  border: 1px solid var(--wk-border);
  border-radius: 10px;
  background: var(--wk-surface-2);
  color: var(--wk-text);
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wk-extra-action:hover {
  background: rgba(66, 153, 225, 0.16);
  border-color: rgba(66, 153, 225, 0.5);
}

.wk-emoji-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: min(280px, calc(100vw - 44px));
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--wk-border);
  background: var(--wk-panel);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.34);
  z-index: 45;
}

.wk-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}

.wk-emoji-item {
  border: none;
  border-radius: 8px;
  background: var(--wk-surface-2);
  color: var(--wk-text);
  font-size: 18px;
  line-height: 1;
  min-height: 34px;
  padding: 6px 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wk-emoji-item:hover {
  background: rgba(66, 153, 225, 0.18);
}

@media (max-width: 760px) {
  #wk-hitl-toggle {
    min-width: 104px;
    max-width: 156px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .wk-extra-popover {
    right: 0;
    left: auto;
    width: min(210px, calc(100vw - 28px));
  }

  .wk-emoji-popover {
    right: 0;
    left: auto;
    width: min(260px, calc(100vw - 28px));
  }
}

.wk-chat-composer form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: end;
}

.wk-chat-composer textarea {
  border-radius: var(--wk-radius);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface-2);
  padding: 11px 14px;
  color: var(--wk-text);
  outline: none;
  resize: none;
  min-height: 42px;
  max-height: 140px;
  overflow-y: hidden;
  line-height: 1.35;
}

.wk-chat-composer textarea::placeholder {
  color: var(--wk-muted);
}

.wk-send {
  border: none;
  border-radius: var(--wk-radius);
  background: var(--wk-accent);
  color: #fff;
  font-weight: 700;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: auto;
  min-width: 120px;
  max-width: 200px;
}

.wk-chat-composer .wk-send {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.wk-send:hover {
  transform: translateY(-1px);
}

.wk-details {
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.wk-details-section {
  padding: 12px 14px;
  border-bottom: 1px solid var(--wk-border);
}

.wk-details-section h4 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.2;
}

#wk-detail-summary-section,
#wk-mobile-detail-summary-section {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
}

#wk-detail-summary-section .wk-contact-avatar,
#wk-mobile-detail-summary-section .wk-contact-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 1 / span 3;
}

#wk-detail-summary-section .wk-contact-name,
#wk-mobile-detail-summary-section .wk-contact-name {
  grid-column: 2;
}

#wk-detail-summary-section .wk-contact-meta,
#wk-mobile-detail-summary-section .wk-contact-meta {
  grid-column: 2;
}

#wk-detail-summary-section .wk-contact-tags,
#wk-mobile-detail-summary-section .wk-contact-tags {
  grid-column: 2;
  margin-top: 2px;
}

.wk-contact-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #26405f, #0f304a);
  color: #e2e8f0;
  font-weight: 700;
  margin-bottom: 10px;
}

.wk-contact-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.wk-contact-meta {
  color: var(--wk-muted);
  font-size: 12px;
  line-height: 1.2;
}

.wk-contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.wk-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(66, 153, 225, 0.2);
  color: var(--wk-text);
  font-size: 11px;
  letter-spacing: 0.3px;
}

.wk-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--wk-muted);
  padding: 4px 0;
}

.wk-detail-row strong {
  color: var(--wk-text);
  text-align: right;
}

.wk-action-list {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  justify-items: start;
}

.wk-related-list,
.wk-visits-list {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.wk-related-item {
  border: 1px solid var(--wk-border);
  background: transparent;
  color: var(--wk-text);
  border-radius: var(--wk-radius);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.wk-related-item.is-active {
  border-color: rgba(66, 153, 225, 0.45);
  background: rgba(66, 153, 225, 0.12);
}

.wk-related-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--wk-muted);
}

.wk-related-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wk-related-last {
  margin-top: 6px;
  font-size: 12px;
  color: var(--wk-text);
}

.wk-visit-item {
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  padding: 8px 10px;
}

.wk-visit-link {
  color: var(--wk-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  word-break: break-word;
}

.wk-visit-link:hover {
  text-decoration: underline;
}

.wk-visit-meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--wk-muted);
}

.wk-ghost {
  border: 1px solid var(--wk-border);
  background: transparent;
  color: var(--wk-text);
  border-radius: var(--wk-radius);
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  width: auto;
  min-width: auto;
  max-width: 200px;
}

.wk-ghost.wk-danger {
  border-color: rgba(250, 82, 82, 0.45);
  color: #ffb3b3;
}

.wk-bottom-nav {
  border-top: 1px solid var(--wk-border);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: var(--wk-surface);
  position: sticky;
  bottom: 0;
}

.wk-bottom-item {
  border: none;
  background: transparent;
  color: var(--wk-muted);
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.wk-bottom-item.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wk-bottom-item.is-disabled::before {
  content: "\2715";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fa5252;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}

.wk-bottom-item.is-disabled.is-active {
  background: transparent;
  color: var(--wk-muted);
}

.wk-bottom-item span {
  font-size: 12px;
}

.wk-bottom-item.is-active {
  color: var(--wk-text);
  background: rgba(66, 153, 225, 0.18);
}

.wk-bottom-menu {
  position: relative;
  min-width: 84px;
}

.wk-bottom-menu .wk-bottom-item {
  width: 100%;
}

.wk-bottom-dropdown {
  position: absolute;
  bottom: 56px;
  right: 0;
  background: var(--wk-surface);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  padding: 6px;
  min-width: 170px;
  box-shadow: var(--wk-shadow);
  display: none;
  z-index: 20;
}

.wk-bottom-menu.is-open .wk-bottom-dropdown {
  display: grid;
  gap: 4px;
}

.wk-bottom-dropdown button,
.wk-bottom-dropdown a {
  border: none;
  background: transparent;
  color: var(--wk-text);
  padding: 8px 10px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  display: block;
  text-decoration: none;
}

.wk-bottom-dropdown button:hover,
.wk-bottom-dropdown a:hover {
  background: rgba(66, 153, 225, 0.16);
}

.wk-bottom-dropdown button.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}

.wk-bottom-dropdown button.is-disabled:hover {
  background: transparent;
}

.wk-bottom-dropdown button.is-disabled::after {
  content: "\2715";
  color: #fa5252;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.wk-mobile-details {
  position: fixed;
  top: 80px;
  right: 16px;
  left: 16px;
  background: var(--wk-surface);
  border-radius: var(--wk-radius-lg);
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 40;
  border: 1px solid var(--wk-border);
  box-shadow: var(--wk-shadow);
  max-height: calc(var(--wk-app-height) - 110px);
  overflow-y: auto;
}

.wk-mobile-details .wk-details-section {
  border-bottom: 1px solid var(--wk-border);
}

.wk-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.55);
  display: none;
  z-index: 35;
}

body.wk-show-details .wk-mobile-details,
body.wk-show-details .wk-overlay {
  display: flex;
}

.wk-conv-empty {
  text-align: center;
  color: var(--wk-muted);
  padding: 30px 10px;
}

.wk-archived-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--wk-border);
  cursor: pointer;
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-archived-item:hover {
  background: rgba(66, 153, 225, 0.12);
}

.wk-archived-item strong {
  color: var(--wk-text);
  font-weight: 600;
  font-size: 12px;
}

.wk-archived-count {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(66, 153, 225, 0.2);
  color: var(--wk-text);
}

.wk-archived-panel {
  position: absolute;
  inset: 0;
  background: var(--wk-surface);
  display: none;
  flex-direction: column;
  z-index: 30;
}

.wk-archived-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--wk-border);
}

.wk-archived-back {
  border: none;
  background: transparent;
  color: var(--wk-text);
  cursor: pointer;
}

.wk-archived-title {
  font-weight: 700;
}

.wk-archived-subtitle {
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-archived-list {
  flex: 1;
  overflow-y: auto;
}

body.wk-show-archived #wk-archived-panel {
  display: flex;
}

body.wk-show-nochat #wk-nochat-panel {
  display: flex;
}

.wk-main-page,
.wk-side-page {
  position: absolute;
  inset: 0;
  background: var(--wk-surface);
  display: none;
  flex-direction: column;
  z-index: 36;
}

body.wk-show-main-page .wk-main-page {
  display: flex;
}

body.wk-show-side-page .wk-side-page {
  display: flex;
}

.wk-main-page-header,
.wk-side-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--wk-border);
}

.wk-main-page-title,
.wk-side-page-title {
  font-size: 16px;
  font-weight: 700;
}

.wk-main-page-subtitle,
.wk-side-page-subtitle {
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-main-page-body,
.wk-side-page-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 9px;
  display: grid;
  gap: 12px;
}

.wk-main-page.wk-main-page-hide-header .wk-main-page-header,
.wk-main-page.wk-main-page-compact .wk-main-page-header {
  display: none;
}

.wk-main-page.wk-main-page-no-padding .wk-main-page-body,
.wk-main-page.wk-main-page-compact .wk-main-page-body {
  padding: 0;
  gap: 0;
}

.wk-side-page.wk-side-page-hide-header .wk-side-page-header {
  display: none;
}

.wk-side-page.wk-side-page-no-padding .wk-side-page-body {
  padding: 0;
  gap: 0;
}

.wk-page-section {
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  background: var(--wk-surface-2);
  padding: 12px;
}

.wk-page-section h4 {
  margin: 0 0 10px 0;
  font-size: 13px;
  color: var(--wk-muted);
}

.wk-page-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--wk-border);
  font-size: 13px;
}

.wk-page-row:last-child {
  border-bottom: none;
}

.wk-page-row span {
  color: var(--wk-muted);
}

.wk-page-row strong {
  color: var(--wk-text);
  text-align: right;
}

.wk-page-empty {
  margin: auto;
  text-align: center;
}

.wk-account-form {
  display: grid;
  gap: 12px;
}

.wk-contact-form {
  display: grid;
  gap: 12px;
}

.wk-contact-summary-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.wk-contact-summary-line {
  margin: 4px 0;
  font-size: 13px;
  color: var(--wk-muted);
}

.wk-contact-summary-line strong {
  color: var(--wk-text);
}

.wk-operator-summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
}

.wk-operator-summary-copy {
  min-width: 0;
}

.wk-operator-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.wk-operator-item .wk-contact-meta {
  word-break: break-word;
}

.wk-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(66, 153, 225, 0.22);
}

.wk-status-pill.is-active {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.wk-status-pill.is-inactive {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.wk-status-pill.is-blocked {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.wk-contact-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wk-contact-form .wk-field-row textarea {
  width: 100%;
  border-radius: var(--wk-radius);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface);
  color: var(--wk-text);
  padding: 10px 12px;
  outline: none;
  resize: vertical;
}

.wk-contact-form .wk-field-row.is-error textarea,
.wk-contact-form .wk-field-row.is-error input,
.wk-contact-form .wk-field-row.is-error select {
  border-color: rgba(250, 82, 82, 0.65);
  box-shadow: 0 0 0 2px rgba(250, 82, 82, 0.16);
}

.wk-contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.wk-contact-actions > .wk-ghost {
  justify-self: start;
}

.wk-contact-actions-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.wk-contact-actions-spacer {
  display: block;
}


.wk-account-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.wk-account-actions .wk-send {
  width: auto;
  min-width: 120px;
  max-width: 200px;
}

.wk-account-alert {
  border-radius: var(--wk-radius);
  padding: 10px 12px;
  border: 1px solid var(--wk-border);
  font-size: 13px;
}

.wk-account-alert.is-success {
  border-color: #2ab6d0;
  background: #175666;
  color: #f4fbff;
}

.wk-account-alert.is-error {
  border-color: #ff8fa0;
  background: #7a2734;
  color: #fff1f3;
}

.wk-field-row {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.wk-field-row:last-child {
  margin-bottom: 0;
}

.wk-field-row label {
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-field-row-switch {
  gap: 0;
}

.wk-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--wk-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.05));
}

.wk-switch-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wk-switch-row-title {
  margin: 0;
  font-size: 13px !important;
  font-weight: 600;
  color: var(--wk-text) !important;
  cursor: pointer;
}

.wk-switch-row-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--wk-muted);
}

.wk-field-row input,
.wk-field-row select {
  width: 100%;
  border-radius: var(--wk-radius);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface);
  color: var(--wk-text);
  padding: 10px 12px;
  outline: none;
}

.wk-field-row input:disabled {
  opacity: 0.6;
}

.wk-field-row.is-error input,
.wk-field-row.is-error select {
  border-color: rgba(250, 82, 82, 0.65);
  box-shadow: 0 0 0 2px rgba(250, 82, 82, 0.16);
}

#wk-account-email.is-valid {
  border-color: rgba(34, 184, 207, 0.7);
  box-shadow: 0 0 0 2px rgba(34, 184, 207, 0.14);
}

.wk-field-error {
  display: none;
  font-size: 12px;
  color: #ff8787;
}

.wk-field-note {
  display: none;
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-field-note.is-checking {
  color: var(--wk-warning);
}

.wk-notification-status {
  border: 1px solid var(--wk-border);
  background: var(--wk-surface);
  border-radius: var(--wk-radius);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--wk-muted);
  margin-bottom: 12px;
}

.wk-notification-status.is-warning {
  border-color: rgba(244, 191, 117, 0.45);
  color: #f4bf75;
}

.wk-notification-status.is-success {
  border-color: rgba(42, 182, 208, 0.55);
  color: #7ee1f4;
}

.wk-notification-status.is-error {
  border-color: rgba(250, 130, 130, 0.55);
  color: #ff9ca8;
}

.wk-notifications-actions {
  gap: 10px;
}

.wk-notifications-actions .wk-ghost,
.wk-notifications-actions .wk-send {
  min-width: 170px;
}

.wk-field-note.is-success {
  color: var(--wk-accent-2);
}

.wk-inline-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--wk-text);
  font-size: 13px;
}

.wk-inline-checkbox input {
  width: auto;
  margin: 0;
}

.wk-inline-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.wk-password-strength {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.wk-pass-meter {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.25);
}

#wk-pass-meter-bar {
  display: block;
  height: 100%;
  width: 8%;
  transition: width 0.2s ease;
}

#wk-pass-meter-bar.level-empty,
#wk-pass-meter-bar.level-weak {
  background: #fa5252;
}

#wk-pass-meter-bar.level-medium {
  background: #f59f00;
}

#wk-pass-meter-bar.level-strong {
  background: #22b8cf;
}

.wk-pass-strength-text {
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-pass-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.wk-pass-rules li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-pass-rules li::before {
  content: "-";
  position: absolute;
  left: 4px;
  top: 0;
}

.wk-pass-rules li.is-ok {
  color: var(--wk-accent-2);
}

.wk-pass-rules li.is-ok::before {
  content: "\2713";
  left: 2px;
}

.wk-avatar-block {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.wk-avatar-upload {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.wk-file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wk-file-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--wk-border);
  background: linear-gradient(180deg, rgba(66, 153, 225, 0.16), rgba(66, 153, 225, 0.06));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.wk-file-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(66, 153, 225, 0.48);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
}

.wk-file-trigger.has-file {
  border-color: rgba(34, 184, 207, 0.45);
  background: linear-gradient(180deg, rgba(34, 184, 207, 0.14), rgba(34, 184, 207, 0.05));
}

.wk-file-trigger.is-disabled {
  opacity: 0.64;
  cursor: not-allowed;
  pointer-events: none;
}

.wk-file-trigger-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.18);
  color: #f8fafc;
}

body[data-theme="light"] .wk-file-trigger-icon {
  background: rgba(0, 84, 166, 0.12);
  color: var(--wk-accent);
}

.wk-file-trigger-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wk-file-trigger-copy strong {
  font-size: 14px;
  color: var(--wk-text);
}

.wk-file-trigger-copy span {
  font-size: 12px;
  color: var(--wk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--wk-border);
}

.wk-input-help {
  margin: 0;
  color: var(--wk-muted);
  font-size: 12px;
}

.wk-schedule-panel {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  position: relative;
}

.wk-schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--wk-border);
}

.wk-schedule-title {
  font-size: 13px;
  font-weight: 700;
}

.wk-schedule-subtitle {
  font-size: 10px;
  color: var(--wk-muted);
}

.wk-schedule-legend {
  display: none;
}

.wk-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.wk-color-dot.is-blue {
  background: #57889c;
}

.wk-color-dot.is-orange {
  background: #c79121;
}

.wk-color-dot.is-green {
  background: #71843f;
}

.wk-schedule-calendar {
  min-height: 520px;
  padding: 6px 8px 10px 8px;
}

.wk-schedule-calendar .fc {
  font-size: 10px;
}

.wk-schedule-calendar .fc-toolbar.fc-header-toolbar {
  align-items: center;
  gap: 8px;
}

.wk-schedule-calendar .fc-toolbar-chunk,
.wk-schedule-calendar .fc .fc-button-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wk-schedule-calendar .fc-toolbar-title {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}

.wk-schedule-calendar .fc .fc-button {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  min-height: 36px;
  line-height: 1;
  border: 1px solid var(--wk-border);
  background: var(--wk-surface-2);
  color: var(--wk-text);
  box-shadow: none;
  padding: 0.42em 0.78em;
}

.wk-schedule-calendar .fc .fc-button .fc-icon,
.wk-schedule-calendar .fc .fc-button span {
  line-height: 1;
  transform: translateY(0);
}

.wk-schedule-calendar .fc .fc-button:hover,
.wk-schedule-calendar .fc .fc-button:focus {
  background: rgba(66, 153, 225, 0.16);
  color: var(--wk-text);
}

.wk-schedule-calendar .fc .fc-button-primary:not(:disabled).fc-button-active {
  background: rgba(66, 153, 225, 0.22);
  border-color: rgba(66, 153, 225, 0.55);
  color: var(--wk-text);
}

.wk-schedule-calendar .fc-theme-standard td,
.wk-schedule-calendar .fc-theme-standard th,
.wk-schedule-calendar .fc-theme-standard .fc-scrollgrid {
  border-color: var(--wk-border);
}

.wk-schedule-calendar .fc-theme-standard thead th {
  background: rgba(148, 163, 184, 0.08);
}

.wk-schedule-calendar .fc-col-header-cell-cushion,
.wk-schedule-calendar .fc-daygrid-day-number,
.wk-schedule-calendar .fc-list-day-text,
.wk-schedule-calendar .fc-list-day-side-text {
  color: var(--wk-text);
}

.wk-schedule-calendar .fc-col-header-cell-cushion {
  display: block;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--wk-text-black);
}

body:not([data-theme="light"]) .wk-schedule-calendar {
  color: #e7eef8;
}

body:not([data-theme="light"]) .wk-schedule-calendar .fc-theme-standard .fc-scrollgrid,
body:not([data-theme="light"]) .wk-schedule-calendar .fc-theme-standard td,
body:not([data-theme="light"]) .wk-schedule-calendar .fc-theme-standard th {
  background: rgba(21, 28, 42, 0.88);
}

body:not([data-theme="light"]) .wk-schedule-calendar .fc-theme-standard thead th,
body:not([data-theme="light"]) .wk-schedule-calendar .fc .fc-scrollgrid-section-sticky > * {
  background: rgba(37, 50, 74, 0.9);
}

body:not([data-theme="light"]) .wk-schedule-calendar .fc-col-header-cell-cushion{
  color: var(--wk-text-black);
}

body:not([data-theme="light"]) .wk-schedule-calendar .fc-daygrid-day-number,
body:not([data-theme="light"]) .wk-schedule-calendar .fc-timegrid-axis-cushion,
body:not([data-theme="light"]) .wk-schedule-calendar .fc-timegrid-slot-label-cushion,
body:not([data-theme="light"]) .wk-schedule-calendar .fc-list-day-text,
body:not([data-theme="light"]) .wk-schedule-calendar .fc-list-day-side-text {
  color: #e7eef8;
}

body:not([data-theme="light"]) .wk-schedule-calendar .fc-list-day-cushion {
  background: rgba(37, 50, 74, 0.9);
}


.wk-schedule-calendar .fc-daygrid-day.fc-day-today {
  background: rgba(66, 153, 225, 0.16);
}

.wk-schedule-calendar .fc-h-event {
  border: 0;
  border-radius: 8px;
  padding: 1px 4px;
}

.wk-schedule-calendar .fc .fc-daygrid-day-frame {
  min-height: 0;
}

.wk-schedule-calendar .fc .fc-daygrid-day-events {
  margin-top: 2px;
}

.wk-schedule-calendar .fc-daygrid-dot-event .fc-event-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-schedule-calendar .fc-daygrid-more-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(66, 153, 225, 0.18);
  color: var(--wk-text);
}

.wk-schedule-calendar .fc-list-event:hover td {
  background: rgba(66, 153, 225, 0.12);
}

.wk-schedule-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 10px;
}

.wk-schedule-modal.is-open {
  display: flex;
}

.wk-schedule-modal-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  height: min(860px, calc(100vh - 40px));
  overflow: hidden;
  min-height: 0;
  border-radius: var(--wk-radius-lg);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface);
  box-shadow: var(--wk-shadow);
  display: flex;
  flex-direction: column;
}

#wk-schedule-modal-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  flex: 1 1 auto;
}

.wk-schedule-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.wk-schedule-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--wk-border);
  padding: 12px 14px;
  position: sticky;
  top: 0;
  background: var(--wk-surface);
  z-index: 2;
}

.wk-schedule-modal-header h3 {
  margin: 0;
  font-size: 15px;
}

.wk-schedule-modal-body {
  padding: 12px 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  display: grid;
  gap: 10px;
  min-height: 0;
  flex: 1;
}

.wk-schedule-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.wk-schedule-grid-compact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.wk-schedule-form .wk-field-row textarea {
  width: 100%;
  border-radius: var(--wk-radius);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface);
  color: var(--wk-text);
  padding: 10px 12px;
  outline: none;
  resize: vertical;
}

.wk-schedule-form .wk-field-row.is-error textarea,
.wk-schedule-form .wk-field-row.is-error input,
.wk-schedule-form .wk-field-row.is-error select {
  border-color: rgba(250, 82, 82, 0.65);
  box-shadow: 0 0 0 2px rgba(250, 82, 82, 0.16);
}

.wk-schedule-form .wk-field-row select {
  min-height: 44px;
}

.wk-schedule-form input[type="datetime-local"] {
  cursor: pointer;
  min-height: 44px;
  padding-right: 44px;
  color-scheme: dark;
}

body[data-theme="light"] .wk-schedule-form input[type="datetime-local"] {
  color-scheme: light;
}

.wk-schedule-form input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  width: 22px;
  height: 22px;
  opacity: 0.95;
  cursor: pointer;
}

body:not([data-theme="light"]) .wk-schedule-form input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.2);
}

body:not(.wk-mobile) .wk-schedule-form .wk-schedule-datetime-source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  padding: 0;
  margin: 0;
  border: 0;
  pointer-events: none;
}

body:not(.wk-mobile) .wk-schedule-form .wk-schedule-datetime-proxy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 8px;
}

body:not(.wk-mobile) .wk-schedule-form .wk-schedule-datetime-proxy.is-disabled {
  opacity: 0.6;
}

.wk-schedule-form input.is-disabled {
  opacity: 0.5;
}

.wk-color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wk-color-option {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--wk-border);
  overflow: hidden;
  cursor: pointer;
}

.wk-color-option span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wk-color);
}

.wk-color-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.wk-color-option input:checked + span::after {
  content: "\2713";
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.wk-schedule-meta {
  margin-top: 4px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-schedule-form-alert {
  border-radius: var(--wk-radius);
  padding: 10px 12px;
  border: 1px solid var(--wk-border);
  display: none;
  font-size: 13px;
}

.wk-schedule-form-alert.is-success {
  border-color: #2ab6d0;
  background: #175666;
  color: #f4fbff;
}

.wk-schedule-form-alert.is-error {
  border-color: #ff8fa0;
  background: #7a2734;
  color: #fff1f3;
}

.wk-schedule-modal-footer {
  border-top: 1px solid var(--wk-border);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  position: sticky;
  bottom: 0;
  background: var(--wk-surface);
  z-index: 2;
}

.wk-schedule-modal-footer-between {
  justify-content: space-between;
  align-items: center;
}

.wk-schedule-footer-actions {
  display: flex;
  gap: 8px;
}

.wk-danger {
  border-color: rgba(250, 82, 82, 0.45);
  color: #ff8787;
}

.wk-schedule-reminder-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 14, 26, 0.56);
}

.wk-schedule-reminder-modal.is-open {
  display: flex;
}

.wk-schedule-reminder-card {
  width: min(460px, 100%);
  border-radius: 18px;
  border: 1px solid var(--wk-border);
  background: var(--wk-surface);
  box-shadow: 0 28px 60px rgba(10, 18, 34, 0.28);
  overflow: hidden;
}

.wk-schedule-reminder-head {
  padding: 16px 18px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.wk-schedule-reminder-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wk-accent);
}

.wk-schedule-reminder-head h3 {
  margin: 6px 0 0;
  font-size: 17px;
}

.wk-schedule-reminder-body {
  padding: 16px 18px;
}

.wk-schedule-reminder-item {
  display: grid;
  gap: 10px;
}

.wk-schedule-reminder-item-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.wk-schedule-reminder-item-when,
.wk-schedule-reminder-item-copy,
.wk-schedule-reminder-item-notes {
  font-size: 13px;
  line-height: 1.5;
  color: var(--wk-muted);
}

.wk-schedule-reminder-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 18px;
}

@media (max-width: 1024px) {
  .wk-schedule-calendar {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .wk-schedule-grid-2 {
    grid-template-columns: 1fr;
  }

  .wk-schedule-grid-compact,
  .wk-schedule-grid-datetime {
    grid-template-columns: 1fr 1fr;
  }

  .wk-schedule-grid-datetime .wk-field-row {
    min-width: 0;
  }

  .wk-schedule-calendar {
    min-height: 382px;
  }

  .wk-schedule-calendar .fc-toolbar.fc-header-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 8px;
    column-gap: 8px;
    margin-bottom: 10px;
  }

  .wk-schedule-calendar .fc-toolbar-chunk {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .wk-schedule-calendar .fc-toolbar-chunk:nth-child(2) {
    order: 1;
    flex: 0 0 100%;
    justify-content: center;
  }

  .wk-schedule-calendar .fc-toolbar-chunk:nth-child(1) {
    display: none;
  }

  .wk-schedule-calendar .fc-toolbar-chunk:nth-child(3) {
    order: 2;
    flex: 0 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 1px;
  }

  .wk-schedule-calendar .fc-toolbar-chunk:nth-child(3)::-webkit-scrollbar {
    display: none;
  }

  .wk-schedule-calendar .fc-toolbar-chunk:nth-child(3) > * {
    flex: 0 0 auto;
  }

  .wk-schedule-calendar .fc-toolbar-title {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
  }

  .wk-schedule-calendar .fc .fc-button,
  .wk-schedule-calendar .fc .fc-button-group > .fc-button {
    min-height: 34px;
    padding: 0.32em 0.58em;
    font-size: 12px;
    line-height: 1;
  }

  .wk-schedule-calendar .fc .fc-button-group {
    gap: 4px;
  }

  .wk-schedule-calendar .fc .fc-button .fc-icon,
  .wk-schedule-calendar .fc .fc-button span {
    font-size: 13px;
  }

  .wk-schedule-calendar .fc .fc-daygrid-day-frame {
    min-height: 60px;
  }

  .wk-schedule-calendar .fc .fc-daygrid-day-number {
    padding: 2px 4px;
    font-size: 11px;
  }

  .wk-avatar-block {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .wk-schedule-modal {
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
  }

  .wk-schedule-modal-card {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .wk-schedule-calendar .fc-toolbar.fc-header-toolbar {
    row-gap: 6px;
    column-gap: 6px;
    margin-bottom: 8px;
  }

  .wk-schedule-calendar .fc-toolbar-title {
    font-size: 14px;
  }

  .wk-schedule-calendar .fc-toolbar-chunk {
    gap: 4px;
  }

  .wk-schedule-calendar .fc .fc-button,
  .wk-schedule-calendar .fc .fc-button-group > .fc-button {
    min-height: 32px;
    padding: 0.28em 0.5em;
    font-size: 11px;
  }

  .wk-schedule-calendar .fc .fc-button .fc-icon,
  .wk-schedule-calendar .fc .fc-button span {
    font-size: 12px;
  }

  .wk-schedule-calendar .fc .fc-daygrid-day-frame {
    min-height: 54px;
  }
}

@keyframes wk-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1200px) {
  .wk-shell {
    grid-template-columns: 300px 1fr;
  }
  .wk-details {
    display: none;
  }
}

@media (max-width: 880px) {
  /* Mobile default layout to avoid first-paint flicker */
  .wk-shell {
    height: var(--wk-app-height);
    min-height: var(--wk-app-height);
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .wk-chat {
    position: absolute;
    inset: 0;
    height: var(--wk-app-height);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 40;
  }

  body.wk-view-chat .wk-chat {
    transform: translateX(0);
  }

  body.wk-view-chat .wk-sidebar {
    transform: translateX(-110%);
  }
}

@media (max-width: 880px) {
  .wk-top-notice-root {
    top: calc(10px + env(safe-area-inset-top));
    width: calc(100vw - 24px);
  }


  .wk-contact-grid-2 {
    grid-template-columns: 1fr;
  }

  body.wk-mobile {
    height: var(--wk-app-height);
    overflow: hidden;
  }

  body.wk-mobile .wk-shell {
    height: var(--wk-app-height);
    min-height: var(--wk-app-height);
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  body.wk-mobile .wk-sidebar {
    height: var(--wk-app-height);
    padding-bottom: calc(var(--wk-bottom-nav-height) + env(safe-area-inset-bottom));
    transition: transform 0.3s ease;
  }

  body.wk-mobile .wk-conversation-list,
  body.wk-mobile .wk-contacts-list,
  body.wk-mobile .wk-agenda,
  body.wk-mobile .wk-side-page-body,
  body.wk-mobile .wk-main-page-body {
    padding-bottom: calc(var(--wk-bottom-nav-height) + env(safe-area-inset-bottom));
  }

  body.wk-mobile .wk-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  body.wk-mobile .wk-chat {
    position: absolute;
    inset: 0;
    height: var(--wk-app-height);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 40;
  }

  body.wk-mobile.wk-view-chat .wk-chat {
    transform: translateX(0);
  }

  body.wk-mobile.wk-view-chat .wk-sidebar {
    transform: translateX(-110%);
  }

  body.wk-mobile.wk-view-chat .wk-chat-composer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  body.wk-mobile.wk-view-chat .wk-chat-body {
    padding-bottom: calc(var(--wk-chat-composer-height) + env(safe-area-inset-bottom));
  }

  /* Fallback for devices where pointer: coarse is not reported reliably */
  body.wk-view-chat .wk-chat-composer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  body.wk-view-chat .wk-chat-body {
    padding-bottom: calc(var(--wk-chat-composer-height) + env(safe-area-inset-bottom));
  }

  body.wk-mobile.wk-standalone.wk-view-chat .wk-chat-composer,
  body.wk-standalone.wk-view-chat .wk-chat-composer {
    bottom: var(--wk-mobile-chat-bottom-offset);
  }

  body.wk-mobile.wk-standalone.wk-view-chat.wk-keyboard-open .wk-chat-composer,
  body.wk-standalone.wk-view-chat.wk-keyboard-open .wk-chat-composer {
    position: fixed;
    left: 0;
    right: 0;
  }

  body.wk-mobile .wk-back {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .wk-chat-composer form {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
}

.wk-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius-lg);
  background: var(--wk-surface);
  box-shadow: var(--wk-shadow);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.wk-install-banner-text {
  display: grid;
  gap: 3px;
  color: var(--wk-text);
}

.wk-install-banner-text strong {
  font-size: 14px;
}

.wk-install-banner-text span {
  font-size: 12px;
  color: var(--wk-muted);
}

.wk-install-banner-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.wk-install-banner-actions .wk-send {
  min-width: 120px;
  max-width: 200px;
  width: auto;
  height: auto;
  padding: 10px 12px;
}

@media (min-width: 881px) {
  .wk-install-banner {
    left: auto;
    right: 18px;
    width: min(420px, calc(100vw - 36px));
  }
}

.wk-contact-delete-modal,
.wk-conv-delete-modal,
.wk-schedule-delete-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.72);
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.wk-contact-delete-modal.is-open,
.wk-conv-delete-modal.is-open,
.wk-schedule-delete-modal.is-open {
  display: flex;
}

.wk-contact-delete-card {
  width: min(480px, 100%);
  border-radius: var(--wk-radius-lg);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface);
  box-shadow: var(--wk-shadow);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.wk-contact-delete-card h4 {
  margin: 0;
}

.wk-contact-delete-card p {
  margin: 0;
  color: var(--wk-muted);
  font-size: 14px;
  line-height: 1.45;
}

.wk-contact-delete-checkline {
  display: block;
  font-size: 13px;
}

.wk-contact-delete-checkline .wk-switch-row {
  min-height: 50px;
  padding: 10px 12px;
}

.wk-contact-delete-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.wk-top-notice-root {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 180;
  width: min(520px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.wk-top-notice {
  pointer-events: auto;
  border-radius: calc(var(--wk-radius) + 4px);
  border: 1px solid transparent;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: var(--wk-shadow);
  backdrop-filter: none;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.wk-top-notice.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wk-top-notice.is-info {
  border-color: #8cc4ec;
  background: #2f5672;
  color: #eef7ff;
}

.wk-top-notice.is-success {
  border-color: #2ab6d0;
  background: #175666;
  color: #f4fbff;
}

.wk-top-notice.is-error {
  border-color: #ff8fa0;
  background: #7a2734;
  color: #fff1f3;
}

.wk-toast-root {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 170;
  display: grid;
  gap: 8px;
}

.wk-toast-item {
  min-width: 220px;
  max-width: 320px;
  border-radius: var(--wk-radius);
  border: 1px solid transparent;
  padding: 10px 12px;
  font-size: 13px;
  box-shadow: var(--wk-shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wk-toast-item.is-show {
  opacity: 1;
  transform: translateY(0);
}

.wk-toast-item.is-success {
  border-color: #2ab6d0;
  background: #175666;
  color: #f4fbff;
}

.wk-toast-item.is-error {
  border-color: #ff8fa0;
  background: #7a2734;
  color: #fff1f3;
}

@media (max-width: 880px) {
  .wk-top-notice-root {
    top: calc(10px + env(safe-area-inset-top));
    width: calc(100vw - 24px);
  }

  .wk-toast-root {
    left: 12px;
    right: 12px;
    bottom: calc(12px + var(--wk-bottom-nav-height) + env(safe-area-inset-bottom));
  }

  .wk-toast-item {
    min-width: 0;
    max-width: none;
  }
}

/* Login */
.wk-login-grid {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.wk-login-card {
  width: 100%;
  max-width: 350px;
  background: var(--wk-surface);
  border-radius: var(--wk-radius-lg);
  padding: 28px;
  box-shadow: var(--wk-shadow);
  border: 1px solid var(--wk-border);
  text-align: center;
}

.wk-login-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  display: block;
}

.wk-login-slogan {
  font-size: 13px;
  color: var(--wk-muted);
  margin-bottom: 18px;
}

.wk-login-intro {
  color: var(--wk-muted);
  margin-bottom: 16px;
  text-align: left;
  font-size: 13px;
}

.wk-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  position: relative;
  text-align: left;
}

.wk-field input {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border-radius: var(--wk-radius);
  border: 1px solid var(--wk-border);
  background: var(--wk-surface-2);
  color: var(--wk-text);
  outline: none;
}

.wk-field-icon {
  position: absolute;
  right: 12px;
  top: 36px;
  opacity: 0.7;
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
  display: inline-flex;
}

.wk-btn {
  width: 100%;
  border: none;
  border-radius: var(--wk-radius);
  padding: 12px 16px;
  background: var(--wk-accent);
  color: #081624;
  font-weight: 700;
  cursor: pointer;
}

.wk-login-actions {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 18px;
}

.wk-login-actions a {
  color: var(--wk-muted);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

h5.resetpass{
    font-size: 1.2em;
    margin: 10px 0 10px 0;
}

h5.notfound{
    font-size: 1.6em;
    margin: 10px 0 10px 0;
}

.wk-login-footer {
  margin-top: 20px;
  color: var(--wk-muted);
  font-size: 12px;
  display: grid;
  gap: 6px;
  text-align: left;
}

.wk-login-footer p{
margin: 0 0 5px 0;
}

.wk-alert {
  padding: 10px 12px;
  border-radius: var(--wk-radius);
  margin-bottom: 14px;
  display: none;
  text-align: left;
}

.wk-alert.wk-alert-error {
  background: rgba(250, 82, 82, 0.15);
  color: #ffc2c2;
  border: 1px solid rgba(250, 82, 82, 0.3);
  font-size: 14px;
  line-height: 140%;
}

.wk-alert.wk-alert-success {
  background: rgba(34, 184, 207, 0.2);
  color: #b8f2dd;
  border: 1px solid rgba(34, 184, 207, 0.3);
  font-size: 14px;
  line-height: 140%;
}


#hidethisbdody p.thisbody{
font-size: 0.8em;	
	}


.wk-progress {
  margin-top: 12px;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: none;
}

.wk-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--wk-accent), var(--wk-accent-2));
  animation: wk-loading 1s infinite linear;
}

@keyframes wk-loading {
  from { transform: translateX(-60%); }
  to { transform: translateX(60%); }
}

