:root {
  --bg: #f6f8fa;
  --panel: #ffffff;
  --text: #202b36;
  --text-soft: #475569;
  --text-muted: #697785;
  --line: #eef2f6;
  --primary: #168365;
  --primary-dark: #11684f;
  --primary-soft: #e8f7ef;
  --danger: #e04848;
  --danger-soft: #fdecec;
  --grad: #168365;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 2px 4px rgba(25, 42, 55, 0.02), 0 8px 28px -10px rgba(25, 42, 55, 0.10);
  --shadow-lg: 0 20px 60px -20px rgba(25, 42, 55, 0.18);
  --shadow-primary: 0 4px 10px -4px rgba(20, 128, 79, 0.25);
  --ring: 0 0 0 4px rgba(43, 182, 115, 0.18);

  --radius: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

.hidden { display: none !important; }

button, input, select, textarea { font-family: inherit; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Brand mark ---------- */
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: var(--shadow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-mark-lg { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 16px; }
.brand-mark-lg svg { width: 30px; height: 30px; }

/* ---------- Login ---------- */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: radial-gradient(ellipse at top, #e7f1ec, transparent 65%), var(--bg);
}

.login-box {
  width: 100%;
  max-width: 410px;
  padding: 40px 36px 32px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-radius: 24px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.03);
  animation: fadeUp 0.5s ease both;
}
.login-box h1 { text-align: center; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.login-box .subtitle { text-align: center; color: var(--text-soft); font-size: 13px; margin: 2px 0 26px; }
.login-box label { font-size: 12px; font-weight: 500; color: var(--text-soft); margin: 14px 0 6px; }
.login-box button { margin-top: 26px; width: 100%; padding: 13px 20px; }
.error-text { color: var(--danger); font-size: 13px; min-height: 20px; margin-top: 12px; text-align: center; }

/* ---------- Inputs ---------- */
input[type='text'],
input[type='password'],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input[type='text']:focus,
input[type='password']:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--ring);
}

/* ---------- Buttons ---------- */
.content button,
.login-box button {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.content button:hover,
.login-box button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 6px 14px -6px rgba(20, 128, 79, 0.35);
}
.content button:active,
.login-box button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px -4px rgba(20, 128, 79, 0.5);
}
.content button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; filter: none; }
.content button:focus-visible,
.login-box button:focus-visible { outline: none; box-shadow: var(--shadow-primary), var(--ring); }

.form-actions button.secondary {
  color: var(--text-soft);
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px #e2e8f0;
}
.form-actions button.secondary:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px #cbd5e1; filter: none; }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 44px;
  background: var(--panel);
  border-right: 1px solid #e9eef0;
  box-shadow: 4px 0 20px -12px rgba(15, 23, 42, 0.08);
  z-index: 2;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.brand-text span { font-size: 12px; color: var(--text-muted); }

.sidebar nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }

.nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  text-align: left;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.nav-btn svg,
.logout-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-btn:hover { background: #f1f5f9; color: var(--text); transform: translateX(2px); }
.nav-btn.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
  box-shadow: inset 3px 0 0 var(--primary);
  transform: none;
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  background: #fff;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px #e2e8f0;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}
.logout-btn:hover { color: var(--danger); background: var(--danger-soft); box-shadow: inset 0 0 0 1px #f5c2c2; }

.content { flex: 1; min-width: 0; padding: 28px 48px 56px; max-width: 1480px; }

.tab:not(.hidden) { animation: fadeUp 0.35s ease both; }

.page-head { margin-bottom: 28px; }
.page-head h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.page-head p { color: var(--text-soft); margin-top: 2px; }

/* ---------- Cards ---------- */
.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(15, 23, 42, 0.02);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.card .hint { margin-bottom: 16px; }

.hint { color: var(--text-soft); font-size: 13px; }
.saved-text {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
}
#pimpinan-result { margin: 12px 0 0; }
#pimpinan-result:empty { display: none; }

/* ---------- Status ---------- */
.status-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  margin-bottom: 22px;
  font-weight: 500;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.status-box::before {
  content: '';
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--text-muted);
}
.status-box.connected {
  color: #0f5132;
  background: #fff;
}
.status-box.connected::before { background: #22c55e; box-shadow: 0 0 0 5px var(--primary-soft); }
.status-box.disconnected {
  color: #8a1f1f;
  background: #fff;
}
.status-box.disconnected::before { background: var(--danger); }

.qr-box { text-align: center; }
.qr-box p { color: var(--text-soft); margin-bottom: 18px; }
.qr-box img {
  width: 260px;
  height: 260px;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

/* ---------- Switch ---------- */
.switch-row { display: flex; align-items: center; gap: 14px; font-weight: 500; cursor: pointer; margin-bottom: 10px; }
.switch-row input {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
  background: #cbd5e1;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.15);
  transition: background 0.2s;
}
.switch-row input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3);
  transition: transform 0.2s;
}
.switch-row input:checked { background: var(--grad); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.18), var(--shadow-primary); }
.switch-row input:checked::after { transform: translateX(22px); }
.switch-row input:focus-visible { outline: none; box-shadow: var(--ring); }

