/* ============================================================
   Beacon — design tokens & component styles
   Tokens, base resets, animations and all hover/structural
   styling. Dynamic colors (status/type/priority/app/person)
   are applied inline from the components.
   ============================================================ */

:root {
  --bg: #faf7f4;
  --surface: #ffffff;
  --soft: #f5f1ec;
  --border: #ece6df;
  --line: #f0eae3;
  --text: #2b2723;
  --muted: #8d857b;
  --faint: #aaa295;
  --accent: #4f46e5;
  --accent-soft: #eef0fd;
  --accent-deep: #3730a3;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

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

::placeholder { color: #b8b0a6; }
input, textarea, select, button { font-family: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: #ddd5cb; border-radius: 8px;
  border: 3px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #ccc2b5; background-clip: padding-box; border: 3px solid transparent;
}

@keyframes beaconOverlay { from { opacity: 0; } to { opacity: 1; } }
@keyframes beaconDrawer { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes beaconPop { from { transform: scale(.96) translateY(8px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes beaconFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   Auth flow (login / register / forgot password)
   The design handoff prototype used inline styles plus its own
   :focus / :hover pseudo handling; here those interactive states
   live in real CSS classes while dynamic colors stay inline.
   ============================================================ */
@keyframes authPulse { 0% { transform: translate(-50%,-50%) scale(.36); opacity: .5; } 70% { opacity: 0; } 100% { transform: translate(-50%,-50%) scale(1.55); opacity: 0; } }
@keyframes authFade  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes authPop   { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes authFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.bk-auth { min-height: 100vh; background: var(--bg); color: var(--text); display: flex; }

.bk-auth-fade { animation: authFade .34s cubic-bezier(.22,1,.36,1) both; }
.bk-auth-pop  { animation: authPop .34s ease both; }

.bk-auth-input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--soft);
  font-size: 14.5px; outline: none; color: var(--text);
  transition: border-color .15s, background .15s;
}
.bk-auth-input.has-eye { padding: 0 46px 0 14px; }
.bk-auth-input:focus { border-color: var(--accent); background: #fff; }
.bk-auth-input.is-error, .bk-auth-input.is-error:focus { border-color: #dc2626; }

.bk-auth-btn {
  width: 100%; height: 50px; border-radius: 13px; border: none;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 4px 16px rgba(79,70,229,.32);
  transition: background .15s; display: flex; align-items: center;
  justify-content: center; gap: 8px;
}
.bk-auth-btn:hover:not(:disabled) { background: var(--accent-deep); }
.bk-auth-btn.is-disabled, .bk-auth-btn:disabled { background: #d8d2ca; box-shadow: none; cursor: default; }

.bk-auth-code {
  width: 46px; height: 56px; text-align: center; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--soft);
  font-size: 22px; font-weight: 700; color: var(--text); outline: none;
  transition: border-color .15s, background .15s;
}
.bk-auth-code:focus { border-color: var(--accent); background: #fff; }
.bk-auth-code.is-error { border-color: #dc2626; }

.bk-auth-link { background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; }
.bk-auth-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: none; background: none; cursor: pointer;
  color: var(--faint); display: flex; align-items: center; justify-content: center;
}

@media (max-width: 860px) { .bk-auth-brand { display: none !important; } }

/* ---- app shell ---- */
.bk-app { min-height: 100vh; background: var(--bg); color: var(--text); display: flex; flex-direction: column; }
.bk-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bk-spacer { flex: 1; }

/* ---- header ---- */
.bk-header {
  display: flex; align-items: center; gap: 18px; padding: 0 22px; height: 62px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 30;
}
.bk-brand { display: flex; align-items: center; gap: 11px; }
.bk-logo {
  width: 30px; height: 30px; border-radius: 9px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(79,70,229,.32);
}
.bk-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-wordmark { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }

.bk-nav { display: flex; align-items: center; gap: 3px; background: var(--soft); padding: 4px; border-radius: 12px; }
.bk-tab {
  border: none; cursor: pointer; padding: 7px 14px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; transition: all .15s;
  display: flex; align-items: center; gap: 7px;
}

.bk-tab-group { position: relative; display: flex; align-items: center; }
.bk-tab-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; min-width: 150px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(43,39,35,.14); padding: 5px; display: flex; flex-direction: column; gap: 2px;
}
.bk-tab-menu-item {
  border: none; cursor: pointer; text-align: left; padding: 8px 12px; border-radius: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); background: transparent; transition: all .12s;
}
.bk-tab-menu-item:hover { background: var(--soft); color: var(--text); }
.bk-tab-menu-item.is-active { background: var(--soft); color: var(--text); }

.bk-control { position: relative; display: flex; align-items: center; }
.bk-control .bk-ico-left { position: absolute; left: 11px; pointer-events: none; }
.bk-control .bk-ico-right { position: absolute; right: 10px; pointer-events: none; }
.bk-select {
  height: 38px; padding: 0 30px 0 32px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--soft); font-size: 13.5px; font-weight: 600; color: var(--text);
  cursor: pointer; outline: none; -webkit-appearance: none; appearance: none;
}
.bk-search {
  width: 190px; height: 38px; padding: 0 12px 0 32px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--soft); font-size: 13.5px; outline: none; color: var(--text);
}

.bk-btn-outline {
  height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-size: 13.5px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 7px;
}
.bk-btn-outline:hover { background: var(--soft); }
.bk-btn-icon {
  width: 38px; height: 38px; padding: 0; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.bk-btn-icon:hover { background: var(--soft); }
.bk-btn-icon:disabled { cursor: default; opacity: .65; }
.bk-spin { animation: bk-spin 0.8s linear infinite; transform-origin: 50% 50%; }
@keyframes bk-spin { to { transform: rotate(360deg); } }

/* ============================================================
   Workspace loading splash — Beacon mark with pulsating rings,
   echoing the auth screen (rings tinted to the accent so they
   read on the light app background).
   ============================================================ */
.bk-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding-top: 110px; animation: authFade .4s ease both;
}
.bk-loading-mark {
  position: relative; width: 150px; height: 150px;
  display: flex; align-items: center; justify-content: center;
}
.bk-loading-ring {
  position: absolute; top: 50%; left: 50%; width: 150px; height: 150px;
  border-radius: 50%; border: 1.5px solid rgba(79,70,229,.35);
  transform: translate(-50%,-50%) scale(.36);
  animation: authPulse 3.4s ease-out infinite backwards;
}
.bk-loading-ring:nth-child(2) { animation-delay: 1.13s; }
.bk-loading-ring:nth-child(3) { animation-delay: 2.26s; }
.bk-loading-logo {
  position: relative; width: 76px; height: 76px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 14px 38px rgba(79,70,229,.28); animation: authFloat 6s ease-in-out infinite;
}
.bk-loading-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.bk-loading-text { font-size: 14.5px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.bk-btn-primary {
  height: 38px; padding: 0 16px; border-radius: 10px; border: none; background: var(--accent);
  color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 7px; box-shadow: 0 2px 10px rgba(79,70,229,.3);
}
.bk-btn-primary:hover { background: #4339d6; }

/* ---- type-filter chips ---- */
.bk-chip {
  height: 32px; padding: 0 13px; border-radius: 9px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .14s;
}

/* ---- board ---- */
.bk-board { display: flex; flex-direction: column; height: calc(100vh - 62px); }
.bk-board-toolbar { display: flex; align-items: center; gap: 10px; padding: 16px 22px 14px; }
.bk-chips-row { display: flex; align-items: center; gap: 6px; }
.bk-columns { flex: 1; min-height: 0; display: flex; gap: 16px; padding: 0 22px 22px; overflow-x: auto; }
.bk-column { flex: 1; min-width: 280px; display: flex; flex-direction: column; border-radius: 16px; transition: background .15s; }
.bk-col-head { display: flex; align-items: center; gap: 9px; padding: 6px 6px 12px; }
.bk-col-dot { width: 9px; height: 9px; border-radius: 50%; }
.bk-col-name { font-weight: 700; font-size: 13.5px; letter-spacing: .01em; }
.bk-col-count { font-size: 12px; font-weight: 600; color: var(--faint); background: var(--soft); padding: 1px 8px; border-radius: 20px; }
.bk-col-body { flex: 1; min-height: 60px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 2px; }
.bk-col-empty { font-size: 12.5px; color: var(--faint); text-align: center; padding: 18px 8px; font-weight: 500; }

/* ---- card ---- */
.bk-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 13px 13px 11px; cursor: grab; box-shadow: 0 1px 2px rgba(43,39,35,.04);
  transition: box-shadow .15s, transform .1s, border-color .15s;
}
.bk-card:hover { box-shadow: 0 6px 18px rgba(43,39,35,.1); transform: translateY(-1px); border-color: #ddd5cb; }
.bk-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.bk-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 7px;
}
.bk-id { font-size: 11.5px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.bk-card-title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); margin-bottom: 8px; text-wrap: pretty; }
.bk-app-row { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.bk-app-dot { width: 6px; height: 6px; border-radius: 2px; }
.bk-app-name { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.bk-card-foot { display: flex; align-items: center; gap: 8px; }
.bk-pri-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
.bk-pri-dot { width: 6px; height: 6px; border-radius: 50%; }
.bk-comment-count { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--faint); }
.bk-avatar { border-radius: 50%; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bk-avatar.bk-av-card { width: 25px; height: 25px; font-size: 10.5px; }
.bk-avatar.bk-av-row { width: 23px; height: 23px; font-size: 10px; }
.bk-avatar.bk-av-tl { width: 30px; height: 30px; font-size: 11px; }

/* ---- list ---- */
.bk-scroll { height: calc(100vh - 62px); overflow-y: auto; }
.bk-narrow { max-width: 1080px; margin: 0 auto; padding: 22px; }
.bk-list-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.bk-result-count { font-size: 12.5px; color: var(--faint); font-weight: 600; }
.bk-table { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(43,39,35,.04); }
.bk-grid { display: grid; grid-template-columns: 76px 1fr 132px 112px 92px 116px 66px; gap: 14px; }
.bk-thead {
  padding: 11px 18px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--faint); background: var(--soft);
}
.bk-row { align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.bk-row:hover { background: var(--soft); }
.bk-cell-issue { min-width: 0; display: flex; align-items: center; gap: 9px; }
.bk-cell-issue .bk-tsq { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }
.bk-trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bk-cell-title { font-size: 13.5px; font-weight: 600; color: var(--text); }
.bk-cell-app { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.bk-cell-app .bk-app-dot { flex-shrink: 0; }
.bk-cell-app span.bk-app-name { font-size: 12.5px; }
.bk-status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 7px; width: fit-content; }
.bk-pri-inline { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; }
.bk-cell-assignee { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bk-cell-assignee .bk-name { font-size: 12.5px; color: var(--muted); }
.bk-age { font-size: 12px; color: var(--faint); text-align: right; font-weight: 500; }
.bk-empty { text-align: center; padding: 40px 0; color: var(--faint); font-size: 13.5px; font-weight: 500; }

/* ---- dashboard ---- */
.bk-dash-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.bk-dash-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; }
.bk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.bk-card-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 2px rgba(43,39,35,.04); }
.bk-stat { padding: 18px; }
.bk-stat-head { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.bk-stat-dot { width: 8px; height: 8px; border-radius: 50%; }
.bk-stat-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bk-stat-num { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.bk-stat-sub { font-size: 12px; color: var(--faint); margin-top: 7px; font-weight: 500; }
.bk-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.bk-panel { padding: 20px; }
.bk-panel-title { font-size: 13.5px; font-weight: 700; margin-bottom: 18px; }
.bk-bars { display: flex; flex-direction: column; gap: 15px; }
.bk-bar-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.bk-bar-label { font-size: 13px; font-weight: 600; color: var(--text); }
.bk-bar-count { font-size: 12px; color: var(--faint); font-weight: 600; }
.bk-bar-track { height: 8px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.bk-bar-fill { height: 100%; border-radius: 6px; }
.bk-recent { padding: 8px; }
.bk-recent-title { font-size: 13.5px; font-weight: 700; padding: 13px 14px 11px; }
.bk-recent-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; cursor: pointer; transition: background .12s; }
.bk-recent-row:hover { background: var(--soft); }
.bk-recent-badge {
  display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; min-width: 62px;
}
.bk-recent-name { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ---- intake ---- */
.bk-intake { height: calc(100vh - 62px); overflow-y: auto; background: linear-gradient(180deg, #f4f1fb 0%, var(--bg) 240px); }
.bk-intake-inner { max-width: 560px; margin: 0 auto; padding: 40px 22px 60px; }
.bk-success {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 44px 36px; text-align: center; box-shadow: 0 8px 30px rgba(43,39,35,.06);
  animation: beaconPop .3s ease both;
}
.bk-success-ico { width: 58px; height: 58px; border-radius: 50%; background: #e3f5e8; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.bk-success h2 { font-size: 21px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.02em; }
.bk-success p { font-size: 14px; color: var(--muted); margin: 0 0 24px; line-height: 1.55; }
.bk-intake-head { text-align: center; margin-bottom: 26px; }
.bk-brand-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); padding: 6px 14px 6px 8px; border-radius: 30px; margin-bottom: 18px; }
.bk-brand-pill .bk-mini { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.bk-brand-pill .bk-mini > span { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.bk-brand-pill .bk-brand-text { font-size: 12.5px; font-weight: 700; color: var(--accent-deep); }
.bk-intake-head h1 { font-size: 25px; font-weight: 800; letter-spacing: -.025em; margin: 0 0 8px; }
.bk-intake-head p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.bk-intake-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: 0 8px 30px rgba(43,39,35,.06); }
.bk-type-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.bk-type-btn { height: 44px; border-radius: 11px; cursor: pointer; font-size: 13px; font-weight: 700; transition: all .14s; }
.bk-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-send { width: 100%; height: 48px; border-radius: 12px; border: none; cursor: pointer; font-size: 15px; font-weight: 700; transition: all .14s; color: #fff; }

/* shared form controls */
.bk-field { margin-bottom: 16px; }
.bk-flabel { display: block; font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.bk-input { width: 100%; height: 44px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--border); background: var(--soft); font-size: 14px; outline: none; color: var(--text); }
.bk-textarea { width: 100%; padding: 12px 13px; border-radius: 11px; border: 1px solid var(--border); background: var(--soft); font-size: 14px; outline: none; resize: vertical; line-height: 1.5; color: var(--text); }
.bk-fselect { width: 100%; height: 44px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--border); background: var(--soft); font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; outline: none; }

/* ---- drawer ---- */
.bk-overlay-wrap { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; }
.bk-scrim { position: absolute; inset: 0; background: rgba(43,39,35,.32); animation: beaconOverlay .2s ease both; }
.bk-drawer {
  position: relative; width: 480px; max-width: 92vw; height: 100%; background: var(--surface);
  box-shadow: -12px 0 40px rgba(43,39,35,.16); display: flex; flex-direction: column;
  animation: beaconDrawer .26s cubic-bezier(.22,1,.36,1) both;
}
.bk-drawer-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.bk-drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px; }
.bk-drawer-foot { border-top: 1px solid var(--border); padding: 14px 20px; display: flex; gap: 10px; align-items: flex-end; background: var(--surface); }
.bk-close { width: 34px; height: 34px; border-radius: 9px; border: none; background: var(--soft); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bk-close:hover { background: var(--border); }
.bk-close.sm { width: 32px; height: 32px; }
.bk-drawer-title { font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0 0 6px; letter-spacing: -.01em; text-wrap: pretty; }
.bk-drawer-meta { font-size: 12.5px; color: var(--faint); margin-bottom: 20px; }
.bk-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); margin-bottom: 8px; }
.bk-dlabel { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); margin-bottom: 6px; }
.bk-dselect { width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--soft); font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; outline: none; }
.bk-app-select-wrap { position: relative; }
.bk-app-select-wrap .bk-asdot { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 2px; pointer-events: none; }
.bk-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 22px; }
.bk-desc { font-size: 14px; line-height: 1.6; color: var(--text); margin: 0 0 20px; white-space: pre-wrap; text-wrap: pretty; }
.bk-steps { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; margin-bottom: 20px; }
.bk-step-line { font-size: 13.5px; line-height: 1.7; color: var(--text); }
.bk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.bk-chip-static { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 20px; }
.bk-sort-btn { width: 26px; height: 26px; padding: 0; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 11px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .12s; }
.bk-sort-btn:hover:not(:disabled) { background: var(--soft); color: var(--text); }
.bk-sort-btn:disabled { opacity: .4; cursor: default; }
.bk-attach-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bk-add-link { font-size: 11.5px; font-weight: 700; color: var(--accent); background: none; border: none; cursor: pointer; padding: 2px 4px; }
.bk-attach-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.bk-attach { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text); background: var(--soft); border: 1px solid var(--line); padding: 7px 11px; border-radius: 9px; text-decoration: none; }
.bk-attach:hover { background: var(--border); }
.bk-timeline { display: flex; flex-direction: column; gap: 14px; }
.bk-tl-item { display: flex; gap: 11px; }
.bk-tl-comment-body { flex: 1; min-width: 0; }
.bk-tl-comment-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.bk-tl-author { font-size: 13px; font-weight: 700; color: var(--text); }
.bk-tl-rel { font-size: 11.5px; color: var(--faint); }
.bk-tl-bubble { font-size: 13.5px; line-height: 1.55; color: var(--text); background: var(--soft); border-radius: 10px; padding: 9px 12px; text-wrap: pretty; }
.bk-tl-lognode { width: 30px; display: flex; justify-content: center; flex-shrink: 0; padding-top: 2px; }
.bk-tl-logdot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); }
.bk-tl-logtext { font-size: 12.5px; color: var(--muted); padding-top: 1px; }
.bk-tl-logtext strong { font-weight: 600; color: var(--text); }
.bk-comment-input { flex: 1; min-height: 42px; max-height: 120px; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--border); background: var(--soft); font-size: 13.5px; outline: none; resize: none; line-height: 1.45; color: var(--text); }
.bk-comment-send { height: 42px; padding: 0 16px; border-radius: 11px; border: none; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.bk-comment-send:hover { background: #4339d6; }

/* ---- composer modal ---- */
.bk-modal-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 48px 20px; overflow-y: auto; }
.bk-modal-scrim { position: absolute; inset: 0; background: rgba(43,39,35,.34); animation: beaconOverlay .2s ease both; }
.bk-modal { position: relative; width: 540px; max-width: 100%; background: var(--surface); border-radius: 20px; box-shadow: 0 20px 60px rgba(43,39,35,.24); animation: beaconPop .26s ease both; }
.bk-modal-head { display: flex; align-items: center; padding: 20px 22px 16px; }
.bk-modal-head h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.bk-modal-body { padding: 0 22px 8px; }
.bk-title-input { width: 100%; height: 46px; padding: 0 4px; border: none; border-bottom: 1.5px solid var(--border); background: transparent; font-size: 18px; font-weight: 700; outline: none; color: var(--text); margin-bottom: 18px; }
.bk-pick-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.bk-type-pick { height: 34px; padding: 0 14px; border-radius: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .14s; }
.bk-modal-foot { display: flex; align-items: center; gap: 10px; padding: 18px 22px; margin-top: 8px; border-top: 1px solid var(--line); }
.bk-cancel { height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.bk-cancel:hover { background: var(--soft); }
.bk-create { height: 42px; padding: 0 20px; border-radius: 11px; border: none; color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; }

/* ============================================================= header avatar */
.bk-avatar-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--accent-soft); cursor: pointer; padding: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: border-color .15s;
}
.bk-avatar-btn:hover { border-color: #ddd5cb; }
.bk-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.bk-avatar-initials { font-size: 13px; font-weight: 700; color: var(--accent-deep); }

/* ========================================================== account popover */
.bk-pop-layer { position: fixed; inset: 0; z-index: 70; }
.bk-pop-scrim { position: absolute; inset: 0; background: rgba(43,39,35,.22); animation: beaconOverlay .18s ease both; }
.bk-pop {
  position: absolute; top: 60px; right: 22px; width: 392px; max-width: calc(100vw - 32px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(43,39,35,.22); overflow: hidden;
  animation: beaconPop .22s ease both;
}

/* identity header */
.bk-pop-id { display: flex; align-items: center; gap: 13px; padding: 18px 18px 16px; }
.bk-pop-id-avatar {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 16px; font-weight: 700;
}
.bk-pop-id-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bk-pop-id-text { min-width: 0; }
.bk-pop-id-name { font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-pop-id-email { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-pop-close {
  width: 30px; height: 30px; border-radius: 8px; border: none; background: var(--soft);
  color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bk-pop-close:hover { background: var(--border); }

/* tabs */
.bk-pop-tabs { display: flex; gap: 3px; margin: 0 16px; background: var(--soft); padding: 4px; border-radius: 11px; }
.bk-pop-tab {
  flex: 1; border: none; cursor: pointer; padding: 7px 0; border-radius: 8px;
  font-size: 12.5px; font-weight: 700; background: transparent; color: var(--muted); transition: all .15s;
}
.bk-pop-tab.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(43,39,35,.1); }

.bk-pop-body { padding: 18px; }

/* avatar editor */
.bk-pop-avatar-edit { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bk-pop-avatar-preview {
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--border);
  background: var(--accent-soft); color: var(--accent-deep); font-size: 20px; font-weight: 700;
}
.bk-pop-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.bk-pop-avatar-actions { display: flex; flex-direction: column; gap: 7px; }
.bk-pop-upload {
  height: 34px; padding: 0 14px; border-radius: 9px; border: none; background: var(--accent);
  color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.bk-pop-upload.busy { opacity: .7; cursor: default; }
.bk-pop-remove {
  height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer;
}
.bk-pop-remove:hover:not(:disabled) { background: var(--soft); }

.bk-pop-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); margin-bottom: 7px; }
.bk-pop-name-row { display: flex; gap: 8px; margin-bottom: 18px; }
.bk-pop-input { flex: 1; height: 42px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--border); background: var(--soft); font-size: 14px; outline: none; color: var(--text); }
.bk-pop-input:focus { border-color: var(--accent); background: #fff; }
.bk-pop-save { height: 42px; padding: 0 16px; border-radius: 11px; border: none; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.bk-pop-save:disabled { cursor: default; }

.bk-pop-email-wrap { position: relative; }
.bk-pop-email { width: 100%; height: 42px; padding: 0 38px 0 13px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; color: var(--muted); outline: none; cursor: not-allowed; }
.bk-pop-email-lock { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); display: flex; }
.bk-pop-hint { font-size: 11.5px; color: var(--faint); margin-top: 7px; }
.bk-pop-error { font-size: 11.5px; color: #b91c1c; margin: 0 0 14px; }

/* apps & keys */
.bk-pop-apps-intro { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.bk-pop-apps { display: flex; flex-direction: column; gap: 12px; }
.bk-pop-card { border: 1px solid var(--border); border-radius: 13px; padding: 13px 14px; }
.bk-pop-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.bk-pop-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.bk-pop-card-name { font-size: 13.5px; font-weight: 700; }
.bk-pop-owner { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-deep); background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; }
.bk-pop-rotated { font-size: 11px; color: var(--faint); }
.bk-pop-keyrow { display: flex; align-items: center; gap: 7px; background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 0 6px 0 11px; height: 38px; }
.bk-pop-key { flex: 1; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-pop-eye { width: 30px; height: 28px; border: none; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 7px; }
.bk-pop-eye:hover { background: var(--border); }
.bk-pop-copy { height: 28px; padding: 0 10px; border-radius: 7px; background: var(--surface); border: 1px solid var(--border); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.bk-pop-nokey { font-size: 12px; color: var(--faint); margin-bottom: 10px; }
.bk-pop-secret { margin-top: 10px; padding: 11px 12px; border: 1px solid #a7f3d0; background: #ecfdf5; border-radius: 11px; }
.bk-pop-secret-title { font-size: 11.5px; font-weight: 600; color: #065f46; margin-bottom: 8px; line-height: 1.4; }
.bk-pop-rotate { margin-top: 10px; height: 34px; width: 100%; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 12.5px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: all .14s; }
.bk-pop-rotate:hover:not(:disabled) { border-color: #ddd5cb; background: var(--soft); }
.bk-pop-rotate:disabled { cursor: default; opacity: .7; }

/* footer */
.bk-pop-foot { display: flex; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.bk-pop-foot-link { border: none; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 0; }
.bk-pop-foot-link:hover { color: var(--text); }
.bk-pop-signout { height: 32px; padding: 0 14px; border-radius: 9px; border: 1px 
/* ---- Settings modal redesign (sidebar + content panel) ---- */
.bk-settings { box-shadow: 0 28px 80px rgba(43,39,35,.24); }
.bk-settings .bk-newapp-btn:hover { border-color: #4f46e5; color: #3730a3; }
.bk-settings-body { animation: beaconFade .2s ease both; }
.bk-settings-scroll::-webkit-scrollbar { width: 9px; }
.bk-settings-scroll::-webkit-scrollbar-thumb { background: #ddd5cb; border-radius: 8px; border: 3px solid transparent; background-clip: padding-box; }

/* ============================================================
   Ticket-editor modal (redesign of the issue drawer)
   Large centered modal with a left nav, mirroring the Settings
   dialog. Tokens follow the design handoff; dynamic status /
   priority / type / app colors stay inline on the elements.
   ============================================================ */
.bk-te-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 44px 20px; overflow-y: auto; }
.bk-te-card {
  position: relative; width: 960px; max-width: 100%; background: #fff;
  border: 1px solid #ece6df; border-radius: 20px; box-shadow: 0 28px 80px rgba(43,39,35,.26);
  overflow: hidden; display: flex; flex-direction: column;
  animation: beaconPop .26s ease both;
}
.bk-te-head { display: flex; align-items: center; gap: 11px; padding: 18px 22px; border-bottom: 1px solid #ece6df; }
.bk-te-escalate {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; margin-right: 4px;
  border: none; border-radius: 9px; background: #4f46e5; color: #fff; font-size: 12.5px; font-weight: 700;
  cursor: pointer; box-shadow: 0 2px 8px rgba(79,70,229,.28); transition: background .14s;
}
.bk-te-escalate:hover { background: #4339d6; }
.bk-te-body { display: flex; }

/* sidebar */
.bk-te-side { width: 236px; flex: none; border-right: 1px solid #ece6df; padding: 18px 14px; background: #faf8f5; display: flex; flex-direction: column; }
.bk-te-grouplabel { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #a89f93; padding: 0 6px 8px; }
.bk-te-nav { display: flex; flex-direction: column; gap: 2px; }
.bk-te-navitem {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; border: none; cursor: pointer;
  padding: 9px 11px; border-radius: 10px; font-size: 13.5px; font-weight: 700; background: transparent;
  color: #8d857b; transition: all .14s;
}
.bk-te-navitem:hover { background: #f1ece5; color: #6f675d; }
.bk-te-navitem.active { background: #eef0fd; color: #3730a3; }
.bk-te-navitem.active:hover { background: #eef0fd; color: #3730a3; }
.bk-te-navlabel { flex: 1; min-width: 0; }
.bk-te-count { font-size: 11px; font-weight: 700; color: #8d857b; background: #fff; border: 1px solid #ece6df; padding: 1px 7px; border-radius: 20px; min-width: 20px; text-align: center; }
.bk-te-sidefoot { padding: 13px 8px 2px; border-top: 1px solid #ece6df; }

/* content */
.bk-te-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bk-te-chead { padding: 22px 26px 17px; border-bottom: 1px solid #f0eae3; }
.bk-te-title { font-size: 20px; font-weight: 700; line-height: 1.32; letter-spacing: -.01em; text-wrap: pretty; color: #2b2723; margin: 0 0 11px; }
.bk-te-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-te-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 8px; }
.bk-te-pilldot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.bk-te-apppill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #8d857b; background: #faf8f5; border: 1px solid #ece6df; padding: 4px 11px; border-radius: 8px; }
.bk-te-appdot { width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0; }
.bk-te-scroll { flex: 1; min-height: 432px; max-height: 548px; overflow-y: auto; padding: 22px 26px; }
.bk-te-scroll::-webkit-scrollbar { width: 9px; }
.bk-te-scroll::-webkit-scrollbar-thumb { background: #ddd5cb; border-radius: 8px; border: 3px solid transparent; background-clip: padding-box; }
.bk-te-section { animation: beaconFade .2s ease both; }

/* cards */
.bk-te-tcard { background: #faf8f5; border: 1px solid #ece6df; border-radius: 16px; padding: 20px 22px; margin-bottom: 16px; }
.bk-te-tcard:last-child { margin-bottom: 0; }
.bk-te-ctitle { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; color: #2b2723; margin: 0 0 14px; }
.bk-te-proprow { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 16px; }
.bk-te-propfull { grid-column: 1 / -1; }
.bk-te-microlabel { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #a89f93; margin-bottom: 7px; }
.bk-te-selwrap { position: relative; }
.bk-te-select {
  width: 100%; height: 44px; padding: 0 32px 0 14px; border-radius: 11px; border: 1px solid #e7e1d8;
  background: #fff; font-size: 13.5px; font-weight: 600; color: #2b2723; cursor: pointer; outline: none;
  -webkit-appearance: none; appearance: none;
}
.bk-te-select.has-dot { padding-left: 32px; }
.bk-te-selchev { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; display: flex; }
.bk-te-seldot { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 2px; pointer-events: none; }
.bk-te-labels { margin-top: 15px; }
.bk-te-labelchips { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-te-labelchip { font-size: 12px; font-weight: 600; color: #6f675d; background: #fff; border: 1px solid #e7e1d8; padding: 4px 11px; border-radius: 20px; }
.bk-te-desc { font-size: 14px; line-height: 1.65; color: #2b2723; margin: 0; white-space: pre-wrap; text-wrap: pretty; }
.bk-te-stepline { font-size: 13.5px; line-height: 1.7; color: #2b2723; }

/* composer */
.bk-te-comphead { display: flex; align-items: center; margin-bottom: 13px; }
.bk-te-seg { display: inline-flex; gap: 3px; background: #fff; border: 1px solid #ece6df; padding: 3px; border-radius: 10px; }
.bk-te-segbtn { border: none; cursor: pointer; padding: 6px 13px; border-radius: 7px; font-size: 12px; font-weight: 700; background: transparent; color: #8d857b; transition: all .14s; }
.bk-te-textarea { width: 100%; min-height: 172px; padding: 14px 15px; border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.6; color: #2b2723; resize: vertical; outline: none; }
.bk-te-compfoot { display: flex; align-items: center; margin-top: 13px; }
.bk-te-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #b45309; }
.bk-te-send { height: 42px; padding: 0 24px; border-radius: 11px; border: none; color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.bk-te-send:disabled { opacity: .55; cursor: default; }

/* history */
.bk-te-histlabel { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #a89f93; margin: 26px 0 14px; }
.bk-te-tl { display: flex; flex-direction: column; gap: 16px; }
.bk-te-tlitem { display: flex; gap: 11px; }
.bk-te-tlbody { flex: 1; min-width: 0; }
.bk-te-tlhead { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.bk-te-tlauthor { font-size: 13px; font-weight: 700; color: #2b2723; }
.bk-te-tlrel { font-size: 11.5px; color: #a89f93; }
.bk-te-intbadge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #b45309; background: #fdf3e0; padding: 2px 7px; border-radius: 6px; }
.bk-te-bubble { font-size: 13.5px; line-height: 1.55; color: #2b2723; border-radius: 11px; padding: 10px 13px; text-wrap: pretty; background: #faf8f5; border: 1px solid #ece6df; }
.bk-te-bubble.internal { background: #fdf8ef; border: 1px solid #f0e2c6; }
.bk-te-lognode { width: 30px; display: flex; justify-content: center; flex-shrink: 0; padding-top: 3px; }
.bk-te-logdot { width: 8px; height: 8px; border-radius: 50%; background: #ece6df; border: 2px solid #fff; box-shadow: 0 0 0 1px #ece6df; }
.bk-te-logtext { font-size: 12.5px; color: #8d857b; padding-top: 1px; }
.bk-te-logtext strong { font-weight: 600; color: #2b2723; }

/* attachments */
.bk-te-atthead { display: flex; align-items: center; margin-bottom: 14px; }
.bk-te-attcount { font-size: 12px; font-weight: 600; color: #a89f93; }
.bk-te-attlist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.bk-te-attrow { display: flex; align-items: center; gap: 13px; background: #faf8f5; border: 1px solid #ece6df; border-radius: 12px; padding: 12px 14px; text-decoration: none; }
.bk-te-attrow:hover { border-color: #ddd5cb; }
.bk-te-atttile { width: 38px; height: 38px; flex: none; background: #fff; border: 1px solid #ece6df; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.bk-te-attmeta { flex: 1; min-width: 0; }
.bk-te-attname { font-size: 13.5px; font-weight: 700; color: #2b2723; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-te-attsub { font-size: 11.5px; color: #8d857b; }
.bk-te-attempty { text-align: center; font-size: 13px; color: #a89f93; padding: 18px 0; }
.bk-te-dashed { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; border: 1px dashed #d4ccc0; padding: 12px; border-radius: 11px; font-size: 13px; font-weight: 700; background: #fff; color: #6f675d; cursor: pointer; transition: all .14s; }
.bk-te-dashed:hover { border-color: #4f46e5; color: #3730a3; }

/* Rendered knowledge-base article HTML (Help Centre). Keep embedded media and
   tables within the article column and give block elements sensible spacing. */
.bk-article-body img { max-width: 100%; height: auto; border-radius: 8px; }
.bk-article-body table { max-width: 100%; border-collapse: collapse; }
.bk-article-body table td, .bk-article-body table th { border: 1px solid #e3ddd4; padding: 6px 10px; }
.bk-article-body p { margin: 0 0 12px; }
.bk-article-body h1, .bk-article-body h2, .bk-article-body h3 { line-height: 1.3; margin: 18px 0 8px; }
.bk-article-body ul, .bk-article-body ol { margin: 0 0 12px; padding-left: 22px; }
.bk-article-body a { color: #4d56ec; }
.bk-article-body pre { background: #f1eee9; padding: 12px 14px; border-radius: 8px; overflow-x: auto; }
n { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