/* ---------- Forms ---------- */
.card-form { max-width: 580px; display: flex; flex-direction: column; }
.card-form label { font-size: 12px; font-weight: 500; color: var(--text-soft); margin: 14px 0 6px; }
.card-form label:first-of-type { margin-top: 0; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: 16px; height: 16px; accent-color: var(--primary); }
.form-actions { display: flex; gap: 10px; margin-top: 22px; }

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(15, 23, 42, 0.02);
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--text-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 16px 20px;
  font-size: 13px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.data-table tbody tr { transition: background 0.15s; }
.data-table tbody tr:hover { background: #f8fffb; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td.response-cell { max-width: 340px; white-space: pre-wrap; color: var(--text-soft); }

.data-table button {
  padding: 6px 12px;
  margin-right: 4px;
  font-size: 13px;
  color: var(--primary-dark);
  background: transparent;
  box-shadow: none;
  border-radius: 10px;
}
.data-table button:hover { color: var(--primary-dark); background: var(--primary-soft); box-shadow: none; transform: none; filter: none; }
.data-table button.danger { color: var(--danger); }
.data-table button.danger:hover { color: var(--danger); background: var(--danger-soft); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.active { color: var(--primary-dark); background: var(--primary-soft); }
.badge.inactive { color: var(--text-soft); background: #f1f5f9; }

/* ---------- Contacts & layanan panels ---------- */
.contacts-layout,
.layanan-layout { display: flex; gap: 22px; align-items: flex-start; }

.contacts-list,
.layanan-list {
  width: 280px;
  flex-shrink: 0;
  max-height: 72vh;
  overflow-y: auto;
  padding: 8px;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(15, 23, 42, 0.02);
}

.contacts-thread,
.layanan-editor {
  flex: 1;
  min-width: 0;
  min-height: 320px;
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(15, 23, 42, 0.02);
}

.contact-item,
.layanan-item {
  padding: 12px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.contact-item:hover, .layanan-item:hover { background: #f4f8f6; }
.contact-item.active, .layanan-item.active {
  background: var(--primary-soft);
  box-shadow: inset 3px 0 0 var(--primary);
}

.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-text { min-width: 0; flex: 1; }
.contact-item .name { font-weight: 600; }
.contact-item .preview {
  margin-top: 1px;
  font-size: 12px;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-item .paused-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 1px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--danger);
  background: var(--danger-soft);
  border-radius: 999px;
}
.avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
  box-shadow: 0 6px 12px -4px rgba(20, 128, 79, 0.5);
}

.search-box { max-width: 340px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }

/* ---------- Chat thread ---------- */
.contacts-thread h3 { font-size: 17px; font-weight: 600; }
.contacts-thread .hint { margin-bottom: 14px; }
.contacts-thread .hint button { display: block; margin: 12px 0 0; padding: 7px 16px; font-size: 12px; }

.msg-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 58vh;
  overflow-y: auto;
  padding: 18px;
  background: #f6f9f8;
  border-radius: var(--radius);
  box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.05);
}
.msg-bubble {
  max-width: 88%;
  padding: 10px 14px;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg-bubble.in {
  align-self: flex-start;
  background: #fff;
  border-radius: 16px 16px 16px 4px;
  box-shadow: var(--shadow-sm);
}
.msg-bubble.out {
  align-self: flex-end;
  color: #fff;
  background: var(--grad);
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 8px 16px -6px rgba(20, 128, 79, 0.45);
}
.msg-meta { margin-top: 4px; font-size: 11px; color: var(--text-muted); }
.msg-bubble.out .msg-meta { color: rgba(255, 255, 255, 0.75); }

/* ---------- Layanan editor ---------- */
.layanan-item { font-weight: 500; }
.layanan-editor form { display: flex; flex-direction: column; }
.layanan-editor label { font-size: 12px; font-weight: 500; color: var(--text-soft); margin: 14px 0 6px; }
.layanan-editor .form-actions { margin-top: 24px; }
.layanan-editor .hint { margin-bottom: 8px; }

.lock-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #8a5a0a;
  background: linear-gradient(135deg, #fff6e5, #fffaf0);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px #f3d9a4;
}
.lock-banner button {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 12px;
  color: #8a5a0a;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.lock-banner button:hover { color: #8a5a0a; box-shadow: var(--shadow-md); filter: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ---------- Workspace ---------- */
.workspace-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid #e3e9ed; color: var(--text-muted); font-size: 12px; }
.workspace-divider { margin: 0 12px; color: #acb6be; }
.workspace-badge { background: #fff; border: 1px solid #e3e9ed; border-radius: 999px; padding: 5px 12px; font-size: 11px; }
.page-head p { font-size: 13px; margin-top: 6px; }
.status-box { min-height: 86px; border: 1px solid var(--line); }
.report-card { padding: 30px; }
.section-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); border-radius: 12px; margin-bottom: 22px; }
.section-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.report-card .hint { margin-bottom: 24px; }
.empty-state { padding: 32px 16px !important; text-align: center; color: var(--text-muted); font-size: 12px; }
.contacts-thread:has(> .hint:only-child), .layanan-editor:has(> .hint:only-child) { display: grid; place-items: center; min-height: 360px; border: 1px dashed #dce4e7; box-shadow: none; background: rgba(255,255,255,.55); }
.contact-item .name, .layanan-item, .data-table td { overflow-wrap: anywhere; }
.nav-btn:focus-visible, .logout-btn:focus-visible, [role='button']:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
button { touch-action: manipulation; }
.data-table td:last-child { min-width: 145px; }
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .app { flex-direction: column; }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    overflow-x: auto;
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.18);
  }
  .brand { flex-shrink: 0; padding: 0; }
  .brand-text { display: none; }
  .sidebar nav { flex-direction: row; flex: 1; gap: 6px; }
  .nav-btn { width: auto; flex-shrink: 0; padding: 10px 14px; white-space: nowrap; }
  .nav-btn:hover { transform: none; }
  .logout-btn { flex-shrink: 0; }
  .logout-btn span { display: none; }

  .content { padding: 24px 16px 40px; }
  .page-head h2 { font-size: 22px; }

  .contacts-layout,
  .layanan-layout { flex-direction: column; }
  .contacts-list,
  .layanan-list { width: 100%; max-height: 260px; }
  .contacts-thread,
  .layanan-editor { width: 100%; }
  .search-box { max-width: none; }
}

@media (max-width: 600px) {
  .sidebar { flex-wrap: wrap; gap: 18px; padding: 18px 16px 12px; overflow: visible; }
  .brand-text { display: flex; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand-text strong { font-size: 13px; }
  .brand-text span { font-size: 11px; }
  .logout-btn { margin-left: auto; padding: 10px; }
  .sidebar nav { order: 3; flex: 0 0 100%; justify-content: space-between; gap: 3px; }
  .nav-btn { flex: 1; min-width: 0; flex-direction: column; gap: 6px; padding: 10px 2px; font-size: 9px; border-radius: 9px; }
  .nav-btn.active { box-shadow: none; }
  .nav-btn svg { width: 19px; height: 19px; }
  .workspace-bar { padding-bottom: 16px; margin-bottom: 24px; font-size: 11px; }
  .workspace-badge { font-size: 10px; }
  .content { padding: 20px 16px 32px; }
  .page-head { margin-bottom: 22px; }
  .page-head h2 { font-size: 25px; }
  .card, .contacts-thread, .layanan-editor { padding: 20px; }
  .status-box { padding: 20px; font-size: 12px; }
  .qr-box img { width: min(260px, 100%); height: auto; }
  .login-box { padding: 32px 24px 24px; }
  input[type='text'], input[type='password'], select, textarea { font-size: 16px; }
  .lock-banner { flex-wrap: wrap; }
  .msg-thread { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* UKOM is scoped to avoid changing existing dashboard views. */
.ukom-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 14px; }
.ukom-stats strong { display: block; font-size: 22px; margin-top: 8px; }
.ukom-table { overflow-x: auto; margin: 16px 0; background: #fff; border-radius: 12px; }
.ukom-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ukom-table th, .ukom-table td { padding: 12px; border-bottom: 1px solid #e4e9ed; text-align: left; vertical-align: top; min-width: 100px; max-width: 420px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ukom-table th { background: #eef5f2; }
.ukom-pager { display: flex; align-items: center; gap: 15px; }
.ukom-chart { display: flex; gap: 10px; align-items: flex-end; overflow-x: auto; padding-top: 20px; min-height: 210px; }
.ukom-chart-column { min-width: 48px; text-align: center; }
.ukom-bar { background: #167556; color: #fff; border-radius: 5px 5px 0 0; font-size: 11px; min-height: 20px; }
.ukom-chart small { font-size: 10px; }
#ukom-editor { width: min(680px,92vw); max-height: 85vh; overflow-y: auto; border: 0; border-radius: 16px; padding: 24px; }
#ukom-editor::backdrop { background: #102a4380; }
#ukom-fields label { display: block; margin: 12px 0; }
#ukom-fields textarea { min-height: 110px; width: 100%; }
#ukom-fields p { white-space: pre-wrap; overflow-wrap: anywhere; }
#ukom-edit-error { color: #aa2020; }
#ukom-view { max-width: 320px; margin-right: 12px; }
