/* =========================================================
   JUST KANBAN / PLATFORM DESIGN SYSTEM
   Industrial Premium UI Foundation
   Version: v2
   ========================================================= */

/* =========================================================
   1. ROOT TOKENS
   ========================================================= */
:root {
  /* Brand / identity */
  --jk-font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --jk-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* Core surfaces */
  --jk-bg: #0a0f17;
  --jk-bg-alt: #0d1420;
  --jk-bg-elevated: #121b29;
  --jk-bg-panel: #162131;
  --jk-surface: rgba(18, 27, 41, 0.88);
  --jk-surface-strong: rgba(22, 33, 49, 0.96);
  --jk-surface-soft: rgba(255, 255, 255, 0.04);
  --jk-surface-frost: rgba(255, 255, 255, 0.06);

  /* Text */
  --jk-text: #edf3fb;
  --jk-text-soft: #b2bfd1;
  --jk-text-muted: #7f8ca0;
  --jk-text-inverse: #0a0f17;

  /* Lines */
  --jk-line: rgba(255, 255, 255, 0.08);
  --jk-line-strong: rgba(255, 255, 255, 0.14);
  --jk-line-soft: rgba(255, 255, 255, 0.04);

  /* Accent system */
  --jk-accent: #5aa2ff;
  --jk-accent-strong: #2f7cf6;
  --jk-accent-deep: #114ea8;
  --jk-accent-soft: rgba(90, 162, 255, 0.16);
  --jk-accent-glow: rgba(90, 162, 255, 0.22);

  /* Status */
  --jk-success: #31c48d;
  --jk-success-soft: rgba(49, 196, 141, 0.14);

  --jk-warning: #f4b740;
  --jk-warning-soft: rgba(244, 183, 64, 0.14);

  --jk-danger: #ef5a6f;
  --jk-danger-soft: rgba(239, 90, 111, 0.14);

  --jk-info: #57b5ff;
  --jk-info-soft: rgba(87, 181, 255, 0.14);

  /* Layout */
  --jk-max-width: 1280px;
  --jk-max-width-narrow: 920px;
  --jk-page-x: 24px;
  --jk-page-x-mobile: 16px;

  /* Radius */
  --jk-radius-xs: 10px;
  --jk-radius-sm: 14px;
  --jk-radius-md: 18px;
  --jk-radius-lg: 24px;
  --jk-radius-xl: 32px;

  /* Shadows */
  --jk-shadow-1:
    0 10px 30px rgba(0, 0, 0, 0.22);
  --jk-shadow-2:
    0 24px 60px rgba(0, 0, 0, 0.32);
  --jk-shadow-3:
    0 40px 100px rgba(0, 0, 0, 0.42);
  --jk-shadow-focus:
    0 0 0 4px rgba(90, 162, 255, 0.16);

  /* Spacing rhythm */
  --jk-space-1: 4px;
  --jk-space-2: 8px;
  --jk-space-3: 12px;
  --jk-space-4: 16px;
  --jk-space-5: 20px;
  --jk-space-6: 24px;
  --jk-space-7: 32px;
  --jk-space-8: 40px;
  --jk-space-9: 48px;
  --jk-space-10: 64px;
  --jk-space-11: 80px;

  /* Component sizing */
  --jk-topbar-height: 80px;
  --jk-input-height: 52px;
  --jk-btn-height: 50px;

  /* Motion */
  --jk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --jk-transition-fast: 140ms var(--jk-ease);
  --jk-transition: 220ms var(--jk-ease);
}

.jk-finance-customer-cell {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.jk-finance-customer-cell a {
  color: #0f5fbe;
  font-weight: 900;
}

.jk-finance-customer-cell button {
  background: #eaf2ff;
  border: 1px solid #bfd7ff;
  border-radius: 6px;
  color: #0f5fbe;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 7px;
}

.jk-finance-customer-cell button:disabled {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
  cursor: default;
}

.jk-cockpit-tabs button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.jk-sap-bp-card {
  background: #efefef;
  border: 1px solid #8f8f8f;
  border-radius: 0;
  box-shadow: 0 1px 0 #fff inset;
  color: #111;
  display: grid;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  gap: 8px;
  max-width: none;
  padding: 0 6px 8px;
  width: 100%;
}

.jk-sap-bp-card.is-search-mode {
  background: #efe6a6;
}

.jk-sap-bp-titlebar {
  align-items: center;
  background: linear-gradient(#2f5d7f, #1f4566);
  border-bottom: 1px solid #0e2f4b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin: 0 -6px 6px;
  min-height: 34px;
  padding: 5px 10px;
}

.jk-sap-bp-titlebar strong {
  font-size: 16px;
  font-weight: 700;
}

.jk-sap-bp-titlebar span {
  color: #f3f6f9;
  font-size: 14px;
}

body.is-embedded-view .jk-appbar {
  display: none;
}

body.is-embedded-view .jk-dashboard {
  padding-top: 12px;
}

.jk-sap-bp-title-actions {
  align-items: center;
  display: flex;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
}

.jk-sap-bp-title-actions a,
.jk-sap-bp-title-actions button {
  background: #e9eef4;
  border: 1px solid #9eb0bf;
  color: #102033;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  min-height: 26px;
  padding: 3px 10px;
}

.jk-crm-sales-inline {
  align-items: center;
  background: #ffffff;
  border: 1px solid #9eb0bf;
  border-radius: 5px;
  display: inline-flex;
  gap: 6px;
  padding: 4px 6px;
}

.jk-crm-sales-inline span {
  color: #44546a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jk-crm-sales-inline select {
  background: transparent;
  border: 0;
  color: #102033;
  font-size: 14px;
  font-weight: 800;
  min-height: 26px;
  min-width: 210px;
  padding: 2px 4px;
}

.jk-crm-save-status {
  background: #102033;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 5px;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 7px 9px;
  text-transform: uppercase;
}

.jk-sap-bp-top {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(390px, .9fr) minmax(420px, 1fr);
  min-height: 170px;
}

.jk-sap-bp-left,
.jk-sap-bp-right,
.jk-sap-bp-column {
  display: grid;
  gap: 2px;
}

.jk-sap-bp-right {
  align-content: start;
  padding-top: 2px;
}

.jk-sap-bp-doc-summary {
  display: grid;
  gap: 7px;
  max-width: 760px;
}

.jk-sap-bp-doc-row {
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.jk-sap-bp-doc-row .jk-sap-bp-doc-button {
  grid-template-columns: minmax(0, 1fr) 54px 96px;
}

.jk-sap-bp-doc-button {
  align-items: center;
  background: #e6ebef;
  border: 1px solid #98a7b2;
  box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #c6cfd6 inset;
  color: #101820;
  cursor: pointer;
  display: grid;
  font: inherit;
  grid-template-columns: minmax(0, 1fr) 72px 126px;
  min-height: 34px;
  padding: 4px 8px;
  text-align: left;
}

.jk-sap-bp-doc-button--all {
  background: #f4f7fb;
}

.jk-sap-bp-doc-button--all:hover {
  background: #e8f1fb;
}

.jk-sap-bp-doc-button:hover {
  background: #dce7ef;
  border-color: #6f8799;
}

.jk-sap-bp-doc-button--static {
  cursor: default;
}

.jk-sap-bp-doc-button--static:hover {
  background: #e6ebef;
  border-color: #98a7b2;
}

.jk-sap-bp-doc-button span {
  border-bottom: 1px solid #cfd6dc;
  font-size: 14px;
}

.jk-sap-bp-doc-button strong {
  color: #0f2f4d;
  font-size: 18px;
  text-align: right;
}

.jk-sap-bp-doc-button small {
  color: #263844;
  font-size: 13px;
  text-align: right;
}

.jk-sap-bp-card label {
  align-items: center;
  display: grid;
  gap: 4px;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 24px;
}

.jk-sap-bp-right label {
  grid-template-columns: 210px minmax(0, 1fr) 20px;
}

.jk-sap-bp-card label span {
  border-bottom: 1px solid #d5d5d5;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  min-height: 22px;
  text-align: left;
}

.jk-sap-bp-card input,
.jk-sap-bp-card select,
.jk-sap-bp-card textarea {
  background: #fff;
  border: 1px solid #a7a7a7;
  border-radius: 0;
  color: #111;
  font: inherit;
  font-size: 14px;
  min-height: 24px;
  padding: 2px 5px;
  width: 100%;
}

.jk-sap-bp-card textarea {
  min-height: 58px;
  resize: vertical;
}

.jk-sap-bp-card.is-search-mode input,
.jk-sap-bp-card.is-search-mode select,
.jk-sap-bp-card.is-search-mode textarea {
  background: #fff2a8;
}

.jk-crm-search-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  padding: 12px 4px 6px;
}

.jk-crm-search-grid label {
  background: #f8fafc;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 10px;
}

.jk-crm-search-grid span {
  color: #032d60;
  font-size: .82rem;
  font-weight: 900;
}

.jk-crm-search-grid input,
.jk-crm-search-grid select {
  border-radius: 7px;
  min-height: 40px;
  padding: 8px 10px;
}

.jk-crm-search-wide {
  grid-column: span 2;
}

.jk-crm-open-link {
  background: #0176d3;
  border: 1px solid #0176d3;
  border-radius: 8px;
  color: #ffffff !important;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 900;
  min-height: 32px;
  padding: 7px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-crm-open-link:hover {
  background: #014486;
  border-color: #014486;
}

@media (max-width: 980px) {
  .jk-crm-search-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 620px) {
  .jk-crm-search-grid,
  .jk-crm-search-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .jk-crm-search-wide {
    grid-column: auto;
  }
}

.jk-sap-bp-card input[readonly],
.jk-sap-bp-card textarea[readonly] {
  background: #f8f8f8;
  color: #111;
}

.jk-sap-bp-right b {
  color: #c48a00;
  font-size: 15px;
  line-height: 18px;
}

.jk-sap-bp-checks {
  margin-top: 38px;
}

.jk-sap-bp-tabs {
  align-items: end;
  border-bottom: 1px solid #a5a5a5;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2px 6px 0;
}

.jk-sap-bp-tabs span,
.jk-sap-bp-tabs button {
  background: #e7e7e7;
  border: 1px solid #b8b8b8;
  border-bottom: 0;
  border-radius: 0;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  margin-right: -1px;
  min-height: 30px;
  padding: 6px 18px;
}

.jk-sap-bp-tabs .is-active,
.jk-sap-bp-tabs button.is-active {
  background: #f7f7f7;
  color: #111;
  position: relative;
  top: 1px;
}

.jk-sap-bp-tabs button.has-open-actions {
  background: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
  font-weight: 900;
}

.jk-sap-bp-tabs button.has-open-actions.is-active {
  background: #fff1f2;
  color: #7f1d1d;
}

.jk-sap-bp-tabs button.has-open-actions span {
  background: #dc2626;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  display: inline-grid;
  font-size: .72rem;
  font-weight: 950;
  margin-left: 6px;
  min-height: 18px;
  min-width: 18px;
  padding: 2px 5px;
  place-items: center;
}

.jk-sap-bp-general {
  background: #f7f7f7;
  border: 1px solid #b8b8b8;
  border-top: 0;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(390px, 1fr) minmax(390px, 1fr);
  min-height: 500px;
  padding: 4px 8px 12px;
}

.jk-sap-bp-card [data-crm-tab-panel]:not([data-crm-tab-panel="general"]) {
  background: #f7f7f7;
  border: 1px solid #b8b8b8;
  border-top: 0;
  min-height: 500px;
  padding: 8px;
}

.jk-sap-bp-card [data-crm-tab-panel] .jk-exec-section-head h2,
.jk-sap-bp-card [data-crm-tab-panel] .jk-overline {
  color: #111827;
}

.jk-sap-bp-card [data-crm-tab-panel] .jk-btn-secondary {
  background: #ffffff;
  border: 1px solid #9ca3af;
  box-shadow: none;
  color: #111827;
  text-decoration: none;
}

.jk-sap-bp-card [data-crm-tab-panel] .jk-btn-secondary:hover {
  background: #e5e7eb;
  border-color: #6b7280;
  color: #111827;
}

.jk-crm-section-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.jk-sap-bp-column {
  align-content: start;
}

.jk-sap-bp-full {
  grid-column: 1 / -1;
}

.jk-sap-bp-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  padding: 4px 0 0;
}

.jk-sap-bp-actions .jk-btn,
.jk-sap-bp-actions .jk-btn-secondary {
  border-radius: 0;
  min-height: 28px;
}

.jk-sap-bp-footer {
  align-items: start;
  display: grid;
  gap: 4px;
  margin-top: 170px;
  width: 160px;
}

.jk-sap-bp-footer label {
  display: flex;
  gap: 6px;
  min-height: 18px;
}

.jk-sap-bp-footer input {
  min-height: auto;
  width: auto;
}

.jk-sap-bp-result-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 1200;
}

.jk-sap-bp-result-modal[hidden],
.jk-sap-bp-result-panel[hidden] {
  display: none;
}

.jk-sap-bp-result-backdrop {
  background: rgba(0, 0, 0, .28);
  border: 0;
  cursor: pointer;
  inset: 0;
  padding: 0;
  position: absolute;
}

.jk-sap-bp-result-panel {
  background: #efefef;
  border: 1px solid #707070;
  box-shadow: 0 18px 42px rgba(0,0,0,.25);
  max-height: min(620px, calc(100vh - 48px));
  max-width: min(980px, calc(100vw - 40px));
  overflow: hidden;
  position: relative;
  width: 920px;
}

.jk-sap-bp-result-panel .jk-sap-bp-titlebar {
  margin: 0;
}

.jk-sap-bp-result-body {
  max-height: 500px;
  overflow: auto;
  padding: 8px;
}

.jk-sap-bp-result-table {
  border-collapse: collapse;
  font: 12px Arial, Helvetica, sans-serif;
  width: 100%;
}

.jk-sap-bp-result-table th,
.jk-sap-bp-result-table td {
  border: 1px solid #b8b8b8;
  color: #111;
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
}

.jk-sap-bp-result-table th {
  background: #d7dde4;
  font-weight: 400;
}

.jk-sap-bp-result-table td {
  background: #fff;
}

.jk-sap-bp-result-table a {
  color: #0f5fbe;
  font-weight: 700;
}

.jk-sap-bp-result-table tr[data-crm-doc-preview-row] {
  cursor: pointer;
}

.jk-sap-bp-result-table tr[data-crm-doc-preview-row]:hover td {
  background: #e5f0f8;
}

.jk-sap-bp-result-table tr[data-crm-doc-preview-row].is-selected td {
  background: #f8e7a4;
  border-color: #c59a2f;
}

.jk-sap-bp-result-table small {
  color: #5b6470;
  display: block;
}

.jk-sap-bp-result-actions {
  border-top: 1px solid #b8b8b8;
  display: flex;
  justify-content: flex-start;
  padding: 8px;
}

.jk-crm-year-stats {
  margin-top: 16px;
}

.jk-crm-year-stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.jk-crm-year-stat-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 5px solid #64748b;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.jk-crm-year-stat-card.is-revenue {
  border-top-color: #0f766e;
}

.jk-crm-year-stat-card.is-orders {
  border-top-color: #1d4ed8;
}

.jk-crm-year-stat-card.is-positions {
  border-top-color: #b45309;
}

.jk-crm-year-stat-card h3 {
  color: #0f172a;
  font-size: .95rem;
  margin: 0;
  padding: 10px 12px;
}

.jk-crm-month-metric {
  border-top: 1px solid #e2e8f0;
  padding: 10px 12px 12px;
}

.jk-crm-month-metric h4 {
  color: #1e293b;
  font-size: .86rem;
  margin: 0 0 8px;
}

.jk-crm-month-table-wrap {
  overflow-x: auto;
}

.jk-crm-year-stat-card.is-revenue h3 {
  background: #dff4ef;
}

.jk-crm-year-stat-card.is-orders h3 {
  background: #dbeafe;
}

.jk-crm-year-stat-card.is-positions h3 {
  background: #fef0c7;
}

.jk-crm-year-stat-card table {
  border-collapse: collapse;
  min-width: 1120px;
  width: 100%;
}

.jk-crm-year-stat-card th,
.jk-crm-year-stat-card td {
  border-top: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: .78rem;
  padding: 8px;
  text-align: right;
  vertical-align: top;
}

.jk-crm-year-stat-card th:first-child,
.jk-crm-year-stat-card td:first-child {
  background: inherit;
  left: 0;
  position: sticky;
  text-align: left;
  z-index: 1;
}

.jk-crm-year-stat-card th:first-child {
  background: #f8fafc;
  z-index: 2;
}

.jk-crm-year-stat-card td:first-child {
  background: #ffffff;
}

.jk-crm-year-stat-card th {
  background: #f8fafc;
  color: #475569;
  font-weight: 850;
}

.jk-crm-year-stat-card td.is-positive {
  color: #047857;
  font-weight: 850;
}

.jk-crm-year-stat-card td.is-negative {
  color: #b91c1c;
  font-weight: 850;
}

@media (max-width: 900px) {
  .jk-sap-bp-top,
  .jk-sap-bp-general {
    grid-template-columns: 1fr;
  }

  .jk-crm-year-stat-grid {
    grid-template-columns: 1fr;
  }

  .jk-sap-bp-card label,
  .jk-sap-bp-right label {
    grid-template-columns: 1fr;
  }

  .jk-sap-bp-footer {
    margin-top: 20px;
  }
}

.jk-rack-workmode-card {
  background: rgba(185, 28, 28, .14);
  border-color: rgba(248, 113, 113, .55);
}

.jk-rack-workmode-card .customer-admin-title strong {
  color: #fecaca;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--jk-font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--jk-text);
  background:
    radial-gradient(1200px 700px at 0% -10%, rgba(90, 162, 255, 0.14), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(30, 70, 130, 0.20), transparent 60%),
    linear-gradient(180deg, #081019 0%, #0a0f17 36%, #0d1420 100%);
  background-color: var(--jk-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  display: block;
}

footer {
  flex-shrink: 0;
}

img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
}

input,
textarea,
select,
button {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(90, 162, 255, 0.24);
  color: #ffffff;
}

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.jk-display {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.jk-title-xl {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  font-weight: 850;
}

.jk-title-lg {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.02;
}

.jk-title-md {
  font-size: 1.25rem;
  line-height: 1.15;
}

.jk-text-lg {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--jk-text-soft);
}

.jk-text-md {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--jk-text-soft);
}

.jk-text-sm {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--jk-text-muted);
}

.jk-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jk-accent);
}

.jk-overline::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

/* =========================================================
   4. LAYOUT / CONTAINERS
   ========================================================= */
.jk-container {
  width: min(calc(100% - (var(--jk-page-x) * 2)), var(--jk-max-width));
  margin-inline: auto;
}

.jk-container--narrow {
  width: min(calc(100% - (var(--jk-page-x) * 2)), var(--jk-max-width-narrow));
  margin-inline: auto;
}

.jk-section {
  padding: var(--jk-space-11) 0;
}

.jk-section--tight {
  padding: var(--jk-space-10) 0;
}

.jk-grid {
  display: grid;
  gap: var(--jk-space-6);
}

/* =========================================================
   5. TOPBAR / BRAND SYSTEM
   ========================================================= */
.jk-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--jk-line);
  background:
    linear-gradient(180deg, rgba(8, 14, 23, 0.92), rgba(8, 14, 23, 0.78));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.jk-topbar-inner {
  min-height: var(--jk-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jk-space-5);
}

.jk-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.jk-brand-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(145deg, #122033, #0c1624);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.28);
  flex: 0 0 auto;
}

.jk-brand-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05) contrast(1.02);
}

.jk-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.jk-brand-title {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f6f9fd;
}

.jk-brand-sub {
  font-size: 0.8rem;
  line-height: 1.2;
  color: var(--jk-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   6. SURFACES / CARDS
   ========================================================= */
.jk-panel,
.jk-card {
  position: relative;
  border-radius: var(--jk-radius-lg);
  border: 1px solid var(--jk-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    var(--jk-surface);
  box-shadow: var(--jk-shadow-2);
  overflow: hidden;
}

.jk-panel::before,
.jk-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 26%);
  pointer-events: none;
}

.jk-card--soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(16, 23, 35, 0.72);
  box-shadow: var(--jk-shadow-1);
}

.jk-card--compact {
  border-radius: var(--jk-radius-md);
}

.jk-card-body {
  position: relative;
  padding: 32px;
  z-index: 1;
}

/* =========================================================
   7. BUTTON SYSTEM
   ========================================================= */
.jk-btn,
.jk-btn-secondary,
.jk-btn-ghost {
  min-height: var(--jk-btn-height);
  padding: 0 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform var(--jk-transition),
    box-shadow var(--jk-transition),
    border-color var(--jk-transition),
    background var(--jk-transition),
    color var(--jk-transition),
    opacity var(--jk-transition);
  white-space: nowrap;
  user-select: none;
}

.jk-btn {
  color: #ffffff;
  border: 1px solid rgba(111, 177, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
    linear-gradient(135deg, var(--jk-accent) 0%, var(--jk-accent-strong) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 14px 28px rgba(17, 78, 168, 0.38);
}

.jk-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 18px 34px rgba(17, 78, 168, 0.42);
}

.jk-btn:disabled,
.jk-btn[aria-disabled="true"] {
  color: rgba(226, 232, 240, 0.76);
  border-color: rgba(148, 163, 184, 0.34);
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.22), rgba(71, 85, 105, 0.18)),
    rgba(51, 65, 85, 0.44);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
}

.jk-btn:disabled:hover,
.jk-btn[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.jk-btn-secondary {
  color: var(--jk-text);
  border: 1px solid var(--jk-line-strong);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.20);
}

.jk-btn-secondary:hover {
  border-color: rgba(255,255,255,0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.jk-btn-ghost {
  color: var(--jk-text-soft);
  border: 1px solid transparent;
  background: transparent;
}

.jk-btn-ghost:hover {
  color: var(--jk-text);
  background: rgba(255,255,255,0.04);
}

.jk-btn:focus-visible,
.jk-btn-secondary:focus-visible,
.jk-btn-ghost:focus-visible {
  outline: none;
  box-shadow: var(--jk-shadow-focus);
}

/* =========================================================
   8. FORM SYSTEM
   ========================================================= */
.jk-form-shell {
  padding: var(--jk-space-11) 0;
}

.jk-form-card {
  width: min(100%, 560px);
  margin: 0 auto;
}

.jk-form-card .jk-card-body {
  padding: 34px;
}

.jk-form-head {
  margin-bottom: 24px;
}

.jk-form-title {
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.jk-form-sub {
  margin-top: 10px;
  color: var(--jk-text-soft);
  line-height: 1.7;
}

.jk-form {
  display: grid;
  gap: 16px;
}

.jk-field {
  display: grid;
  gap: 8px;
}

.jk-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jk-text);
}

.jk-input,
.jk-select,
.jk-textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  transition:
    border-color var(--jk-transition-fast),
    box-shadow var(--jk-transition-fast),
    background var(--jk-transition-fast);
  outline: none;
}

.jk-input,
.jk-select {
  width: 100%;
  min-height: var(--jk-input-height);
  padding: 0 16px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.35);

  /* Glas / edel */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08)),
    rgba(255,255,255,0.12);

  color: #ffffff;

  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),   /* Spiegelung oben */
    inset 0 -1px 0 rgba(0,0,0,0.25),        /* Tiefe unten */
    0 8px 18px rgba(0,0,0,0.35);

  outline: none;
  transition:
    border-color var(--jk-transition-fast),
    box-shadow var(--jk-transition-fast),
    background var(--jk-transition-fast),
    transform var(--jk-transition-fast);
}

.jk-select {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.jk-select option {
  color: #000000;
  background: #ffffff;
}

.jk-textarea {
  width: 100%;
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.35);

  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08)),
    rgba(255,255,255,0.12);

  color: #ffffff;

  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 8px 18px rgba(0,0,0,0.35);

  outline: none;
}

/* Placeholder deutlich sichtbar */
.jk-input::placeholder,
.jk-textarea::placeholder {
  color: rgba(255,255,255,0.65);
}

/* Hover = leicht hervorheben */
.jk-input:hover,
.jk-select:hover,
.jk-textarea:hover {
  border-color: rgba(255,255,255,0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.10)),
    rgba(255,255,255,0.18);

  transform: translateY(-1px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 12px 24px rgba(0,0,0,0.45);
}

/* Fokus = klarer Fokus (sehr wichtig UX) */
.jk-input:focus,
.jk-select:focus,
.jk-textarea:focus {
  border-color: #5aa2ff;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,255,255,0.12)),
    rgba(255,255,255,0.22);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 0 0 4px rgba(90,162,255,0.25),
    0 16px 32px rgba(0,0,0,0.50);
}

/* =========================================================
   9. ALERTS / STATUS
   ========================================================= */
.jk-alert {
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--jk-line);
  background: rgba(255,255,255,0.04);
  font-size: 0.95rem;
  line-height: 1.6;
}

.jk-alert--success {
  border-color: rgba(49, 196, 141, 0.26);
  background: var(--jk-success-soft);
}

.jk-alert--warning {
  border-color: rgba(244, 183, 64, 0.26);
  background: var(--jk-warning-soft);
}

.jk-alert--error {
  border-color: rgba(239, 90, 111, 0.26);
  background: var(--jk-danger-soft);
}

.jk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--jk-line);
  background: rgba(255,255,255,0.04);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--jk-text-soft);
}

.jk-badge--info {
  color: var(--jk-info);
  border-color: rgba(87, 181, 255, 0.24);
  background: var(--jk-info-soft);
}

.jk-badge--success {
  color: var(--jk-success);
  border-color: rgba(49, 196, 141, 0.24);
  background: var(--jk-success-soft);
}

.jk-badge--warning {
  color: var(--jk-warning);
  border-color: rgba(244, 183, 64, 0.24);
  background: var(--jk-warning-soft);
}

.jk-badge--danger {
  color: var(--jk-danger);
  border-color: rgba(239, 90, 111, 0.24);
  background: var(--jk-danger-soft);
}

/* =========================================================
   10. HERO / LANDING
   ========================================================= */
.jk-hero {
  position: relative;
  padding: 110px 0 88px;
}

.jk-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.jk-hero-panel {
  position: relative;
  border-radius: var(--jk-radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    linear-gradient(135deg, rgba(15, 24, 38, 0.98), rgba(11, 18, 29, 0.96));
  box-shadow: var(--jk-shadow-3);
  overflow: hidden;
}

.jk-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(90, 162, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 22%);
  pointer-events: none;
}

.jk-hero-body {
  position: relative;
  z-index: 1;
  padding: 64px 56px;
}

.jk-hero-kicker {
  margin-bottom: 18px;
}

.jk-hero-title {
  max-width: 900px;
}

.jk-hero-text {
  margin-top: 24px;
  max-width: 760px;
}

.jk-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.jk-hero-meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   11. TABLES / APP AREAS
   ========================================================= */
.jk-table-wrap {
  border-radius: var(--jk-radius-lg);
  border: 1px solid var(--jk-line);
  background: var(--jk-surface);
  overflow: hidden;
  box-shadow: var(--jk-shadow-1);
}

.jk-table {
  width: 100%;
  border-collapse: collapse;
}

.jk-table th,
.jk-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
}

.jk-table thead th {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jk-text-muted);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--jk-line);
}

.jk-table tbody td {
  border-bottom: 1px solid var(--jk-line-soft);
  color: var(--jk-text-soft);
}

.jk-table tbody tr:hover {
  background: rgba(255,255,255,0.025);
}

/* =========================================================
   12. FOOTER
   ========================================================= */
.jk-footer {
  border-top: 1px solid var(--jk-line);
  background: rgba(7, 12, 19, 0.72);
}

.jk-footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--jk-text-muted);
  font-size: 0.92rem;
}

/* =========================================================
   13. UTILITIES
   ========================================================= */
.jk-muted {
  color: var(--jk-text-muted);
}

.jk-soft {
  color: var(--jk-text-soft);
}

.jk-center {
  text-align: center;
}

.jk-stack {
  display: grid;
  gap: 16px;
}

.jk-hidden {
  display: none !important;
}

/* =========================================================
   14. INTERACTION STATES
   ========================================================= */
a,
button,
input,
select,
textarea {
  transition:
    color var(--jk-transition-fast),
    background var(--jk-transition-fast),
    border-color var(--jk-transition-fast),
    box-shadow var(--jk-transition-fast),
    transform var(--jk-transition-fast),
    opacity var(--jk-transition-fast);
}

a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: none;
}

/* =========================================================
   15. RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .jk-section,
  .jk-form-shell {
    padding: 64px 0;
  }

  .jk-hero {
    padding: 84px 0 64px;
  }

  .jk-hero-body {
    padding: 44px 32px;
  }

  .jk-footer-inner {
    min-height: auto;
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --jk-topbar-height: 72px;
  }

  .jk-container,
  .jk-container--narrow {
    width: min(calc(100% - (var(--jk-page-x-mobile) * 2)), 100%);
  }

  .jk-topbar-inner {
    min-height: var(--jk-topbar-height);
  }

  .jk-brand {
    gap: 12px;
  }

  .jk-brand-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .jk-brand-logo-img {
    height: 28px;
  }

  .jk-brand-sub {
    max-width: 170px;
  }

  .jk-display {
    font-size: 2.35rem;
  }

  .jk-title-xl {
    font-size: 1.85rem;
  }

  .jk-text-lg {
    font-size: 1rem;
    line-height: 1.75;
  }

  .jk-hero {
    padding: 56px 0 44px;
  }

  .jk-hero-body {
    padding: 32px 22px;
  }

  .jk-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jk-hero-actions .jk-btn,
  .jk-hero-actions .jk-btn-secondary,
  .jk-hero-actions .jk-btn-ghost {
    width: 100%;
  }

  .jk-card-body,
  .jk-form-card .jk-card-body {
    padding: 22px;
  }

  .jk-table-wrap {
    overflow-x: auto;
  }

  .jk-table {
    min-width: 680px;
  }
}

.jk-exec-top--compact {
  align-items: end;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  margin-bottom: 10px;
}

.jk-exec-menu--top {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 10px 0 18px;
}

.jk-command-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(360px, 1.25fr) minmax(260px, 0.85fr) minmax(260px, 0.75fr);
  margin-top: 16px;
}

.jk-dashboard-head-actions {
  align-items: end;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.jk-dashboard-snapshot {
  color: var(--jk-text-muted);
  font-size: .78rem;
  font-weight: 850;
}

.jk-dashboard-user-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .14);
  color: #ffffff;
  display: grid;
  gap: 3px;
  min-width: 220px;
  padding: 10px 12px;
  text-align: left;
}

.jk-dashboard-user-card span {
  color: rgba(226, 232, 240, .72);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jk-dashboard-user-card strong {
  color: #ffffff;
  font-size: .98rem;
  line-height: 1.2;
}

.jk-dashboard-user-card small {
  color: rgba(226, 232, 240, .78);
  font-size: .76rem;
  font-weight: 800;
}

.jk-start-quick-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0 18px;
}

.jk-start-quick-grid--rail {
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 10px 0 14px;
}

.jk-start-quick-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  text-decoration: none;
}

.jk-start-quick-grid--rail .jk-start-quick-card {
  gap: 5px;
  min-height: 78px;
  padding: 12px;
}

.jk-start-quick-grid--rail .jk-start-quick-card strong {
  font-size: .98rem;
}

.jk-start-quick-grid--rail .jk-start-quick-card em,
.jk-start-quick-grid--rail .jk-start-quick-card small {
  font-size: .76rem;
}

.jk-start-quick-card:hover {
  background: rgba(255, 255, 255, 0.075);
}

.jk-start-quick-card span {
  color: var(--jk-text-muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-start-quick-card strong {
  color: var(--jk-text);
  font-size: 1.25rem;
  line-height: 1.1;
}

.jk-start-quick-card em {
  color: var(--jk-text-soft);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

.jk-start-quick-card--danger,
.jk-start-quick-card--kanban {
  border-color: rgba(239, 68, 68, 0.34);
}

.jk-start-quick-card--chat {
  border-color: rgba(34, 197, 94, 0.34);
}

.jk-start-quick-card--planning {
  border-color: rgba(234, 179, 8, 0.34);
}

.jk-start-quick-card--purchase-alert {
  border-color: rgba(249, 115, 22, 0.52);
}

.jk-start-quick-card--danger.is-active,
.jk-start-quick-card--kanban.is-active {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.94), rgba(153, 27, 27, 0.76));
  border-color: rgba(248, 113, 113, 0.78);
}

.jk-start-quick-card--chat.is-active {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.92), rgba(21, 128, 61, 0.76));
  border-color: rgba(74, 222, 128, 0.72);
}

.jk-start-quick-card--planning.is-active {
  background: linear-gradient(180deg, rgba(202, 138, 4, 0.94), rgba(161, 98, 7, 0.78));
  border-color: rgba(250, 204, 21, 0.76);
}

.jk-start-quick-card--purchase-alert.is-active {
  background: linear-gradient(180deg, rgba(234, 88, 12, 0.95), rgba(154, 52, 18, 0.80));
  border-color: rgba(251, 146, 60, 0.80);
}

.jk-start-quick-card--crm.is-active {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.94), rgba(30, 64, 175, 0.78));
  border-color: rgba(45, 212, 191, 0.72);
}

.jk-start-quick-card.is-active span,
.jk-start-quick-card.is-active strong,
.jk-start-quick-card.is-active em {
  color: #ffffff;
}

.jk-start-quick-card.is-active small {
  color: rgba(255, 255, 255, .86);
}

.jk-home-menu {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 12px 0 18px;
}

.jk-home-menu-link {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 12px;
  text-decoration: none;
}

.jk-home-menu-link:hover {
  background: rgba(255, 255, 255, 0.075);
}

.jk-home-menu-link span {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-home-menu-link strong {
  color: var(--jk-text);
  font-size: 0.98rem;
  line-height: 1.15;
}

.jk-home-menu-link small {
  color: var(--jk-text-soft);
  font-size: 0.78rem;
  line-height: 1.25;
}

.jk-home-menu-link--finance {
  border-color: rgba(245, 158, 11, 0.38);
}

.jk-home-control-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  margin-top: 14px;
}

.jk-finance-overview,
.jk-finance-path-panel,
.jk-finance-control-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
}

.jk-finance-overview {
  padding: 16px;
}

.jk-inline-link {
  color: #dff6ff;
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.jk-section-kicker {
  color: var(--jk-text-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 3px;
}

.jk-finance-kpi-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-finance-kpi-row div {
  background: rgba(15, 23, 42, 0.44);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 10px;
}

.jk-finance-kpi-row span,
.jk-finance-mini-list span,
.jk-finance-control-card span {
  color: var(--jk-text-muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-finance-kpi-row strong,
.jk-finance-control-card strong {
  color: var(--jk-text);
  font-size: 1.7rem;
  line-height: 1;
}

.jk-finance-mini-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.jk-finance-mini-list a,
.jk-muted-line {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 9px 10px;
  text-decoration: none;
}

.jk-finance-mini-list a.needs-action {
  border-color: rgba(245, 158, 11, 0.38);
}

.jk-finance-mini-list strong {
  color: var(--jk-text);
  font-size: 0.84rem;
  text-align: right;
}

.jk-command-grid--secondary {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.jk-command-grid--primary {
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.8fr) minmax(260px, 0.8fr);
}

.jk-command-grid--control {
  grid-template-columns: minmax(360px, 1.05fr) minmax(260px, .7fr) minmax(260px, .7fr);
}

.jk-command-grid--control.jk-command-grid--secondary {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.jk-command-revenue,
.jk-command-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  min-width: 0;
}

.jk-command-revenue {
  background: linear-gradient(180deg, rgba(47, 124, 246, 0.2), rgba(255, 255, 255, 0.035));
  display: grid;
  gap: 10px;
  padding: 20px;
}

.jk-command-revenue h2 {
  color: var(--jk-text);
  font-size: 1.25rem;
  margin: 0;
}

.jk-command-revenue > strong {
  color: var(--jk-text);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  letter-spacing: 0;
  line-height: 1;
}

.jk-command-revenue--compact > strong {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
}

.jk-command-revenue > small {
  color: #9ee6c2;
  font-weight: 850;
}

.jk-command-revenue-split {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 6px;
}

.jk-command-revenue-split div {
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.jk-command-revenue-split span,
.jk-command-driver span,
.jk-origin-row span {
  color: var(--jk-text-muted);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-command-revenue-split b {
  color: var(--jk-text);
  font-size: 1.25rem;
  line-height: 1;
}

.jk-command-revenue-split small,
.jk-command-driver small {
  color: var(--jk-text-soft);
  font-size: 0.78rem;
}

.jk-command-panel {
  padding: 16px;
}

.jk-command-panel--compact {
  padding: 14px;
}

.jk-goal-pot-section {
  margin-top: 16px;
}

.jk-goal-pot-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-goal-pot {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(2, 6, 23, .20);
  color: #ffffff;
  min-height: 220px;
  overflow: hidden;
  padding: 1px;
  position: relative;
}

.jk-goal-pot::before {
  content: "";
  inset: 0;
  position: absolute;
}

.jk-goal-pot::after {
  background: linear-gradient(115deg, transparent 0 32%, rgba(255,255,255,.28) 42%, transparent 52% 100%);
  content: "";
  inset: -40%;
  opacity: .56;
  position: absolute;
  transform: translateX(-34%) rotate(8deg);
}

.jk-goal-pot--revenue::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(250, 204, 21, .92), transparent 18%),
    linear-gradient(135deg, #0f766e, #22c55e 48%, #facc15);
}

.jk-goal-pot--orders::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(167, 139, 250, .9), transparent 18%),
    linear-gradient(135deg, #1d4ed8, #38bdf8 52%, #a78bfa);
}

.jk-goal-pot--positions::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(45, 212, 191, .85), transparent 18%),
    linear-gradient(135deg, #4338ca, #0891b2 52%, #10b981);
}

.jk-goal-pot--customers::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(245, 158, 11, .9), transparent 18%),
    linear-gradient(135deg, #be185d, #fb7185 52%, #f59e0b);
}

.jk-goal-pot-glass {
  background: radial-gradient(circle at 28% 16%, rgba(255,255,255,.28), transparent 24%),
              linear-gradient(180deg, rgba(15, 23, 42, .20), rgba(15, 23, 42, .70));
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), inset 0 -34px 70px rgba(2, 6, 23, .26);
  display: grid;
  gap: 8px;
  min-height: 218px;
  overflow: hidden;
  padding: 18px 18px 58px;
  position: relative;
  z-index: 1;
}

.jk-goal-pot-glass b {
  background: linear-gradient(180deg, #ffffff, #fef3c7);
  box-shadow: 0 0 24px rgba(255, 255, 255, .78), 0 0 44px rgba(250, 204, 21, .58), 0 10px 28px rgba(15, 23, 42, .28);
  clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
  height: 62px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 62px;
  z-index: 3;
}

.jk-goal-pot span {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  justify-self: start;
  padding: 5px 9px;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jk-goal-pot-star-value {
  align-items: center;
  color: #713f12;
  display: flex;
  font-size: .72rem;
  font-style: normal;
  font-weight: 1000;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  line-height: .92;
  max-width: 46px;
  position: absolute;
  right: 26px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.68);
  top: 29px;
  white-space: normal;
  width: 46px;
  word-break: keep-all;
  z-index: 4;
}

.jk-goal-pot strong {
  color: #ffffff;
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
  line-height: 1.02;
  max-width: 100%;
  text-shadow: 0 8px 28px rgba(15, 23, 42, .36);
}

.jk-goal-pot small,
.jk-goal-pot em {
  color: rgba(255, 255, 255, .86);
  font-size: .86rem;
  font-style: normal;
  font-weight: 850;
}

.jk-goal-pot em {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  bottom: 16px;
  left: 18px;
  padding: 5px 9px;
  position: absolute;
  z-index: 2;
}

.jk-goal-pot-meter {
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), transparent 28%),
    rgba(15, 23, 42, .44);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: inset 0 0 18px rgba(2, 6, 23, .38), 0 10px 26px rgba(2, 6, 23, .22);
  height: 12px;
  left: 76px;
  overflow: hidden;
  position: absolute;
  right: 18px;
}

.jk-goal-pot.is-complete .jk-goal-pot-meter {
  bottom: 22px;
}

.jk-goal-pot.is-complete .jk-goal-pot-glass {
  border-color: rgba(255, 255, 255, .48);
}

.jk-goal-pot.is-complete {
  box-shadow: 0 20px 46px rgba(22, 163, 74, .22), 0 0 0 1px rgba(255, 255, 255, .16) inset;
}

.jk-control-actions .jk-exec-task--primary-action {
  background:
    radial-gradient(circle at 88% 16%, rgba(255,255,255,.20), transparent 18%),
    linear-gradient(135deg, rgba(37, 99, 235, .42), rgba(20, 184, 166, .20));
  border-color: rgba(96, 165, 250, .42);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .16);
  min-height: 178px;
  position: relative;
  overflow: hidden;
}

.jk-control-actions .jk-exec-task--primary-action::after {
  background: linear-gradient(115deg, transparent 0 32%, rgba(255,255,255,.18) 42%, transparent 52% 100%);
  content: "";
  inset: -50%;
  position: absolute;
  transform: translateX(-30%) rotate(8deg);
}

.jk-control-actions .jk-exec-task--primary-action h3,
.jk-control-actions .jk-exec-task--primary-action p,
.jk-control-actions .jk-exec-task--primary-action small,
.jk-control-actions .jk-exec-task--primary-action .jk-exec-task-head {
  position: relative;
  z-index: 1;
}

.jk-goal-pot-meter i {
  background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.52));
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(255, 255, 255, .42);
  display: block;
  height: 100%;
  left: 0;
  min-width: 6px;
  position: absolute;
  top: 0;
}

.jk-bonus-bank {
  align-items: center;
  background:
    radial-gradient(circle at 18% 24%, rgba(250, 204, 21, .24), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(34, 211, 238, .20), transparent 24%),
    linear-gradient(135deg, #09111f, #10233a 48%, #082f2a);
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(2, 6, 23, .32), inset 0 1px 0 rgba(255,255,255,.08);
  color: #ffffff;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(190px, 260px) 1fr minmax(150px, 190px) minmax(170px, 220px);
  margin-top: 16px;
  min-height: 172px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  text-align: left;
  width: 100%;
}

.jk-bonus-bank::before {
  animation: jkBonusSweep 5.4s ease-in-out infinite;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,.20) 44%, transparent 54% 100%);
  content: "";
  inset: -70%;
  position: absolute;
  transform: translateX(-28%) rotate(10deg);
}

.jk-bonus-bank::after {
  background-image:
    radial-gradient(circle, rgba(250, 204, 21, .95) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(45, 212, 191, .65) 0 1px, transparent 1.8px);
  background-position: 0 0, 18px 12px;
  background-size: 42px 42px, 34px 34px;
  content: "";
  inset: 0;
  opacity: .20;
  position: absolute;
}

.jk-bonus-bank > * {
  position: relative;
  z-index: 1;
}

.jk-bonus-bank-visual {
  align-items: center;
  display: grid;
  min-height: 132px;
  position: relative;
}

.jk-bonus-bank-vault {
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(135deg, #1f2937, #020617);
  border: 1px solid rgba(203, 213, 225, .34);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 16px 34px rgba(2,6,23,.34);
  height: 112px;
  overflow: hidden;
  position: relative;
}

.jk-bonus-bank-vault span {
  background: linear-gradient(180deg, #fef3c7, #f59e0b);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(250, 204, 21, .52);
  height: 58px;
  left: 22px;
  position: absolute;
  top: 20px;
  width: 58px;
}

.jk-bonus-bank-vault b {
  animation: jkCoinDrop 2.7s ease-in-out infinite;
  background: linear-gradient(180deg, #fef08a, #f59e0b);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(250, 204, 21, .68);
  height: 30px;
  position: absolute;
  right: 38px;
  top: -36px;
  width: 30px;
}

.jk-bonus-bank-vault i {
  background: linear-gradient(90deg, rgba(34,197,94,.10), rgba(34,197,94,.50));
  border: 1px solid rgba(74,222,128,.42);
  border-radius: 999px;
  bottom: 18px;
  display: block;
  height: 12px;
  left: 22px;
  position: absolute;
  right: 22px;
}

.jk-bonus-bank-note {
  animation: jkNoteFloat 3.8s ease-in-out infinite;
  background:
    radial-gradient(circle at 18% 50%, rgba(22, 101, 52, .22), transparent 18%),
    linear-gradient(135deg, #ecfdf5, #bbf7d0 52%, #fef3c7);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 8px;
  bottom: 4px;
  box-shadow: 0 18px 36px rgba(2,6,23,.28);
  color: #064e3b;
  display: grid;
  gap: 2px;
  left: 74px;
  padding: 12px 14px;
  position: absolute;
  transform: rotate(-5deg);
  width: 154px;
}

.jk-bonus-bank-note small,
.jk-bonus-bank-note em {
  font-size: .68rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jk-bonus-bank-note strong {
  color: #052e16;
  font-size: 1.28rem;
  line-height: 1;
}

.jk-bonus-bank-copy h3 {
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  margin: 5px 0 8px;
}

.jk-bonus-bank-copy p {
  color: rgba(226, 232, 240, .88);
  font-weight: 850;
  margin: 0 0 8px;
}

.jk-bonus-bank-motivation {
  background: rgba(250, 204, 21, .13);
  border: 1px solid rgba(250, 204, 21, .24);
  border-radius: 999px;
  color: #fef3c7;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 950;
  margin-bottom: 14px;
  max-width: 100%;
  padding: 6px 10px;
}

.jk-bonus-bank-meter {
  background: rgba(2,6,23,.45);
  border: 1px solid rgba(148, 163, 184, .30);
  border-radius: 999px;
  box-shadow: inset 0 0 18px rgba(2,6,23,.46);
  height: 14px;
  overflow: hidden;
}

.jk-bonus-bank-meter i {
  animation: jkBonusPulse 1.8s ease-in-out infinite;
  background: linear-gradient(90deg, #22c55e, #facc15);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(250, 204, 21, .42);
  display: block;
  height: 100%;
}

.jk-bonus-bank-re {
  align-self: stretch;
  background: rgba(15, 23, 42, .46);
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 14px;
}

.jk-bonus-bank-re span {
  color: rgba(186, 230, 253, .92);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jk-bonus-bank-re strong {
  color: #fef3c7;
  font-size: 1.35rem;
  line-height: 1;
}

.jk-bonus-bank-re small,
.jk-bonus-bank-re em {
  color: rgba(226, 232, 240, .80);
  font-size: .78rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}

.jk-bonus-bank-re.is-ready {
  border-color: rgba(74, 222, 128, .34);
}

.jk-bonus-bank-re.is-ready strong {
  color: #bbf7d0;
}

.jk-bonus-bank-re-meter {
  align-self: end;
  background: rgba(2,6,23,.45);
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.jk-bonus-bank-re-meter i {
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  border-radius: 999px;
  display: block;
  height: 100%;
}

.jk-bonus-bank-score {
  align-self: stretch;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  justify-items: start;
  padding: 18px;
}

.jk-bonus-bank-score strong {
  color: #fef3c7;
  font-size: 1.95rem;
  line-height: 1;
}

.jk-bonus-bank-totals {
  display: grid;
  gap: 10px;
  width: 100%;
}

.jk-bonus-bank-totals span {
  background: rgba(15, 23, 42, .32);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.jk-bonus-bank-totals strong {
  font-size: 1.28rem;
}

.jk-bonus-bank-score small {
  color: #fecaca;
  font-weight: 950;
}

.jk-bonus-bank-score em {
  align-self: end;
  color: rgba(226, 232, 240, .76);
  font-size: .82rem;
  font-style: normal;
  font-weight: 850;
}

.jk-bonus-bank.is-ready {
  box-shadow: 0 26px 70px rgba(22, 163, 74, .24), inset 0 1px 0 rgba(255,255,255,.10);
}

.jk-bonus-bank.is-ready .jk-bonus-bank-score small {
  color: #bbf7d0;
}

.jk-bonus-bank:hover {
  transform: translateY(-1px);
}

.jk-bonus-modal[hidden] {
  display: none;
}

.jk-bonus-modal {
  inset: 0;
  position: fixed;
  z-index: 1200;
}

.jk-bonus-modal-backdrop {
  background: rgba(2, 6, 23, .70);
  inset: 0;
  position: absolute;
}

.jk-bonus-modal-panel {
  background:
    radial-gradient(circle at 16% 12%, rgba(250, 204, 21, .18), transparent 26%),
    linear-gradient(145deg, #08111f, #102033 58%, #062d2a);
  border: 1px solid rgba(226, 232, 240, .20);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(2, 6, 23, .55);
  color: #ffffff;
  left: 50%;
  max-height: min(760px, calc(100vh - 44px));
  max-width: min(980px, calc(100vw - 34px));
  overflow: auto;
  padding: 22px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.jk-bonus-modal-panel header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.jk-bonus-modal-panel header strong {
  color: #ffffff;
  display: block;
  font-size: 1.45rem;
  line-height: 1.05;
}

.jk-bonus-modal-panel header button {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.45rem;
  height: 38px;
  width: 38px;
}

.jk-bonus-modal-hero {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.jk-bonus-modal-hero div,
.jk-bonus-modal-grid section {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 16px;
}

.jk-bonus-modal-hero span {
  color: rgba(226, 232, 240, .74);
  display: block;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.jk-bonus-modal-hero strong {
  color: #fef3c7;
  font-size: 2rem;
  line-height: 1;
}

.jk-bonus-modal-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.15fr 1fr 1fr;
}

.jk-bonus-modal-grid h3 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0 0 10px;
}

.jk-bonus-modal-grid p {
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.10);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  margin: 0;
  padding: 10px 0;
}

.jk-bonus-modal-grid p:first-of-type {
  border-top: 0;
}

.jk-bonus-modal-grid span {
  color: rgba(226, 232, 240, .82);
  font-weight: 850;
}

.jk-bonus-modal-grid strong {
  color: #ffffff;
  font-weight: 950;
  text-align: right;
}

.jk-bonus-modal-grid em {
  color: rgba(226, 232, 240, .60);
  font-size: .78rem;
  font-style: normal;
  grid-column: 1 / -1;
}

.jk-bonus-day-section {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  margin-top: 12px;
  padding: 16px;
}

.jk-bonus-day-section h3 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0;
}

.jk-bonus-day-table {
  overflow-x: auto;
}

.jk-bonus-day-table table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.jk-bonus-day-table th,
.jk-bonus-day-table td {
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(226, 232, 240, .84);
  font-size: .84rem;
  padding: 9px 8px;
  text-align: left;
  white-space: nowrap;
}

.jk-bonus-day-table th {
  color: rgba(226, 232, 240, .58);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@keyframes jkCoinDrop {
  0% { opacity: 0; transform: translateY(0) scale(.86); }
  28% { opacity: 1; }
  72% { opacity: 1; transform: translateY(82px) scale(1); }
  100% { opacity: 0; transform: translateY(92px) scale(.9); }
}

@keyframes jkNoteFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes jkBonusSweep {
  0%, 35% { transform: translateX(-34%) rotate(10deg); }
  78%, 100% { transform: translateX(42%) rotate(10deg); }
}

@keyframes jkBonusPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.22); }
}

@media (max-width: 980px) {
  .jk-start-quick-grid--rail,
  .jk-command-grid--control,
  .jk-goal-pot-grid {
    grid-template-columns: 1fr;
  }

  .jk-goal-pot,
  .jk-goal-pot-glass {
    min-height: 158px;
  }

  .jk-bonus-bank {
    grid-template-columns: 1fr;
  }

  .jk-bonus-modal-hero,
  .jk-bonus-modal-grid {
    grid-template-columns: 1fr;
  }
}

.jk-exec-section-head--tight {
  margin-bottom: 10px;
}

.jk-exec-section-head--tight h2 {
  font-size: 1.05rem;
}

.jk-command-driver-list,
.jk-origin-list {
  display: grid;
  gap: 11px;
}

.jk-command-driver {
  display: grid;
  gap: 7px;
}

.jk-pricing-dashboard {
  min-height: calc(100vh - 70px);
}

.jk-pricing-kpi-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.jk-pricing-kpi {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px;
}

.jk-pricing-kpi span,
.jk-pricing-module span,
.jk-pricing-module em {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-pricing-kpi strong {
  color: var(--jk-text);
  font-size: 1.95rem;
  line-height: 1;
}

.jk-pricing-kpi small,
.jk-pricing-module small,
.jk-pricing-change-list small,
.jk-pricing-table small {
  color: var(--jk-text-soft);
}

.jk-pricing-overview-grid {
  grid-template-columns: minmax(360px, 1.1fr) minmax(320px, 0.9fr);
  margin-bottom: 24px;
}

.jk-pricing-sync-card > strong {
  text-transform: capitalize;
}

.jk-pricing-module-list,
.jk-pricing-change-list {
  display: grid;
  gap: 9px;
}

.jk-pricing-module,
.jk-pricing-change-list div {
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
}

a.jk-pricing-module {
  text-decoration: none;
}

a.jk-pricing-module:hover,
a.jk-pricing-module:focus {
  border-color: rgba(45, 212, 191, 0.42);
  background: rgba(20, 184, 166, 0.12);
}

.jk-pricing-module strong,
.jk-pricing-change-list strong,
.jk-pricing-table strong {
  color: var(--jk-text);
}

.jk-pricing-module small,
.jk-pricing-table small {
  display: block;
  margin-top: 3px;
}

.jk-pricing-module em,
.jk-pricing-change-list small {
  grid-column: 1 / -1;
  letter-spacing: 0;
  text-transform: none;
}

.jk-pricing-table-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.jk-pricing-table-wrap {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  overflow: auto;
}

.jk-pricing-work-form {
  display: grid;
  gap: 10px;
}

.jk-pricing-bulkbar {
  align-items: center;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  position: sticky;
  top: 8px;
  z-index: 4;
}

.jk-pricing-bulkbar label,
.jk-pricing-bulkbar span {
  align-items: center;
  color: var(--jk-text);
  display: inline-flex;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 800;
}

.jk-pricing-bulkbar button {
  background: rgba(20, 184, 166, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.36);
  border-radius: 7px;
  color: var(--jk-text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 8px 10px;
}

.jk-pricing-bulkbar button:hover,
.jk-pricing-bulkbar button:focus-visible {
  background: rgba(20, 184, 166, 0.24);
}

.jk-pricing-workflow-state {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jk-pricing-workflow-state span {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.26);
  border-radius: 999px;
  color: var(--jk-text-soft);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 6px 9px;
}

.jk-pricing-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

.jk-pricing-table th,
.jk-pricing-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--jk-text);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.jk-pricing-table th {
  background: rgba(15, 23, 42, 0.64);
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-sort-link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 5px;
  min-height: 24px;
  white-space: nowrap;
}

.jk-sortable-th {
  cursor: pointer;
  user-select: none;
}

.jk-sortable-th:focus {
  outline: 2px solid rgba(20, 184, 166, 0.72);
  outline-offset: -2px;
}

.jk-sortable-th:hover .jk-sort-link,
.jk-sortable-th:focus .jk-sort-link,
.jk-sort-link:hover,
.jk-sort-link:focus,
.jk-sort-link.is-active {
  color: var(--jk-text);
}

.jk-sort-link span {
  color: #14b8a6;
  font-size: 0.82rem;
  line-height: 1;
}

.jk-pricing-select-col {
  min-width: 88px;
  width: 88px;
}

.jk-pricing-select-cell {
  width: 88px;
}

.jk-pricing-select-target {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
}

.jk-pricing-thumb {
  align-items: center;
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 6px;
  display: flex;
  height: 54px;
  justify-content: center;
  overflow: hidden;
  width: 54px;
}

.jk-pricing-thumb img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.jk-pricing-thumb em {
  color: var(--jk-text-soft);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.jk-pricing-risk {
  color: #fbbf24;
  font-weight: 900;
}

.jk-pricing-home-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-pricing-home-card,
.jk-pricing-note-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
}

.jk-pricing-home-card {
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 18px;
  text-decoration: none;
}

.jk-pricing-home-card:hover,
.jk-pricing-home-card:focus {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(45, 212, 191, 0.42);
}

.jk-pricing-home-card span,
.jk-pricing-home-card em {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-pricing-home-card strong,
.jk-pricing-note-panel strong {
  color: var(--jk-text);
  font-size: 1.25rem;
}

.jk-pricing-home-card small,
.jk-pricing-note-panel small {
  color: var(--jk-text-soft);
}

.jk-pricing-home-card em {
  align-self: end;
}

.jk-pricing-note-panel {
  margin-top: 16px;
  padding: 18px;
}

.jk-pricing-note-panel div {
  display: grid;
  gap: 6px;
}

.jk-pricing-import-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  margin-top: 16px;
}

.jk-pricing-import-form,
.jk-pricing-import-side,
.jk-pricing-rule-list {
  display: grid;
  gap: 14px;
}

.jk-pricing-form-grid,
.jk-pricing-column-map {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-pricing-form-grid label,
.jk-pricing-column-map label {
  display: grid;
  gap: 6px;
}

.jk-pricing-form-grid span,
.jk-pricing-column-map span {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-pricing-form-grid input,
.jk-pricing-form-grid select,
.jk-pricing-column-map input,
.jk-pricing-column-map select {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  color: var(--jk-text);
  min-height: 42px;
  padding: 0 11px;
  width: 100%;
}

.jk-pricing-column-map select option {
  background: #0f172a;
  color: #f8fafc;
}

.jk-pricing-rule-list div,
.jk-pricing-check-grid div {
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 11px;
}

.jk-pricing-rule-list strong,
.jk-pricing-check-grid strong {
  color: var(--jk-text);
}

.jk-pricing-rule-list small,
.jk-pricing-check-grid small,
.jk-pricing-action-row span {
  color: var(--jk-text-soft);
}

.jk-pricing-rule-list code {
  color: #99f6e4;
}

.jk-pricing-action-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
}

.jk-pricing-check-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-pricing-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.jk-pricing-card-actions a {
  align-items: center;
  background: rgba(20, 184, 166, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 8px;
  color: #99f6e4;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 34px;
  padding: 0 10px;
}

.jk-pricing-import-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 14px;
}

.jk-pricing-import-summary article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 13px;
}

.jk-pricing-import-summary--quiet article {
  background: rgba(255, 255, 255, 0.025);
}

.jk-pricing-import-summary span {
  color: var(--jk-text-muted);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-pricing-import-summary strong {
  color: var(--jk-text);
  font-size: 1.45rem;
  line-height: 1;
}

.jk-pricing-import-summary small {
  color: var(--jk-text-soft);
}

.jk-pricing-section-block {
  margin-bottom: 16px;
}

.jk-pricing-work-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-pricing-work-grid a,
.jk-pricing-work-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 14px;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.jk-pricing-work-grid a {
  cursor: pointer;
}

button.jk-pricing-work-card {
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.jk-pricing-work-grid a:hover,
.jk-pricing-work-grid button.jk-pricing-work-card:hover,
.jk-pricing-work-grid button.jk-pricing-work-card:focus,
.jk-pricing-work-grid a:focus {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(45, 212, 191, 0.32);
  transform: translateY(-1px);
}

.jk-pricing-work-grid a.is-complete,
.jk-pricing-work-card.is-complete {
  background: rgba(22, 163, 74, 0.14);
  border-color: rgba(34, 197, 94, 0.42);
}

.jk-pricing-work-grid a.is-complete strong,
.jk-pricing-work-card.is-complete strong {
  color: #86efac;
}

.jk-pricing-work-grid span {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-pricing-work-grid strong {
  color: var(--jk-text);
  font-size: 1.7rem;
  line-height: 1;
}

.jk-pricing-work-grid small {
  color: var(--jk-text-soft);
  line-height: 1.35;
}

.jk-pricing-next-panel {
  align-items: center;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 14px;
}

.jk-pricing-next-panel div {
  display: grid;
  gap: 5px;
}

.jk-pricing-next-panel strong {
  color: var(--jk-text);
}

.jk-pricing-next-panel small {
  color: var(--jk-text-soft);
}

.jk-action-card-link {
  align-items: center;
  background: #14b8a6;
  border-radius: 8px;
  color: #042f2e;
  display: inline-flex;
  font-weight: 850;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-pricing-export-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.jk-pricing-export-row form {
  display: contents;
}

.jk-pricing-export-row a {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  min-height: 36px;
  padding: 0 12px;
  text-decoration: none;
}

.jk-pricing-export-row button.jk-action-card-link {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.jk-pricing-loading {
  align-items: center;
  background: rgba(2, 6, 23, 0.72);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 200;
}

.jk-pricing-loading[hidden] {
  display: none;
}

.jk-pricing-progress {
  align-items: center;
  background: rgba(2, 6, 23, 0.78);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 22px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 240;
}

.jk-pricing-progress[hidden] {
  display: none;
}

.jk-pricing-progress-dialog {
  background: #0f172a;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  display: grid;
  gap: 12px;
  max-width: 520px;
  padding: 22px;
  width: min(100%, 520px);
}

.jk-pricing-progress-dialog strong {
  color: var(--jk-text);
  font-size: 1.15rem;
}

.jk-pricing-progress-dialog small,
.jk-pricing-progress-meta {
  color: var(--jk-text-soft);
}

.jk-pricing-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.jk-pricing-progress-bar span {
  background: #14b8a6;
  display: block;
  height: 100%;
  transition: width 0.35s ease;
  width: 0%;
}

.jk-pricing-progress-meta {
  display: flex;
  font-size: 0.88rem;
  justify-content: space-between;
}

.jk-pricing-loading div {
  background: rgba(8, 14, 23, 0.98);
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 8px;
  max-width: 460px;
  padding: 22px;
}

.jk-pricing-loading strong {
  color: var(--jk-text);
  font-size: 1.2rem;
}

.jk-pricing-loading span {
  color: var(--jk-text-soft);
}

@media (max-width: 980px) {
  .jk-pricing-dashboard .jk-container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .jk-pricing-dashboard .jk-exec-top {
    align-items: start;
    gap: 10px;
  }

  .jk-pricing-import-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-pricing-check-grid,
  .jk-pricing-home-grid,
  .jk-pricing-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-pricing-import-layout {
    grid-template-columns: 1fr;
  }

  .jk-pricing-table {
    min-width: 980px;
  }
}

@media (max-width: 720px) {
  .jk-pricing-dashboard {
    min-height: auto;
  }

  .jk-pricing-dashboard .jk-dashboard-title {
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .jk-pricing-dashboard .jk-dashboard-subtitle {
    font-size: 0.92rem;
  }

  .jk-pricing-dashboard .jk-cockpit-tabs,
  .jk-pricing-export-row {
    flex-wrap: nowrap;
    margin-left: -14px;
    margin-right: -14px;
    overflow-x: auto;
    padding: 0 14px 8px;
    scroll-snap-type: x proximity;
  }

  .jk-pricing-dashboard .jk-cockpit-tabs {
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .jk-pricing-dashboard .jk-cockpit-tabs a,
  .jk-pricing-export-row a {
    flex: 0 0 auto;
    min-width: max-content;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .jk-pricing-import-summary,
  .jk-pricing-check-grid,
  .jk-pricing-home-grid,
  .jk-pricing-work-grid,
  .jk-pricing-form-grid,
  .jk-pricing-column-map,
  .jk-pricing-action-row {
    grid-template-columns: 1fr;
  }

  .jk-pricing-import-summary article {
    min-height: 78px;
  }

  .jk-pricing-next-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .jk-action-card-link {
    justify-content: center;
    width: 100%;
  }

  .jk-pricing-table-wrap {
    margin-left: -14px;
    margin-right: -14px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .jk-pricing-table {
    font-size: 0.86rem;
    min-width: 920px;
  }

  .jk-pricing-table th,
  .jk-pricing-table td {
    padding: 9px 10px;
  }

  .jk-pricing-loading {
    padding: 14px;
  }

  .jk-pricing-loading div {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .jk-pricing-dashboard .jk-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .jk-pricing-dashboard .jk-cockpit-tabs,
  .jk-pricing-export-row,
  .jk-pricing-table-wrap {
    margin-left: -10px;
    margin-right: -10px;
  }

  .jk-pricing-dashboard .jk-cockpit-tabs,
  .jk-pricing-export-row {
    padding-left: 10px;
    padding-right: 10px;
  }

  .jk-pricing-home-card,
  .jk-pricing-note-panel,
  .jk-command-panel,
  .jk-pricing-work-grid a,
  .jk-pricing-work-card,
  .jk-pricing-import-summary article {
    padding: 12px;
  }

  .jk-pricing-import-summary strong {
    font-size: 1.32rem;
  }

  .jk-pricing-table {
    min-width: 860px;
  }
}

.jk-command-driver div:first-child,
.jk-origin-row {
  align-items: baseline;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.jk-command-driver strong,
.jk-origin-row strong {
  color: var(--jk-text);
  font-size: 1.25rem;
}

.jk-origin-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.jk-origin-row .jk-exec-progress {
  grid-column: 1 / -1;
}

.jk-origin-row em {
  color: var(--jk-text);
  font-style: normal;
  font-weight: 900;
}

.jk-exec-month-grid--large .jk-exec-month-card {
  min-height: 132px;
  padding: 16px;
}

.jk-exec-month-grid--large .jk-exec-month-card strong {
  font-size: 2rem;
}

.jk-exec-section-head--chart {
  margin-top: 24px;
}

.jk-exec-chart-grid--wide {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.jk-exec-chart-grid--daily {
  grid-template-columns: 1fr;
}

.jk-exec-chart-grid--wide .jk-exec-chart {
  min-height: 340px;
}

.jk-exec-chart-grid--wide .jk-exec-bars {
  height: 240px;
}

.jk-exec-task-grid--large .jk-exec-task {
  min-height: 170px;
  padding: 17px;
}

.jk-exec-task-grid--large .jk-exec-task h3 {
  font-size: 1.16rem;
}

@media (max-width: 1160px) {
  .jk-command-grid,
  .jk-command-grid--primary,
  .jk-pricing-overview-grid,
  .jk-pricing-table-grid,
  .jk-pricing-import-layout,
  .jk-pricing-check-grid,
  .jk-pricing-home-grid,
  .jk-pricing-import-summary,
  .jk-exec-chart-grid--wide {
    grid-template-columns: 1fr;
  }

  .jk-command-revenue-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .jk-exec-top--compact,
  .jk-command-revenue-split,
  .jk-pricing-kpi-grid,
  .jk-pricing-form-grid,
  .jk-pricing-column-map,
  .jk-pricing-action-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .jk-actions {
    gap: 10px;
  }

  .jk-btn,
  .jk-btn-secondary,
  .jk-btn-ghost {
    min-height: 48px;
    padding: 0 16px;
  }

  .jk-form-title {
    font-size: 1.5rem;
  }

  .jk-overline {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }
}


/* =========================================================
   16. DASHBOARD
   ========================================================= */
.jk-appbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--jk-line);
  background: rgba(8, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.jk-appbar-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.jk-appbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.jk-appbar-mark {
  width: 56px;
  height: 38px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
}

.jk-appbar-mark img {
  width: 100%;
  height: auto;
  display: block;
}

.jk-appbar-title,
.jk-appbar-subtitle {
  display: block;
}

.jk-appbar-title {
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.jk-appbar-subtitle {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.jk-appbar-nav,
.jk-appbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.jk-appbar-nav {
  justify-content: center;
  overflow: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.jk-appbar-nav::-webkit-scrollbar {
  display: none;
}

.jk-appbar-actions {
  justify-content: flex-end;
}

.jk-appbar-menu {
  position: relative;
}

.jk-appbar-menu::after {
  content: "";
  display: block;
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
}

.jk-appbar-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--jk-text-soft);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--jk-transition-fast), border-color var(--jk-transition-fast), color var(--jk-transition-fast);
}

.jk-appbar-link:hover,
.jk-appbar-link.is-active,
.jk-appbar-menu.is-active > .jk-appbar-link,
.jk-appbar-menu:hover > .jk-appbar-link,
.jk-appbar-menu:focus-within > .jk-appbar-link {
  color: var(--jk-text);
  border-color: var(--jk-line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.jk-appbar-link--button {
  appearance: none;
}

.jk-appbar-dropdown {
  background: rgba(8, 14, 23, 0.98);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  display: grid;
  gap: 2px;
  left: 0;
  min-width: 210px;
  opacity: 0;
  padding: 7px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 2px);
  transform: translateY(-4px);
  transition: opacity var(--jk-transition-fast), transform var(--jk-transition-fast);
  z-index: 80;
}

.jk-appbar-dropdown--right {
  left: auto;
  right: 0;
}

.jk-appbar-menu:hover .jk-appbar-dropdown,
.jk-appbar-menu:focus-within .jk-appbar-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.jk-appbar-dropdown a {
  border-radius: 6px;
  color: var(--jk-text-soft);
  font-size: 0.86rem;
  font-weight: 760;
  padding: 10px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-appbar-dropdown a:hover,
.jk-appbar-dropdown a:focus {
  background: rgba(255, 255, 255, 0.075);
  color: var(--jk-text);
  outline: none;
}

.jk-appbar-dropdown-status {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.jk-appbar-dropdown-status em {
  border-radius: 999px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  padding: 4px 7px;
}

.jk-appbar-dropdown-status--danger em {
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
}

.jk-appbar-dropdown-status--success em {
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

.jk-dashboard {
  padding: var(--jk-space-8) 0 var(--jk-space-10);
}

.jk-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--jk-space-5);
  margin-bottom: var(--jk-space-7);
}

.jk-dashboard-head-copy {
  display: grid;
  gap: 10px;
}

.jk-dashboard-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.jk-dashboard-subtitle {
  max-width: 760px;
  color: var(--jk-text-soft);
  line-height: 1.7;
}

.jk-dashboard-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jk-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--jk-space-5);
  margin-bottom: var(--jk-space-8);
}

.jk-kpi-card .jk-card-body {
  display: grid;
  gap: 10px;
}

.jk-kpi-label {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jk-text-muted);
}

.jk-kpi-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--jk-text);
}

.jk-kpi-sub {
  font-size: 0.92rem;
  color: var(--jk-text-soft);
}

.jk-dashboard-section {
  margin-top: var(--jk-space-8);
}

.jk-ops-dashboard {
  padding-top: 30px;
}

.jk-ops-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 26px;
}

.jk-ops-hero-copy,
.jk-ops-hero-panel {
  border: 1px solid var(--jk-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(14, 22, 34, 0.76);
}

.jk-ops-hero-copy {
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.jk-ops-hero-panel {
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.jk-ops-hero-date {
  color: var(--jk-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jk-ops-hero-focus {
  color: var(--jk-text);
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: 760;
}

.jk-ops-kpi-groups {
  display: grid;
  gap: 20px;
}

.jk-ops-kpi-group {
  display: grid;
  gap: 14px;
}

.jk-ops-group-head,
.jk-ops-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.jk-ops-group-head h2 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.jk-ops-group-head span {
  color: var(--jk-text-muted);
  font-size: 0.9rem;
}

.jk-ops-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.jk-ops-kpi-group:first-child .jk-ops-metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-ops-metric-card,
.jk-ops-action-card {
  display: grid;
  min-width: 0;
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--jk-transition-fast), border-color var(--jk-transition-fast), background var(--jk-transition-fast);
}

.jk-ops-metric-card {
  min-height: 158px;
  padding: 18px;
  gap: 8px;
}

.jk-ops-metric-card:hover,
.jk-ops-action-card:hover,
.jk-ops-pipeline-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.065);
}

.jk-ops-metric-label {
  color: var(--jk-text-soft);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.jk-ops-metric-value {
  color: var(--jk-text);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.jk-ops-metric-sub {
  color: var(--jk-text-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.jk-ops-metric-trend {
  align-self: end;
  color: var(--jk-text);
  font-size: 0.82rem;
  font-weight: 780;
}

.jk-ops-metric-card--kanban,
.jk-ops-action-card--kanban {
  border-color: rgba(87, 181, 255, 0.24);
  background: linear-gradient(180deg, rgba(47, 124, 246, 0.18), rgba(255, 255, 255, 0.025));
}

.jk-ops-metric-card--shipping,
.jk-ops-action-card--warehouse {
  border-color: rgba(244, 183, 64, 0.22);
  background: linear-gradient(180deg, rgba(244, 183, 64, 0.15), rgba(255, 255, 255, 0.025));
}

.jk-ops-metric-card--orders,
.jk-ops-action-card--orders {
  border-color: rgba(49, 196, 141, 0.22);
  background: linear-gradient(180deg, rgba(49, 196, 141, 0.15), rgba(255, 255, 255, 0.025));
}

.jk-ops-metric-card--alert {
  border-color: rgba(251, 113, 133, 0.72);
  background: linear-gradient(180deg, rgba(190, 18, 60, 0.38), rgba(255, 241, 242, 0.08));
}

.jk-ops-metric-card--alert .jk-ops-metric-label,
.jk-ops-metric-card--alert .jk-ops-metric-value,
.jk-ops-metric-card--alert .jk-ops-metric-sub,
.jk-ops-metric-card--alert .jk-ops-metric-trend {
  color: #fff;
}

.jk-ops-metric-card--quotes,
.jk-ops-action-card--crm {
  border-color: rgba(181, 120, 255, 0.22);
  background: linear-gradient(180deg, rgba(181, 120, 255, 0.14), rgba(255, 255, 255, 0.025));
}

.jk-ops-metric-card--purchases,
.jk-ops-action-card--purchases {
  border-color: rgba(239, 90, 111, 0.22);
  background: linear-gradient(180deg, rgba(239, 90, 111, 0.13), rgba(255, 255, 255, 0.025));
}

.jk-ops-metric-card--positions,
.jk-ops-action-card--admin {
  border-color: rgba(120, 160, 220, 0.22);
  background: linear-gradient(180deg, rgba(120, 160, 220, 0.13), rgba(255, 255, 255, 0.025));
}

.jk-work-hub {
  margin-top: 28px;
}

.jk-work-hub--top {
  margin: 16px 0 24px;
}

.jk-kanban-work-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.jk-kanban-work-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--jk-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--jk-transition-fast), border-color var(--jk-transition-fast), background var(--jk-transition-fast);
}

.jk-kanban-work-card:hover,
.jk-classic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.065);
}

.jk-kanban-work-card > span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jk-kanban-work-card > strong {
  color: var(--jk-text);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.88;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.jk-kanban-work-card h3 {
  color: var(--jk-text);
  font-size: 1.18rem;
  line-height: 1.15;
}

.jk-kanban-work-card p {
  color: var(--jk-text-soft);
  line-height: 1.45;
}

.jk-kanban-work-card--kanban {
  border-color: rgba(87, 181, 255, 0.3);
  background: linear-gradient(180deg, rgba(47, 124, 246, 0.22), rgba(255, 255, 255, 0.03));
}

.jk-kanban-work-card--shipping {
  border-color: rgba(244, 183, 64, 0.28);
  background: linear-gradient(180deg, rgba(244, 183, 64, 0.17), rgba(255, 255, 255, 0.03));
}

.jk-kanban-work-card--critical {
  border-color: rgba(239, 90, 111, 0.32);
  background: linear-gradient(180deg, rgba(239, 90, 111, 0.18), rgba(255, 255, 255, 0.03));
}

.jk-kanban-command-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.jk-kanban-command-card {
  min-height: 138px;
  display: grid;
  gap: 7px;
  align-content: center;
  padding: 18px;
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.jk-kanban-command-card:hover,
.jk-kanban-command-card.is-active {
  border-color: rgba(87, 181, 255, 0.56);
  box-shadow: 0 0 0 1px rgba(87, 181, 255, 0.2), 0 16px 36px rgba(4, 21, 45, 0.18);
  transform: translateY(-1px);
}

.jk-kanban-command-card span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jk-kanban-command-card strong {
  color: var(--jk-text);
  font-size: 3rem;
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.jk-kanban-command-card small {
  color: var(--jk-text-soft);
  line-height: 1.35;
}

.jk-kanban-command-card--review {
  border-color: rgba(87, 181, 255, 0.26);
  background: linear-gradient(180deg, rgba(87, 181, 255, 0.16), rgba(255, 255, 255, 0.03));
}

.jk-kanban-command-card--open {
  border-color: rgba(244, 183, 64, 0.3);
  background: linear-gradient(180deg, rgba(244, 183, 64, 0.16), rgba(255, 255, 255, 0.03));
}

.jk-kanban-command-card--shipping {
  border-color: rgba(49, 196, 141, 0.28);
  background: linear-gradient(180deg, rgba(49, 196, 141, 0.14), rgba(255, 255, 255, 0.03));
}

.jk-kanban-command-card--danger {
  border-color: rgba(239, 90, 111, 0.34);
  background: linear-gradient(180deg, rgba(239, 90, 111, 0.18), rgba(255, 255, 255, 0.03));
}

.jk-kanban-command-page .jk-ops-hero {
  margin-bottom: 18px;
}

.jk-kanban-command-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.jk-kanban-command-strip .jk-kanban-command-card {
  min-height: 126px;
}

.jk-kanban-command-card.has-alert {
  border-color: rgba(239, 90, 111, 0.82);
  box-shadow: inset 0 0 0 2px rgba(239, 90, 111, 0.22), 0 16px 34px rgba(127, 29, 29, 0.18);
}

.jk-kanban-command-panel {
  margin-top: 16px;
}

.jk-kanban-command-panel.is-urgent {
  border-color: rgba(239, 90, 111, 0.66);
  box-shadow: inset 0 0 0 2px rgba(239, 90, 111, 0.14);
}

.jk-kanban-command-review-list,
.jk-kanban-command-orders {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.jk-kanban-command-order summary {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.jk-kanban-command-order-link {
  color: inherit;
  text-decoration: none;
}

.jk-kanban-command-order-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.jk-kanban-command-order-link:hover {
  border-color: rgba(87, 181, 255, 0.56);
  box-shadow: 0 0 0 1px rgba(87, 181, 255, 0.18), 0 14px 30px rgba(4, 21, 45, 0.18);
}

.jk-kanban-command-lines {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.jk-kanban-command-lines article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--jk-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.032);
}

.jk-kanban-command-lines article strong,
.jk-kanban-command-lines article span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.jk-kanban-command-lines article strong {
  color: var(--jk-text);
  font-size: 0.92rem;
}

.jk-kanban-command-lines article span {
  color: var(--jk-text-muted);
  grid-column: 1 / -1;
}

.jk-kanban-command-lines article em {
  color: #31c48d;
  font-style: normal;
  font-weight: 900;
}

.jk-kanban-command-lines > a {
  justify-self: start;
  color: #8cc9ff;
  font-weight: 850;
  text-decoration: none;
}

.jk-kanban-command-empty {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed rgba(49, 196, 141, 0.45);
  border-radius: 12px;
  background: rgba(49, 196, 141, 0.08);
}

.jk-kanban-command-empty strong {
  color: var(--jk-text);
  font-size: 1rem;
}

.jk-kanban-command-empty span {
  color: var(--jk-text-muted);
}

.jk-kanban-command-customers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.jk-kanban-command-customers a {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid var(--jk-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
}

.jk-kanban-command-customers a.has-open {
  border-color: rgba(244, 183, 64, 0.56);
  background: linear-gradient(180deg, rgba(244, 183, 64, 0.14), rgba(255, 255, 255, 0.03));
}

.jk-kanban-command-customers strong {
  color: #31c48d;
  font-size: 0.86rem;
}

.jk-kanban-command-customers span {
  color: var(--jk-text);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.jk-kanban-command-customers em {
  color: var(--jk-text-muted);
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 900px) {
  .jk-kanban-command-strip,
  .jk-kanban-command-customers {
    grid-template-columns: 1fr;
  }

  .jk-kanban-command-order summary {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .jk-kanban-command-lines article {
    grid-template-columns: 1fr;
  }
}

.jk-kanban-orders-card {
  margin-top: 22px;
}

.jk-kanban-order-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.jk-kanban-order-card {
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.jk-kanban-order-card.is-overdue {
  border-color: rgba(239, 90, 111, 0.58);
  box-shadow: inset 0 0 0 2px rgba(239, 90, 111, 0.14);
}

.jk-kanban-order-card summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.jk-kanban-order-card summary::-webkit-details-marker {
  display: none;
}

.jk-kanban-order-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.jk-kanban-order-main strong {
  color: var(--jk-text);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.jk-kanban-order-main span {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-copy-token {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(90, 162, 255, 0.26);
  border-radius: 7px;
  color: var(--jk-text);
  background: rgba(90, 162, 255, 0.11);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.jk-copy-token:hover,
.jk-copy-token.is-copied {
  border-color: rgba(49, 196, 141, 0.5);
  background: rgba(49, 196, 141, 0.16);
}

.jk-kanban-order-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(66px, auto));
  gap: 10px;
}

.jk-kanban-order-counts div {
  display: grid;
  gap: 3px;
  text-align: center;
}

.jk-kanban-order-counts small,
.jk-kanban-position-row dt {
  color: var(--jk-text-muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-kanban-order-counts strong {
  color: var(--jk-text);
  font-size: 1.18rem;
  line-height: 1;
  font-weight: 920;
}

.jk-kanban-position-list {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.jk-kanban-position-list--completed {
  padding: 10px 0 0;
}

.jk-kanban-position-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(690px, auto);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--jk-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.jk-kanban-position-row.is-completed {
  opacity: 0.78;
  background: rgba(255, 255, 255, 0.02);
}

.jk-kanban-completed-positions {
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.jk-kanban-completed-positions summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: var(--jk-text-muted);
  cursor: pointer;
  list-style: none;
}

.jk-kanban-completed-positions summary::-webkit-details-marker {
  display: none;
}

.jk-kanban-completed-positions summary span {
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-kanban-completed-positions summary strong {
  min-width: 30px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--jk-text);
  background: rgba(49, 196, 141, 0.14);
}

.jk-kanban-position-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.jk-kanban-position-row strong {
  color: var(--jk-text);
}

.jk-kanban-position-row span:not(.jk-badge) {
  color: var(--jk-text-soft);
  line-height: 1.35;
}

.jk-kanban-position-row dl {
  display: grid;
  grid-template-columns: 58px minmax(94px, auto) 68px 64px 82px 74px 86px 96px;
  gap: 10px;
  margin: 0;
}

.jk-kanban-position-row dl div {
  display: grid;
  gap: 3px;
}

.jk-kanban-position-row dd {
  margin: 0;
  color: var(--jk-text);
  font-weight: 800;
}

.jk-classic-strip {
  margin-top: 24px;
}

.jk-classic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.jk-classic-card {
  min-height: 104px;
  display: grid;
  gap: 5px;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform var(--jk-transition-fast), border-color var(--jk-transition-fast), background var(--jk-transition-fast);
}

.jk-classic-card span {
  color: var(--jk-text-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.jk-classic-card strong {
  color: var(--jk-text);
  font-size: 2rem;
  line-height: 1;
  font-weight: 920;
}

.jk-classic-card small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-ops-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 20px;
  margin-top: 28px;
}

.jk-ops-dashboard-grid--bottom {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.jk-ops-pipeline,
.jk-ops-today-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.jk-ops-pipeline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--jk-line);
  background: rgba(255, 255, 255, 0.035);
  transition: transform var(--jk-transition-fast), border-color var(--jk-transition-fast), background var(--jk-transition-fast);
}

.jk-ops-pipeline-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.jk-ops-pipeline-main strong {
  overflow-wrap: anywhere;
}

.jk-ops-pipeline-main small,
.jk-ops-today-item small {
  color: var(--jk-text-muted);
  line-height: 1.45;
}

.jk-ops-pipeline-value {
  min-width: 46px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 850;
}

.jk-ops-today-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--jk-line);
}

.jk-ops-today-item:last-child {
  border-bottom: 0;
}

.jk-ops-today-item span {
  color: var(--jk-text-soft);
  font-weight: 760;
}

.jk-ops-today-item strong {
  color: var(--jk-text);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 900;
}

.jk-ops-today-item small {
  grid-column: 1 / -1;
}

.jk-ops-action-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.jk-ops-action-section {
  margin-top: 26px;
}

.jk-ops-action-card {
  min-height: 154px;
  align-content: start;
  gap: 9px;
  padding: 18px;
}

.jk-ops-action-kicker {
  color: var(--jk-text-muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jk-ops-action-card strong {
  color: var(--jk-text);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.jk-ops-action-card span:last-child {
  color: var(--jk-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.jk-ops-stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr) minmax(280px, 0.75fr);
  gap: 18px;
  margin-top: 24px;
}

.jk-ops-chart-card .jk-card-body {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.jk-ops-chart-summary {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.jk-ops-chart-summary strong {
  color: var(--jk-text);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.jk-ops-chart-summary span {
  color: var(--jk-text-muted);
  font-size: 0.9rem;
}

.jk-ops-bar-chart {
  min-height: 150px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
}

.jk-ops-bar-col {
  height: 150px;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.jk-ops-bar {
  width: 100%;
  min-height: 14px;
  border-radius: 9px 9px 4px 4px;
  background: linear-gradient(180deg, rgba(90, 162, 255, 0.95), rgba(49, 196, 141, 0.78));
  box-shadow: 0 12px 28px rgba(47, 124, 246, 0.18);
}

.jk-ops-bar-col small {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  text-align: center;
}

.jk-ops-value-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.jk-ops-value-item {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--jk-line);
}

.jk-ops-value-item:last-child {
  border-bottom: 0;
}

.jk-ops-value-item span {
  color: var(--jk-text-soft);
  font-size: 0.86rem;
  font-weight: 780;
}

.jk-ops-value-item strong {
  color: var(--jk-text);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.jk-ops-value-item small,
.jk-ops-donut-item small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-ops-donut-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.jk-ops-donut-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.jk-ops-donut {
  width: 112px;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, var(--jk-bg-elevated) 0 54%, transparent 55%),
    conic-gradient(var(--jk-accent) calc(var(--value) * 1%), rgba(255, 255, 255, 0.08) 0);
  border: 1px solid var(--jk-line);
}

.jk-ops-donut strong {
  color: var(--jk-text);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.jk-ops-donut-item > span:not(.jk-ops-donut) {
  color: var(--jk-text-soft);
  font-weight: 820;
}

.jk-kiosk-dashboard {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: 10px 0;
  overflow: hidden;
}

.jk-kiosk-container {
  width: min(calc(100% - 28px), 820px);
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.jk-kiosk-container--wide {
  width: min(calc(100% - 28px), 1040px);
}

.jk-kiosk-select-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--jk-line);
  border-radius: 16px;
  background: rgba(14, 22, 34, 0.76);
}

.jk-kiosk-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: 12px;
  align-items: stretch;
}

.jk-kiosk-head > div,
.jk-kiosk-context {
  border: 1px solid var(--jk-line);
  border-radius: 12px;
  background: rgba(14, 22, 34, 0.76);
  padding: 14px 16px;
}

.jk-kiosk-brand-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.jk-kiosk-logo {
  width: min(100%, 116px);
  height: auto;
  display: block;
}

.jk-kiosk-catalog-link {
  width: fit-content;
  max-width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(90, 162, 255, 0.22);
  border-radius: 12px;
  color: var(--jk-text);
  background: rgba(90, 162, 255, 0.08);
}

.jk-kiosk-catalog-link strong,
.jk-kiosk-catalog-link small {
  display: block;
}

.jk-kiosk-catalog-link strong {
  color: var(--jk-text);
  font-size: 0.95rem;
}

.jk-kiosk-catalog-link small {
  margin-top: 2px;
  color: var(--jk-text-soft);
  font-size: 0.82rem;
}

.jk-kiosk-catalog-link em {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.07);
  font-style: normal;
  font-weight: 850;
}

.jk-kiosk-context {
  display: grid;
  gap: 6px;
  align-content: center;
}

.jk-kiosk-context span,
.jk-kiosk-context small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-kiosk-context strong {
  color: var(--jk-text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.jk-kiosk-primary {
  min-height: clamp(128px, 22svh, 168px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(90, 162, 255, 0.35);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    linear-gradient(135deg, #2f7cf6 0%, #31c48d 100%);
  box-shadow: 0 24px 56px rgba(47, 124, 246, 0.28);
}

.jk-kiosk-primary span {
  font-size: 1rem;
  font-weight: 820;
}

.jk-kiosk-primary strong {
  font-size: clamp(2.3rem, 6.2vw, 3.75rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.jk-kiosk-primary small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  font-weight: 720;
}

.jk-kiosk-cabinet-action {
  position: relative;
  min-height: clamp(118px, 19svh, 150px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  overflow: hidden;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(244, 183, 64, 0.38);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    linear-gradient(135deg, #3b4658 0%, #b7791f 100%);
  box-shadow: 0 22px 48px rgba(183, 121, 31, 0.24);
}

.jk-kiosk-cabinet-action::before {
  content: "";
  position: absolute;
  inset: 12px 18px;
  opacity: 0.17;
  border: 3px solid #ffffff;
  border-radius: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) 50% 0 / 3px 100% no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 33.333% / 100% 3px no-repeat,
    linear-gradient(#ffffff, #ffffff) 0 66.666% / 100% 3px no-repeat;
}

.jk-kiosk-cabinet-action::after {
  content: "";
  position: absolute;
  inset: 26px 34px;
  opacity: 0.18;
  background:
    radial-gradient(circle at 22% 18%, #ffffff 0 3px, transparent 4px),
    radial-gradient(circle at 78% 18%, #ffffff 0 3px, transparent 4px),
    radial-gradient(circle at 22% 50%, #ffffff 0 3px, transparent 4px),
    radial-gradient(circle at 78% 50%, #ffffff 0 3px, transparent 4px),
    radial-gradient(circle at 22% 82%, #ffffff 0 3px, transparent 4px),
    radial-gradient(circle at 78% 82%, #ffffff 0 3px, transparent 4px);
}

.jk-kiosk-cabinet-action span,
.jk-kiosk-cabinet-action strong,
.jk-kiosk-cabinet-action small {
  position: relative;
  z-index: 1;
}

.jk-kiosk-cabinet-action span {
  font-size: 1rem;
  font-weight: 820;
}

.jk-kiosk-cabinet-action strong {
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.jk-kiosk-cabinet-action small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  font-weight: 720;
}

.jk-kiosk-cabinet-action--solo {
  min-height: clamp(148px, 24svh, 188px);
}

.jk-kiosk-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.jk-kiosk-secondary a {
  min-height: clamp(76px, 12svh, 96px);
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 12px 14px;
  border: 1px solid var(--jk-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.jk-kiosk-secondary strong {
  color: var(--jk-text);
  font-size: 1.02rem;
}

.jk-kiosk-secondary span {
  color: var(--jk-text-soft);
  font-size: 0.92rem;
}

.jk-cabinet-page {
  padding: 22px 0 36px;
}

.jk-cabinet-page .jk-container {
  display: grid;
  gap: 16px;
}

.jk-cabinet-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--jk-line);
  border-radius: 12px;
  background: rgba(14, 22, 34, 0.76);
}

.jk-cabinet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jk-cabinet-filter button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text-soft);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.jk-cabinet-filter button.is-active {
  color: #ffffff;
  border-color: rgba(90, 162, 255, 0.42);
  background: rgba(90, 162, 255, 0.18);
}

.jk-cabinet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.jk-cabinet-item {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-rows: auto 44px auto auto 1fr;
  gap: 7px;
  align-content: start;
  overflow: hidden;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.045);
}

.jk-cabinet-item:disabled,
.jk-cabinet-item--empty {
  opacity: 0.7;
}

.jk-cabinet-slot {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 7px;
  color: #ffffff;
  background: rgba(90, 162, 255, 0.24);
  font-weight: 900;
}

.jk-cabinet-visual {
  width: 64px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) 50% 0 / 2px 100% no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) 0 50% / 100% 2px no-repeat,
    rgba(255, 255, 255, 0.04);
}

.jk-cabinet-item strong {
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.25;
}

.jk-cabinet-item small {
  color: var(--jk-text-soft);
  line-height: 1.35;
}

.jk-cabinet-item em {
  align-self: end;
  font-style: normal;
  font-weight: 850;
  color: #86efac;
}

.jk-cabinet-item--low em {
  color: #fbbf24;
}

.jk-cabinet-item--empty em {
  color: #f87171;
}

.jk-cabinet-dialog {
  max-width: 660px;
}

.jk-cabinet-dialog-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin: 16px 0;
}

.jk-cabinet-door {
  min-height: 190px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,.13), rgba(255,255,255,.13)) 50% 0 / 3px 100% no-repeat,
    linear-gradient(rgba(255,255,255,.13), rgba(255,255,255,.13)) 0 33.33% / 100% 3px no-repeat,
    linear-gradient(rgba(255,255,255,.13), rgba(255,255,255,.13)) 0 66.66% / 100% 3px no-repeat,
    rgba(255, 255, 255, 0.04);
}

.jk-cabinet-door span {
  min-width: 68px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(90, 162, 255, 0.3);
  font-size: 1.35rem;
  font-weight: 950;
}

.jk-cabinet-step-panel {
  display: grid;
  gap: 12px;
  align-content: center;
}

.jk-cabinet-qty {
  width: fit-content;
  display: grid;
  grid-template-columns: 44px 64px 44px;
  align-items: center;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  overflow: hidden;
}

.jk-cabinet-qty button,
.jk-cabinet-qty strong {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.055);
}

.jk-cabinet-qty button {
  border: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.jk-cabinet-state {
  padding: 12px;
  border: 1px solid rgba(90, 162, 255, 0.24);
  border-radius: 8px;
  color: var(--jk-text);
  background: rgba(90, 162, 255, 0.08);
  font-weight: 800;
}

@media (max-width: 760px) {
  .jk-cabinet-toolbar,
  .jk-cabinet-dialog-grid {
    grid-template-columns: 1fr;
  }

  .jk-cabinet-filter {
    width: 100%;
  }

  .jk-cabinet-filter button {
    flex: 1 1 96px;
  }
}

.jk-approval-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.jk-approval-card,
.jk-approval-card-link {
  display: block;
}

.jk-approval-card {
  min-height: 100%;
  transition: transform var(--jk-transition-fast), border-color var(--jk-transition-fast);
}

.jk-approval-card-link {
  color: inherit;
  display: grid;
  gap: 20px;
  text-decoration: none;
}

.jk-approval-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.jk-approval-card .jk-card-body,
.jk-kanban-review-layout .jk-card-body,
.jk-kanban-scan-layout .jk-card-body {
  display: grid;
  gap: 20px;
}

.jk-approval-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.jk-approval-meta {
  display: grid;
  gap: 8px;
  color: var(--jk-text-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.jk-approval-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.jk-approval-stats div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--jk-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.jk-approval-stats strong {
  color: var(--jk-text);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.jk-approval-stats span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.jk-kanban-review-layout,
.jk-kanban-scan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  gap: 20px;
}

.jk-kanban-scan-layout {
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
}

.jk-kanban-review-layout--single {
  grid-template-columns: 1fr;
}

.jk-position-list,
.jk-status-list,
.jk-review-actions {
  display: grid;
  gap: 12px;
}

.jk-position-row,
.jk-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--jk-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.jk-position-row--approval {
  grid-template-columns: 88px minmax(0, 1fr) auto auto minmax(220px, 300px) auto;
  align-items: center;
  column-gap: 18px;
}

.jk-kanban-replace-form {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.jk-kanban-replace-form .jk-input {
  min-width: 0;
}

.jk-kanban-approval-actions {
  margin-top: 14px;
}

.jk-kanban-approval-actions .jk-btn,
.jk-kanban-approval-actions form {
  width: 100%;
}

.jk-delete-confirm-form {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(74px, 0.4fr) minmax(0, 1fr);
  align-items: center;
}

.jk-delete-confirm-form--compact {
  border-top: 1px solid var(--jk-line);
  margin-top: 2px;
  padding-top: 12px;
}

.jk-delete-confirm-input {
  background: rgba(127, 29, 29, 0.28);
  border-color: rgba(248, 113, 113, 0.72);
  color: #ffffff;
  font-weight: 950;
  text-align: center;
}

.jk-delete-confirm-input::placeholder {
  color: rgba(254, 202, 202, 0.82);
}

.jk-delete-confirm-input:focus {
  background: rgba(20, 83, 45, 0.42);
  border-color: rgba(74, 222, 128, 0.96);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

.jk-delete-confirm-input:focus::placeholder {
  color: transparent;
}

.jk-btn-danger {
  align-items: center;
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.96), rgba(153, 27, 27, 0.86));
  border: 1px solid rgba(248, 113, 113, 0.78);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
}

.jk-btn-danger:hover {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.98), rgba(185, 28, 28, 0.9));
}

.jk-position-image.is-empty {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--jk-line);
  color: var(--jk-text-muted);
}

.jk-position-row--approval .jk-position-image {
  width: 88px;
}

.jk-kanban-approval-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 10px;
}

.jk-kanban-approval-meta div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
}

.jk-kanban-approval-meta span,
.jk-kanban-approval-meta small {
  color: var(--jk-text-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.jk-kanban-approval-meta span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-kanban-approval-meta strong {
  color: var(--jk-text);
  font-size: 0.98rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.jk-kanban-order-comment {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 2px solid rgba(49, 196, 141, 0.62);
  border-radius: 10px;
  background: rgba(49, 196, 141, 0.18);
  box-shadow: inset 0 0 0 1px rgba(49, 196, 141, 0.16);
}

.jk-kanban-order-comment--hero {
  margin-top: 16px;
  margin-bottom: 0;
}

.jk-kanban-order-comment span {
  color: #91f2c9;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-kanban-order-comment strong {
  color: var(--jk-text);
  font-size: 1.08rem;
  line-height: 1.45;
}

.jk-position-note-alert {
  display: grid;
  gap: 6px;
  max-width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(49, 196, 141, 0.62);
  border-radius: 10px;
  color: var(--jk-text);
  background: rgba(49, 196, 141, 0.18);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.42;
  box-shadow: inset 0 0 0 1px rgba(49, 196, 141, 0.16);
}

.jk-position-note-alert b {
  color: #91f2c9;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.jk-approval-order-comment {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(49, 196, 141, 0.42);
  border-radius: 8px;
  background: rgba(49, 196, 141, 0.12);
}

.jk-approval-order-comment b {
  color: #91f2c9;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.jk-approval-order-comment span {
  color: var(--jk-text);
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.jk-position-main,
.jk-status-main,
.jk-status-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.jk-position-main strong,
.jk-status-main strong {
  color: var(--jk-text);
  overflow-wrap: anywhere;
}

.jk-position-main span,
.jk-status-main span,
.jk-status-meta span {
  color: var(--jk-text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.jk-status-draft-alert {
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(239, 90, 111, 0.36);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(239, 90, 111, 0.16), rgba(255, 255, 255, 0.035));
}

.jk-status-draft-alert div {
  display: grid;
  gap: 4px;
}

.jk-status-draft-alert strong {
  color: var(--jk-text);
  font-size: 1.05rem;
}

.jk-status-draft-alert span {
  color: var(--jk-text-soft);
  line-height: 1.45;
}

.jk-status-page {
  padding-top: 24px;
}

.jk-status-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.jk-status-header .jk-dashboard-subtitle {
  max-width: 760px;
}

.jk-status-draft-pill {
  min-width: 152px;
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(239, 90, 111, 0.36);
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(239, 90, 111, 0.2), rgba(255, 255, 255, 0.04));
}

.jk-status-draft-pill strong {
  font-size: 1.6rem;
  line-height: 1;
}

.jk-status-draft-pill span {
  color: var(--jk-text-soft);
  font-size: 0.86rem;
  font-weight: 820;
}

.jk-status-filter-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.jk-status-filter-card strong {
  color: var(--jk-text);
  margin-right: 4px;
}

.jk-status-filter-card a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--jk-line);
  border-radius: 999px;
  color: var(--jk-text-soft);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.88rem;
  font-weight: 760;
}

.jk-status-accordion {
  display: grid;
  gap: 12px;
}

.jk-status-group {
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.jk-status-group.has-draft {
  border-color: rgba(239, 90, 111, 0.44);
}

.jk-status-group summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.jk-status-group summary::-webkit-details-marker {
  display: none;
}

.jk-status-group summary span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.jk-status-group summary strong {
  color: var(--jk-text);
  font-size: 1.18rem;
}

.jk-status-group summary small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-status-group summary em {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
  font-weight: 850;
}

.jk-status-area-total .jk-status-area-count {
  color: #22c55e;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1;
}

.jk-status-area-label {
  color: #102033;
  font-weight: 850;
}

.jk-status-group-note {
  margin: 0 18px 14px;
  padding: 12px 14px;
  border: 1px solid rgba(239, 90, 111, 0.28);
  border-radius: 12px;
  color: var(--jk-text-soft);
  background: rgba(239, 90, 111, 0.11);
  line-height: 1.45;
}

.jk-status-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--jk-line);
}

.jk-status-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.jk-status-table th,
.jk-status-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--jk-line-soft);
}

.jk-status-table th {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-status-table td {
  color: var(--jk-text-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}

.jk-status-table td:first-child {
  color: var(--jk-text);
  font-weight: 820;
  white-space: nowrap;
}

.jk-status-table td:nth-child(3) {
  color: var(--jk-text);
  font-weight: 850;
  text-align: center;
}

.jk-status-group-tools {
  margin: 0 18px 14px;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.jk-status-group-tools label {
  display: grid;
  gap: 6px;
}

.jk-status-group-tools label span {
  color: var(--jk-text-muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-status-group-tools input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--jk-line);
  border-radius: 10px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.05);
  outline: 0;
}

.jk-status-group-tools div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jk-status-group-tools button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--jk-line);
  border-radius: 999px;
  color: var(--jk-text-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 820;
}

.jk-status-group-tools button.is-active {
  color: #ffffff;
  border-color: rgba(90, 162, 255, 0.4);
  background: var(--jk-accent-soft);
}

.jk-status-position-list {
  display: grid;
  gap: 8px;
  padding: 0 0 0;
}

.jk-status-order-list {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.jk-status-order-card {
  border: 1px solid #c5ced8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.jk-status-order-card summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.jk-status-order-card summary::-webkit-details-marker {
  display: none;
}

.jk-status-order-card summary > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.jk-status-order-card summary strong {
  color: #12344d;
  font-size: 1.08rem;
  line-height: 1.2;
}

.jk-status-order-card summary span:not(.jk-badge) {
  color: #607080;
  line-height: 1.35;
}

.jk-status-order-card summary dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(62px, auto));
  gap: 10px;
  margin: 0;
}

.jk-status-order-card summary dl div {
  display: grid;
  gap: 3px;
  text-align: center;
}

.jk-status-order-card summary dt {
  color: #607080;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-status-order-card summary dd {
  margin: 0;
  color: #17202a;
  font-size: 1.08rem;
  font-weight: 900;
}

.jk-status-order-card .jk-status-position-list {
  padding: 14px;
}

.jk-status-position-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, auto);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d7dee6;
  border-radius: 8px;
  background: #ffffff;
}

.jk-status-position-card > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.jk-status-position-card strong {
  color: #17202a;
  font-size: 0.98rem;
  line-height: 1.3;
}

.jk-status-position-card span {
  color: #607080;
  line-height: 1.35;
}

.jk-status-position-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, auto));
  gap: 10px;
  margin: 0;
}

.jk-status-position-card dl div {
  display: grid;
  gap: 3px;
}

.jk-status-position-card dt {
  color: #607080;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-status-position-card dd {
  margin: 0;
  color: #17202a;
  font-size: 0.9rem;
  font-weight: 760;
}

.jk-status-empty {
  padding: 0 18px 18px;
  color: var(--jk-text-muted);
}

.jk-status-area-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.jk-status-area-card {
  min-height: 160px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.jk-status-area-card strong {
  color: var(--jk-text);
  font-size: 1.12rem;
}

.jk-status-area-card span,
.jk-status-area-card small {
  color: var(--jk-text-soft);
  line-height: 1.35;
}

.jk-status-area-card div {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jk-status-area-card em {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 820;
}

.jk-status-page {
  background: #eef3f7;
  color: #17202a;
}

.jk-status-page .jk-overline {
  color: #476275;
}

.jk-status-page .jk-dashboard-title {
  color: #12344d;
}

.jk-status-header .jk-dashboard-subtitle {
  color: #465363;
}

.jk-status-draft-pill {
  background: #fff1f3;
  border-color: #d18a9a;
  border-radius: 8px;
  color: #6e1428;
  text-decoration: none;
}

.jk-status-draft-pill span {
  color: #7c2d3b;
}

.jk-status-filter-card {
  background: #f8fafc;
  border-color: #b8c2cc;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.jk-status-filter-card strong {
  color: #12344d;
}

.jk-status-filter-card a,
.jk-status-group-tools button {
  background: #ffffff;
  border-color: #c5ced8;
  border-radius: 6px;
  color: #2b4054;
}

.jk-status-filter-card a:hover,
.jk-status-group-tools button:hover {
  background: #e8f2ff;
  color: #12344d;
}

.jk-status-group {
  background: #edf1f5;
  border-color: #aeb9c6;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.jk-status-group.has-draft {
  border-color: #d18a9a;
}

.jk-status-group summary {
  background: linear-gradient(180deg, #dfe8f3, #c9d6e4);
}

.jk-status-group summary strong,
.jk-status-order-card summary strong {
  color: #12344d;
}

.jk-status-group summary small,
.jk-status-order-card summary span:not(.jk-badge),
.jk-status-position-card span,
.jk-status-group-tools label span,
.jk-status-empty {
  color: #465363;
}

.jk-status-group summary em {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(174, 185, 198, 0.78);
  border-radius: 6px;
  color: #17202a;
}

.jk-status-group-note {
  background: #fff1f3;
  border-color: #d18a9a;
  border-radius: 6px;
  color: #6e1428;
}

.jk-status-group-tools input {
  background: #ffffff;
  border-color: #b8c2cc;
  border-radius: 6px;
  color: #17202a;
}

.jk-status-group-tools button.is-active {
  background: #e8f2ff;
  border-color: #82add2;
  color: #12344d;
}

.jk-status-order-card {
  background: #ffffff;
  border-color: #b8c2cc;
  border-radius: 7px;
}

.jk-status-order-card summary {
  background: #f8fafc;
}

.jk-status-order-card summary dt,
.jk-status-position-card dt {
  color: #465363;
}

.jk-status-order-card summary dd,
.jk-status-position-card dd,
.jk-status-position-card strong {
  color: #17202a;
}

.jk-status-position-card {
  background: #ffffff;
  border-color: #d7dee6;
  border-radius: 6px;
}

.jk-status-position-card:hover {
  background: #e8f2ff;
}

.jk-status-table-wrap {
  border-top-color: #aeb9c6;
}

.jk-status-table th {
  background: #dfe8f3;
  color: #12344d;
}

.jk-status-table td {
  background: #ffffff;
  border-bottom-color: #d7dee6;
  color: #2b4054;
}

.jk-status-page {
  background: transparent;
  color: var(--jk-text);
}

.jk-status-page .jk-overline {
  color: var(--jk-text-muted);
}

.jk-status-page .jk-dashboard-title {
  color: var(--jk-text);
}

.jk-status-header .jk-dashboard-subtitle {
  color: var(--jk-text-soft);
}

.jk-status-draft-pill {
  background: rgba(239, 90, 111, 0.16);
  border-color: rgba(239, 90, 111, 0.36);
  color: #ffffff;
}

.jk-status-draft-pill span {
  color: var(--jk-text-soft);
}

.jk-status-filter-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--jk-line);
  box-shadow: none;
}

.jk-status-filter-card strong {
  color: var(--jk-text);
}

.jk-status-filter-card a,
.jk-status-group-tools button {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--jk-line);
  color: var(--jk-text-soft);
}

.jk-status-filter-card a:hover,
.jk-status-group-tools button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--jk-text);
}

.jk-status-group {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--jk-line);
  box-shadow: none;
}

.jk-status-group summary {
  background: rgba(255, 255, 255, 0.035);
}

.jk-status-group summary strong,
.jk-status-order-card summary strong {
  color: var(--jk-text);
}

.jk-status-group summary small,
.jk-status-order-card summary span:not(.jk-badge),
.jk-status-position-card span,
.jk-status-group-tools label span,
.jk-status-empty {
  color: var(--jk-text-muted);
}

.jk-status-group summary em {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
}

.jk-status-group-note {
  background: rgba(239, 90, 111, 0.12);
  border-color: rgba(239, 90, 111, 0.28);
  color: var(--jk-text-soft);
}

.jk-status-group-tools input {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--jk-line);
  color: var(--jk-text);
}

.jk-status-group-tools button.is-active {
  background: var(--jk-accent-soft);
  border-color: rgba(90, 162, 255, 0.4);
  color: #ffffff;
}

.jk-status-order-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--jk-line);
}

.jk-status-order-card summary {
  background: rgba(255, 255, 255, 0.03);
}

.jk-status-order-card summary dt,
.jk-status-position-card dt {
  color: var(--jk-text-muted);
}

.jk-status-order-card summary dd,
.jk-status-position-card dd,
.jk-status-position-card strong {
  color: var(--jk-text);
}

.jk-status-position-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--jk-line);
}

.jk-status-position-card:hover {
  background: #f8fbff;
}

.jk-status-position-product {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 58px minmax(0, 1fr);
}

.jk-status-position-image {
  align-items: center;
  background: #f4f6f8;
  border: 1px solid #c8d0d8;
  border-radius: 8px;
  display: flex;
  height: 58px;
  justify-content: center;
  overflow: hidden;
  width: 58px;
}

.jk-status-position-image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.jk-status-position-image span {
  color: #607080;
  font-size: 0.78rem;
  font-weight: 900;
}

.jk-status-position-product strong {
  color: #17202a;
  font-size: 0.98rem;
  line-height: 1.25;
}

.jk-status-position-product span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 4px;
}

.jk-status-page {
  background: transparent;
  color: var(--jk-text);
}

.jk-status-page .jk-overline {
  color: var(--jk-text-muted);
}

.jk-status-page .jk-dashboard-title {
  color: var(--jk-text);
}

.jk-status-header .jk-dashboard-subtitle {
  color: var(--jk-text-soft);
}

.jk-status-filter-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--jk-line);
  box-shadow: none;
}

.jk-status-filter-card strong {
  color: var(--jk-text);
}

.jk-status-filter-card a,
.jk-status-group-tools button {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--jk-line);
  color: var(--jk-text-soft);
}

.jk-status-filter-card a:hover,
.jk-status-group-tools button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--jk-text);
}

.jk-status-draft-pill {
  background: rgba(239, 90, 111, 0.16);
  border-color: rgba(239, 90, 111, 0.36);
  color: #ffffff;
}

.jk-status-draft-pill span {
  color: var(--jk-text-soft);
}

.jk-status-group {
  background: #edf1f5;
  border-color: #aeb9c6;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.jk-status-group.has-draft {
  border-color: #d18a9a;
}

.jk-status-group summary {
  background: linear-gradient(180deg, #dfe8f3, #c9d6e4);
}

.jk-status-group summary strong {
  color: #12344d;
}

.jk-status-group summary small {
  color: #465363;
}

.jk-status-group summary em {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(174, 185, 198, 0.78);
  border-radius: 6px;
  color: #17202a;
}

.jk-status-group-note {
  background: #fff1f3;
  border-color: #d18a9a;
  color: #6e1428;
}

.jk-status-group-tools label span {
  color: #465363;
}

.jk-status-group-tools input {
  background: #ffffff;
  border-color: #b8c2cc;
  color: #17202a;
}

.jk-status-group-tools button {
  background: #ffffff;
  border-color: #c5ced8;
  color: #2b4054;
}

.jk-status-group-tools button.is-active {
  background: #e8f2ff;
  border-color: #82add2;
  color: #12344d;
}

.jk-status-order-card {
  background: #ffffff;
  border-color: #b8c2cc;
  border-radius: 7px;
}

.jk-status-order-card summary {
  background: #f8fafc;
}

.jk-status-order-card summary strong {
  color: #12344d;
}

.jk-status-order-card summary span:not(.jk-badge),
.jk-status-order-card summary dt {
  color: #465363;
}

.jk-status-order-card summary dd {
  color: #17202a;
}

.jk-status-position-card {
  background: #ffffff;
  border-color: #d7dee6;
  border-radius: 6px;
}

.jk-status-position-card:hover {
  background: #e8f2ff;
}

.jk-status-position-card dt,
.jk-status-position-card span,
.jk-status-position-product span {
  color: #465363;
}

.jk-status-position-product em {
  background: #fff7c2;
  border: 1px solid #d2bd61;
  border-radius: 4px;
  color: #4b3b00;
  display: inline-flex;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 850;
  margin-top: 7px;
  padding: 3px 7px;
  width: fit-content;
}

.jk-status-position-image.is-empty::before {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.34), rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  content: "";
  height: 18px;
  width: 18px;
}

.jk-status-position-card dd,
.jk-status-position-card strong,
.jk-status-position-product strong {
  color: #17202a;
}

.jk-status-position-image {
  background: #f4f6f8;
  border-color: #c8d0d8;
}

.jk-status-position-image span {
  color: #607080;
}

.jk-status-empty {
  color: #465363;
}

.jk-status-position-table-wrap {
  border-radius: 0;
  border-width: 1px 0 0;
  margin: 0;
}

.jk-status-position-table {
  min-width: 760px;
}

.jk-status-position-table td:nth-child(4),
.jk-status-position-table td:nth-child(5) {
  white-space: nowrap;
}

.jk-status-customer-no {
  background: #fff7c2;
  border: 1px solid #d2bd61;
  border-radius: 4px;
  color: #4b3b00;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  padding: 3px 7px;
  white-space: nowrap;
}

.jk-status-search-panel {
  align-items: end;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 22px 0;
  padding: 16px;
}

.jk-status-search-panel label {
  display: grid;
  gap: 7px;
}

.jk-status-search-panel label span {
  color: var(--jk-text-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.jk-status-search-panel input {
  background: #ffffff;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
  color: #17202a;
  font-size: 1rem;
  font-weight: 750;
  min-height: 48px;
  outline: none;
  padding: 0 14px;
  width: 100%;
}

.jk-status-search-panel input:focus {
  border-color: #6fa7d8;
  box-shadow: 0 0 0 3px rgba(111, 167, 216, 0.25);
}

.jk-status-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.jk-status-filter-actions button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--jk-line);
  border-radius: 999px;
  color: var(--jk-text-soft);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  min-height: 38px;
  padding: 0 13px;
}

.jk-status-filter-actions button:hover {
  background: rgba(255, 255, 255, 0.13);
  color: var(--jk-text);
}

.jk-status-filter-actions button.is-active {
  background: #ffffff;
  border-color: #6fa7d8;
  color: #12344d;
}

.jk-status-no-results {
  background: #fff7c2;
  border: 1px solid #d2bd61;
  border-radius: 8px;
  color: #4b3b00;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.jk-status-no-results a {
  color: #12344d;
  margin-left: 10px;
}

.jk-status-section-stack {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.jk-status-section {
  background: #f8fafc;
  border: 1px solid #c5ced8;
  border-radius: 7px;
  overflow: hidden;
}

.jk-status-section--action {
  border-color: #d8c071;
}

.jk-status-section--work {
  border-color: #d79b62;
}

.jk-status-section--shipping {
  border-color: #72a7cf;
}

.jk-status-section-head {
  align-items: center;
  background: #eef3f8;
  border-bottom: 1px solid #c5ced8;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 11px 13px;
}

.jk-status-section--action .jk-status-section-head {
  background: #fff6d8;
  border-bottom-color: #d8c071;
}

.jk-status-section--work .jk-status-section-head {
  background: #fff0e4;
  border-bottom-color: #d79b62;
}

.jk-status-section--shipping .jk-status-section-head {
  background: #e7f4ff;
  border-bottom-color: #72a7cf;
}

.jk-status-section-head h2 {
  color: #12344d;
  font-size: 0.92rem;
  line-height: 1.2;
  margin: 0;
}

.jk-status-section-head span {
  color: #465363;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.jk-status-article-grid {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.jk-status-article {
  background: #ffffff;
  border: 1px solid #d7dee6;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.jk-status-group[hidden],
.jk-status-section[hidden],
.jk-status-order-card[hidden],
.jk-status-article[hidden] {
  display: none !important;
}

.jk-status-article--action {
  border-left: 5px solid #d8b84f;
}

.jk-status-article--work {
  border-left: 5px solid #d7833c;
}

.jk-status-article--shipping {
  border-left: 5px solid #4f97cc;
}

.jk-status-article-top {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  padding: 12px;
}

.jk-status-article-image {
  align-items: center;
  aspect-ratio: 1;
  background: #f4f6f8;
  border: 1px solid #c8d0d8;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.jk-status-article-image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.jk-status-article-image span {
  color: #607080;
  font-size: 0.74rem;
  font-weight: 850;
}

.jk-status-article-image.is-empty::before {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.34), rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  content: "";
  height: 18px;
  width: 18px;
}

.jk-status-article-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.jk-status-article-main strong {
  color: #17202a;
  font-size: 0.98rem;
  line-height: 1.35;
}

.jk-status-article-main div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jk-status-item-code {
  background: #eef3f8;
  border: 1px solid #c5ced8;
  border-radius: 4px;
  color: #465363;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 7px;
}

.jk-status-article-facts {
  border-top: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.jk-status-article-facts div {
  border-right: 1px solid #e2e8f0;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.jk-status-article-facts div:last-child {
  border-right: 0;
}

.jk-status-article-facts dt {
  color: #607080;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-status-article-facts dd {
  color: #17202a;
  font-size: 0.9rem;
  font-weight: 850;
  margin: 0;
}

.jk-status-elsewhere {
  background: #eef6ff;
  border-top: 1px solid #c7ddf2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 12px;
}

.jk-status-elsewhere span {
  color: #12344d;
  font-size: 0.78rem;
  font-weight: 900;
}

.jk-status-elsewhere em {
  background: #ffffff;
  border: 1px solid #c7ddf2;
  border-radius: 999px;
  color: #2b4054;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  padding: 3px 8px;
}

.jk-status-article-detail {
  border-top: 1px solid #e2e8f0;
}

.jk-status-article-detail summary {
  color: #12344d;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 10px 12px;
}

.jk-status-article-detail .jk-status-position-table {
  min-width: 0;
}

@media (max-width: 780px) {
  .jk-status-search-panel {
    grid-template-columns: 1fr;
  }

  .jk-status-filter-actions {
    justify-content: flex-start;
  }

  .jk-status-article-top {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .jk-status-article-top > .jk-badge {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .jk-status-article-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-status-article-facts div:nth-child(2n) {
    border-right: 0;
  }

  .jk-status-position-table,
  .jk-status-position-table thead,
  .jk-status-position-table tbody,
  .jk-status-position-table tr,
  .jk-status-position-table th,
  .jk-status-position-table td {
    display: block;
    width: 100%;
  }

  .jk-status-position-table thead {
    display: none;
  }

  .jk-status-position-table tr {
    border-bottom: 1px solid #d7dee6;
    padding: 8px 0;
  }

  .jk-status-position-table td {
    align-items: center;
    border: 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 12px;
    text-align: right;
    white-space: normal;
  }

  .jk-status-position-table td::before {
    color: #607080;
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 850;
    text-align: left;
    text-transform: uppercase;
  }
}

.jk-position-qty {
  min-width: 58px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 850;
}

.jk-review-step {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-left: 3px solid var(--jk-line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 12px 12px 0;
}

.jk-review-step.is-active {
  border-left-color: var(--jk-warning);
  background: var(--jk-warning-soft);
}

.jk-review-step strong {
  color: var(--jk-text);
}

.jk-review-step span {
  color: var(--jk-text-soft);
  line-height: 1.45;
}

.jk-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.jk-department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jk-department-grid--kiosk {
  gap: 16px;
}

.jk-department-card {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 20px;
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform var(--jk-transition-fast), border-color var(--jk-transition-fast), background var(--jk-transition-fast);
}

.jk-department-grid--kiosk .jk-department-card {
  min-height: 190px;
  padding: 24px;
}

.jk-department-grid--kiosk .jk-department-card strong {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.jk-department-grid--kiosk .jk-department-card em {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.jk-department-card:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 162, 255, 0.34);
  background: var(--jk-accent-soft);
}

.jk-department-card strong {
  color: var(--jk-text);
  font-size: 1.08rem;
}

.jk-department-card span,
.jk-department-card small {
  color: var(--jk-text-soft);
  line-height: 1.45;
}

.jk-department-card em {
  align-self: end;
  color: var(--jk-text);
  font-style: normal;
  font-weight: 820;
}

.jk-department-card > b {
  align-self: end;
  background: rgba(59, 130, 246, .24);
  border: 1px solid rgba(147, 197, 253, .42);
  border-radius: 7px;
  color: #dbeafe;
  display: inline-flex;
  font-size: .86rem;
  justify-self: start;
  padding: 8px 10px;
}

.jk-department-card-actions {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.jk-department-card-actions .jk-btn,
.jk-department-card-actions .jk-btn-secondary {
  min-height: 38px;
}

.jk-department-card--blue {
  border-color: rgba(90, 162, 255, 0.35);
  background: linear-gradient(180deg, rgba(90, 162, 255, 0.2), rgba(255, 255, 255, 0.035));
}

.jk-department-card--green {
  border-color: rgba(49, 196, 141, 0.34);
  background: linear-gradient(180deg, rgba(49, 196, 141, 0.2), rgba(255, 255, 255, 0.035));
}

.jk-department-card--amber {
  border-color: rgba(244, 183, 64, 0.34);
  background: linear-gradient(180deg, rgba(244, 183, 64, 0.2), rgba(255, 255, 255, 0.035));
}

.jk-department-card--violet {
  border-color: rgba(181, 120, 255, 0.34);
  background: linear-gradient(180deg, rgba(181, 120, 255, 0.2), rgba(255, 255, 255, 0.035));
}

.jk-department-card--red {
  border-color: rgba(239, 90, 111, 0.34);
  background: linear-gradient(180deg, rgba(239, 90, 111, 0.19), rgba(255, 255, 255, 0.035));
}

.jk-department-card.has-draft {
  border-color: rgba(239, 90, 111, 0.58);
  box-shadow: inset 0 0 0 2px rgba(239, 90, 111, 0.24), 0 18px 40px rgba(239, 90, 111, 0.12);
}

.jk-department-card.has-draft em {
  color: #ffffff;
  background: rgba(239, 90, 111, 0.78);
}

.jk-location-tile {
  min-height: 118px;
  display: grid;
  gap: 6px;
  align-content: center;
  text-align: left;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--jk-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--jk-text);
}

.jk-location-tile.is-active,
.jk-location-tile:hover {
  border-color: rgba(90, 162, 255, 0.36);
  background: var(--jk-accent-soft);
}

.jk-location-tile span,
.jk-location-tile small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-scan-input {
  min-height: 92px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(95, 169, 255, 0.45);
  border-radius: 10px;
  background: rgba(222, 240, 255, 0.12);
}

.jk-scan-card .jk-card-body {
  display: grid;
  gap: 20px;
}

.jk-scan-topline,
.jk-scan-submit-row,
.jk-scan-topline-actions,
.jk-scan-head-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.jk-scan-area-context {
  min-width: 220px;
  display: grid;
  gap: 3px;
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid rgba(90, 162, 255, 0.22);
  border-radius: 12px;
  background: rgba(90, 162, 255, 0.1);
}

.jk-scan-area-context span,
.jk-scan-area-context small {
  color: var(--jk-text-muted);
  line-height: 1.3;
}

.jk-scan-area-context strong {
  color: var(--jk-text);
}

.jk-scan-input--large {
  min-height: 112px;
  border-width: 2px;
  border-color: rgba(153, 205, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(232, 246, 255, 0.22), rgba(123, 193, 255, 0.12)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 16px 34px rgba(47, 124, 246, 0.18);
}

.jk-scan-input--large input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  color: #ffffff;
  background: transparent;
  font-size: clamp(1.45rem, 3.8vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0;
}

.jk-scan-input--large input::placeholder {
  color: #ffffff;
  opacity: 0.96;
}

.jk-scan-input small,
.jk-scan-submit-row span {
  color: var(--jk-text-muted);
  line-height: 1.4;
}

.jk-scan-message {
  padding: 12px 14px;
  border: 1px solid rgba(244, 183, 64, 0.28);
  border-radius: 12px;
  color: var(--jk-text);
  background: var(--jk-warning-soft);
  font-weight: 780;
  line-height: 1.45;
}

.jk-scan-message[hidden] {
  display: none;
}

.jk-scan-rule-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(244, 183, 64, 0.22);
  border-radius: 12px;
  background: var(--jk-warning-soft);
}

.jk-scan-rule-strip strong {
  color: var(--jk-text);
}

.jk-scan-rule-strip span {
  color: var(--jk-text-soft);
  line-height: 1.45;
}

.jk-phone-scan-panel {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.jk-phone-scan-panel[hidden] {
  display: none;
}

.jk-phone-scan-panel video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background: #05080d;
}

.jk-phone-scan-panel span {
  color: var(--jk-text-soft);
  line-height: 1.45;
}

.jk-scan-divider {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90, 162, 255, 0), rgba(90, 162, 255, 0.95), rgba(49, 196, 141, 0.45));
}

.jk-scan-empty {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px dashed var(--jk-line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.jk-scan-empty[hidden] {
  display: none;
}

.jk-scan-empty strong {
  color: var(--jk-text);
}

.jk-scan-empty span {
  color: var(--jk-text-muted);
  line-height: 1.45;
}

.jk-position-list--scan {
  gap: 14px;
}

.jk-position-row--scan {
  min-height: 72px;
  grid-template-columns: 144px minmax(0, 1fr) minmax(112px, auto);
  gap: 14px;
  padding: 12px;
}

.jk-process-check-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 9px 10px;
  border: 1px solid rgba(244, 183, 64, 0.5);
  border-radius: 12px;
  background: rgba(244, 183, 64, 0.1);
}

.jk-process-check-image {
  display: grid;
  place-items: center;
  width: 76px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(244, 183, 64, 0.28);
  border-radius: 10px;
  color: #f4b740;
  background: rgba(255, 255, 255, 0.055);
  font-size: 1rem;
  font-weight: 950;
}

.jk-process-check-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.jk-process-check-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.jk-process-check-main span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: #ffd76a;
  background: rgba(244, 183, 64, 0.15);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-process-check-main .jk-process-check-status {
  color: #ffd76a;
  font-weight: 500;
  text-transform: none;
}

.jk-process-check-main strong {
  color: var(--jk-text);
  font-size: 0.92rem;
  line-height: 1.2;
}

.jk-process-check-main small {
  margin: 0;
  color: var(--jk-text-soft);
  font-size: 0.78rem;
  line-height: 1.25;
}

.jk-process-check-remove {
  justify-self: end;
  border: 1px solid rgba(244, 183, 64, 0.35);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.jk-process-check-remove:hover,
.jk-process-check-remove:focus-visible {
  border-color: rgba(244, 183, 64, 0.75);
  background: rgba(244, 183, 64, 0.16);
  outline: none;
}

.jk-position-row--scan .jk-position-image {
  grid-row: 1 / span 2;
}

.jk-position-row--scan .jk-position-main strong {
  font-size: 0.96rem;
  line-height: 1.25;
}

.jk-position-row--foreign_article {
  border-color: rgba(87, 181, 255, 0.36);
  background: rgba(87, 181, 255, 0.075);
}

.jk-position-row--review_article {
  border-color: rgba(244, 183, 64, 0.42);
  background: rgba(244, 183, 64, 0.07);
}

.jk-position-main .jk-position-kind {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--jk-line-strong);
  border-radius: 999px;
  color: var(--jk-text-soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.jk-position-row--foreign_article .jk-position-kind {
  color: #dff3ff;
  border-color: rgba(87, 181, 255, 0.42);
  background: rgba(87, 181, 255, 0.16);
}

.jk-position-row--review_article .jk-position-kind {
  color: #fff0c2;
  border-color: rgba(244, 183, 64, 0.45);
  background: rgba(244, 183, 64, 0.16);
}

.jk-position-main .jk-customer-catalog-no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(245, 183, 77, 0.55);
  border-radius: 8px;
  color: #fff7dc;
  background: rgba(154, 96, 7, 0.48);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255, 212, 110, 0.12) inset;
}

.jk-customer-workbench {
  min-height: calc(100vh - 78px);
}

.jk-customer-workbench .jk-dashboard-head {
  margin-bottom: 18px;
}

.jk-customer-home {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: start;
  padding: 8px 0 28px;
}

.jk-customer-station-shell {
  width: min(calc(100% - 28px), 1040px);
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

.jk-customer-home .jk-customer-main {
  gap: 10px;
}

.jk-customer-work-section {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.jk-customer-work-section--status,
.jk-customer-work-section--documents,
.jk-customer-work-section--kanban-admin {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  padding: 14px;
}

.jk-customer-work-section--status {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), rgba(49, 196, 141, 0.06));
  border-color: rgba(87, 181, 255, 0.28);
}

.jk-customer-work-section--documents {
  background: linear-gradient(90deg, rgba(244, 183, 64, 0.14), rgba(255, 255, 255, 0.025));
  border-color: rgba(244, 183, 64, 0.28);
}

.jk-customer-work-section--kanban-admin {
  background: linear-gradient(90deg, rgba(49, 196, 141, 0.13), rgba(14, 165, 233, 0.065));
  border-color: rgba(49, 196, 141, 0.26);
}

.jk-customer-work-section .jk-exec-section-head {
  margin-bottom: 0;
}

.jk-customer-work-section .jk-exec-section-head h2 {
  font-size: 1.16rem;
  letter-spacing: 0;
}

.jk-customer-dashboard-flow {
  display: grid;
  gap: 18px;
}

.jk-customer-topic-menu {
  margin: 0;
}

.jk-customer-topic-menu .jk-exec-menu-link {
  min-height: 58px;
}

.jk-customer-home .jk-kiosk-primary {
  min-height: clamp(104px, 15svh, 132px);
}

.jk-customer-order-panel .jk-kiosk-primary {
  margin-top: 0;
}

.jk-customer-home .jk-kiosk-primary strong {
  font-size: clamp(2.2rem, 5.5vw, 3.45rem);
}

.jk-customer-home .jk-customer-section {
  gap: 8px;
}

.jk-customer-home .jk-customer-section-head h2 {
  font-size: 0.95rem;
}

.jk-customer-section-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-customer-home-top {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.jk-order-hero {
  margin-top: 8px;
}

.jk-order-main-button {
  border: 1px solid rgba(96, 165, 250, 0.48);
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.2);
  color: var(--jk-text);
  display: grid;
  gap: 7px;
  min-height: 124px;
  padding: 24px;
  text-decoration: none;
}

.jk-order-main-button span {
  color: var(--jk-accent-soft);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.jk-order-main-button strong {
  color: var(--jk-text);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.1;
}

.jk-order-path-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-customer-order-paths {
  margin-top: 0;
}

.jk-order-path,
.jk-customer-simple-card {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.jk-order-path {
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 14px;
}

.jk-order-path--kanban {
  border-color: rgba(49, 196, 141, 0.38);
  background: rgba(49, 196, 141, 0.09);
}

.jk-order-path--shop {
  border-color: rgba(87, 181, 255, 0.38);
  background: rgba(87, 181, 255, 0.08);
}

.jk-order-path--customer {
  border-color: rgba(87, 181, 255, 0.38);
  background: rgba(87, 181, 255, 0.08);
}

.jk-order-path--request {
  border-color: rgba(244, 183, 64, 0.42);
  background: rgba(244, 183, 64, 0.08);
}

.jk-order-path strong {
  color: var(--jk-text);
  font-size: 1.08rem;
  font-weight: 950;
}

.jk-order-path span,
.jk-order-path small,
.jk-customer-simple-card small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-order-path small {
  align-self: end;
  color: var(--jk-text-soft);
  font-size: 0.8rem;
}

.jk-customer-simple-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-customer-simple-grid--management {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-customer-simple-card {
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 12px 14px;
}

.jk-customer-simple-card > span {
  color: var(--jk-accent-soft);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
}

.jk-customer-simple-card strong {
  color: var(--jk-text);
  font-size: 0.98rem;
  font-weight: 950;
}

.jk-customer-simple-card--kanban {
  border-color: rgba(49, 196, 141, 0.32);
  background: rgba(49, 196, 141, 0.07);
}

.jk-customer-simple-card--planner {
  border-color: rgba(14, 165, 233, 0.36);
  background: rgba(14, 165, 233, 0.075);
}

.jk-customer-simple-card--orders {
  border-color: rgba(37, 99, 235, 0.34);
  background: rgba(37, 99, 235, 0.08);
}

.jk-customer-simple-card--history,
.jk-customer-simple-card--documents {
  border-color: rgba(244, 183, 64, 0.32);
  background: rgba(244, 183, 64, 0.065);
}

.jk-customer-simple-card--shop,
.jk-customer-simple-card--delivery,
.jk-customer-simple-card--customer {
  border-color: rgba(87, 181, 255, 0.32);
  background: rgba(87, 181, 255, 0.065);
}

.jk-customer-simple-card--chat,
.jk-customer-simple-card--offer {
  border-color: rgba(167, 139, 250, 0.32);
  background: rgba(167, 139, 250, 0.065);
}

.jk-exec-menu-link--offer {
  background: rgba(167, 139, 250, 0.08);
}

.jk-exec-menu-link--offer span,
.jk-exec-menu-link--offer strong,
.jk-exec-menu-link--offer em {
  color: #f0e9ff;
}

.jk-exec-menu-link--orders {
  background: rgba(37, 99, 235, 0.08);
}

.jk-exec-menu-link--orders span,
.jk-exec-menu-link--orders strong,
.jk-exec-menu-link--orders em {
  color: #dbeafe;
}

.jk-exec-menu-link--documents {
  background: rgba(244, 183, 64, 0.07);
}

.jk-customer-simple-card--request {
  border-color: rgba(244, 183, 64, 0.34);
  background: rgba(244, 183, 64, 0.075);
}

.jk-customer-simple-card.is-alert {
  box-shadow: 0 0 0 1px rgba(244, 183, 64, 0.16) inset, 0 12px 28px rgba(244, 183, 64, 0.08);
}

.jk-kanban-config {
  padding: 18px 0 34px;
}

.jk-kanban-config-shell {
  display: grid;
  gap: 18px;
}

.jk-kanban-config-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.jk-warehouse-hall-panel {
  background: #edf2f7;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.jk-warehouse-hall-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.jk-warehouse-hall-head small {
  color: var(--jk-text-muted);
  line-height: 1.35;
  max-width: 520px;
  text-align: right;
}

.jk-warehouse-hall-map {
  align-items: stretch;
  background:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    #ffffff;
  background-size: 24px 24px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  height: 2400px;
  min-height: 2400px;
  min-width: 2600px;
  overflow: auto;
  padding: 0;
  position: relative;
}

.jk-kanban-config--warehouse-view .jk-warehouse-layout-builder {
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
  overflow: hidden;
}

.jk-kanban-config--warehouse-view .jk-warehouse-hall-map {
  background:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    #eef6ff;
  height: min(72vh, 920px);
  max-width: 100%;
  min-height: 620px;
  min-width: 0;
  width: 100%;
}

.jk-kanban-config--warehouse-view .jk-warehouse-zone {
  cursor: pointer;
  touch-action: manipulation;
}

.jk-warehouse-zone,
.jk-warehouse-aisle {
  border-radius: 7px;
  min-width: 0;
}

.jk-warehouse-zone {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-sizing: border-box;
  color: var(--jk-text);
  display: grid;
  gap: 7px;
  grid-template-rows: minmax(0, 1fr);
  justify-items: start;
  min-height: 28px;
  min-width: 28px;
  padding: 12px;
  position: absolute;
  text-align: left;
  touch-action: none;
  overflow: hidden;
}

.jk-warehouse-zone-title {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 6px;
  justify-items: start;
  min-width: 0;
  padding: 0;
  text-align: left;
  width: 100%;
}

.jk-warehouse-hall-map .jk-warehouse-zone-title {
  display: none;
}

.jk-warehouse-zone-title strong {
  font-size: 1.15rem;
  font-weight: 950;
}

.jk-warehouse-zone-title span,
.jk-warehouse-zone-title em {
  color: var(--jk-text-muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.25;
}

.jk-warehouse-zone.is-active {
  border-color: rgba(15, 118, 110, 0.56);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.jk-warehouse-zone.is-layout-selected {
  outline: 2px solid #f97316;
  outline-offset: 2px;
  z-index: 20;
}

.jk-warehouse-layout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.jk-warehouse-layout-builder {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.jk-warehouse-layout-builder--readonly {
  grid-template-columns: minmax(0, 1fr);
}

.jk-warehouse-area-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 10px;
}

.jk-warehouse-area-tabs button,
.jk-warehouse-area-tabs a {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 7px;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 140px;
  padding: 8px 10px;
  text-align: left;
  text-decoration: none;
}

.jk-warehouse-area-tabs button.is-active,
.jk-warehouse-area-tabs a.is-active {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.jk-warehouse-area-tabs span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
}

.jk-warehouse-area-tabs strong {
  color: #0f172a;
  font-size: 0.82rem;
}

.jk-kanban-config--compact-hall .jk-warehouse-hall-map {
  height: 760px;
  min-height: 760px;
  min-width: 1120px;
}

.jk-kanban-config--hall-readonly .jk-warehouse-zone {
  cursor: pointer;
  touch-action: auto;
}

.jk-kanban-config--hall-readonly .jk-warehouse-resize,
.jk-kanban-config--hall-readonly .jk-warehouse-rack-chip--add {
  display: none;
}

.jk-warehouse-toolbox {
  align-content: start;
  background: #172033;
  border: 1px solid rgba(15, 23, 42, 0.35);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  padding: 12px;
}

.jk-warehouse-search-panel .jk-label,
.jk-warehouse-search-panel .jk-rack-search-results {
  color: #334155;
}

.jk-warehouse-search-panel .jk-input {
  background: #ffffff;
  color: #0f172a;
}

.jk-warehouse-search-panel .jk-input::placeholder {
  color: #64748b;
}

.jk-warehouse-toolbox strong {
  color: #ffffff;
  font-weight: 950;
}

.jk-warehouse-toolbox button.jk-warehouse-tool {
  appearance: none;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 7px;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  gap: 4px 9px;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 72px;
  padding: 9px;
  text-align: left;
}

.jk-warehouse-tool b,
.jk-warehouse-tool small {
  min-width: 0;
}

.jk-warehouse-tool b {
  font-size: 0.86rem;
  font-weight: 950;
}

.jk-warehouse-tool small {
  color: #64748b;
  font-size: 0.76rem;
  grid-column: 2;
}

.jk-warehouse-tool-icon {
  background: #f8fafc;
  border: 2px solid #0f172a;
  display: block;
  grid-row: span 2;
  min-height: 42px;
}

.jk-warehouse-tool-icon--vertical {
  height: 54px;
  width: 22px;
}

.jk-warehouse-tool-icon--horizontal,
.jk-warehouse-tool-icon--head {
  height: 22px;
  width: 54px;
}

.jk-warehouse-tool-icon--cart {
  border-color: #6366f1;
  border-radius: 4px;
  height: 34px;
  position: relative;
  width: 48px;
}

.jk-warehouse-tool-icon--cart::before,
.jk-warehouse-tool-icon--cart::after {
  background: #6366f1;
  border-radius: 99px;
  bottom: -8px;
  content: "";
  height: 8px;
  position: absolute;
  width: 8px;
}

.jk-warehouse-tool-icon--cart::before {
  left: 6px;
}

.jk-warehouse-tool-icon--cart::after {
  right: 6px;
}

.jk-warehouse-tool-icon--workbench {
  border-color: #7c3aed;
  border-bottom-width: 8px;
  height: 28px;
  width: 58px;
}

.jk-warehouse-toolbox label {
  display: grid;
  gap: 4px;
}

.jk-warehouse-toolbox label span,
.jk-warehouse-toolbox small {
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 850;
}

.jk-warehouse-canvas-empty {
  align-items: center;
  border: 2px dashed rgba(100, 116, 139, 0.35);
  border-radius: 8px;
  color: #64748b;
  display: flex;
  font-weight: 900;
  inset: 18px;
  justify-content: center;
  pointer-events: none;
  position: absolute;
}

.jk-warehouse-canvas-empty[hidden] {
  display: none;
}

.jk-warehouse-resize {
  background: #f97316;
  border: 2px solid #ffffff;
  bottom: -6px;
  cursor: nwse-resize;
  height: 14px;
  position: absolute;
  right: -6px;
  width: 14px;
}

.jk-warehouse-layout-actions button,
.jk-warehouse-layout-actions a {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 7px;
  color: #0f172a !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 8px 10px;
  text-decoration: none;
  text-shadow: none;
}

.jk-warehouse-layout-actions [data-layout-zoom-reset] {
  min-width: 54px;
}

.jk-layout-link-dialog {
  max-width: 620px;
}

.jk-layout-link-body {
  display: grid;
  gap: 14px;
}

.jk-layout-link-body p {
  color: #cbd5e1;
  font-weight: 850;
  margin: 0;
}

.jk-layout-link-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.jk-layout-link-option {
  align-items: center;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 12px;
}

.jk-layout-link-option:has(input:checked) {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.jk-layout-link-option input {
  height: 18px;
  width: 18px;
}

.jk-layout-link-option span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.jk-layout-link-option strong {
  color: #f8fafc;
  font-size: 0.92rem;
}

.jk-layout-link-option em,
.jk-layout-link-option small,
.jk-layout-link-empty {
  color: #94a3b8;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.jk-layout-link-option small {
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 999px;
  color: #bfdbfe;
  padding: 4px 8px;
}

.jk-warehouse-zone--tower {
  align-content: stretch;
  border-top: 8px solid #2563eb;
  justify-items: stretch;
  padding: 8px;
}

.jk-warehouse-zone--vertical,
.jk-warehouse-zone--wall {
  align-content: start;
  border-left: 8px solid #0f766e;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  justify-items: stretch;
  padding: 8px 8px 8px 10px;
}

.jk-warehouse-zone--vertical .jk-warehouse-zone-title,
.jk-warehouse-zone--wall .jk-warehouse-zone-title {
  align-self: stretch;
  grid-column: 1;
  grid-row: 1;
  justify-items: center;
  min-height: 0;
  writing-mode: vertical-rl;
}

.jk-warehouse-zone--vertical .jk-warehouse-rack-stack,
.jk-warehouse-zone--wall .jk-warehouse-rack-stack {
  grid-column: 1;
  grid-row: 1;
}

.jk-warehouse-zone--vertical .jk-warehouse-zone-title span,
.jk-warehouse-zone--vertical .jk-warehouse-zone-title strong,
.jk-warehouse-zone--vertical .jk-warehouse-zone-title em,
.jk-warehouse-zone--wall .jk-warehouse-zone-title span,
.jk-warehouse-zone--wall .jk-warehouse-zone-title strong,
.jk-warehouse-zone--wall .jk-warehouse-zone-title em {
  line-height: 1.1;
}

.jk-warehouse-zone--vertical .jk-warehouse-zone-title strong,
.jk-warehouse-zone--wall .jk-warehouse-zone-title strong {
  font-size: 0.92rem;
}

.jk-warehouse-zone--horizontal,
.jk-warehouse-zone--row {
  align-content: center;
  border-top: 8px solid #2563eb;
}

.jk-warehouse-zone--horizontal .jk-warehouse-rack-stack {
  align-items: stretch;
  grid-auto-flow: column;
  grid-auto-columns: minmax(56px, 1fr);
  grid-template-columns: none;
  overflow: hidden;
}

.jk-warehouse-zone--horizontal .jk-warehouse-rack-chip {
  min-height: 100%;
}

.jk-warehouse-zone--workbench {
  align-content: center;
  background: #f5f3ff;
  border-top: 8px solid #7c3aed;
}

.jk-warehouse-zone.is-back-to-back {
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.28),
    0 12px 24px rgba(15, 23, 42, 0.12),
    inset 0 -5px 0 #2563eb;
}

.jk-warehouse-zone.is-back-to-back::after {
  background: #2563eb;
  border-radius: 999px;
  bottom: 6px;
  color: #ffffff;
  content: "Rücken an Rücken";
  font-size: 0.58rem;
  font-weight: 950;
  left: 8px;
  line-height: 1;
  padding: 4px 7px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
}

.jk-warehouse-zone--head {
  align-content: start;
  border-top: 8px solid #0f766e;
}

.jk-warehouse-zone--sales {
  align-content: end;
  background: #fff7ed;
  border-right: 8px solid #f97316;
}

.jk-warehouse-search-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.jk-warehouse-rack-stack {
  align-self: stretch;
  align-items: stretch;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100%;
}

.jk-warehouse-rack-stack--vertical {
  grid-auto-flow: column;
  grid-auto-columns: minmax(28px, 1fr);
  grid-template-columns: none;
}

.jk-warehouse-rack-stack--sales {
  align-items: end;
}

.jk-warehouse-zone--tower .jk-warehouse-rack-stack {
  grid-template-columns: 1fr;
}

.jk-warehouse-workbench-label {
  align-self: stretch;
  background: repeating-linear-gradient(90deg, #ede9fe, #ede9fe 14px, #ddd6fe 14px, #ddd6fe 28px);
  border: 2px solid #4c1d95;
  color: #2e1065;
  display: grid;
  font-size: 0.84rem;
  font-weight: 950;
  min-height: 42px;
  place-items: center;
  text-align: center;
}

.jk-warehouse-rack-chip {
  align-items: center;
  appearance: none;
  background: #f8fafc;
  border: 2px solid #0f172a;
  border-radius: 0;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 950;
  justify-content: center;
  line-height: 1;
  min-height: 30px;
  min-width: 0;
  overflow: hidden;
  padding: 5px 7px;
  text-align: center;
  white-space: nowrap;
}

.jk-warehouse-rack-chip span,
.jk-warehouse-rack-chip small {
  display: block;
  line-height: 1;
}

.jk-warehouse-rack-chip small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 900;
  margin-top: 4px;
}

.jk-warehouse-zone--vertical .jk-warehouse-rack-chip,
.jk-warehouse-zone--wall .jk-warehouse-rack-chip {
  min-height: 100%;
  padding: 4px 2px;
  writing-mode: vertical-rl;
}

.jk-warehouse-zone--vertical .jk-warehouse-rack-chip small,
.jk-warehouse-zone--wall .jk-warehouse-rack-chip small {
  margin-top: 0;
  margin-inline-start: 4px;
}

.jk-warehouse-rack-chip:hover,
.jk-warehouse-rack-chip:focus-visible {
  background: #e0f2fe;
  outline: 2px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}

.jk-warehouse-rack-chip--add {
  background: #ecfdf5;
  border-style: dashed;
  color: #047857;
}

.jk-warehouse-zone--vertical .jk-warehouse-rack-chip--add,
.jk-warehouse-zone--wall .jk-warehouse-rack-chip--add {
  writing-mode: horizontal-tb;
}

.jk-hall-rack-config-dialog {
  max-width: 420px;
}

.jk-hall-rack-config-body {
  display: grid;
  gap: 14px;
}

.jk-hall-rack-config-body .jk-btn-danger {
  border-color: rgba(220, 38, 38, 0.32);
  color: #b91c1c;
}

.jk-status-layout-map {
  background:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    #ffffff;
  background-size: 24px 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  height: 280px;
  overflow: auto;
  position: relative;
}

.jk-status-layout-map .jk-warehouse-zone {
  min-height: 28px;
  min-width: 28px;
  padding: 6px;
}

.jk-status-layout-map .jk-warehouse-rack-chip {
  font-size: 0.68rem;
  min-height: 24px;
}

.jk-status-layout-map .jk-warehouse-resize,
.jk-status-layout-map .jk-warehouse-rack-chip--add {
  display: none;
}

.jk-warehouse-layout-actions button:disabled {
  background: #f8fafc;
  color: #475569 !important;
  opacity: 1;
}

.jk-customer-rack-view {
  background: #edf2f7;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 16px;
}

.jk-customer-rack-view-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.jk-customer-rack-view-head small {
  color: #475569;
  font-weight: 850;
}

.jk-customer-rack-groups {
  display: grid;
  gap: 14px;
}

.jk-customer-layout-sketch {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.jk-customer-layout-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-top: 8px solid #2563eb;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 9px;
  min-height: 96px;
  padding: 11px;
}

.jk-customer-layout-card[hidden] {
  display: none !important;
}

.jk-customer-layout-card.is-back-to-back {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.12),
    0 10px 20px rgba(15, 23, 42, 0.06);
}

.jk-customer-rack-link-badge {
  align-self: start;
  background: #dbeafe;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 950;
  padding: 4px 8px;
  width: max-content;
}

.jk-customer-layout-card--tower,
.jk-customer-layout-card--vertical,
.jk-customer-layout-card--wall {
  border-left: 8px solid #0f766e;
  border-top-width: 1px;
}

.jk-customer-layout-card--cart {
  border-top-color: #6366f1;
  position: relative;
}

.jk-customer-layout-card--cart::before,
.jk-customer-layout-card--cart::after {
  background: #6366f1;
  border-radius: 99px;
  bottom: 7px;
  content: "";
  height: 10px;
  position: absolute;
  width: 10px;
}

.jk-customer-layout-card--cart::before {
  left: 16px;
}

.jk-customer-layout-card--cart::after {
  right: 16px;
}

.jk-customer-layout-card--workbench {
  border-top-color: #7c3aed;
}

.jk-customer-layout-card--workbench .jk-customer-layout-card-racks {
  display: block;
}

.jk-customer-layout-card--workbench .jk-customer-layout-card-racks::before {
  background: repeating-linear-gradient(90deg, #ede9fe, #ede9fe 14px, #ddd6fe 14px, #ddd6fe 28px);
  border: 2px solid #4c1d95;
  color: #2e1065;
  content: "Arbeitsfläche";
  display: grid;
  font-size: 0.78rem;
  font-weight: 950;
  min-height: 34px;
  place-items: center;
}

.jk-customer-layout-card header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.jk-customer-layout-card header strong {
  color: #334155;
  font-size: 0.82rem;
}

.jk-customer-layout-card header small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
}

.jk-customer-layout-card-racks {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
}

.jk-customer-layout-card-racks--vertical {
  grid-template-columns: repeat(auto-fit, minmax(28px, 1fr));
}

.jk-customer-layout-card-racks span {
  background: #f8fafc;
  border: 2px solid #0f172a;
  color: #0f172a;
  display: grid;
  font-size: 0.68rem;
  font-weight: 950;
  min-height: 28px;
  place-items: center;
}

.jk-customer-rack-group[hidden] {
  display: none !important;
}

.jk-customer-rack-group {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
  padding: 14px;
}

.jk-customer-rack-group.is-back-to-back {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.1),
    0 12px 26px rgba(15, 23, 42, 0.08);
}

.jk-customer-rack-group header {
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}

.jk-customer-rack-group header span {
  color: #334155;
  font-weight: 950;
}

.jk-customer-rack-group header strong {
  color: #64748b;
  font-size: 0.82rem;
}

.jk-customer-rack-group header em {
  background: #dbeafe;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  padding: 5px 9px;
}

.jk-customer-rack-stack {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(96px, 132px));
}

.jk-customer-rack-stack--vertical {
  grid-template-columns: repeat(auto-fit, minmax(76px, 96px));
}

.jk-customer-rack-wall {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 260px));
}

.jk-customer-rack-wall--compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
}

.jk-customer-rack-wall--cart {
  grid-template-columns: repeat(auto-fit, minmax(190px, 230px));
}

.jk-customer-rack-group--cart .jk-customer-rack-visual {
  background: #eef2ff;
  border-left: 0;
  border-right: 0;
  border-top: 8px solid #6366f1;
  min-height: 245px;
  position: relative;
}

.jk-customer-rack-group--cart .jk-customer-rack-visual::before,
.jk-customer-rack-group--cart .jk-customer-rack-visual::after {
  background: #6366f1;
  border: 2px solid #eef2ff;
  border-radius: 99px;
  bottom: -8px;
  content: "";
  height: 16px;
  position: absolute;
  width: 16px;
}

.jk-customer-rack-group--cart .jk-customer-rack-visual::before {
  left: 28px;
}

.jk-customer-rack-group--cart .jk-customer-rack-visual::after {
  right: 28px;
}

.jk-customer-rack-group--cart .jk-customer-rack-shelf {
  min-height: 34px;
}

.jk-customer-workbench-visual {
  background: repeating-linear-gradient(90deg, #ede9fe, #ede9fe 18px, #ddd6fe 18px, #ddd6fe 36px);
  border: 2px solid #4c1d95;
  border-top: 10px solid #7c3aed;
  border-radius: 8px;
  color: #2e1065;
  display: grid;
  gap: 6px;
  min-height: 120px;
  padding: 18px;
  place-items: center;
  text-align: center;
}

.jk-customer-workbench-visual strong {
  color: #2e1065;
  font-size: 1rem;
  font-weight: 950;
}

.jk-customer-workbench-visual span {
  color: #5b21b6;
  font-weight: 900;
}

.jk-customer-rack-visual {
  background:
    linear-gradient(90deg, rgba(226, 232, 240, 0.9) 0 8px, transparent 8px calc(100% - 8px), rgba(226, 232, 240, 0.9) calc(100% - 8px)),
    linear-gradient(180deg, rgba(248, 250, 252, 0.18), rgba(15, 23, 42, 0.12)),
    #394150;
  border: 1px solid rgba(226, 232, 240, 0.38);
  border-radius: 7px;
  box-shadow: inset 18px 0 0 rgba(148, 163, 184, 0.18), inset -18px 0 0 rgba(148, 163, 184, 0.18), 0 18px 40px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 0;
  grid-template-rows: auto auto 1fr;
  min-height: 610px;
  padding: 0 22px 20px;
  position: relative;
}

.jk-customer-rack-visual::before,
.jk-customer-rack-visual::after {
  background: repeating-linear-gradient(180deg, rgba(15, 23, 42, 0.34) 0 2px, rgba(226, 232, 240, 0.8) 2px 5px, transparent 5px 18px);
  content: "";
  inset: 42px auto 16px 7px;
  position: absolute;
  width: 8px;
  z-index: 0;
}

.jk-customer-rack-visual::after {
  left: auto;
  right: 7px;
}

.jk-customer-rack-visual--cart {
  background: #eef2ff;
  border-left: 0;
  border-right: 0;
  border-top: 8px solid #6366f1;
  min-height: 245px;
  position: relative;
}

.jk-customer-rack-visual--cart::before,
.jk-customer-rack-visual--cart::after {
  background: #6366f1;
  border: 2px solid #eef2ff;
  border-radius: 99px;
  bottom: -8px;
  content: "";
  height: 16px;
  position: absolute;
  width: 16px;
}

.jk-customer-rack-visual--cart::before {
  left: 28px;
}

.jk-customer-rack-visual--cart::after {
  right: 28px;
}

.jk-customer-rack-visual--cart .jk-customer-rack-shelf {
  min-height: 34px;
}

.jk-customer-rack-visual--cart .jk-customer-rack-shelf i {
  height: 8px;
}

.jk-customer-rack-visual header {
  align-items: start;
  border: 0;
  display: grid;
  gap: 7px;
  grid-template-columns: 74px minmax(0, 1fr) 34px;
  margin: 7px 4px 0;
  padding: 0;
  position: relative;
  z-index: 4;
}

.jk-customer-rack-visual header > button {
  appearance: none;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.24);
  border-left: 0;
  border-radius: 8px;
  border-right: 0;
  border-top: 0;
  color: #ffffff;
  cursor: pointer;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 0;
  text-align: center;
}

.jk-customer-rack-visual header label {
  display: grid;
  gap: 3px;
}

.jk-customer-rack-visual header label span {
  color: var(--jk-text-soft);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
}

.jk-customer-rack-visual .jk-rack-head-actions-mini {
  display: grid;
  gap: 4px;
  grid-template-columns: 32px;
}

.jk-customer-rack-visual .jk-rack-mini-action {
  pointer-events: none;
}

.jk-customer-rack-visual header > button strong,
.jk-customer-rack-visual header > button small {
  color: #ffffff;
}

.jk-customer-rack-visual header > button small {
  opacity: 0.72;
}

.jk-customer-rack-side-toggle {
  background: rgba(15, 23, 42, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  display: flex;
  padding: 3px;
}

.jk-customer-rack-side-toggle button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #cbd5e1;
  cursor: pointer;
  font-weight: 950;
  min-width: 34px;
  padding: 6px 8px;
}

.jk-customer-rack-side-toggle button.is-active {
  background: #2563eb;
  color: #ffffff;
}

.jk-customer-rack-frame {
  display: grid;
  gap: 0;
  grid-auto-rows: minmax(88px, auto);
  padding: 28px 7px 0;
  position: relative;
  z-index: 1;
}

.jk-customer-rack-shelf {
  appearance: none;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(148, 163, 184, 0.78) 58%, rgba(71, 85, 105, 0.92));
  border: 1px solid rgba(248, 250, 252, 0.48);
  border-radius: 4px;
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.24);
  color: #0f172a;
  cursor: pointer;
  display: block;
  margin: 0 3px 12px;
  min-height: 68px;
  overflow: hidden;
  padding: 0 0 5px;
  position: relative;
  text-align: left;
}

.jk-customer-rack-shelf > strong[data-readonly-box-count] {
  background: #2563eb;
  border-radius: 99px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 950;
  padding: 3px 7px;
  position: absolute;
  right: 13px;
  top: 6px;
  z-index: 5;
}

.jk-customer-rack-shelf > strong[data-readonly-box-count]:empty {
  display: none;
}

.jk-customer-rack-shelf span {
  background: rgba(15, 23, 42, 0.86);
  border-radius: 5px;
  color: #ffffff;
  display: block;
  font-size: 0.64rem;
  font-weight: 950;
  left: 12px;
  max-width: calc(100% - 72px);
  overflow: hidden;
  padding: 4px 7px;
  position: absolute;
  text-overflow: ellipsis;
  top: 4px;
  white-space: nowrap;
  z-index: 4;
}

.jk-customer-rack-shelf em {
  color: #cbd5e1;
  display: none;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 850;
  justify-self: end;
}

.jk-customer-rack-shelf i {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  gap: 5px;
  inset: 26px 12px 6px 12px;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  z-index: 2;
}

.jk-customer-rack-shelf.is-filled i,
.jk-readonly-rack-shelf-row.is-filled i {
  background: transparent;
}

.jk-customer-rack-box-mini,
.jk-customer-rack-box-more {
  align-items: center;
  align-self: stretch;
  background: linear-gradient(180deg, #dbeafe 0%, #60a5fa 54%, #2563eb 100%);
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  color: #ffffff;
  display: grid;
  font-style: normal;
  font-weight: 950;
  justify-items: center;
  line-height: 1;
  min-width: 28px;
  padding: 3px 5px;
  text-shadow: 0 1px 0 rgba(15, 23, 42, 0.22);
}

.jk-customer-rack-box-mini span {
  color: #ffffff;
  font-size: 0.62rem;
}

.jk-customer-rack-box-mini small,
.jk-customer-rack-box-mini em {
  color: #e0f2fe;
  font-size: 0.52rem;
  font-style: normal;
  max-width: 46px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-customer-rack-box-more {
  background: #1e293b;
  font-size: 0.68rem;
}

.jk-customer-rack-shelf:hover,
.jk-customer-rack-shelf:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.36);
  outline-offset: 2px;
}

.jk-customer-rack-card {
  appearance: none;
  background: linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
  border: 2px solid #0f172a;
  border-radius: 3px;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  min-height: 76px;
  padding: 12px 10px;
  place-items: center;
  text-align: center;
}

.jk-customer-rack-card:hover,
.jk-customer-rack-card:focus-visible {
  background: #e0f2fe;
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.jk-customer-rack-card span {
  font-weight: 950;
}

.jk-customer-rack-card small {
  color: #64748b;
  font-weight: 900;
}

.jk-customer-rack-empty {
  background: #ffffff;
  border: 1px dashed rgba(100, 116, 139, 0.45);
  border-radius: 8px;
  color: #475569;
  display: grid;
  gap: 6px;
  padding: 22px;
}

.jk-readonly-rack-detail {
  display: grid;
  gap: 14px;
}

.jk-readonly-rack-detail-dialog {
  max-height: 92vh;
  max-width: 1480px;
  overflow: auto;
  width: min(92vw, 1480px);
}

.jk-readonly-rack-meta {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.jk-readonly-rack-meta span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 850;
}

.jk-readonly-rack-meta strong {
  color: #0f172a;
}

.jk-readonly-rack-shelves {
  display: grid;
  gap: 8px;
}

.jk-readonly-rack-modal-view {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(320px, 560px) minmax(260px, 1fr);
}

.jk-readonly-admin-rack {
  width: min(100%, 540px);
}

.jk-readonly-admin-rack .jk-kanban-rack-body {
  max-height: 68vh;
  overflow: auto;
}

.jk-readonly-admin-rack .jk-shelf-name-input,
.jk-readonly-admin-rack .jk-rack-name-input {
  pointer-events: none;
}

.jk-readonly-rack-focus-empty {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  color: #cbd5e1;
  display: grid;
  gap: 8px;
  min-height: 220px;
  padding: 18px;
}

.jk-readonly-rack-focus-empty strong {
  color: #ffffff;
}

.jk-readonly-rack-shelf-row {
  appearance: none;
  background: linear-gradient(180deg, #f8fafc 0%, #b8c4d2 100%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 5px;
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 0 rgba(15, 23, 42, 0.28);
  color: #0f172a;
  cursor: pointer;
  display: grid;
  gap: 6px;
  grid-template-columns: 38px 1fr;
  min-height: 48px;
  overflow: hidden;
  padding: 7px 9px;
  text-align: left;
}

.jk-readonly-rack-shelf-row span {
  font-weight: 950;
}

.jk-readonly-rack-shelf-row em {
  color: #475569;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  justify-self: end;
}

.jk-readonly-rack-shelf-row i {
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 100%);
  border-radius: 5px;
  display: flex;
  gap: 5px;
  grid-column: 1 / -1;
  min-height: 18px;
  overflow: hidden;
  padding: 3px;
}

.jk-readonly-rack-shelf-row.is-selected {
  outline: 3px solid rgba(37, 99, 235, 0.42);
  outline-offset: 2px;
}

.jk-readonly-rack-shelves > div:not(.jk-readonly-rack-modal-view) {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #e8eef5 100%);
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  grid-template-columns: 52px 1fr 1fr;
  min-height: 42px;
  padding: 8px 10px;
}

.jk-readonly-rack-shelves > div:not(.jk-readonly-rack-modal-view) strong {
  color: #0f172a;
}

.jk-readonly-rack-shelves > div:not(.jk-readonly-rack-modal-view) span {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 850;
}

.jk-warehouse-zone--cart {
  background: #eef2ff;
  border-color: #6366f1;
  border-top: 8px solid #6366f1;
}

.jk-warehouse-zone--cart::before,
.jk-warehouse-zone--cart::after {
  background: #6366f1;
  border-radius: 99px;
  bottom: 6px;
  content: "";
  height: 10px;
  position: absolute;
  width: 10px;
}

.jk-warehouse-zone--cart::before {
  left: 16px;
}

.jk-warehouse-zone--cart::after {
  right: 16px;
}

.jk-kanban-config--warehouse .jk-rack-overview-layout {
  display: none;
}

.jk-warehouse-aisle {
  align-items: center;
  background: repeating-linear-gradient(180deg, rgba(148, 163, 184, 0.25), rgba(148, 163, 184, 0.25) 8px, rgba(255, 255, 255, 0.75) 8px, rgba(255, 255, 255, 0.75) 18px);
  color: var(--jk-text-muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  justify-content: center;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.jk-kanban-config-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: 300px minmax(0, 1fr);
}

.jk-rack-overview-layout {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.jk-kanban-config-panel,
.jk-rack-area-panel,
.jk-kanban-wall {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.jk-kanban-config-panel {
  align-content: start;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.jk-rack-area-panel {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 190px minmax(420px, 1fr) minmax(260px, 0.6fr);
  padding: 16px;
  position: static;
}

.jk-rack-area-panel[hidden] {
  display: none;
}

.jk-rack-panel-head,
.jk-rack-admin-card,
.jk-rack-planning-card {
  display: grid;
  gap: 5px;
}

.jk-rack-panel-head strong,
.jk-rack-admin-card strong,
.jk-rack-planning-card strong {
  color: var(--jk-text);
  font-size: 1.05rem;
  font-weight: 950;
}

.jk-rack-panel-head small,
.jk-rack-admin-card small,
.jk-rack-planning-card small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-rack-admin-card {
  border: 1px solid rgba(87, 181, 255, 0.3);
  border-radius: 8px;
  background: rgba(87, 181, 255, 0.075);
  gap: 8px;
  padding: 12px;
}

.jk-rack-admin-card em {
  color: var(--jk-text-soft);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.3;
}

.jk-rack-area-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-rack-area-card {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  display: grid;
  gap: 4px;
  padding: 11px;
  position: relative;
  text-align: left;
}

.jk-rack-area-card.is-active {
  border-color: rgba(49, 196, 141, 0.48);
  background: rgba(49, 196, 141, 0.08);
}

.jk-rack-area-card span {
  color: var(--jk-accent-soft);
  font-size: 0.78rem;
  font-weight: 950;
}

.jk-rack-area-card strong {
  color: var(--jk-text);
  font-size: 0.96rem;
  font-weight: 950;
}

.jk-rack-area-card small {
  color: var(--jk-text-muted);
  line-height: 1.3;
}

.jk-rack-area-card em {
  color: var(--jk-text-soft);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 10px;
}

.jk-rack-admin-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-rack-create-card,
.jk-rack-planning-card {
  border: 1px solid rgba(244, 183, 64, 0.28);
  border-radius: 8px;
  background: rgba(244, 183, 64, 0.07);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.jk-rack-create-card {
  border-color: rgba(49, 196, 141, 0.3);
  background: rgba(49, 196, 141, 0.07);
}

.jk-rack-create-card[hidden] {
  display: none;
}

.jk-rack-planning-card[hidden] {
  display: none;
}

.jk-upload-template {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.jk-upload-template input {
  display: none;
}

.jk-upload-template span {
  color: var(--jk-text);
  font-weight: 950;
}

.jk-rack-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.jk-rack-head-actions {
  align-items: end;
  display: grid;
  gap: 7px;
  justify-items: end;
}

.jk-rack-empty-planning {
  align-items: center;
  border: 1px dashed rgba(87, 181, 255, 0.34);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 430px;
  padding: 42px 18px;
  text-align: center;
}

.jk-rack-empty-planning[hidden] {
  display: none;
}

.jk-rack-empty-plus {
  align-items: center;
  appearance: none;
  background: rgba(49, 196, 141, 0.16);
  border: 1px solid rgba(49, 196, 141, 0.45);
  border-radius: 999px;
  color: #bbf7d0;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 4.4rem;
  font-weight: 700;
  height: 128px;
  justify-content: center;
  line-height: 1;
  width: 128px;
}

.jk-rack-empty-planning strong {
  color: var(--jk-text);
  font-size: 1.2rem;
  font-weight: 950;
}

.jk-rack-empty-planning small {
  color: var(--jk-text-muted);
}

.jk-rack-toolbar-group {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jk-workmode-structure {
  align-items: end;
  background: rgba(127, 29, 29, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.32);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto auto;
  padding: 14px;
}

.jk-workmode-structure > div,
.jk-workmode-structure label {
  display: grid;
  gap: 5px;
}

.jk-workmode-structure strong {
  color: var(--jk-text);
  font-size: 1rem;
  font-weight: 950;
}

.jk-workmode-structure small,
.jk-workmode-structure label span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.jk-workmode-structure select.jk-input {
  background: #ffffff;
  border-color: rgba(20, 110, 180, 0.45);
  color: #0f172a;
  font-weight: 850;
}

.jk-workmode-structure select.jk-input option {
  background: #ffffff;
  color: #0f172a;
}

.jk-workmode-save-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #1f8bd1 0%, #146eb4 100%);
  border: 1px solid rgba(117, 190, 255, 0.62);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 24px rgba(20, 110, 180, 0.38);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  min-height: 46px;
  min-width: 140px;
  padding: 0 22px;
}

.jk-workmode-save-button:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, #2b9be5 0%, #146eb4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 16px 30px rgba(20, 110, 180, 0.44);
  transform: translateY(-1px);
}

#rack-save-status {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

#rack-save-status[data-tone="error"] {
  color: #fca5a5;
}

#rack-save-status[data-tone="synced"] {
  color: #86efac;
}

.jk-rack-search-panel {
  border: 1px solid rgba(87, 181, 255, 0.2);
  border-radius: 8px;
  background: rgba(87, 181, 255, 0.055);
  display: grid;
  gap: 8px;
  padding: 12px;
}

.jk-rack-search-results {
  color: var(--jk-text-muted);
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
}

.jk-rack-search-results button {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 3px;
  grid-template-columns: 100px minmax(0, 1fr) 130px;
  padding: 8px;
  text-align: left;
}

.jk-rack-search-results strong {
  color: var(--jk-accent-soft);
  font-size: 0.82rem;
}

.jk-rack-search-results span {
  color: var(--jk-text);
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-rack-search-results em {
  color: var(--jk-text-muted);
  font-size: 0.76rem;
  font-style: normal;
}

.jk-kanban-config-context {
  display: grid;
  gap: 4px;
}

.jk-kanban-config-context span,
.jk-kanban-config-context small,
.jk-kanban-config-stats span,
.jk-kanban-wall-head small,
.jk-kanban-legend,
.jk-kanban-focus-card small {
  color: var(--jk-text-muted);
}

.jk-kanban-config-context strong {
  color: var(--jk-text);
  font-size: 1.35rem;
  font-weight: 950;
}

.jk-kanban-config-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-kanban-config-stats div {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-height: 68px;
  padding: 10px;
}

.jk-kanban-config-stats strong {
  color: var(--jk-text);
  font-size: 1.25rem;
  font-weight: 950;
}

.jk-kanban-config-form {
  display: grid;
  gap: 10px;
}

.jk-kanban-scan-panel {
  border: 1px solid rgba(87, 181, 255, 0.3);
  border-radius: 8px;
  background: rgba(87, 181, 255, 0.07);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.jk-kanban-scan-panel > div {
  display: grid;
  gap: 4px;
}

.jk-kanban-scan-panel strong {
  color: var(--jk-text);
  font-size: 1.02rem;
  font-weight: 950;
}

.jk-kanban-scan-panel small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-kanban-scan-hint {
  color: var(--jk-text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.jk-kanban-config-inputs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-kanban-config-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-kanban-wall {
  display: grid;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  padding: 16px;
}

.jk-kanban-wall-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.jk-kanban-wall-head h2 {
  color: var(--jk-text);
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0;
}

.jk-kanban-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.jk-kanban-legend span {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.jk-rack-layout-summary {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 260px),
    linear-gradient(180deg, #f8fafc 0%, #edf4fb 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.jk-rack-layout-summary-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.jk-rack-layout-summary-head > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.jk-rack-layout-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.jk-rack-layout-summary-actions .jk-btn-secondary {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.32);
  color: #0f172a;
  min-height: 36px;
  padding: 0 12px;
}

.jk-rack-layout-summary-actions .jk-btn-secondary:hover,
.jk-rack-layout-summary-actions .jk-btn-secondary:focus-visible {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.55);
  color: #0f172a;
}

@media (max-width: 720px) {
  .jk-rack-layout-summary-head {
    display: grid;
  }

  .jk-rack-layout-summary-actions {
    justify-content: flex-start;
  }
}

/*
  Kept as a no-op compatibility hook for older markup variants that used grid.
*/
.jk-rack-layout-summary-head--grid {
  align-items: end;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.jk-rack-layout-summary-head .jk-overline {
  display: block;
}

.jk-rack-layout-summary-head strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 950;
}

.jk-rack-layout-summary-head small {
  color: #475569;
  font-weight: 900;
}

.jk-rack-layout-summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.jk-summary-area-section {
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 10px;
}

.jk-summary-area-section[hidden] {
  display: none;
}

.jk-summary-area-section-head {
  align-items: center;
  background: linear-gradient(90deg, #0f172a, #1e293b);
  border-radius: 7px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.jk-summary-area-section-head div {
  display: grid;
  gap: 2px;
}

.jk-summary-area-section-head span {
  color: #93c5fd;
  font-size: 0.7rem;
  font-weight: 950;
}

.jk-summary-area-section-head strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
}

.jk-summary-area-section-head small {
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 900;
}

.jk-summary-area-section-grid {
  display: grid;
  gap: 10px;
}

.jk-rack-layout-summary-card {
  background:
    radial-gradient(circle at 18px 18px, rgba(37, 99, 235, 0.12), transparent 28px),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  cursor: pointer;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  width: min(100%, 760px);
}

.jk-rack-layout-summary-card[hidden] {
  display: none;
}

.jk-rack-layout-summary-card.is-back-to-back {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 18px 38px rgba(15, 23, 42, 0.14);
}

.jk-summary-area-kicker {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.86));
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 7px;
  display: grid;
  gap: 2px;
  padding: 10px 11px;
}

.jk-summary-area-kicker strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 950;
}

.jk-summary-area-kicker span {
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 850;
}

.jk-rack-layout-summary-card header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.jk-rack-layout-summary-card header span,
.jk-rack-layout-summary-card header strong {
  align-items: center;
  color: #334155;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 950;
  gap: 8px;
}

.jk-rack-layout-summary-card header i {
  background: #2563eb;
  border-radius: 3px;
  display: inline-block;
  height: 18px;
  width: 18px;
}

.jk-rack-layout-summary-card header strong {
  color: #64748b;
}

.jk-rack-layout-summary-card em {
  background: #dbeafe;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 950;
  padding: 4px 8px;
  width: max-content;
}

.jk-summary-rack-track {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(148, 163, 184, 0.12)),
    linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  padding: 12px;
  position: relative;
}

.jk-rack-layout-summary-card.is-back-to-back .jk-summary-rack-track {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0 42%, rgba(219, 234, 254, 0.9) 42% 58%, rgba(248, 250, 252, 0.96) 58% 100%);
  border-color: rgba(37, 99, 235, 0.28);
  gap: 22px;
  grid-template-columns: 1fr;
  padding-bottom: 18px;
  padding-top: 18px;
}

.jk-rack-layout-summary-card.is-back-to-back-paired .jk-summary-rack-track::before,
.jk-rack-layout-summary-card.is-back-to-back-paired .jk-summary-rack-track::after {
  background: #2563eb;
  border-radius: 999px;
  content: "";
  height: 6px;
  left: 12px;
  position: absolute;
  right: 12px;
  top: calc(50% - 5px);
}

.jk-rack-layout-summary-card.is-back-to-back .jk-summary-rack-track::after {
  top: calc(50% + 5px);
}

.jk-summary-rack-lane {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  position: relative;
  z-index: 1;
}

.jk-summary-rack-lane--rear {
  transform: rotate(180deg);
}

.jk-summary-rack-lane--rear > * {
  transform: rotate(180deg);
}

.jk-summary-rack-track b,
.jk-summary-rack-track button {
  background:
    repeating-linear-gradient(180deg, rgba(148, 163, 184, 0.12) 0 2px, transparent 2px 15px),
    linear-gradient(90deg, #334155 0 7px, transparent 7px calc(100% - 7px), #334155 calc(100% - 7px) 100%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 52%, #cbd5e1 100%);
  border: 0;
  border-radius: 5px 5px 7px 7px;
  color: #0f172a;
  display: grid;
  font-size: 0.8rem;
  font-weight: 950;
  min-height: 48px;
  place-items: center;
  box-shadow:
    inset 0 5px 0 #2563eb,
    inset 0 -9px 0 rgba(51, 65, 85, 0.18),
    0 10px 18px rgba(15, 23, 42, 0.16);
  position: relative;
  z-index: 1;
}

.jk-rack-layout-summary-card--horizontal .jk-summary-rack-track b,
.jk-rack-layout-summary-card--horizontal .jk-summary-rack-track button,
.jk-rack-layout-summary-card--tower .jk-summary-rack-track b,
.jk-rack-layout-summary-card--tower .jk-summary-rack-track button {
  aspect-ratio: 0.72;
  min-height: 72px;
  width: min(100%, 58px);
  justify-self: center;
}

.jk-rack-layout-summary-card--cart .jk-summary-rack-track b,
.jk-rack-layout-summary-card--cart .jk-summary-rack-track button {
  aspect-ratio: 1.8;
  background:
    linear-gradient(90deg, #4f46e5 0 5px, transparent 5px calc(100% - 5px), #4f46e5 calc(100% - 5px) 100%),
    linear-gradient(180deg, #eef2ff 0%, #e0e7ff 58%, #c7d2fe 100%);
  border-radius: 8px 8px 11px 11px;
  box-shadow:
    inset 0 5px 0 #6366f1,
    0 10px 18px rgba(79, 70, 229, 0.16);
  min-height: 42px;
}

.jk-rack-layout-summary-card--cart .jk-summary-rack-track button::before,
.jk-rack-layout-summary-card--cart .jk-summary-rack-track b::before {
  background: linear-gradient(90deg, #c7d2fe, #eef2ff, #c7d2fe);
}

.jk-rack-layout-summary-card--cart .jk-summary-rack-track::after {
  background:
    radial-gradient(circle, #6366f1 0 5px, transparent 6px),
    radial-gradient(circle, #6366f1 0 5px, transparent 6px);
  background-position: 18px bottom, calc(100% - 18px) bottom;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  bottom: 5px;
  content: "";
  height: 16px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.jk-rack-layout-summary-card--workbench .jk-summary-rack-track b,
.jk-rack-layout-summary-card--workbench .jk-summary-rack-track button {
  aspect-ratio: 2.4;
  background:
    linear-gradient(180deg, #7c3aed 0 9px, transparent 9px),
    linear-gradient(90deg, transparent 0 13%, rgba(88, 28, 135, 0.35) 13% 16%, transparent 16% 84%, rgba(88, 28, 135, 0.35) 84% 87%, transparent 87% 100%),
    linear-gradient(180deg, #faf5ff 0%, #ede9fe 100%);
  border-radius: 4px;
  box-shadow:
    0 10px 18px rgba(124, 58, 237, 0.14);
  min-height: 42px;
}

.jk-summary-rack-track b::before,
.jk-summary-rack-track button::before {
  background:
    linear-gradient(90deg, rgba(51, 65, 85, 0.54), rgba(100, 116, 139, 0.18), rgba(51, 65, 85, 0.54));
  border-radius: 1px;
  content: "";
  height: 2px;
  left: 10px;
  position: absolute;
  right: 10px;
  top: 35%;
}

.jk-summary-rack-track b::after {
  background:
    linear-gradient(90deg, rgba(51, 65, 85, 0.54), rgba(100, 116, 139, 0.18), rgba(51, 65, 85, 0.54));
  border-radius: 1px;
  content: "";
  height: 2px;
  left: 10px;
  position: absolute;
  right: 10px;
  top: 62%;
}

.jk-summary-rack-track button::after {
  bottom: 5px;
  color: #64748b;
  content: attr(data-box-count);
  font-size: 0.62rem;
  font-weight: 900;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
}

.jk-summary-rack-track button:empty::after {
  display: none;
}

.jk-summary-rack-track button {
  cursor: pointer;
  font-family: inherit;
  padding-bottom: 12px;
}

.jk-summary-rack-track button:hover {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #2563eb;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.jk-rack-overview-main .jk-kanban-rack-wall--overview {
  display: none;
}

.jk-rack-overview-main.is-row-open .jk-kanban-rack-wall--overview {
  display: flex;
}

.jk-summary-card-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.jk-summary-card-actions button {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  border: 1px solid rgba(29, 78, 216, 0.7);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 9px 12px;
}

.jk-summary-card-actions button:hover {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.jk-summary-card-actions small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  text-align: right;
}

.jk-rack-layout-summary-card--cart {
  border-top-color: #6366f1;
}

.jk-rack-layout-summary-card--cart header i {
  background: #6366f1;
  border-radius: 4px;
  position: relative;
}

.jk-rack-layout-summary-card--cart header i::before,
.jk-rack-layout-summary-card--cart header i::after {
  background: #6366f1;
  border-radius: 99px;
  bottom: -6px;
  content: "";
  height: 5px;
  position: absolute;
  width: 5px;
}

.jk-rack-layout-summary-card--cart header i::before {
  left: 2px;
}

.jk-rack-layout-summary-card--cart header i::after {
  right: 2px;
}

.jk-rack-layout-summary-card--workbench {
  border-top-color: #7c3aed;
}

.jk-rack-layout-summary-card--workbench header i {
  background: #7c3aed;
  border-radius: 2px;
  height: 12px;
  width: 22px;
}

.jk-rack-area-card--all {
  border-color: rgba(37, 99, 235, 0.35);
}

.jk-kanban-dot {
  border-radius: 99px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.jk-kanban-dot--ok {
  background: #31c48d;
}

.jk-kanban-dot--ordered {
  background: #f4b740;
}

.jk-kanban-dot--single {
  background: #57b5ff;
}

.jk-kanban-dot--external {
  background: #a78bfa;
}

.jk-kanban-rack-wall {
  align-items: stretch;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 10px;
}

.jk-kanban-rack {
  background:
    linear-gradient(90deg, rgba(226, 232, 240, 0.9) 0 8px, transparent 8px calc(100% - 8px), rgba(226, 232, 240, 0.9) calc(100% - 8px)),
    linear-gradient(180deg, rgba(248, 250, 252, 0.18), rgba(15, 23, 42, 0.12));
  border: 1px solid rgba(226, 232, 240, 0.38);
  border-radius: 7px;
  box-shadow: inset 18px 0 0 rgba(148, 163, 184, 0.18), inset -18px 0 0 rgba(148, 163, 184, 0.18), 0 18px 40px rgba(0, 0, 0, 0.22);
  display: grid;
  flex: 0 0 260px;
  grid-template-rows: auto auto 1fr;
  min-height: 610px;
  padding: 0 22px 20px;
  position: relative;
}

.jk-kanban-rack-head {
  align-items: start;
  display: grid;
  gap: 7px;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  margin: 7px 4px 0;
  position: relative;
  z-index: 4;
}

.jk-kanban-rack::before,
.jk-kanban-rack::after {
  background: repeating-linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.34) 0 2px,
    rgba(226, 232, 240, 0.8) 2px 5px,
    transparent 5px 18px
  );
  content: "";
  inset: 42px auto 16px 7px;
  position: absolute;
  width: 8px;
  z-index: 0;
}

.jk-kanban-rack::after {
  left: auto;
  right: 7px;
}

.jk-kanban-rack[hidden] {
  display: none !important;
}

.jk-kanban-rack.is-rack-dragging {
  opacity: 0.55;
}

.jk-kanban-rack.is-rack-drop-target {
  outline: 3px solid rgba(87, 181, 255, 0.72);
  outline-offset: 4px;
}

.jk-kanban-rack-title,
.jk-kanban-rack header {
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.24);
  border-radius: 8px;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: var(--jk-text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 950;
  margin: 0;
  padding: 7px 0;
  text-align: center;
  z-index: 3;
}

.jk-kanban-rack-title:hover {
  background: rgba(87, 181, 255, 0.14);
  color: #ffffff;
}

.jk-kanban-rack-title::after {
  color: var(--jk-text-soft);
  content: "Inhalt";
  display: block;
  font-size: 0.58rem;
  font-weight: 850;
  margin-top: 2px;
}

.jk-kanban-rack-title span,
.jk-kanban-rack-title small {
  display: block;
}

.jk-kanban-rack-title small {
  color: var(--jk-text-soft);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 2px;
}

.jk-kanban-rack-head label {
  display: grid;
  gap: 3px;
}

.jk-kanban-rack-head label span {
  color: var(--jk-text-soft);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
}

.jk-rack-name-input,
.jk-shelf-name-input {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 6px;
  color: var(--jk-text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  min-width: 0;
  padding: 6px 7px;
  width: 100%;
}

.jk-rack-name-input::placeholder,
.jk-shelf-name-input::placeholder {
  color: var(--jk-text-soft);
}

.jk-rack-mini-action,
.jk-kanban-shelf-tools button {
  align-items: center;
  appearance: none;
  background: rgba(49, 196, 141, 0.16);
  border: 1px solid rgba(49, 196, 141, 0.4);
  border-radius: 7px;
  color: #bbf7d0;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1rem;
  font-weight: 950;
  height: 32px;
  justify-content: center;
  line-height: 1;
  width: 32px;
}

.jk-rack-head-actions-mini {
  display: grid;
  gap: 4px;
  grid-template-columns: 32px;
}

.jk-rack-head-actions-mini--workmode {
  grid-template-columns: repeat(3, 28px);
}

.jk-rack-head-actions-mini--workmode .jk-rack-mini-action {
  height: 28px;
  width: 28px;
}

.jk-rack-mini-action:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.jk-rack-mini-action--danger {
  background: rgba(248, 113, 113, 0.13);
  border-color: rgba(248, 113, 113, 0.32);
  color: #fecaca;
}

.jk-kanban-shelf-tools button[data-remove-shelf] {
  background: rgba(248, 113, 113, 0.13);
  border-color: rgba(248, 113, 113, 0.32);
  color: #fecaca;
}

.jk-kanban-rack header {
  cursor: default;
}

.jk-kanban-rack-body {
  display: grid;
  gap: 0;
  grid-auto-rows: minmax(88px, auto);
  padding: 28px 7px 0;
  position: relative;
  z-index: 1;
}

.jk-kanban-shelf {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(148, 163, 184, 0.78) 58%, rgba(71, 85, 105, 0.92));
  border: 1px solid rgba(248, 250, 252, 0.48);
  border-radius: 4px;
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.24);
  display: block;
  gap: 6px;
  margin: 0 3px 12px;
  min-height: 68px;
  padding: 0 0 5px;
  position: relative;
}

.jk-kanban-shelf[hidden] {
  display: none !important;
}

.jk-kanban-shelf.is-selected {
  background: rgba(87, 181, 255, 0.08);
}

.jk-kanban-shelf.is-two-row-candidate {
  background: rgba(244, 183, 64, 0.08);
  outline: 1px dashed rgba(244, 183, 64, 0.5);
  outline-offset: -3px;
}

.jk-kanban-shelf-label {
  align-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  inset: 0;
  gap: 3px;
  padding: 0;
  position: absolute;
  text-align: left;
  z-index: 1;
}

.jk-kanban-shelf-label span {
  display: none;
}

.jk-kanban-shelf-label small {
  display: none;
}

.jk-kanban-shelf-boxes {
  inset: 26px 12px 6px 12px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.jk-kanban-shelf-tools {
  align-items: center;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr) 26px 26px;
  left: 12px;
  position: absolute;
  right: 12px;
  top: 4px;
  z-index: 4;
}

.jk-kanban-shelf-tools .jk-shelf-name-input {
  font-size: 0.64rem;
  height: 22px;
  padding: 3px 6px;
}

.jk-kanban-shelf-tools .jk-shelf-name-input:last-child {
  grid-column: 1 / -1;
}

.jk-kanban-shelf-tools button {
  border-radius: 5px;
  font-size: 0.82rem;
  height: 22px;
  width: 26px;
}

.jk-kanban-shelf-boxes::after {
  display: none;
}

.jk-kanban-shelf-boxes:has(.jk-kanban-box strong)::after {
  display: none;
}

.jk-kanban-box-row {
  display: flex;
  gap: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 27px;
  z-index: 2;
}

.jk-kanban-box-row + .jk-kanban-box-row {
  top: 8px;
  transform: translateY(-1px);
  z-index: 1;
}

.jk-kanban-box {
  align-content: center;
  border: 1px solid rgba(15, 23, 42, 0.32);
  border-radius: 6px 6px 10px 10px;
  color: #082f49;
  cursor: pointer;
  display: grid;
  flex: 1 1 0;
  gap: 1px;
  min-height: 30px;
  min-width: 0;
  padding: 5px 3px 3px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  transform: perspective(90px) rotateX(6deg) skewX(-3deg);
}

.jk-kanban-rack-wall--overview .jk-kanban-box:not(:has(strong)) {
  visibility: hidden;
}

.jk-kanban-config--intake .jk-kanban-rack-wall--overview .jk-kanban-box:not(:has(strong)) {
  background: linear-gradient(180deg, #fee2e2, #fecaca 58%, #ef4444);
  border-color: rgba(185, 28, 28, 0.62);
  border-style: dashed;
  color: #7f1d1d;
  visibility: visible;
}

.jk-kanban-config--intake .jk-kanban-rack-wall--overview .jk-kanban-rack {
  border-color: rgba(220, 38, 38, 0.34);
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.08);
}

.jk-kanban-config--intake .jk-kanban-rack-wall--overview .jk-kanban-rack-title {
  border-color: rgba(220, 38, 38, 0.34);
}

.jk-kanban-config--intake .jk-kanban-rack-wall--overview .jk-kanban-rack-title::after {
  content: "";
  display: none;
}

.jk-kanban-config--intake .jk-kanban-rack-wall--overview .jk-kanban-rack-title small {
  color: #fecaca;
}

.jk-kanban-rack-wall--overview .jk-kanban-box-row {
  min-height: 0;
}

.jk-kanban-box.is-selected {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px rgba(87, 181, 255, 0.45);
  z-index: 1;
}

.jk-kanban-box.is-dragging {
  opacity: 0.45;
}

.jk-kanban-box.is-move-source {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px rgba(37, 99, 235, 0.65);
  z-index: 4;
}

.jk-kanban-box.is-drop-target {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px rgba(15, 118, 110, 0.55);
  z-index: 3;
}

.jk-kanban-box.is-search-hit {
  box-shadow: 0 0 0 2px #fef3c7, 0 0 0 5px rgba(244, 183, 64, 0.42);
  z-index: 2;
}

.jk-kanban-box.is-reconciled {
  box-shadow: 0 0 0 2px #dcfce7, 0 0 0 5px rgba(49, 196, 141, 0.45);
  z-index: 2;
}

.jk-rack-overview-main.is-reconcile-mode {
  border-color: rgba(49, 196, 141, 0.42);
  background: rgba(49, 196, 141, 0.045);
}

.jk-kanban-box::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.2));
  border-bottom: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 4px 4px 1px 1px;
  content: "";
  height: 8px;
  left: 2px;
  position: absolute;
  right: 2px;
  top: 2px;
}

.jk-kanban-box::after {
  background: rgba(15, 23, 42, 0.16);
  border-radius: 0 0 8px 8px;
  bottom: 2px;
  content: "";
  height: 6px;
  left: 4px;
  position: absolute;
  right: 4px;
}

.jk-kanban-box span {
  font-size: 0;
  font-weight: 950;
  line-height: 1;
  margin-top: 3px;
}

.jk-kanban-box strong {
  display: none;
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-kanban-box--ok {
  background: linear-gradient(180deg, #bae6fd, #60a5fa 58%, #2563eb);
}

.jk-kanban-box--reserve {
  background: linear-gradient(180deg, #dbeafe, #93c5fd 58%, #3b82f6);
  border-style: dashed;
  opacity: 0.92;
  transform: perspective(90px) rotateX(6deg) skewX(-3deg);
}

.jk-kanban-box--ordered {
  background: linear-gradient(180deg, #bae6fd, #60a5fa 58%, #2563eb);
  border-color: rgba(30, 64, 175, 0.54);
}

.jk-kanban-box--single {
  background: linear-gradient(180deg, #bfdbfe, #60a5fa 58%, #2563eb);
  border-color: rgba(30, 64, 175, 0.54);
}

.jk-kanban-box--external {
  background: linear-gradient(180deg, #ddd6fe, #a78bfa 58%, #7c3aed);
  border-color: rgba(91, 33, 182, 0.54);
}

.jk-status-rack-preview {
  border: 1px solid rgba(49, 196, 141, 0.24);
  border-radius: 8px;
  background: rgba(49, 196, 141, 0.055);
  display: grid;
  gap: 12px;
  margin: 12px;
  padding: 12px;
}

.jk-status-rack-preview-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.jk-status-rack-preview-head h2 {
  color: var(--jk-text);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0;
}

.jk-status-rack-preview-body {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 230px;
}

.jk-kanban-rack-wall--status {
  gap: 8px;
  overflow-x: auto;
}

.jk-kanban-rack--status {
  flex-basis: 168px;
  min-height: 460px;
  padding-inline: 6px;
}

.jk-kanban-rack--status .jk-kanban-rack-body {
  grid-template-rows: repeat(6, minmax(62px, 1fr));
}

.jk-kanban-rack--status .jk-kanban-shelf {
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 5px 3px;
}

.jk-kanban-rack--status .jk-kanban-shelf-label small {
  display: none;
}

.jk-kanban-rack--status .jk-kanban-box {
  min-height: 20px;
}

.jk-status-rack-summary {
  align-content: start;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.jk-status-rack-summary strong {
  color: var(--jk-text);
  font-size: 0.95rem;
  font-weight: 950;
}

.jk-status-rack-summary span {
  color: var(--jk-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.jk-rack-modal {
  align-items: center;
  background: rgba(2, 6, 23, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px 34px;
  position: fixed;
  z-index: 1000;
}

.jk-rack-modal[hidden] {
  display: none;
}

.jk-rack-modal-dialog {
  background: #0f172a;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 16px;
  width: min(1380px, 100%);
}

.jk-rack-modal-dialog.is-rack-view {
  width: min(1620px, 100%);
}

.jk-rack-modal-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.jk-rack-modal-head h2 {
  color: var(--jk-text);
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0;
}

.jk-rack-modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.jk-rack-modal-nav {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.jk-rack-modal-nav[hidden] {
  display: none;
}

.jk-rack-modal-nav button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.45rem;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.jk-rack-modal-nav button:disabled {
  cursor: default;
  opacity: 0.35;
}

.jk-rack-modal-layout {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.jk-rack-modal-dialog.is-rack-view .jk-rack-modal-layout {
  grid-template-columns: 1fr;
}

.jk-rack-modal-rack-view {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(620px, 0.68fr) minmax(380px, 0.32fr);
  grid-template-rows: auto 1fr;
  min-height: min(760px, calc(100vh - 180px));
}

.jk-rack-modal-rack-nav {
  align-items: center;
  background: rgba(87, 181, 255, 0.12);
  border: 1px solid rgba(87, 181, 255, 0.3);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-column: 1;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  padding: 8px;
}

.jk-rack-modal-rack-nav strong {
  color: var(--jk-text);
  font-size: 1.1rem;
  font-weight: 950;
  text-align: center;
}

.jk-rack-modal-rack-nav button {
  align-items: center;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 48px;
}

.jk-rack-modal-rack-view .jk-kanban-rack {
  flex: 0 0 auto;
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  min-height: min(760px, calc(100vh - 190px));
  width: min(720px, 100%);
  animation: jkRackFocusIn 220ms var(--jk-ease);
}

.jk-rack-modal-rack-view .jk-rack-focus-detail {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.jk-rack-modal-rack-view .jk-kanban-rack-body {
  grid-template-rows: repeat(6, minmax(96px, 1fr));
}

.jk-kanban-rack--focus .jk-kanban-box {
  min-height: 44px;
  padding: 11px 5px 7px;
}

.jk-kanban-rack--focus .jk-kanban-box:not(:has(strong)) {
  visibility: hidden;
}

.jk-kanban-config--edit-targets .jk-kanban-rack--focus .jk-kanban-box:not(:has(strong)) {
  background: rgba(241, 245, 249, 0.92);
  border-style: dashed;
  color: #94a3b8;
  visibility: visible;
}

.jk-kanban-config--intake .jk-kanban-rack--focus .jk-kanban-box:not(:has(strong)) {
  background: linear-gradient(180deg, #fee2e2, #fecaca 58%, #ef4444);
  border-color: rgba(185, 28, 28, 0.62);
  border-style: dashed;
  color: #7f1d1d;
  visibility: visible;
}

.jk-kanban-config--intake .jk-rack-modal-dialog.is-rack-view .jk-kanban-rack--focus .jk-kanban-box:not(:has(strong)) {
  visibility: hidden;
}

.jk-kanban-config--intake .jk-kanban-box--intake-review,
.jk-kanban-config--intake .jk-kanban-box--intake-create_article {
  background: linear-gradient(180deg, #fed7aa, #fb923c 58%, #ea580c);
  border-color: rgba(154, 52, 18, 0.62);
}

.jk-kanban-config--intake .jk-kanban-box--intake-recognized {
  background: linear-gradient(180deg, #bbf7d0, #4ade80 58%, #16a34a);
  border-color: rgba(22, 101, 52, 0.62);
}

.jk-kanban-config--intake .jk-kanban-box--intake-foreign {
  background: linear-gradient(180deg, #fecaca, #f87171 58%, #dc2626);
  border-color: rgba(127, 29, 29, 0.68);
}

.jk-kanban-config--intake .jk-kanban-box--intake-customer_article {
  background: linear-gradient(180deg, #bfdbfe, #60a5fa 58%, #2563eb);
  border-color: rgba(30, 64, 175, 0.62);
}

.jk-intake-review-card {
  margin-top: 18px;
}

.jk-kanban-rack--focus .jk-kanban-box strong {
  color: #082f49;
  display: grid;
  gap: 1px;
  justify-items: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.jk-kanban-rack--focus .jk-kanban-box strong b {
  display: block;
  font-size: clamp(0.58rem, 0.85vw, 0.82rem);
  font-weight: 950;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-kanban-rack--focus .jk-kanban-box strong small {
  display: block;
  font-size: clamp(0.46rem, 0.62vw, 0.62rem);
  font-weight: 900;
  line-height: 1;
  max-width: 100%;
  opacity: 0.86;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-rack-focus-detail {
  align-self: stretch;
  border: 1px solid rgba(87, 181, 255, 0.2);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  display: grid;
  min-height: 100%;
  padding: 16px;
}

.jk-rack-focus-card {
  align-content: start;
  display: grid;
  gap: 16px;
}

.jk-rack-focus-card .jk-rack-article-image {
  height: 220px;
  width: 220px;
}

.jk-rack-focus-card .jk-rack-article-main strong {
  font-size: 1.08rem;
}

.jk-rack-focus-card .jk-rack-article-main em {
  align-self: start;
  background: #fff7c2;
  border: 1px solid #d2bd61;
  border-radius: 6px;
  color: #4b3b00;
  display: inline-flex;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1;
  padding: 6px 9px;
}

.jk-rack-focus-card .jk-rack-article-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-rack-focus-card .jk-rack-article-meta {
  justify-items: start;
  text-align: left;
}

.jk-rack-focus-empty {
  align-self: center;
  border: 1px dashed rgba(148, 163, 184, 0.34);
  border-radius: 8px;
  color: var(--jk-text-muted);
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 32px;
  text-align: center;
}

.jk-rack-focus-empty strong {
  color: var(--jk-text);
  font-size: 1.05rem;
}

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

.jk-rack-scan-work,
.jk-rack-shelf-content {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.jk-rack-scan-work {
  align-items: end;
  grid-template-columns: minmax(240px, 1fr) auto auto;
}

.jk-rack-scan-work .jk-field {
  margin: 0;
}

.jk-rack-scan-work .jk-kanban-config-actions {
  display: flex;
  gap: 8px;
}

.jk-rack-scan-work .jk-kanban-scan-hint {
  grid-column: 1 / -1;
  margin: 0;
}

.jk-rack-shelf-content-head {
  align-items: end;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.jk-rack-shelf-content-head strong {
  color: var(--jk-text);
  font-weight: 950;
}

.jk-rack-shelf-content-head small {
  color: var(--jk-text-muted);
}

.jk-rack-scanned-list {
  display: grid;
  gap: 7px;
}

.jk-rack-scanned-item {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 9px;
}

.jk-rack-scanned-item strong {
  color: var(--jk-text);
  font-size: 0.9rem;
}

.jk-rack-scanned-item span {
  color: var(--jk-accent-soft);
  font-size: 0.8rem;
  font-weight: 950;
}

.jk-rack-article-item {
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 112px minmax(0, 1fr) 160px;
  padding: 14px;
}

.jk-rack-article-item.is-latest {
  border-color: rgba(34, 197, 94, 0.44);
  background: rgba(34, 197, 94, 0.08);
}

.jk-rack-intake-status-badge {
  background: #fff7ed;
  border-color: #fb923c;
  color: #9a3412;
  justify-self: start;
}

.jk-rack-latest-badge {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.36);
  border-radius: 999px;
  color: #bbf7d0;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 950;
  justify-self: start;
  margin-bottom: 3px;
  padding: 4px 7px;
  text-transform: uppercase;
}

.jk-rack-article-image {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(210, 218, 230, 0.9);
  border-radius: 8px;
  color: #475569;
  display: flex;
  font-size: 0.95rem;
  font-weight: 950;
  height: 104px;
  justify-content: center;
  padding: 7px;
  width: 104px;
  overflow: hidden;
}

.jk-rack-article-image img {
  border-radius: 4px;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.jk-rack-article-main,
.jk-rack-article-meta {
  display: grid;
  gap: 3px;
}

.jk-rack-article-main strong {
  color: var(--jk-text);
  font-size: 0.92rem;
  font-weight: 950;
}

.jk-rack-article-main small {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
}

.jk-rack-article-main em {
  color: #facc15;
  font-size: 1.02rem;
  font-style: normal;
  font-weight: 950;
}

.jk-rack-article-specs {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 6px;
}

.jk-rack-article-specs b {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--jk-text);
  display: grid;
  font-size: 0.78rem;
  gap: 2px;
  min-height: 46px;
  padding: 7px;
}

.jk-rack-article-specs small {
  color: var(--jk-text-muted);
  font-size: 0.66rem;
  font-weight: 850;
}

.jk-rack-article-meta {
  justify-items: end;
  text-align: right;
}

.jk-rack-article-meta b {
  color: var(--jk-text);
  font-size: 0.76rem;
}

.jk-rack-article-meta small {
  color: var(--jk-text-muted);
  font-size: 0.74rem;
}

.jk-rack-remove-item {
  appearance: none;
  border: 1px solid rgba(248, 113, 113, 0.38);
  border-radius: 8px;
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  justify-self: end;
  margin-top: 8px;
  padding: 7px 10px;
}

.jk-rack-remove-item:hover {
  border-color: rgba(248, 113, 113, 0.7);
  background: rgba(127, 29, 29, 0.28);
  color: #ffffff;
}

.jk-kanban-focus {
  display: grid;
  gap: 10px;
}

.jk-kanban-focus-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-kanban-focus-card {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 12px;
}

.jk-kanban-focus-card span {
  color: var(--jk-accent-soft);
  font-size: 0.78rem;
  font-weight: 950;
}

.jk-kanban-focus-card strong {
  color: var(--jk-text);
  font-size: 0.95rem;
  font-weight: 950;
}

.jk-kanban-focus-card--ordered {
  border-color: rgba(244, 183, 64, 0.35);
  background: rgba(244, 183, 64, 0.08);
}

.jk-kanban-focus-card--single {
  border-color: rgba(87, 181, 255, 0.35);
  background: rgba(87, 181, 255, 0.08);
}

.jk-order-hub-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-order-hub-card {
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  color: var(--jk-text);
  display: grid;
  gap: 8px;
  min-height: clamp(180px, 28svh, 240px);
  padding: 22px;
  text-align: center;
  text-decoration: none;
  align-content: center;
}

.jk-order-hub-card--kanban {
  border-color: rgba(49, 196, 141, 0.42);
  background: rgba(49, 196, 141, 0.1);
}

.jk-order-hub-card--customer {
  border-color: rgba(87, 181, 255, 0.42);
  background: rgba(87, 181, 255, 0.1);
}

.jk-order-hub-card--request {
  border-color: rgba(244, 183, 64, 0.46);
  background: rgba(244, 183, 64, 0.1);
}

.jk-order-hub-card span {
  color: var(--jk-text-soft);
  font-weight: 850;
}

.jk-order-hub-card strong {
  color: var(--jk-text);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 950;
  line-height: 0.95;
}

.jk-order-hub-card small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-order-choice-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-order-choice {
  align-content: center;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  display: grid;
  gap: 10px;
  min-height: clamp(150px, 24svh, 210px);
  padding: 24px;
  text-decoration: none;
}

.jk-order-choice--kanban {
  background: rgba(49, 196, 141, 0.1);
  border-color: rgba(49, 196, 141, 0.42);
}

.jk-order-choice--request {
  background: rgba(244, 183, 64, 0.1);
  border-color: rgba(244, 183, 64, 0.46);
}

.jk-order-choice span {
  color: var(--jk-text-soft);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-order-choice strong {
  color: var(--jk-text);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 950;
  line-height: 0.98;
}

.jk-order-choice small {
  color: var(--jk-text-muted);
  font-size: 0.98rem;
  line-height: 1.35;
  max-width: 440px;
}

.jk-order-start-panel {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.jk-order-start-panel--other {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 18px;
  padding-top: 22px;
}

.jk-order-start-panel .jk-exec-section-head {
  margin-bottom: 0;
}

.jk-order-station-groups {
  display: grid;
  gap: 16px;
}

.jk-order-station-group {
  display: grid;
  gap: 10px;
}

.jk-order-station-group--free {
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  padding-top: 14px;
}

.jk-order-station-head {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.jk-order-station-head span {
  color: var(--jk-text-soft);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.jk-order-station-head strong {
  color: var(--jk-text);
  font-size: 1rem;
  font-weight: 950;
}

.jk-order-department-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-order-alternative-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

.jk-order-department {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  color: var(--jk-text);
  display: grid;
  gap: 10px;
  min-height: 184px;
  padding: 20px;
  text-decoration: none;
}

.jk-order-card-meta {
  color: var(--jk-text-soft);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jk-order-department strong {
  color: var(--jk-text);
  font-size: 1.42rem;
  line-height: 1.1;
}

.jk-order-department small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-order-department em {
  align-self: end;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--jk-text);
  display: inline-flex;
  font-style: normal;
  font-weight: 900;
  justify-self: start;
  min-height: 32px;
  padding: 0 12px;
  place-items: center;
}

.jk-order-department--blue,
.jk-order-department--outside {
  background: rgba(37, 99, 235, 0.11);
  border-color: rgba(96, 165, 250, 0.38);
}

.jk-order-department--green {
  background: rgba(49, 196, 141, 0.1);
  border-color: rgba(49, 196, 141, 0.36);
}

.jk-order-department--amber {
  background: rgba(244, 183, 64, 0.1);
  border-color: rgba(244, 183, 64, 0.38);
}

.jk-order-department--special {
  background: rgba(244, 183, 64, 0.13);
  border-color: rgba(244, 183, 64, 0.48);
}

.jk-order-department--violet {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.36);
}

.jk-order-department--red {
  background: rgba(239, 90, 111, 0.1);
  border-color: rgba(239, 90, 111, 0.38);
}

.jk-order-department.has-draft {
  border-color: rgba(239, 90, 111, 0.62);
  box-shadow: inset 0 0 0 1px rgba(239, 90, 111, 0.24);
}

.jk-order-department.has-draft em {
  background: rgba(239, 90, 111, 0.82);
  color: #ffffff;
}

.jk-desktop-order-layout {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.jk-desktop-order-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-top: 18px;
}

.jk-desktop-main-search .jk-input {
  background: rgba(49, 196, 141, 0.12);
  border-color: rgba(49, 196, 141, 0.58);
  box-shadow: 0 0 0 1px rgba(49, 196, 141, 0.12) inset;
}

.jk-desktop-main-search .jk-input:focus {
  border-color: rgba(74, 222, 128, 0.85);
  box-shadow: 0 0 0 3px rgba(49, 196, 141, 0.18);
}

.jk-desktop-area-block {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

.jk-desktop-area-block strong {
  color: var(--jk-text);
  font-size: 1.02rem;
  font-weight: 950;
}

.jk-desktop-area-switch {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.jk-desktop-area-switch a {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 3px;
  min-height: 66px;
  padding: 10px 12px;
  text-decoration: none;
}

.jk-desktop-area-switch a.is-active {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(96, 165, 250, 0.54);
}

.jk-desktop-area-switch strong {
  color: var(--jk-text);
  font-size: 0.95rem;
}

.jk-desktop-area-switch small {
  color: var(--jk-text-muted);
}

.jk-desktop-cart-list {
  display: grid;
  gap: 10px;
}

.jk-desktop-cart-row {
  align-items: center;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 12px;
}

.jk-desktop-cart-row span,
.jk-desktop-cart-row small {
  color: var(--jk-text-muted);
  display: block;
  line-height: 1.3;
}

.jk-desktop-cart-row strong {
  color: var(--jk-text);
  display: block;
  margin: 3px 0;
}

.jk-desktop-qty {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 32px 32px 32px;
}

.jk-desktop-qty button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--jk-line);
  border-radius: 6px;
  color: var(--jk-text);
  height: 32px;
}

.jk-desktop-qty strong {
  margin: 0;
  text-align: center;
}

.jk-desktop-submit {
  margin-top: 14px;
  width: 100%;
}

.jk-desktop-submit--primary {
  min-height: 58px;
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.02rem;
  font-weight: 950;
}

.jk-desktop-history {
  border-top: 1px solid var(--jk-line);
  margin-top: 18px;
  padding-top: 14px;
}

.jk-desktop-history summary {
  cursor: pointer;
  list-style: none;
}

.jk-desktop-history summary::-webkit-details-marker {
  display: none;
}

.jk-desktop-history summary span {
  display: grid;
  gap: 3px;
}

.jk-desktop-history summary b {
  color: var(--jk-text);
}

.jk-desktop-history summary small {
  color: var(--jk-text-muted);
}

.jk-desktop-history-tools {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  background: rgba(42, 101, 163, 0.07);
  border: 1px solid rgba(42, 101, 163, 0.18);
  border-radius: 8px;
  margin-top: 12px;
  padding: 12px;
}

.jk-desktop-history-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.jk-history-top-note {
  align-items: center;
  background: rgba(42, 101, 163, 0.08);
  border: 1px solid rgba(42, 101, 163, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.jk-history-top-note strong {
  color: var(--jk-text);
}

.jk-history-top-note span {
  color: var(--jk-text-muted);
  font-size: 0.85rem;
}

.jk-history-group {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  overflow: hidden;
}

.jk-history-group > summary {
  align-items: center;
  background: rgba(15, 23, 42, 0.035);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.jk-history-group > summary strong {
  color: var(--jk-text);
  overflow-wrap: anywhere;
}

.jk-history-group > summary span {
  color: var(--jk-text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.jk-history-group-list {
  display: grid;
  gap: 6px;
  padding: 8px;
}

.jk-history-product-title {
  color: var(--jk-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 2px 2px;
  text-transform: uppercase;
}

.jk-history-result {
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 7px;
}

.jk-history-result .jk-position-image {
  border-radius: 6px;
  height: 48px;
  width: 48px;
}

.jk-history-result span,
.jk-history-result small {
  color: var(--jk-text-muted);
  display: block;
  line-height: 1.3;
}

.jk-history-result strong {
  color: var(--jk-text);
  display: block;
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

.jk-history-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-history-category {
  color: var(--jk-primary);
  font-weight: 700;
}

.jk-document-browser {
  display: grid;
  gap: 14px;
}

.jk-document-tabs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-document-tab {
  background: var(--jk-surface);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  display: grid;
  gap: 4px;
  padding: 12px;
  text-decoration: none;
}

.jk-document-tab span {
  color: var(--jk-primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.jk-document-tab strong {
  overflow-wrap: anywhere;
}

.jk-document-tab small {
  color: var(--jk-text-muted);
}

.jk-document-tab.is-active {
  border-color: rgba(42, 101, 163, 0.55);
  box-shadow: inset 0 0 0 1px rgba(42, 101, 163, 0.25);
}

.jk-document-filter {
  align-items: end;
  background: rgba(42, 101, 163, 0.07);
  border: 1px solid rgba(42, 101, 163, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(120px, 180px) minmax(150px, 220px) minmax(260px, 1fr) auto auto;
  padding: 12px;
}

.jk-dashboard-document-search {
  align-items: end;
  background: rgba(42, 101, 163, 0.07);
  border: 1px solid rgba(42, 101, 163, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1fr) auto;
  margin-bottom: 12px;
  padding: 12px;
}

.jk-document-query-note {
  color: var(--jk-text-muted);
  display: block;
  font-size: 0.88rem;
  margin-top: 4px;
}

.jk-document-months {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(13, minmax(0, 1fr));
}

.jk-document-months a {
  align-items: center;
  border: 1px solid var(--jk-line);
  border-radius: 7px;
  color: var(--jk-text);
  display: grid;
  min-height: 48px;
  padding: 7px;
  text-align: center;
  text-decoration: none;
}

.jk-document-months a small {
  color: var(--jk-text-muted);
}

.jk-document-months a.is-active {
  border-color: rgba(42, 101, 163, 0.7);
  font-weight: 900;
}

.jk-document-months a.is-empty {
  opacity: 0.45;
}

.jk-document-table td strong,
.jk-document-table td small {
  display: block;
}

.jk-document-table td small {
  color: var(--jk-text-muted);
  margin-top: 3px;
}

.jk-document-table-wrap {
  border-radius: 7px;
}

.jk-document-article-hits {
  border-left: 4px solid #d8b84f;
}

.jk-document-article-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
}

.jk-document-article-card {
  background: #ffffff;
  border: 1px solid #c5ced8;
  border-left: 5px solid #d8b84f;
  border-radius: 7px;
  color: #17202a;
  display: grid;
  gap: 9px;
  padding: 12px;
}

.jk-document-article-card summary {
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 74px minmax(0, 1fr);
  list-style: none;
}

.jk-document-article-card summary::-webkit-details-marker {
  display: none;
}

.jk-document-article-image {
  align-items: center;
  aspect-ratio: 1;
  background: #f4f6f8;
  border: 1px solid #c8d0d8;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.jk-document-article-image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.jk-document-article-image span {
  color: #607080;
  font-size: 0.72rem;
  font-weight: 850;
}

.jk-document-article-image.is-empty::before {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.34), rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  content: "";
  height: 18px;
  width: 18px;
}

.jk-document-article-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.jk-document-article-card strong {
  color: #17202a;
  line-height: 1.35;
}

.jk-document-article-main > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jk-document-article-main > div span {
  background: #eef3f8;
  border: 1px solid #c5ced8;
  border-radius: 4px;
  color: #465363;
  font-size: 0.75rem;
  font-weight: 850;
  padding: 3px 7px;
}

.jk-document-article-main > div span:first-child {
  background: #fff7c2;
  border-color: #d2bd61;
  color: #4b3b00;
}

.jk-document-kanban-inline {
  align-items: flex-start;
  background: #e8f7ef;
  border: 1px solid rgba(22, 128, 93, 0.22);
  border-radius: 8px;
  display: grid !important;
  gap: 3px;
  margin-top: 8px;
  padding: 8px 10px;
}

.jk-document-kanban-inline b {
  color: #166534;
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.jk-document-kanban-inline span {
  background: transparent !important;
  border: 0 !important;
  color: #14532d !important;
  font-size: 0.82rem !important;
  font-weight: 850;
  line-height: 1.35;
  padding: 0 !important;
}

.jk-document-kanban-locations {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  display: grid;
  gap: 6px;
  padding: 12px 16px;
}

.jk-document-kanban-locations strong {
  color: #166534;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.jk-document-kanban-locations span {
  color: #14532d;
  font-size: 0.86rem;
  font-weight: 850;
}

.jk-kanban-article-browser,
.jk-kanban-article-results {
  gap: 16px;
}

.jk-kanban-article-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.jk-kanban-article-stats div {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.jk-kanban-article-stats span {
  color: var(--jk-text-muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-kanban-article-stats strong {
  color: var(--jk-text);
  font-size: 1.42rem;
  font-weight: 950;
}

.jk-kanban-article-filter {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1.1fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(260px, 1.6fr) auto auto auto;
}

.jk-kanban-article-table-wrap {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  overflow-x: auto;
}

.jk-kanban-article-table {
  border-collapse: collapse;
  min-width: 1120px;
  width: 100%;
}

.jk-kanban-article-table th,
.jk-kanban-article-table td {
  border-bottom: 1px solid var(--jk-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.jk-kanban-article-table th {
  background: rgba(15, 23, 42, 0.72);
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.jk-kanban-article-table td {
  color: var(--jk-text-soft);
  font-size: 0.88rem;
}

.jk-kanban-article-table td strong,
.jk-kanban-article-table td small {
  display: block;
}

.jk-kanban-article-table td strong {
  color: var(--jk-text);
  font-weight: 950;
}

.jk-kanban-article-table td small {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.jk-kanban-article-customer-no {
  background: #fff7c2;
  border: 1px solid #d2bd61;
  border-radius: 5px;
  color: #4b3b00;
  display: inline-flex;
  font-weight: 950;
  padding: 4px 7px;
  white-space: nowrap;
}

.jk-kanban-article-status {
  background: rgba(87, 181, 255, 0.16);
  border: 1px solid rgba(87, 181, 255, 0.38);
  border-radius: 999px;
  color: var(--jk-text);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 4px 8px;
  white-space: nowrap;
}

.jk-kanban-article-status--bestellt {
  background: rgba(244, 183, 64, 0.2);
  border-color: rgba(244, 183, 64, 0.48);
}

.jk-kanban-article-status--fremdartikel {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.48);
}

.jk-kanban-article-empty {
  border: 1px dashed var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text-muted);
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 34px;
  text-align: center;
}

.jk-kanban-article-empty strong {
  color: var(--jk-text);
}

.jk-kanban-article-search-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  width: 100%;
}

.jk-kanban-article-area-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.jk-kanban-article-area-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 14px;
  text-decoration: none;
}

.jk-kanban-article-area-card.is-active,
.jk-kanban-article-area-card:hover {
  border-color: rgba(87, 181, 255, 0.58);
  background: rgba(87, 181, 255, 0.12);
}

.jk-kanban-article-area-card strong {
  font-size: 1rem;
  font-weight: 950;
}

.jk-kanban-article-area-card small {
  color: var(--jk-text-muted);
  font-weight: 750;
}

.jk-kanban-article-area-card em {
  align-items: end;
  color: var(--jk-text);
  display: flex;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 950;
  gap: 6px;
  margin-top: auto;
}

.jk-kanban-article-area-card em span {
  color: var(--jk-text-muted);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.jk-kanban-article-insights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 18px;
}

.jk-kanban-article-insights > div {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.jk-kanban-article-insights strong {
  color: var(--jk-text);
  font-weight: 950;
}

.jk-kanban-article-insights small {
  color: var(--jk-text-muted);
}

.jk-kanban-insight-more {
  border-top: 1px solid var(--jk-line);
  margin-top: 8px;
  padding-top: 8px;
}

.jk-kanban-insight-more summary {
  background: #57b5ff;
  border: 1px solid rgba(87, 181, 255, 0.72);
  border-radius: 6px;
  color: #082f49;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 950;
  justify-content: center;
  line-height: 1;
  margin-top: 2px;
  min-height: 36px;
  padding: 10px 12px;
}

.jk-kanban-insight-more summary::marker {
  content: "";
}

.jk-kanban-insight-more summary::-webkit-details-marker {
  display: none;
}

.jk-kanban-insight-more[open] summary {
  background: #d9eaf7;
  border-color: #9fc5e8;
}

.jk-kanban-insight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}

.jk-kanban-insight-table {
  border-collapse: collapse;
  margin-top: 10px;
  width: 100%;
}

.jk-kanban-insight-table th,
.jk-kanban-insight-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--jk-text-soft);
  font-size: 0.8rem;
  padding: 7px 6px;
  text-align: left;
  vertical-align: top;
}

.jk-kanban-insight-table th {
  color: var(--jk-text-muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.jk-kanban-insight-actions button,
.jk-kanban-insight-actions a,
.jk-kanban-list-actions button,
.jk-kanban-list-actions a,
.jk-kanban-article-detail-button {
  background: #57b5ff;
  border: 1px solid rgba(87, 181, 255, 0.72);
  border-radius: 6px;
  color: #082f49;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 950;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  text-decoration: none;
}

.jk-kanban-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 0;
}

.jk-kanban-stock-locations {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 10px;
}

.jk-kanban-stock-locations strong {
  color: var(--jk-text);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.jk-kanban-stock-locations span,
.jk-kanban-stock-locations em {
  color: var(--jk-text-muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.jk-kanban-article-detail-button {
  justify-self: start;
}

.jk-scroll-top-button {
  background: #57b5ff;
  border: 1px solid rgba(8, 47, 73, 0.2);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  color: #082f49;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 950;
  min-height: 42px;
  padding: 0 16px;
  position: fixed;
  right: 24px;
  z-index: 30;
}

.jk-kanban-article-modal-card {
  display: grid;
  gap: 14px;
}

.jk-document-article-card dl {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.jk-document-article-card dl div {
  border-right: 1px solid #e2e8f0;
  display: grid;
  gap: 3px;
  padding-right: 9px;
}

.jk-document-article-card dl div:last-child {
  border-right: 0;
}

.jk-document-article-card dt {
  color: #607080;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-document-article-card dd {
  color: #17202a;
  font-weight: 900;
  margin: 0;
}

.jk-document-article-docs {
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.jk-document-year-history {
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  padding-top: 10px;
}

.jk-document-year-history div {
  background: #f8fafc;
  border: 1px solid #d7dee6;
  border-radius: 6px;
  display: grid;
  gap: 3px;
  padding: 9px;
}

.jk-document-year-history strong {
  color: #12344d;
}

.jk-document-year-history span {
  color: #607080;
  font-size: 0.78rem;
  font-weight: 850;
}

.jk-document-year-history em {
  color: #17202a;
  font-style: normal;
  font-weight: 900;
}

.jk-document-article-docs-head,
.jk-document-article-doc {
  align-items: center;
  display: grid;
  gap: 8px;
}

.jk-document-article-docs-head {
  grid-template-columns: 1fr auto;
}

.jk-document-article-docs-head span {
  color: #607080;
  font-size: 0.8rem;
  font-weight: 850;
}

.jk-document-article-doc-list {
  display: grid;
  gap: 6px;
}

.jk-document-article-doc-group {
  background: #f8fafc;
  border: 1px solid #d7dee6;
  border-radius: 6px;
  display: grid;
  gap: 8px;
  padding: 8px;
}

.jk-document-article-doc-group > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  list-style: none;
}

.jk-document-article-doc-group > summary::-webkit-details-marker,
.jk-document-article-more-docs > summary::-webkit-details-marker {
  display: none;
}

.jk-document-article-doc-group > summary strong {
  overflow-wrap: anywhere;
}

.jk-document-article-doc-group > summary small {
  color: #607080;
  font-weight: 850;
  white-space: nowrap;
}

.jk-document-article-doc-group[open] > summary {
  border-bottom: 1px solid #d7dee6;
  padding-bottom: 8px;
}

.jk-document-article-more-docs {
  display: grid;
  gap: 8px;
}

.jk-document-article-more-docs > summary {
  color: #12344d;
  cursor: pointer;
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  grid-template-columns: none;
  list-style: none;
  padding: 3px 2px;
}

.jk-document-article-empty {
  color: #607080;
  font-size: 0.82rem;
  font-weight: 850;
  margin: 0;
}

.jk-document-article-doc {
  background: #f8fafc;
  border: 1px solid #d7dee6;
  border-radius: 6px;
  color: #17202a;
  cursor: pointer;
  grid-template-columns: auto minmax(86px, auto) minmax(0, 1fr) auto;
  padding: 8px;
  text-decoration: none;
  text-align: left;
  width: 100%;
}

.jk-document-article-doc small {
  color: #607080;
  overflow-wrap: anywhere;
}

.jk-document-article-doc em {
  color: #17202a;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.jk-document-modal {
  background: rgba(5, 10, 18, 0.78);
  display: grid;
  inset: 0;
  padding: 18px;
  place-items: center;
  position: fixed;
  z-index: 120;
}

.jk-document-modal[hidden] {
  display: none;
}

.jk-modal-open {
  overflow: hidden;
}

.jk-document-modal-backdrop {
  inset: 0;
  position: absolute;
}

.jk-document-modal-dialog {
  background: #111827;
  border: 1px solid rgba(203, 213, 225, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  color: #f8fafc;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: min(94vh, 980px);
  overflow: hidden;
  position: relative;
  width: min(96vw, 1180px);
}

.jk-document-modal-head {
  align-items: center;
  background: #182232;
  border-bottom: 1px solid rgba(203, 213, 225, 0.16);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 16px;
}

.jk-document-modal-head h2 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 0;
}

.jk-document-modal-head small {
  color: #cbd5e1;
  display: block;
  font-weight: 750;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.jk-document-modal-close {
  align-items: center;
  background: #243244;
  border: 1px solid rgba(203, 213, 225, 0.22);
  border-radius: 6px;
  color: #f8fafc;
  cursor: pointer;
  display: flex;
  font-size: 1.4rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.jk-document-modal-actions {
  align-items: center;
  background: #0f172a;
  border-bottom: 1px solid rgba(203, 213, 225, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
}

.jk-document-modal-actions .jk-btn-secondary {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #17202a;
}

.jk-document-table .jk-btn-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
  min-height: 34px;
  padding: 0 12px;
}

.jk-document-table .jk-btn-secondary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03)),
    #1d4ed8;
  border-color: #1e40af;
  color: #ffffff;
}

.jk-document-modal-frame-wrap {
  background: #293241;
  min-height: 0;
  padding: 12px;
}

.jk-document-modal-frame-wrap iframe {
  background: #ffffff;
  border: 0;
  border-radius: 4px;
  height: 100%;
  width: 100%;
}

.jk-document-table {
  min-width: 0;
  table-layout: fixed;
  width: 100%;
}

.jk-document-table th,
.jk-document-table td {
  overflow-wrap: anywhere;
  white-space: normal;
}

.jk-document-section {
  border-left: 4px solid var(--jk-line-strong);
}

.jk-document-section--orders {
  border-left-color: #2a65a3;
}

.jk-document-section--deliveries {
  border-left-color: #16805d;
}

.jk-document-section--invoices {
  border-left-color: #9a5b13;
}

.jk-document-section--orders .jk-exec-section-head {
  background: rgba(42, 101, 163, 0.08);
  border: 1px solid rgba(42, 101, 163, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
}

.jk-document-section--deliveries .jk-exec-section-head {
  background: rgba(22, 128, 93, 0.08);
  border: 1px solid rgba(22, 128, 93, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
}

.jk-document-section--invoices .jk-exec-section-head {
  background: rgba(154, 91, 19, 0.08);
  border: 1px solid rgba(154, 91, 19, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
}

.jk-document-badge {
  border-radius: 5px;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  margin-right: 8px;
  min-width: 30px;
  padding: 3px 6px;
  text-align: center;
}

.jk-document-badge--orders {
  background: rgba(42, 101, 163, 0.14);
  color: #1f5f9d;
}

.jk-document-badge--deliveries {
  background: rgba(22, 128, 93, 0.14);
  color: #137655;
}

.jk-document-badge--invoices {
  background: rgba(154, 91, 19, 0.14);
  color: #8a520f;
}

.jk-order-special-strip {
  align-items: center;
  background: rgba(244, 183, 64, 0.095);
  border: 1px solid rgba(244, 183, 64, 0.36);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 14px;
  padding: 18px;
}

.jk-order-special-strip h2 {
  color: var(--jk-text);
  font-size: 1.2rem;
  margin: 4px 0 4px;
}

.jk-order-special-strip p {
  color: var(--jk-text-muted);
  margin: 0;
}

.jk-order-special-strip .jk-btn {
  flex: 0 0 auto;
}

.jk-order-entry-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.jk-order-entry-panel .jk-exec-section-head {
  margin-bottom: 0;
}

.jk-order-entry-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  color: #102033;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.jk-order-work-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
}

.jk-order-entry-toolbar {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.4fr) auto;
}

.jk-order-entry-toolbar label {
  display: grid;
  gap: 5px;
}

.jk-order-entry-toolbar span {
  color: #475569;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-order-entry-toolbar input,
.jk-order-entry-toolbar select,
.jk-order-entry-row input,
.jk-order-request-card textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #102033;
  font: inherit;
  min-height: 40px;
  padding: 9px 10px;
  width: 100%;
}

.jk-order-entry-toolbar input::placeholder,
.jk-order-entry-row input::placeholder,
.jk-order-request-card textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

.jk-order-entry-toolbar button {
  background: #2563eb;
  border: 1px solid #2563eb;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 900;
  min-height: 40px;
  padding: 0 16px;
}

.jk-order-recent-block {
  display: grid;
  gap: 7px;
}

.jk-order-recent-block > span {
  color: #334155;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.jk-order-recent-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-order-recent-list button {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  color: #102033;
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 10px;
  text-align: left;
}

.jk-order-recent-list b {
  color: #0f172a;
  font-size: 0.9rem;
}

.jk-order-recent-list small {
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.25;
}

.jk-order-entry-table {
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  overflow: hidden;
}

.jk-order-entry-row {
  background: #ffffff;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(220px, 1.5fr) 110px 120px minmax(180px, 1fr);
}

.jk-order-entry-row + .jk-order-entry-row {
  border-top: 1px solid #e2e8f0;
}

.jk-order-entry-row > span {
  border-right: 1px solid #e2e8f0;
  min-width: 0;
  padding: 8px;
}

.jk-order-entry-row > span:last-child {
  border-right: 0;
}

.jk-order-entry-row--head {
  background: #eaf1f8;
}

.jk-order-entry-row--head span {
  color: #334155;
  font-size: 0.76rem;
  font-weight: 950;
  min-height: 38px;
  text-transform: uppercase;
}

.jk-order-entry-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.jk-order-request-card {
  align-content: start;
}

.jk-order-card-kicker {
  color: #475569;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.jk-order-request-card > strong {
  color: #0f172a;
  font-size: 1.15rem;
}

.jk-order-request-card textarea {
  min-height: 134px;
  resize: vertical;
}

.jk-order-upload-box {
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 56px;
  padding: 10px;
}

.jk-order-upload-box span {
  color: #475569;
  font-size: 0.88rem;
}

.jk-order-upload-box button {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #102033;
  font-weight: 850;
  min-height: 34px;
  padding: 0 12px;
}

.jk-order-entry-card .jk-btn {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.jk-order-entry-card .jk-btn-secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #102033;
}

.jk-customer-portal {
  min-height: calc(100vh - 78px);
  padding: 18px 0 32px;
}

.jk-customer-portal-shell {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 230px minmax(0, 1fr);
}

.jk-customer-menu {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  padding: 14px;
  position: sticky;
  top: 92px;
}

.jk-customer-menu-head {
  border-bottom: 1px solid var(--jk-line);
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding-bottom: 12px;
}

.jk-customer-menu-head strong {
  color: var(--jk-text);
  font-size: 0.95rem;
  font-weight: 900;
}

.jk-customer-menu nav {
  display: grid;
  gap: 4px;
}

.jk-customer-menu a {
  border-radius: 7px;
  color: var(--jk-text-muted);
  font-weight: 850;
  padding: 10px;
  text-decoration: none;
}

.jk-customer-menu a:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--jk-text);
}

.jk-customer-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.jk-customer-top {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.jk-customer-user {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text-muted);
  display: grid;
  gap: 4px;
  min-width: 260px;
  padding: 12px 14px;
  text-align: right;
}

.jk-customer-user strong {
  color: var(--jk-text);
  font-weight: 900;
}

.jk-customer-user span {
  font-size: 0.82rem;
  line-height: 1.3;
}

.jk-customer-primary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-customer-primary-card,
.jk-customer-module,
.jk-customer-admin-card,
.jk-customer-status-item {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.jk-customer-primary-card {
  background: rgba(255, 255, 255, 0.045);
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 18px;
}

.jk-customer-primary-card--primary {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(96, 165, 250, 0.45);
}

.jk-customer-primary-card strong {
  color: var(--jk-text);
  font-size: 1.35rem;
  font-weight: 950;
}

.jk-customer-primary-card span,
.jk-customer-module span,
.jk-customer-admin-card span,
.jk-customer-status-item span {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-customer-status {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-customer-status-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.jk-customer-status-item strong {
  color: var(--jk-text);
  font-size: 1.35rem;
  font-weight: 950;
}

.jk-customer-section {
  display: grid;
  gap: 12px;
}

.jk-customer-section-head h2 {
  color: var(--jk-text);
  font-size: 1rem;
  font-weight: 950;
  margin: 0;
}

.jk-customer-module-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-customer-module,
.jk-customer-admin-card {
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 8px;
  padding: 15px;
}

.jk-customer-module strong,
.jk-customer-admin-card strong {
  color: var(--jk-text);
  font-size: 1.05rem;
  font-weight: 950;
}

.jk-customer-module ul {
  display: grid;
  gap: 5px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.jk-customer-module li {
  color: var(--jk-text-soft);
  font-size: 0.84rem;
  line-height: 1.25;
}

.jk-customer-module li::before {
  color: var(--jk-accent-soft);
  content: "+";
  font-weight: 900;
  margin-right: 7px;
}

.jk-customer-admin-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .jk-customer-portal-shell {
    grid-template-columns: 1fr;
  }

  .jk-customer-menu {
    position: static;
  }

  .jk-customer-menu nav {
    display: flex;
    flex-wrap: wrap;
  }

  .jk-customer-module-grid,
  .jk-customer-status,
  .jk-order-path-grid,
  .jk-order-choice-grid,
  .jk-order-department-grid,
  .jk-order-alternative-grid,
  .jk-document-tabs,
  .jk-document-filter,
  .jk-dashboard-document-search,
  .jk-document-months,
  .jk-desktop-order-layout,
  .jk-customer-simple-grid,
  .jk-customer-simple-grid--management,
  .jk-customer-section-grid,
  .jk-order-work-grid,
  .jk-order-hub-grid,
  .jk-kanban-config-layout,
  .jk-rack-overview-layout,
  .jk-rack-modal-layout,
  .jk-kanban-focus-grid,
  .jk-status-rack-preview-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-rack-overview-layout,
  .jk-rack-area-panel {
    grid-template-columns: 1fr;
  }

  .jk-rack-modal-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .jk-customer-top,
  .jk-customer-home-top {
    align-items: stretch;
    flex-direction: column;
  }

  .jk-customer-user {
    min-width: 0;
    text-align: left;
  }

  .jk-document-modal {
    padding: 0;
  }

  .jk-document-modal-dialog {
    border-radius: 0;
    height: 100vh;
    width: 100vw;
  }

  .jk-document-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-document-modal-actions .jk-btn-secondary {
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  .jk-customer-primary,
  .jk-customer-module-grid,
  .jk-customer-admin-grid,
  .jk-customer-status,
  .jk-document-tabs,
  .jk-document-filter,
  .jk-dashboard-document-search,
  .jk-document-months,
  .jk-document-article-grid,
  .jk-document-article-card dl,
  .jk-document-article-card summary,
  .jk-document-article-doc,
  .jk-document-year-history,
  .jk-order-path-grid,
  .jk-order-choice-grid,
  .jk-order-department-grid,
  .jk-order-alternative-grid,
  .jk-desktop-order-layout,
  .jk-desktop-order-form,
  .jk-desktop-area-switch,
  .jk-desktop-cart-row,
  .jk-desktop-history-tools,
  .jk-history-result,
  .jk-customer-simple-grid,
  .jk-customer-simple-grid--management,
  .jk-customer-section-grid,
  .jk-order-work-grid,
  .jk-order-hub-grid,
  .jk-kanban-config-layout,
  .jk-rack-overview-layout,
  .jk-rack-modal-layout,
  .jk-kanban-focus-grid,
  .jk-status-rack-preview-body {
    grid-template-columns: 1fr;
  }

  .jk-kanban-config-head,
  .jk-warehouse-hall-head,
  .jk-kanban-wall-head,
  .jk-status-rack-preview-head,
  .jk-rack-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .jk-warehouse-hall-head small {
    max-width: none;
    text-align: left;
  }

  .jk-warehouse-hall-map {
    min-height: 520px;
  }

  .jk-warehouse-layout-builder {
    grid-template-columns: 1fr;
  }

  .jk-warehouse-zone {
    position: absolute;
  }

  .jk-warehouse-toolbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-warehouse-toolbox strong,
  .jk-warehouse-toolbox small {
    grid-column: 1 / -1;
  }

  .jk-warehouse-toolbox button.jk-warehouse-tool {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .jk-warehouse-aisle {
    min-height: 42px;
    writing-mode: horizontal-tb;
  }

  .jk-rack-area-panel {
    position: static;
  }

  .jk-rack-search-results button,
  .jk-rack-article-item {
    grid-template-columns: 1fr;
  }

  .jk-rack-article-image {
    height: 96px;
    width: 96px;
  }

  .jk-rack-article-specs {
    grid-template-columns: 1fr 1fr;
  }

  .jk-rack-article-specs b {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(78px, 0.75fr) minmax(0, 1.25fr);
    min-height: 0;
  }

  .jk-rack-article-specs small {
    font-size: 0.7rem;
  }

  .jk-rack-scan-work {
    grid-template-columns: 1fr;
  }

  .jk-rack-scan-work .jk-kanban-config-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jk-rack-article-meta {
    justify-items: start;
    text-align: left;
  }

  .jk-order-entry-toolbar,
  .jk-order-entry-row {
    grid-template-columns: 1fr;
  }

  .jk-order-recent-list {
    grid-template-columns: 1fr;
  }

  .jk-order-special-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .jk-order-entry-row > span {
    border-right: 0;
  }

  .jk-order-upload-box {
    align-items: stretch;
    flex-direction: column;
  }

  .jk-order-entry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .jk-order-main-button strong {
    font-size: 1.55rem;
  }
}

.jk-demand-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
}

.jk-demand-primary {
  min-width: 0;
}

.jk-demand-type-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

.jk-demand-type,
.jk-demand-chip-row button {
  appearance: none;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--jk-text);
  cursor: default;
  font: inherit;
  text-align: left;
}

.jk-demand-type {
  display: grid;
  gap: 7px;
  min-height: 104px;
  padding: 14px;
}

.jk-demand-type strong,
.jk-demand-result strong,
.jk-demand-ticket strong {
  color: var(--jk-text);
  font-weight: 900;
  line-height: 1.25;
}

.jk-demand-type span,
.jk-demand-route span,
.jk-demand-result small,
.jk-demand-ticket small {
  color: var(--jk-text-muted);
  line-height: 1.35;
}

.jk-demand-type.is-active {
  border-color: rgba(87, 181, 255, 0.48);
  background: rgba(87, 181, 255, 0.12);
}

.jk-demand-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-demand-form-wide {
  grid-column: 1 / -1;
}

.jk-demand-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jk-demand-route {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.jk-demand-route div {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 48px minmax(0, 1fr);
}

.jk-demand-route b {
  align-items: center;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
}

.jk-demand-board {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-demand-ticket {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 7px;
  padding: 14px;
}

.jk-demand-ticket span,
.jk-demand-result span {
  color: var(--jk-accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-demand-search-card {
  margin-bottom: 18px;
}

.jk-demand-search {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.jk-demand-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.jk-demand-chip-row button {
  color: var(--jk-text-muted);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 8px 10px;
}

.jk-demand-result-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.jk-demand-result {
  align-items: center;
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 8px 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.jk-demand-result span,
.jk-demand-result strong,
.jk-demand-result small {
  grid-column: 1;
}

.jk-demand-result .jk-btn-secondary {
  grid-column: 2;
  grid-row: 1 / span 3;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .jk-demand-layout,
  .jk-demand-board {
    grid-template-columns: 1fr;
  }

  .jk-demand-type-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .jk-demand-form-grid,
  .jk-demand-search,
  .jk-demand-result {
    grid-template-columns: 1fr;
  }

  .jk-demand-result .jk-btn-secondary {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

.jk-position-main .jk-customer-catalog-no b {
  color: #ffd76a;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.jk-position-tech-card {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(86px, auto) 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(90, 162, 255, 0.3);
  border-radius: 12px;
  color: var(--jk-text);
  background: linear-gradient(180deg, rgba(90, 162, 255, 0.18), rgba(255, 255, 255, 0.045));
  line-height: 1.15;
}

.jk-position-tech-card > strong {
  color: #ffffff;
  font-size: clamp(1.45rem, 3.1vw, 2.05rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.jk-position-tech-card > div {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jk-position-tech-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.88rem;
  font-weight: 820;
}

.jk-position-tech-card b {
  color: var(--jk-text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 850;
}

.jk-position-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.jk-position-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--jk-line);
  border-radius: 999px;
  color: var(--jk-text-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  line-height: 1;
}

.jk-position-specs b {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.jk-position-image {
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 218, 230, 0.9);
  border-radius: 12px;
  background: #ffffff;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 820;
  overflow: hidden;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.jk-position-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 6px;
}

.jk-ve-control {
  display: grid;
  grid-template-columns: 32px 34px 32px;
  gap: 4px;
  align-items: center;
  justify-content: end;
}

.jk-ve-control button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--jk-line-strong);
  border-radius: 10px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 1.25rem;
  font-weight: 850;
}

.jk-ve-control strong {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jk-text);
  font-size: 1.25rem;
}

.jk-ve-control small {
  grid-column: 1 / -1;
  color: var(--jk-text-muted);
  text-align: center;
  font-weight: 760;
}

.jk-position-tools {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.jk-position-note {
  display: grid;
  gap: 5px;
}

.jk-position-note span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.jk-position-note textarea {
  width: 100%;
  resize: vertical;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--jk-line);
  border-radius: 10px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 0.9rem;
}

.jk-position-delete {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 90, 111, 0.28);
  border-radius: 10px;
  color: var(--jk-danger);
  background: rgba(239, 90, 111, 0.1);
  font-size: 0.88rem;
  font-weight: 820;
  white-space: nowrap;
}

.jk-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 7, 12, 0.68);
  backdrop-filter: blur(10px);
}

.jk-modal[hidden] {
  display: none;
}

.jk-modal-dialog {
  width: min(100%, 480px);
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--jk-line-strong);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--jk-bg-elevated);
  box-shadow: var(--jk-shadow-3);
}

.jk-modal-dialog h2 {
  color: var(--jk-text);
  font-size: 1.6rem;
}

.jk-modal-dialog p {
  color: var(--jk-text-soft);
  line-height: 1.55;
}

.jk-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.jk-submit-comment-field {
  display: grid;
  gap: 8px;
}

.jk-submit-comment-field span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.jk-submit-comment-field textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  border: 1px solid var(--jk-line-strong);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--jk-text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  line-height: 1.45;
}

.jk-submit-comment-field textarea:focus {
  outline: 0;
  border-color: rgba(49, 196, 141, 0.72);
  box-shadow: 0 0 0 3px rgba(49, 196, 141, 0.16);
}

.jk-scan-input span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jk-scan-input strong {
  color: var(--jk-text);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.jk-rack-card {
  margin-top: 20px;
}

.jk-rack-visual {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.jk-rack-shelf {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--jk-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.jk-rack-shelf > span {
  color: var(--jk-text-soft);
  font-weight: 820;
}

.jk-rack-bins {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 10px;
}

.jk-rack-bin {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--jk-text);
  font-weight: 850;
  border: 1px solid var(--jk-line);
  background: rgba(255, 255, 255, 0.04);
}

.jk-rack-bin.is-ok {
  border-color: rgba(49, 196, 141, 0.28);
  background: var(--jk-success-soft);
}

.jk-rack-bin.is-open {
  border-color: rgba(244, 183, 64, 0.3);
  background: var(--jk-warning-soft);
}

.jk-rack-bin.is-empty {
  border-color: rgba(239, 90, 111, 0.3);
  background: var(--jk-danger-soft);
}

.jk-upload-card,
.jk-placeholder-card {
  margin-top: 24px;
}

.jk-upload-card {
  max-width: 760px;
}

.jk-upload-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.jk-upload-form input[type="file"] {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px dashed var(--jk-line-strong);
  color: var(--jk-text-soft);
  background: rgba(255, 255, 255, 0.04);
}

.jk-upload-steps {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-placeholder-pipeline {
  margin-top: 22px;
}

.jk-dashboard-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jk-space-4);
  margin-bottom: var(--jk-space-5);
}

.jk-dashboard-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.jk-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--jk-space-5);
}

.jk-action-card {
  display: block;
  height: 100%;
}

.jk-action-card .jk-card-body {
  display: grid;
  gap: 12px;
  min-height: 180px;
}

.jk-action-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.jk-action-card-text {
  color: var(--jk-text-soft);
  line-height: 1.65;
}

.jk-action-card:hover {
  transform: translateY(-2px);
}

.jk-dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--jk-space-5);
  margin-top: var(--jk-space-8);
}

.jk-activity-list,
.jk-mini-list {
  display: grid;
  gap: 14px;
}

.jk-activity-item,
.jk-mini-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--jk-radius-md);
  border: 1px solid var(--jk-line);
  background: rgba(255,255,255,0.03);
}

.jk-activity-copy,
.jk-mini-copy {
  display: grid;
  gap: 4px;
}

.jk-activity-title,
.jk-mini-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--jk-text);
}

.jk-activity-text,
.jk-mini-text {
  font-size: 0.9rem;
  color: var(--jk-text-soft);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .jk-appbar-inner {
    grid-template-columns: 1fr auto;
    padding-block: 12px;
  }

  .jk-appbar-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .jk-appbar-dropdown {
    min-width: 190px;
  }

  .jk-kpi-grid,
  .jk-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .jk-ops-hero,
  .jk-ops-dashboard-grid,
  .jk-ops-dashboard-grid--bottom {
    grid-template-columns: 1fr;
  }

  .jk-kanban-approval-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-kanban-work-grid {
    grid-template-columns: 1fr;
  }

  .jk-kanban-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-kanban-order-card summary {
    grid-template-columns: 1fr;
  }

  .jk-kanban-order-counts {
    justify-content: start;
  }

  .jk-classic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-ops-metric-grid,
  .jk-ops-kpi-group:first-child .jk-ops-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-ops-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jk-ops-stats-grid {
    grid-template-columns: 1fr;
  }

  .jk-approval-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-department-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-status-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-kiosk-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .jk-kiosk-brand-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .jk-kiosk-dashboard {
    min-height: calc(100svh - 124px);
    padding: 8px 0;
  }

  .jk-kiosk-container {
    gap: 10px;
  }

  .jk-kiosk-primary {
    min-height: clamp(116px, 19svh, 150px);
  }

  .jk-kiosk-secondary a {
    min-height: clamp(68px, 10svh, 84px);
  }

  .jk-kanban-review-layout,
  .jk-kanban-scan-layout {
    grid-template-columns: 1fr;
  }

  .jk-position-row,
  .jk-status-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .jk-position-row .jk-badge,
  .jk-position-row .jk-btn-ghost,
  .jk-status-row .jk-badge,
  .jk-status-meta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .jk-position-row--scan {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .jk-process-check-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .jk-process-check-image {
    width: 64px;
    height: 52px;
  }

  .jk-process-check-remove {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .jk-position-row--approval {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .jk-position-row--scan .jk-position-image {
    grid-column: auto;
  }

  .jk-position-row--approval .jk-position-image {
    grid-column: auto;
    width: 88px;
  }

  .jk-position-image {
    width: 116px;
  }

  .jk-ve-control {
    grid-column: 2 / -1;
    justify-content: start;
  }

  .jk-position-tools,
  .jk-position-note {
    grid-column: 1 / -1;
  }

  .jk-position-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .jk-appbar-inner {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-block: 8px;
  }

  .jk-appbar-brand {
    min-width: 0;
    gap: 10px;
  }

  .jk-appbar-mark {
    width: 48px;
    height: 30px;
  }

  .jk-appbar-subtitle {
    display: none;
  }

  .jk-appbar-link {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.8rem;
  }

  .jk-appbar-actions {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
  }

  .jk-appbar-nav {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    overflow-x: visible;
    overflow-y: visible;
    padding-bottom: 4px;
    width: 100%;
  }

  .jk-appbar-nav > .jk-appbar-link,
  .jk-appbar-menu {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 86px;
  }

  .jk-appbar-menu > .jk-appbar-link,
  .jk-appbar-nav > .jk-appbar-link {
    width: 100%;
  }

  .jk-appbar-menu {
    position: static;
  }

  .jk-appbar-dropdown {
    left: 0;
    max-width: calc(100vw - 24px);
    min-width: 190px;
    position: absolute;
    top: 100%;
  }

  .jk-dashboard {
    padding: var(--jk-space-7) 0 var(--jk-space-8);
  }

  .jk-dashboard-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .jk-status-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .jk-status-draft-pill {
    width: 100%;
    justify-items: start;
  }

  .jk-status-group summary {
    grid-template-columns: 1fr;
  }

  .jk-status-group-tools,
  .jk-status-order-card summary,
  .jk-status-order-card summary dl,
  .jk-kanban-command-grid,
  .jk-kanban-order-counts,
  .jk-kanban-position-row,
  .jk-kanban-position-row dl,
  .jk-status-position-card,
  .jk-status-position-card dl {
    grid-template-columns: 1fr;
  }

  .jk-status-order-card summary dl div {
    text-align: left;
  }

  .jk-kpi-grid,
  .jk-action-grid {
    grid-template-columns: 1fr;
  }

  .jk-ops-dashboard {
    padding-top: 18px;
  }

  .jk-ops-hero-copy,
  .jk-ops-hero-panel,
  .jk-card-body {
    padding: 20px;
  }

  .jk-ops-group-head,
  .jk-ops-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .jk-ops-metric-grid,
  .jk-ops-kpi-group:first-child .jk-ops-metric-grid,
  .jk-ops-action-grid,
  .jk-classic-grid {
    grid-template-columns: 1fr;
  }

  .jk-ops-bar-chart {
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .jk-ops-bar-col {
    min-width: 34px;
  }

  .jk-ops-metric-card,
  .jk-ops-action-card {
    min-height: auto;
  }

  .jk-ops-donut-row {
    grid-template-columns: 1fr;
  }

  .jk-approval-grid,
  .jk-location-grid,
  .jk-department-grid,
  .jk-status-area-grid,
  .jk-approval-card-head,
  .jk-approval-stats {
    grid-template-columns: 1fr;
  }

  .jk-status-draft-alert {
    align-items: flex-start;
    flex-direction: column;
  }

  .jk-rack-shelf {
    grid-template-columns: 1fr;
  }

  .jk-rack-bins {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-kiosk-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .jk-kiosk-select-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .jk-kiosk-brand-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .jk-kiosk-logo {
    width: 92px;
  }

  .jk-kiosk-primary {
    min-height: 116px;
  }

  .jk-kiosk-head > div,
  .jk-kiosk-context {
    padding: 12px;
  }

  .jk-kiosk-context {
    gap: 3px;
  }

  .jk-kiosk-context span,
  .jk-kiosk-context small {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .jk-kiosk-context strong {
    font-size: 0.95rem;
  }

  .jk-kiosk-primary span {
    font-size: 0.85rem;
  }

  .jk-kiosk-primary strong {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .jk-kiosk-primary small {
    max-width: 260px;
    font-size: 0.8rem;
  }

  .jk-kiosk-secondary a {
    min-height: 72px;
    padding: 10px 8px;
    text-align: center;
    justify-items: center;
  }

  .jk-kiosk-secondary strong {
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .jk-kiosk-secondary span {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .jk-position-row--scan {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .jk-position-row--approval {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .jk-position-image {
    width: 96px;
  }

  .jk-position-row--approval .jk-position-image {
    width: 80px;
  }

  .jk-kanban-approval-meta {
    grid-template-columns: 1fr;
  }

  .jk-position-tech-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .jk-phone-scan-panel {
    grid-template-columns: 1fr;
  }
}


.jk-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    margin-bottom: 20px;
}

.jk-nav-btn {
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.jk-nav-btn:hover {
    background: rgba(255,255,255,0.1);
}



.jk-admin-module-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.jk-admin-module-card-simple {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    min-height: 160px;
    height: 100%;
}

.jk-admin-module-card-simple .jk-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 20px;
}

.jk-admin-module-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.jk-admin-module-title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.2;
}

.jk-admin-module-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.92;
}

.jk-dashboard-section {
    margin-bottom: 28px;
}

.jk-kpi-grid {
    margin-bottom: 28px;
}

@media (max-width: 1100px) {
    .jk-admin-module-grid-simple {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
}

@media (max-width: 700px) {
    .jk-admin-module-grid-simple {
        grid-template-columns: 1fr;
    }
}

.jk-dashboard--admin-clean {
    padding-top: 24px;
}

.jk-dashboard-topbar {
    margin-bottom: 24px;
}

.jk-dashboard-grid--2col {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

@media (max-width: 1000px) {
    .jk-dashboard-grid--2col {
        grid-template-columns: 1fr;
    }
}


.jk-subnav-wrap {
    margin: 22px 0 28px 0;
}

.jk-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(120, 160, 220, 0.16);
    border-radius: 18px;
    background: rgba(16, 24, 40, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.jk-subnav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #c7d6f3;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.18s ease;
}

.jk-subnav-link:hover {
    color: #ffffff;
    background: rgba(66, 133, 244, 0.14);
    border-color: rgba(66, 133, 244, 0.28);
    transform: translateY(-1px);
}

.jk-subnav-link.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(53, 122, 232, 0.95), rgba(35, 96, 196, 0.95));
    border-color: rgba(116, 170, 255, 0.45);
    box-shadow: 0 8px 24px rgba(22, 77, 168, 0.28);
}


.jk-admin-area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.jk-admin-area-card {
    border-radius: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 220px;
}

.jk-admin-area-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}

.jk-admin-area-card--kanban {
    background:
        linear-gradient(180deg, rgba(33, 67, 126, 0.28) 0%, rgba(18, 25, 42, 0.88) 100%);
    border-color: rgba(74, 144, 226, 0.28);
}

.jk-admin-area-card--warehouse {
    background:
        linear-gradient(180deg, rgba(100, 74, 24, 0.26) 0%, rgba(28, 24, 18, 0.90) 100%);
    border-color: rgba(224, 168, 58, 0.26);
}

.jk-admin-area-card--management {
    background:
        linear-gradient(180deg, rgba(29, 82, 73, 0.26) 0%, rgba(17, 28, 27, 0.90) 100%);
    border-color: rgba(47, 196, 163, 0.22);
}

.jk-admin-area-card--communication {
    background:
        linear-gradient(180deg, rgba(88, 49, 112, 0.26) 0%, rgba(28, 20, 36, 0.90) 100%);
    border-color: rgba(181, 120, 255, 0.24);
}

.jk-admin-area-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.jk-admin-area-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.jk-admin-area-subtitle {
    margin: 8px 0 0 0;
    color: rgba(230, 238, 255, 0.82);
    line-height: 1.55;
    font-size: 0.98rem;
}

.jk-admin-area-points {
    display: grid;
    gap: 12px;
}

.jk-admin-area-point {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    color: rgba(245, 248, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.45;
    border: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 980px) {
    .jk-admin-area-grid {
        grid-template-columns: 1fr;
    }
}

.jk-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.jk-admin-card {
    border-radius: 20px;
    padding: 28px;
    transition: 0.2s;
    text-align: left;
}

.jk-admin-card:hover {
    transform: translateY(-4px);
}

/* Farben */

.jk-admin-card--kanban {
    background: linear-gradient(180deg, rgba(40,90,160,0.25), rgba(15,20,40,0.9));
}

.jk-admin-card--warehouse {
    background: linear-gradient(180deg, rgba(160,110,40,0.25), rgba(25,20,15,0.9));
}

.jk-admin-card--management {
    background: linear-gradient(180deg, rgba(40,140,120,0.25), rgba(15,25,22,0.9));
}

.jk-admin-card--communication {
    background: linear-gradient(180deg, rgba(140,60,180,0.25), rgba(25,15,35,0.9));
}

/* Text */

.jk-admin-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.jk-admin-sub {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.jk-admin-card--critical {
    background: linear-gradient(180deg, rgba(170, 70, 50, 0.26), rgba(30, 18, 18, 0.92));
}

.jk-admin-card--shipping {
    background: linear-gradient(180deg, rgba(52, 110, 170, 0.24), rgba(16, 22, 32, 0.92));
}

.jk-admin-card--stats {
    background: linear-gradient(180deg, rgba(110, 90, 170, 0.24), rgba(20, 18, 32, 0.92));
}

.jk-admin-grid--stats {
    grid-template-columns: repeat(4, 1fr);
}

.jk-admin-card--stats-soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1100px) {
    .jk-admin-grid--stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .jk-admin-grid--stats {
        grid-template-columns: 1fr;
    }
}

.jk-admin-grid--stats {
    grid-template-columns: repeat(4, 1fr);
}

.jk-admin-card--stats-soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1100px) {
    .jk-admin-grid--stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .jk-admin-grid--stats {
        grid-template-columns: 1fr;
    }
}

.jk-artikeltext {
    white-space: normal;
    word-break: break-word;
    max-width: 500px;
    line-height: 1.4;
}


.pdf-article-text {
    color: #ffffff;
    line-height: 1.35;
}

.sap-compare-text {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.35;
    max-width: 360px;
}

.sap-compare-text span {
    color: #60a5fa;
    font-weight: 700;
}

.sap-compare-text--empty {
    color: #64748b;
    border-top: none;
    padding-top: 0;
}


.import-table {
    width: 100%;
    border-collapse: collapse;
}

.import-table th,
.import-table td {
    padding: 8px 6px;
    vertical-align: top;
}

.article-select-cell {
    min-width: 250px;
}

.article-input {
    width: 220px;
    color: #111;
    background: #fff;
    padding: 6px 8px;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
}

.sap-under-input {
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.35;
    max-width: 280px;
}

.sap-under-input--empty {
    color: #64748b;
}

.center-text {
    text-align: center;
}

.select-candidate-btn {
    margin-top: 6px;
    padding: 5px 10px;
    border: 0;
    border-radius: 6px;
    background: #f59e0b;
    color: #111827;
    font-weight: 700;
    cursor: pointer;
}

.status-pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-green {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

.status-yellow {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
}

.status-open {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

.import-actions {
    margin-top: 24px;
    display: flex;
    gap: 8px;
}

.candidate-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.candidate-modal-box {
    width: 1100px;
    max-width: 95vw;
    background: #111827;
    color: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.candidate-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.candidate-modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.candidate-modal-header button {
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 30px;
    cursor: pointer;
}

.candidate-source {
    background: rgba(255,255,255,0.06);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.candidate-table {
    width: 100%;
    border-collapse: collapse;
}

.candidate-table th,
.candidate-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}


.import-header-fields {
    display: grid;
    grid-template-columns: 180px minmax(220px, 1fr) minmax(240px, 1fr);
    gap: 14px;
    align-items: end;
    max-width: 920px;
    margin-top: 22px;
    margin-bottom: 32px;
}


.import-header-fields label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 700;
}

.import-header-fields span {
    color: #93a4bb;
    font-size: 12px;
    letter-spacing: 0;
}

.import-header-fields input,
.import-header-fields select {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.86);
    color: #f8fafc;
    padding: 0 12px;
    font: inherit;
    outline: none;
}

.import-header-fields input::placeholder {
    color: rgba(203, 213, 225, 0.58);
}

.import-header-fields input:focus,
.import-header-fields select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.import-header-fields select option {
    background: #111827;
    color: #f8fafc;
}

@media (max-width: 900px) {
    .import-header-fields {
        grid-template-columns: 1fr;
        max-width: none;
    }
}


.import-status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -12px 0 28px;
}

.status-filter-btn {
    height: 36px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.82);
    color: #cbd5e1;
    padding: 0 14px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.status-filter-btn:hover {
    border-color: #60a5fa;
    color: #f8fafc;
}

.status-filter-btn.is-active {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    border-color: transparent;
    color: #ffffff;
}

.article-input-wrap {
    position: relative;
    width: 220px;
    z-index: 100;
}

.article-suggestions {
    display: none;
    position: absolute;
    z-index: 9999;
    top: calc(100% + 6px);
    left: 0;
    width: 430px;
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 8px;
    background: #0f172a;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46);
}

.article-suggestion-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: transparent;
    color: #f8fafc;
    padding: 9px 12px;
    text-align: left;
    cursor: pointer;
}

.article-suggestion-item:hover {
    background: rgba(59, 130, 246, 0.20);
}

.article-suggestion-item strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
    color: #ffffff;
}

.article-suggestion-item span {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.3;
    max-width: 390px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.jk-card,
.jk-card-body,
.import-table,
.import-table tbody,
.import-table tr,
.import-table td {
    overflow: visible;
}

.article-select-cell {
    position: relative;
    overflow: visible;
}

.article-input-wrap {
    position: relative;
    z-index: 100;
}

.article-suggestions {
    z-index: 9999;
}


.article-select-cell {
    position: relative;
    overflow: visible;
    z-index: 20;
}

.import-line-row:has(.article-input:focus),
.import-line-row:has(.article-suggestions[style*="block"]) {
    position: relative;
    z-index: 200;
}

.article-input-wrap {
    position: relative;
    width: 220px;
    z-index: 300;
}

.article-suggestions {
    display: none;
    position: absolute;
    z-index: 10000;
    top: calc(100% + 8px);
    left: 0;
    width: 520px;
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(96, 165, 250, 0.55);
    border-radius: 10px;
    background: #0b1220;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
}

.article-suggestion-item {
    width: 100%;
    min-height: 62px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: #0b1220;
    color: #f8fafc;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
}

.article-suggestion-item:hover {
    background: #172554;
}

.article-suggestion-item strong {
    display: block;
    font-size: 15px;
    line-height: 1.25;
    color: #ffffff;
}

.article-suggestion-item span {
    display: block;
    margin-top: 6px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.35;
    max-width: 480px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}


.candidate-modal {
    align-items: center;
    padding: 28px;
    overflow: hidden;
}

.candidate-modal-box {
    width: min(1120px, calc(100vw - 56px));
    max-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.candidate-modal-header {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #111827;
}

.candidate-source {
    flex: 0 0 auto;
}

.candidate-table {
    display: block;
    overflow-y: auto;
    overflow-x: auto;
    max-height: calc(100vh - 260px);
}

.candidate-table thead,
.candidate-table tbody,
.candidate-table tr {
    width: 100%;
}

.candidate-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #111827;
}

.jk-exec-menu-link em {
  color: var(--jk-text);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.jk-exec-menu-link--danger {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.92), rgba(153, 27, 27, 0.74));
  border-color: rgba(248, 113, 113, 0.75);
}

.jk-exec-menu-link--danger span,
.jk-exec-menu-link--danger strong,
.jk-exec-menu-link--danger em {
  color: #ffffff;
}

.jk-exec-menu-link--danger:hover {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.96), rgba(185, 28, 28, 0.84));
}

.jk-exec-menu-link--chat {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.9), rgba(21, 128, 61, 0.74));
  border-color: rgba(74, 222, 128, 0.68);
}

.jk-exec-menu-link--chat span,
.jk-exec-menu-link--chat strong,
.jk-exec-menu-link--chat em {
  color: #ffffff;
}

.jk-exec-menu-link--chat:hover {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.96), rgba(22, 163, 74, 0.82));
}

.jk-exec-menu-link--metrics {
  background: rgba(14, 165, 233, 0.12);
}

.jk-exec-menu-link--metrics span,
.jk-exec-menu-link--metrics strong,
.jk-exec-menu-link--metrics em {
  color: #dff6ff;
}

.jk-exec-menu-link--metrics:hover {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.92), rgba(13, 148, 136, 0.82));
}

.jk-exec-chart-grid--kanban {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

@media (max-width: 900px) {
  .jk-exec-chart-grid--kanban {
    grid-template-columns: 1fr;
  }
}

/* Internal executive dashboard */
.jk-exec-dashboard {
  padding-top: 20px;
}

.jk-exec-top {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  margin-bottom: 14px;
}

.jk-exec-top .jk-dashboard-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.jk-exec-top .jk-dashboard-subtitle {
  max-width: 760px;
}

.jk-exec-role {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  padding: 12px 14px;
}

.jk-exec-role strong {
  color: var(--jk-text);
  font-size: 0.94rem;
  line-height: 1.35;
}

.jk-exec-menu {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 16px 0 20px;
  overflow: hidden;
}

.jk-exec-menu-link {
  border-left: 1px solid var(--jk-line);
  display: grid;
  gap: 3px;
  min-height: 62px;
  padding: 10px 13px;
  text-decoration: none;
}

.jk-exec-menu-link:first-child {
  border-left: 0;
}

.jk-exec-menu-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.jk-exec-menu-link span {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-exec-menu-link strong {
  color: var(--jk-text);
  font-size: 0.98rem;
  line-height: 1.15;
}

.jk-chat-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  margin-top: 18px;
}

.jk-chat-list,
.jk-chat-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
}

.jk-chat-list {
  display: grid;
  align-content: start;
  overflow: hidden;
}

.jk-chat-list-head {
  align-items: center;
  border-bottom: 1px solid var(--jk-line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.jk-chat-list-head strong {
  color: var(--jk-text);
  font-size: 0.92rem;
}

.jk-chat-list-head span,
.jk-chat-list-head a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--jk-line);
  border-radius: 999px;
  color: var(--jk-text);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
  text-decoration: none;
}

.jk-chat-thread {
  border-bottom: 1px solid var(--jk-line);
  display: grid;
  gap: 5px;
  padding: 14px;
  text-decoration: none;
}

.jk-chat-thread:last-child {
  border-bottom: 0;
}

.jk-chat-thread:hover,
.jk-chat-thread.is-open {
  background: rgba(34, 197, 94, 0.12);
}

.jk-chat-thread span,
.jk-chat-thread small,
.jk-chat-empty p {
  color: var(--jk-text-muted);
}

.jk-chat-thread span {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-chat-thread strong,
.jk-chat-panel h2,
.jk-chat-empty strong {
  color: var(--jk-text);
}

.jk-chat-panel {
  min-height: 340px;
  padding: 18px;
}

.jk-chat-panel-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.jk-chat-status {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.36);
  border-radius: 999px;
  color: #86efac;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

.jk-chat-status.is-closed {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.36);
  color: #cbd5e1;
}

.jk-chat-panel--messenger {
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr) auto;
  min-height: 620px;
}

.jk-chat-panel-head small {
  color: var(--jk-text-muted);
}

.jk-chat-messages {
  align-content: end;
  display: grid;
  gap: 10px;
  max-height: 52vh;
  overflow-y: auto;
  padding: 18px 2px;
}

.jk-chat-bubble {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  max-width: min(74%, 680px);
  padding: 11px 13px;
}

.jk-chat-bubble p {
  color: var(--jk-text);
  line-height: 1.45;
  margin: 0;
  white-space: pre-wrap;
}

.jk-chat-bubble small {
  color: var(--jk-text-muted);
  font-size: 0.74rem;
}

.jk-chat-bubble.is-customer {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.36);
  justify-self: end;
}

.jk-chat-bubble.is-just {
  background: rgba(255, 255, 255, 0.07);
  justify-self: start;
}

.jk-chat-compose {
  align-items: end;
  border-top: 1px solid var(--jk-line);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: 14px;
}

.jk-chat-compose .jk-textarea {
  min-height: 74px;
}

.jk-chat-new {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-width: 760px;
}

.jk-chat-area-select {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-chat-area-card {
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 13px 14px;
  transition: border-color var(--jk-transition-fast), background var(--jk-transition-fast), transform var(--jk-transition-fast);
}

.jk-chat-area-card:hover,
.jk-chat-area-card.is-active {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(96, 165, 250, 0.48);
}

.jk-chat-area-card:has(input:checked) {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(96, 165, 250, 0.48);
}

.jk-chat-area-card input {
  appearance: none;
  height: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}

.jk-chat-area-card strong {
  color: var(--jk-text);
  font-size: 1rem;
  line-height: 1.15;
}

.jk-chat-area-card small {
  color: var(--jk-text-muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.jk-chat-new label {
  display: grid;
  gap: 7px;
}

.jk-chat-new label > span {
  color: var(--jk-text-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jk-chat-list-empty {
  color: var(--jk-text-muted);
  padding: 18px 14px;
}

.jk-chat-empty {
  align-content: center;
  display: grid;
  min-height: 240px;
  max-width: 520px;
}

.jk-chat-empty strong {
  font-size: 1.25rem;
}

.jk-chat-kpi--open {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.06));
  border-color: rgba(34, 197, 94, 0.34);
}

.jk-cockpit-tabs {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin: 16px 0 20px;
  overflow: hidden;
}

.jk-cockpit-tabs a {
  color: var(--jk-text);
  flex: 1 1 150px;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
}

.jk-cockpit-tabs a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.jk-cockpit-tabs a.is-active {
  background: rgba(14, 165, 233, 0.16);
  color: #dff6ff;
}

.jk-cockpit-tabs a.jk-cockpit-back-link {
  background: #fff7c2;
  color: #3f3000;
}

.jk-cockpit-tabs a.jk-cockpit-back-link:hover {
  background: #ffe88a;
  color: #241b00;
}

.jk-cockpit-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-cockpit-kpi,
.jk-cockpit-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
}

.jk-cockpit-kpi {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 14px;
  text-decoration: none;
}

a.jk-cockpit-kpi:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.jk-cockpit-kpi span {
  color: var(--jk-text-muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-cockpit-kpi strong {
  color: var(--jk-text);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1;
}

.jk-cockpit-kpi small {
  color: var(--jk-text-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.jk-cockpit-kpi--good {
  border-color: rgba(34, 197, 94, 0.28);
}

.jk-cockpit-kpi--watch {
  border-color: rgba(245, 158, 11, 0.34);
}

.jk-cockpit-kpi--danger {
  border-color: rgba(248, 113, 113, 0.4);
}

.jk-cockpit-split {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 12px;
}

.jk-cockpit-note-list {
  display: grid;
  gap: 10px;
}

.jk-cockpit-note-list p {
  color: var(--jk-text-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.jk-cockpit-panel {
  margin-top: 12px;
  padding: 14px;
}

.jk-cockpit-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.jk-cockpit-table div {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.4fr) minmax(100px, 0.6fr) minmax(100px, 0.5fr);
  padding: 10px 12px;
}

.jk-cockpit-table strong,
.jk-cockpit-table b {
  color: var(--jk-text);
}

.jk-cockpit-table strong,
.jk-cockpit-table span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-cockpit-table span {
  color: var(--jk-text-muted);
  font-size: 0.84rem;
}

.jk-cockpit-table b {
  text-align: right;
}

.jk-management-document-table-wrap {
  background: #f4f6f8;
  border-color: #aeb9c6;
}

.jk-management-document-table td strong,
.jk-management-document-table td small {
  display: block;
}

.jk-management-document-table td strong {
  color: #17202a;
  line-height: 1.2;
}

.jk-management-document-table td small {
  color: #465363;
  font-size: 0.78rem;
  line-height: 1.25;
  margin-top: 3px;
}

.jk-management-document-table {
  min-width: 980px;
}

.jk-management-document-table td {
  white-space: nowrap;
}

.jk-management-document-table td:nth-child(2) {
  min-width: 280px;
  white-space: normal;
}

.jk-management-document-table td:nth-child(5),
.jk-management-document-table td:nth-child(6),
.jk-management-document-table td:nth-child(7),
.jk-management-document-table td:nth-child(8) {
  text-align: right;
}

.jk-management-document-table tbody tr:hover td {
  background: #e8f2ff;
}

.jk-management-groups {
  display: grid;
  gap: 10px;
}

.jk-management-group {
  background: #edf1f5;
  border: 1px solid #aeb9c6;
  border-radius: 6px;
  overflow: hidden;
}

.jk-management-group summary {
  align-items: center;
  background: linear-gradient(180deg, #dfe8f3, #c9d6e4);
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  list-style: none;
  padding: 10px 12px;
}

.jk-management-group summary::-webkit-details-marker {
  display: none;
}

.jk-management-group summary::before {
  color: #12344d;
  content: "+";
  font-size: 1rem;
  font-weight: 900;
  grid-column: 1 / -1;
  line-height: 1;
  margin-bottom: -18px;
  width: 18px;
}

.jk-management-group[open] summary::before {
  content: "-";
}

.jk-management-group summary > div:first-of-type {
  padding-left: 24px;
}

.jk-management-group summary strong,
.jk-management-group summary span {
  display: block;
}

.jk-management-group summary strong {
  color: #12344d;
  font-size: 0.95rem;
  line-height: 1.2;
}

.jk-management-group summary span {
  color: #465363;
  font-size: 0.78rem;
  margin-top: 2px;
}

.jk-management-group summary dl {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.jk-management-group summary dl div {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(174, 185, 198, 0.75);
  border-radius: 3px;
  padding: 5px 7px;
}

.jk-management-group summary dt,
.jk-management-group summary dd {
  margin: 0;
}

.jk-management-group summary dt {
  color: #465363;
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-management-group summary dd {
  color: #17202a;
  font-size: 0.84rem;
  font-weight: 900;
  margin-top: 2px;
}

.jk-document-link {
  color: #12344d;
  text-decoration: none;
}

.jk-document-link:hover {
  color: #005a9e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jk-document-detail-kpis .jk-cockpit-kpi strong {
  font-size: 1.25rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.jk-sap-document-head {
  background: #edf1f5;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
  color: #17202a;
  margin-bottom: 14px;
  overflow: hidden;
}

.jk-sap-document-titlebar {
  align-items: center;
  background: linear-gradient(180deg, #dfe8f3, #c9d6e4);
  border-bottom: 1px solid #aeb9c6;
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
}

.jk-sap-document-titlebar strong {
  color: #12344d;
  font-size: 0.95rem;
}

.jk-sap-document-titlebar span {
  background: #fff7c2;
  border: 1px solid #d2bd61;
  border-radius: 3px;
  color: #4b3b00;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 3px 8px;
}

.jk-sap-form-grid {
  display: grid;
  gap: 8px 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
}

.jk-sap-form-grid div,
.jk-sap-comments {
  display: grid;
  gap: 3px;
}

.jk-sap-form-grid span,
.jk-sap-comments span {
  color: #465363;
  font-size: 0.72rem;
  font-weight: 800;
}

.jk-sap-form-grid strong,
.jk-sap-comments p {
  background: #fff;
  border: 1px solid #b7c1cc;
  border-radius: 3px;
  color: #17202a;
  font-size: 0.84rem;
  line-height: 1.25;
  margin: 0;
  min-height: 30px;
  overflow-wrap: anywhere;
  padding: 7px 8px;
}

.jk-sap-comments {
  padding: 0 12px 12px;
}

.jk-document-flow {
  border-top: 1px solid #c2ccd6;
}

.jk-document-flow summary {
  background: #fff7c2;
  color: #3f3000;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  list-style: none;
  padding: 10px 12px;
}

.jk-document-flow summary::-webkit-details-marker {
  display: none;
}

.jk-document-flow summary::before {
  content: "+";
  display: inline-block;
  font-weight: 900;
  margin-right: 8px;
  width: 12px;
}

.jk-document-flow[open] summary::before {
  content: "-";
}

.jk-document-flow-body {
  align-items: stretch;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
}

.jk-document-flow-node {
  background: #fff;
  border: 1px solid #b7c1cc;
  border-radius: 5px;
  color: #17202a;
  display: grid;
  flex: 0 0 172px;
  gap: 4px;
  min-height: 82px;
  padding: 9px;
  text-decoration: none;
}

button.jk-document-flow-node {
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.jk-document-flow-node:hover {
  background: #e8f2ff;
}

.jk-document-flow-node--current {
  background: #eaf4ff;
  border-color: #82add2;
}

.jk-document-flow-node span {
  color: #465363;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-document-flow-node strong {
  color: #12344d;
  font-size: 0.95rem;
  line-height: 1.15;
}

.jk-document-flow-node small {
  color: #465363;
  font-size: 0.72rem;
  line-height: 1.25;
}

.jk-document-flow-edge {
  align-self: center;
  background: #8aa0b5;
  flex: 0 0 28px;
  height: 2px;
  position: relative;
}

.jk-document-flow-edge::after {
  border-bottom: 5px solid transparent;
  border-left: 7px solid #8aa0b5;
  border-top: 5px solid transparent;
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
}

.jk-document-flow-body p {
  color: #465363;
  font-size: 0.84rem;
  margin: 0;
}

.jk-sap-table-wrap {
  background: #f4f6f8;
  border: 1px solid #aeb9c6;
  border-radius: 6px;
  overflow: auto;
}

.jk-sap-position-table {
  border-collapse: collapse;
  color: #17202a;
  font-size: 0.78rem;
  min-width: 1180px;
  width: 100%;
}

.jk-sap-position-table th {
  background: linear-gradient(180deg, #dce6f1, #c7d3df);
  border: 1px solid #aeb9c6;
  color: #12344d;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 7px 8px;
  position: sticky;
  text-align: left;
  top: 0;
  white-space: nowrap;
  z-index: 1;
}

.jk-sap-position-table td {
  background: #fff;
  border: 1px solid #c8d0d8;
  padding: 7px 8px;
  vertical-align: top;
}

.jk-sap-position-table tbody tr:nth-child(even) td {
  background: #f7f9fb;
}

.jk-sap-position-table tbody tr.is-open td {
  background: #fffdf0;
}

.jk-sap-position-table tbody tr:hover td {
  background: #e8f2ff;
}

.jk-document-table-wrap.jk-sap-table-wrap {
  overflow-x: visible;
}

.jk-document-table.jk-sap-position-table {
  min-width: 0;
  table-layout: fixed;
}

.jk-document-table.jk-sap-position-table th,
.jk-document-table.jk-sap-position-table td {
  overflow-wrap: anywhere;
  white-space: normal;
}

.jk-sap-description {
  line-height: 1.32;
  min-width: 330px;
}

.jk-sap-status {
  background: #eef2f7;
  border: 1px solid #c7d0da;
  border-radius: 3px;
  display: inline-flex;
  font-weight: 850;
  padding: 2px 6px;
  white-space: nowrap;
}

.is-open .jk-sap-status {
  background: #fff4ba;
  border-color: #d1b85d;
  color: #4b3b00;
}

.jk-sap-chain-chip {
  background: #edf7ff;
  border: 1px solid #adcce7;
  border-radius: 3px;
  color: #12344d;
  display: block;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
  margin-bottom: 4px;
  padding: 4px 6px;
  white-space: nowrap;
}

button.jk-sap-chain-chip,
a.jk-sap-chain-chip {
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

a.jk-sap-chain-chip:hover,
button.jk-sap-chain-chip:hover {
  background: #dbeeff;
  border-color: #7fb0da;
}

.jk-action-doc-list {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.jk-action-doc-list small {
  align-self: center;
  color: #64748b;
  font-size: .75rem;
  font-weight: 750;
}

.jk-action-doc-chip {
  background: #eef6ff;
  border: 1px solid #b9d7f3;
  border-radius: 4px;
  color: #12344d;
  cursor: pointer;
  font: inherit;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 4px 7px;
  text-align: left;
}

.jk-action-doc-chip:hover,
.jk-action-doc-chip:focus {
  background: #dbeeff;
  border-color: #7fb0da;
  outline: none;
}

.jk-sap-chain-chip--candidate {
  background: #fff7db;
  border-color: #d5bd70;
}

.jk-sap-muted {
  color: #7b8794;
}

.jk-sap-position-table small {
  color: #465363;
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
  margin-top: 3px;
}

.jk-document-position-list {
  display: grid;
  gap: 12px;
}

.jk-document-position {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  padding: 14px;
}

.jk-document-position-main {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.jk-document-position h3,
.jk-document-position h4,
.jk-document-position p {
  margin: 0;
}

.jk-document-position h3 {
  color: var(--jk-text);
  font-size: 1.05rem;
  line-height: 1.2;
}

.jk-document-position p {
  color: var(--jk-text-soft);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: 4px;
}

.jk-document-position dl {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.jk-document-position dl div {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px;
}

.jk-document-position dt {
  color: var(--jk-text-muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jk-document-position dd {
  color: var(--jk-text);
  font-size: 0.88rem;
  font-weight: 850;
  margin: 3px 0 0;
}

.jk-document-chain-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.jk-document-chain-grid > div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px;
}

.jk-document-chain-grid h4 {
  color: var(--jk-text);
  font-size: 0.86rem;
}

.jk-document-chain-grid p {
  color: var(--jk-text-soft);
  font-size: 0.84rem;
}

.jk-exec-section-head {
  align-items: end;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.jk-exec-section-head h2 {
  color: var(--jk-text);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.jk-exec-section-note {
  color: var(--jk-text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
  max-width: 420px;
  text-align: right;
}

.jk-exec-today,
.jk-exec-stats {
  margin-top: 22px;
}

.jk-finance-control-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 14px 0;
}

.jk-finance-dashboard .jk-cockpit-tabs,
.jk-finance-dashboard .jk-finance-path-panel,
.jk-finance-control-card {
  background: #f8fafc;
  border-color: #c9d3df;
  color: #17202a;
}

.jk-finance-dashboard .jk-cockpit-tabs {
  box-shadow: 0 10px 24px rgba(8, 14, 23, 0.16);
}

.jk-finance-dashboard .jk-cockpit-tabs a {
  color: #263445;
}

.jk-finance-dashboard .jk-cockpit-tabs a:hover {
  background: #e9f2fb;
}

.jk-finance-dashboard .jk-cockpit-tabs a.is-active {
  background: #dbeafe;
  color: #0f3b63;
}

.jk-finance-search {
  align-items: end;
  background: #f8fafc;
  border: 1px solid #c9d3df;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  margin: 0 0 14px;
  padding: 12px;
}

.jk-finance-search label {
  display: grid;
  gap: 6px;
}

.jk-finance-search label span {
  color: #536170;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-finance-search input {
  background: #fff;
  border: 1px solid #b8c4d1;
  border-radius: 6px;
  color: #17202a;
  font: inherit;
  min-height: 42px;
  padding: 0 12px;
}

.jk-finance-search input:focus {
  border-color: #4f8cc9;
  box-shadow: 0 0 0 3px rgba(79, 140, 201, 0.16);
  outline: 0;
}

.jk-finance-messages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.jk-finance-control-card,
.jk-finance-action-card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

a.jk-finance-control-card {
  text-decoration: none;
}

.jk-finance-control-card.is-active {
  box-shadow: 0 0 0 2px rgba(15, 59, 99, 0.22);
}

.jk-finance-action-card {
  background: #f6f7fb;
  border: 1px solid #c9d3df;
  border-radius: 8px;
}

.jk-finance-action-card span,
.jk-finance-docnums {
  color: #536170;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-finance-action-card strong {
  color: #17202a;
  font-size: 1.35rem;
  line-height: 1;
}

.jk-finance-action-card .jk-btn {
  min-height: 40px;
}

.jk-finance-docnums {
  background: #fff7e6;
  border: 1px solid #f2d28d;
  border-radius: 6px;
  color: #6f4b00;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 8px;
  text-transform: none;
}

.jk-finance-control-card small,
.jk-finance-path-panel small,
.jk-finance-document-table small {
  color: #536170;
  font-size: 0.82rem;
}

.jk-finance-control-card span {
  color: #536170;
}

.jk-finance-control-card strong {
  color: #17202a;
}

.jk-finance-control-card--warning {
  background: #fffaf0;
  border-color: #f1c46b;
}

.jk-finance-control-card--info {
  background: #eef7ff;
  border-color: #9bc9f0;
}

.jk-finance-control-card--total {
  background: #eefaf4;
  border-color: #95d8b7;
}

.jk-finance-path-panel {
  background: #f8fafc;
  border-color: #c9d3df;
  margin: 12px 0 10px;
  padding: 14px;
}

.jk-finance-path-panel div {
  display: grid;
  gap: 6px;
}

.jk-finance-path-panel strong {
  color: #17202a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.jk-finance-info-strip {
  align-items: start;
  background: #fff7e6;
  border: 1px solid #f2d28d;
  border-radius: 8px;
  color: #5b3d00;
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 12px 14px;
}

.jk-finance-info-strip strong {
  color: #3f2b00;
  font-size: 0.92rem;
}

.jk-finance-info-strip span {
  font-size: 0.86rem;
  line-height: 1.35;
}

.jk-finance-status {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 5px 8px;
}

.jk-finance-status.is-ok {
  background: #dcfce7;
  color: #166534;
}

.jk-finance-status.is-open {
  background: #fff3c4;
  color: #704500;
}

.jk-finance-status.is-danger {
  background: #fee2e2;
  color: #991b1b;
}

.jk-creditor-inbox-button {
  background: #ffffff;
  border-color: #9bc9f0;
  color: #17202a;
  font-weight: 900;
}

.jk-creditor-inbox-button:hover {
  background: #eef7ff;
  color: #0f3b63;
}

.jk-creditor-pdf-button,
.jk-creditor-order-chip {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
}

.jk-creditor-pdf-button:hover,
.jk-creditor-order-chip:hover {
  filter: brightness(0.96);
  text-decoration: underline;
}

.jk-creditor-order-chip {
  background: #eef7ff;
  border: 1px solid #9bc9f0;
  border-radius: 999px;
  color: #0f3b63;
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 5px 8px;
  text-align: left;
}

.jk-creditor-order-panel {
  max-width: min(1180px, calc(100vw - 32px));
}

.jk-creditor-order-body {
  display: grid;
  gap: 14px;
}

.jk-creditor-order-summary {
  background: #f8fafc;
  border: 1px solid #c9d3df;
  border-radius: 8px;
  color: #17202a;
  display: grid;
  gap: 5px;
  padding: 12px;
}

.jk-creditor-order-summary strong {
  color: #17202a;
  font-size: 1rem;
}

.jk-creditor-order-summary span {
  color: #536170;
  font-size: 0.86rem;
}

.jk-creditor-worklist-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 0 0 10px;
}

.jk-creditor-worklist-meta span {
  color: #536170;
  font-size: 0.86rem;
  font-weight: 800;
}

.jk-creditor-worklist-meta .jk-btn-secondary {
  min-height: 34px;
  padding: 7px 12px;
}

.jk-creditor-worklist-meta--bottom {
  margin: 12px 0 0;
}

.jk-finance-document-table {
  color: #17202a;
  font-size: 0.82rem;
  min-width: 1120px;
}

.jk-finance-document-table th,
.jk-finance-document-table td,
.jk-finance-document-table a {
  color: #17202a;
}

.jk-finance-open-document {
  appearance: none;
  background: transparent;
  border: 0;
  color: #0f3b63;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 2px;
  padding: 0;
  text-align: left;
}

.jk-finance-open-document span {
  color: #536170;
  font-size: 0.72rem;
  font-weight: 850;
}

.jk-finance-open-document strong {
  color: #0f3b63;
  font-size: 0.95rem;
  line-height: 1.1;
}

.jk-finance-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-start;
}

.jk-finance-chain span {
  background: #e8f2ff;
  border: 1px solid #b7d4f2;
  border-radius: 999px;
  color: #12344d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 7px;
}

.jk-finance-muted {
  color: #6b7785;
}

.jk-finance-document-table tr.is-warning td {
  background: #fff9ec;
}

.jk-finance-document-table td {
  line-height: 1.25;
}

.jk-finance-document-table td:nth-child(1) {
  min-width: 150px;
}

.jk-finance-document-table td:nth-child(2) {
  min-width: 240px;
}

.jk-finance-document-table td:nth-child(4),
.jk-finance-document-table td:nth-child(5),
.jk-finance-document-table td:nth-child(6) {
  text-align: right;
}

.jk-finance-document-table td:nth-child(7),
.jk-finance-document-table td:nth-child(8) {
  text-align: left;
}

.jk-finance-document-table tbody tr {
  cursor: pointer;
}

.jk-finance-document-table tbody tr:hover td {
  background: #e9f2fb;
}

.jk-finance-modal[hidden] {
  display: none;
}

.jk-modal-open {
  overflow: hidden;
}

.jk-finance-modal {
  inset: 0;
  position: fixed;
  z-index: 120;
}

.jk-finance-modal-backdrop {
  background: rgba(8, 14, 23, 0.72);
  inset: 0;
  position: absolute;
}

.jk-finance-modal-panel {
  background: #f8fafc;
  border: 1px solid #c9d3df;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  inset: 4vh 4vw;
  overflow: hidden;
  position: absolute;
}

.jk-finance-modal-panel header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #d6dde6;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.jk-finance-modal-panel header strong {
  color: #17202a;
  font-size: 1rem;
}

.jk-finance-modal-panel header div {
  display: flex;
  gap: 8px;
}

.jk-finance-modal-panel iframe {
  background: #fff;
  border: 0;
  height: 100%;
  width: 100%;
}

.jk-finance-modal-missing {
  align-content: center;
  background: #fff;
  color: #17202a;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 28px;
  text-align: center;
}

.jk-finance-modal-missing[hidden] {
  display: none;
}

.jk-finance-modal-missing strong {
  font-size: 1.25rem;
}

.jk-finance-modal-missing span {
  color: #536170;
  max-width: 520px;
}

.jk-exec-task-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-exec-task,
.jk-exec-chart,
.jk-exec-month-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
}

.jk-exec-task {
  display: grid;
  gap: 9px;
  min-height: 146px;
  padding: 14px;
  text-decoration: none;
}

a.jk-exec-task:hover {
  background: rgba(255, 255, 255, 0.07);
}

.jk-exec-task-head,
.jk-exec-month-target {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.jk-exec-task-head span,
.jk-exec-month-card span {
  color: var(--jk-text-muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-exec-task-head strong {
  color: var(--jk-text);
  font-size: 1.05rem;
}

.jk-exec-task h3 {
  color: var(--jk-text);
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0;
}

.jk-exec-task p {
  color: var(--jk-text-soft);
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}

.jk-exec-task > small {
  color: var(--jk-text-muted);
  font-size: 0.8rem;
}

.jk-exec-progress {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.jk-exec-progress span {
  background: linear-gradient(90deg, #31c48d, #57b5ff);
  display: block;
  height: 100%;
}

.jk-exec-progress--compact {
  height: 7px;
}

.jk-exec-today-strip,
.jk-exec-month-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.jk-exec-today-metric {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.jk-exec-today-metric span,
.jk-exec-today-metric small {
  color: var(--jk-text-muted);
  font-size: 0.82rem;
}

.jk-exec-today-metric strong {
  color: var(--jk-text);
  font-size: 1.55rem;
  line-height: 1;
}

.jk-exec-chart-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-exec-chart {
  min-height: 280px;
  padding: 14px;
}

.jk-exec-chart-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.jk-exec-chart-head h3 {
  color: var(--jk-text);
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.jk-exec-chart-head span,
.jk-exec-chart-head small {
  color: var(--jk-text-muted);
  font-size: 0.84rem;
}

.jk-exec-bars {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  height: 190px;
  margin-top: 18px;
}

.jk-exec-bar-month {
  align-items: stretch;
  display: grid;
  gap: 6px;
  grid-template-rows: 1fr auto auto;
  min-width: 0;
}

.jk-exec-bar-pair {
  align-items: end;
  align-self: stretch;
  display: flex;
  gap: 3px;
  height: 100%;
  justify-self: center;
  max-width: 54px;
  width: 100%;
}

.jk-exec-bar {
  align-items: center;
  border-radius: 5px 5px 2px 2px;
  display: flex;
  flex: 1 1 0;
  justify-content: center;
  min-height: 4px;
  overflow: hidden;
}

.jk-exec-bar-slot {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
  min-width: 0;
}

.jk-exec-bar-slot .jk-exec-bar {
  flex: 0 0 auto;
}

.jk-workday-chart-stack {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.jk-inline-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--jk-line);
  border-radius: 8px;
  color: var(--jk-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 8px 10px;
}

.jk-inline-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.jk-workday-chart {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 10px;
  padding: 16px;
}

.jk-workday-rows {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.jk-workday-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 72px minmax(0, 1fr);
}

.jk-exec-stats--daily:not(.is-expanded) .jk-workday-row.is-hidden-by-default {
  display: none;
}

.jk-day-table-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.jk-day-table-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--jk-line);
  border-radius: 10px;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
}

.jk-day-table-head {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.jk-day-table-head h3 {
  color: var(--jk-text);
  font-size: 1rem;
  line-height: 1.15;
  margin: 0 0 4px;
}

.jk-day-table-head span {
  color: var(--jk-text-muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.jk-day-table {
  border-collapse: collapse;
  width: 100%;
}

.jk-day-table th,
.jk-day-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--jk-text);
  font-size: clamp(0.74rem, 2.8vw, 0.84rem);
  padding: 8px 6px;
  text-align: right;
  white-space: nowrap;
}

.jk-day-table th:first-child,
.jk-day-table td:first-child {
  color: var(--jk-text-muted);
  font-weight: 900;
  text-align: left;
}

.jk-day-table th {
  color: var(--jk-text-muted);
  font-size: clamp(0.58rem, 2.4vw, 0.68rem);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-day-table td:nth-child(3) {
  color: #9ee6c2;
  font-weight: 900;
}

.jk-exec-stats--daily:not(.is-expanded) .jk-day-table tr.is-hidden-by-default {
  display: none;
}

@media (max-width: 720px) {
  .jk-day-table-grid {
    grid-template-columns: 1fr;
  }

  .jk-day-table-card {
    padding: 12px;
  }

  .jk-day-table th,
  .jk-day-table td {
    padding: 7px 4px;
  }
}

.jk-month-chart {
  cursor: pointer;
}

.jk-month-chart:focus-visible {
  outline: 2px solid rgba(87, 181, 255, 0.9);
  outline-offset: 3px;
}

.jk-month-chart:not(.is-expanded) .jk-exec-bar-month[data-month-row].is-hidden-by-default {
  display: none;
}

.jk-month-chart:not(.is-expanded) .jk-exec-bars {
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-exec-chart-grid--months .jk-month-chart.is-expanded {
  grid-column: 1 / -1;
}

.jk-exec-chart-grid--months .jk-month-chart.is-expanded .jk-exec-bars {
  gap: 18px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.jk-workday-row > strong {
  align-self: center;
  color: var(--jk-text);
  font-size: 0.9rem;
  font-weight: 900;
}

.jk-workday-pair {
  display: grid;
  gap: 8px;
}

.jk-workday-line {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 72px minmax(0, 1fr) 90px;
}

.jk-workday-line > span {
  color: var(--jk-text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-workday-line > b {
  color: var(--jk-text);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.jk-workday-track {
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  height: 12px;
  min-width: 0;
  overflow: hidden;
}

.jk-workday-fill {
  display: block;
  height: 100%;
}

.jk-workday-fill--prev {
  background: rgba(148, 163, 184, 0.52);
}

.jk-workday-fill--current {
  background: linear-gradient(90deg, #57b5ff, #31c48d);
}

.jk-exec-bar--prev {
  background: rgba(148, 163, 184, 0.42);
}

.jk-exec-bar--current {
  background: linear-gradient(180deg, #57b5ff, #31c48d);
}

.jk-exec-bar-month small {
  color: var(--jk-text-muted);
  font-size: 0.68rem;
  text-align: center;
}

.jk-month-values {
  display: grid;
  gap: 2px;
  margin: 0;
  min-width: 0;
}

.jk-month-values div {
  align-items: baseline;
  display: grid;
  gap: 3px;
  grid-template-columns: 20px minmax(0, 1fr);
}

.jk-month-values dt,
.jk-month-values dd {
  margin: 0;
}

.jk-month-values dt {
  color: var(--jk-text-muted);
  font-size: 0.58rem;
  font-weight: 900;
}

.jk-month-values dd {
  color: var(--jk-text);
  font-size: 0.62rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-month-values div:nth-child(2) dd {
  color: #9ee6c2;
}

.jk-exec-month-card {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.jk-exec-month-card strong {
  color: var(--jk-text);
  font-size: 1.6rem;
  line-height: 1;
}

.jk-exec-month-card small,
.jk-exec-month-target em {
  color: var(--jk-text-muted);
  font-size: 0.82rem;
  font-style: normal;
}

.jk-management-control .jk-management-hero {
  align-items: flex-end;
}

.jk-management-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.jk-management-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.jk-management-control .jk-cockpit-kpi,
.jk-management-control .jk-cockpit-panel,
.jk-management-control .jk-command-panel {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0b1220;
}

.jk-management-control .jk-cockpit-kpi span,
.jk-management-control .jk-cockpit-kpi small,
.jk-management-control .jk-cockpit-panel,
.jk-management-control .jk-cockpit-panel h3,
.jk-management-control .jk-command-panel,
.jk-management-control .jk-command-panel h2,
.jk-management-control .jk-command-panel span {
  color: #0b1220;
}

.jk-management-control .jk-cockpit-kpi > span,
.jk-management-control .jk-command-panel .jk-overline {
  color: #334155;
}

.jk-management-control .jk-cockpit-kpi small {
  color: #1f2937;
  font-weight: 650;
}

.jk-management-control .jk-cockpit-kpi strong {
  color: #2563eb;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi {
  align-content: start;
  border-left: 4px solid #cbd5e1;
  gap: 9px;
  grid-template-rows: 34px auto minmax(36px, 1fr);
  min-height: 136px;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi--good {
  background: #f0fdf4;
  border-color: #86efac;
  border-left-color: #16a34a;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi--danger {
  background: #fff5f5;
  border-color: #fca5a5;
  border-left-color: #dc2626;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi--watch {
  background: #fffbeb;
  border-color: #fcd34d;
  border-left-color: #d97706;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi--neutral {
  background: #f8fafc;
  border-color: #cbd5e1;
  border-left-color: #64748b;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi > span {
  align-items: start;
  display: flex;
  line-height: 1.25;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi strong {
  color: #2563eb;
  font-size: clamp(1.55rem, 1.9vw, 1.9rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi small {
  color: #334155;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi--good small {
  color: #047857;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi--danger small {
  color: #b91c1c;
}

.jk-management-kpi-grid--focus .jk-cockpit-kpi--watch small {
  color: #b45309;
}

.jk-management-kpi-rows {
  display: grid;
  gap: 16px;
}

.jk-management-row-label {
  color: #111827;
  display: block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.jk-management-month-badge {
  background: #0f172a;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  margin-left: 10px;
  padding: 8px 10px;
  vertical-align: middle;
}

.jk-management-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 16px;
  margin-top: 16px;
}

.jk-management-split--wide {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
}

.jk-management-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jk-management-summary {
  gap: 10px;
}

.jk-management-assessment-block {
  display: grid;
  gap: 10px;
}

.jk-management-assessment-head {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: space-between;
}

.jk-management-assessment-head strong {
  color: #0b1220;
  font-size: .95rem;
}

.jk-management-assessment-head span {
  color: #334155;
  font-size: .82rem;
}

.jk-management-assessment-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-management-assessment-groups {
  display: grid;
  gap: 12px;
}

.jk-management-assessment-group {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.jk-management-assessment-group header {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: space-between;
}

.jk-management-assessment-group header strong {
  color: #0b1220;
  font-size: .92rem;
}

.jk-management-assessment-group header span {
  color: #475569;
  font-size: .8rem;
}

.jk-management-assessment-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #64748b;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 11px 12px;
}

.jk-management-assessment-card.is-good {
  background: #f0fdf4;
  border-color: #86efac;
  border-left-color: #16a34a;
}

.jk-management-assessment-card.is-danger {
  background: #fff5f5;
  border-color: #fca5a5;
  border-left-color: #dc2626;
}

.jk-management-assessment-card.is-watch {
  background: #fffbeb;
  border-color: #fcd34d;
  border-left-color: #d97706;
}

.jk-management-assessment-card > span {
  color: #1f2937;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-management-assessment-card strong {
  color: #2563eb;
  font-size: 1.32rem;
  line-height: 1;
}

.jk-management-assessment-card small {
  color: #111827;
  font-size: .8rem;
  font-weight: 650;
}

.jk-management-assessment-card em {
  border-top: 1px solid rgba(15, 23, 42, .12);
  color: #334155;
  font-size: .76rem;
  font-style: normal;
  line-height: 1.3;
  margin-top: 4px;
  padding-top: 6px;
}

.jk-management-visual-block {
  display: grid;
  gap: 10px;
}

.jk-position-quadrant span {
  color: #1f2937;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-position-matrix {
  display: grid;
  gap: 8px;
  grid-template-columns: 22px minmax(0, 1fr);
}

.jk-position-matrix-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-position-quadrant {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 12px;
  position: relative;
}

.jk-position-quadrant.is-good {
  background: #f0fdf4;
  border-color: #86efac;
}

.jk-position-quadrant.is-danger {
  background: #fff5f5;
  border-color: #fca5a5;
}

.jk-position-quadrant.is-watch {
  background: #fffbeb;
  border-color: #fcd34d;
}

.jk-position-quadrant.is-current {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}

.jk-position-quadrant.is-current::after {
  background: #2563eb;
  border-radius: 999px;
  color: #ffffff;
  content: "Aktuell";
  font-size: .68rem;
  font-weight: 900;
  padding: 4px 7px;
  position: absolute;
  right: 9px;
  top: 9px;
}

.jk-position-quadrant strong {
  color: #0b1220;
  font-size: .98rem;
  line-height: 1.2;
}

.jk-position-quadrant small,
.jk-position-quadrant em {
  color: #334155;
  font-size: .8rem;
  font-style: normal;
  line-height: 1.35;
}

.jk-position-quadrant em {
  color: #1d4ed8;
  font-weight: 850;
}

.jk-position-matrix-axis {
  color: #334155;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-position-matrix-axis--y {
  align-self: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.jk-position-matrix-axis--x {
  grid-column: 2;
  text-align: center;
}

.jk-finance-plan-filter {
  align-items: end;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(180px, 220px)) auto;
  margin: 14px 0;
  padding: 14px;
}

.jk-finance-plan-filter label,
.jk-finance-plan-company label {
  color: #334155;
  display: grid;
  gap: 5px;
  font-size: .8rem;
  font-weight: 850;
}

.jk-finance-plan-filter select,
.jk-finance-plan-company input,
.jk-finance-plan-table input,
.jk-finance-plan-table select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font: inherit;
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

.jk-finance-plan-form {
  display: grid;
  gap: 14px;
}

.jk-finance-plan-section {
  padding: 16px;
}

.jk-finance-plan-company {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.jk-finance-plan-note {
  grid-column: 1 / -1;
}

.jk-finance-plan-table-wrap {
  overflow-x: auto;
}

.jk-finance-plan-table {
  border-collapse: collapse;
  min-width: 920px;
  width: 100%;
}

.jk-finance-plan-table th,
.jk-finance-plan-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.jk-finance-plan-table th {
  color: #334155;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-finance-plan-table td:first-child {
  min-width: 220px;
}

.jk-finance-plan-new-row {
  background: #f8fafc;
}

.jk-finance-plan-actions {
  display: flex;
  justify-content: flex-end;
}

.jk-finance-year-detail {
  margin-top: 12px;
}

.jk-finance-year-table-wrap {
  overflow-x: auto;
}

.jk-finance-year-table {
  border-collapse: collapse;
  min-width: 1320px;
  table-layout: fixed;
  width: 100%;
}

.jk-finance-year-table th,
.jk-finance-year-table td {
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: .78rem;
  padding: 7px;
  vertical-align: top;
}

.jk-finance-year-table thead th {
  background: #f8fafc;
  color: #334155;
  font-size: .72rem;
  font-weight: 900;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.jk-finance-year-table th:first-child,
.jk-finance-year-table td:first-child {
  background: #ffffff;
  left: 0;
  position: sticky;
  width: 170px;
  z-index: 2;
}

.jk-finance-year-table tbody th {
  color: #334155;
  font-weight: 900;
}

.jk-finance-year-table td {
  min-width: 92px;
}

.jk-finance-year-table td:last-child,
.jk-finance-year-table th:last-child {
  background: #eef2ff;
  font-weight: 900;
}

.jk-finance-year-table input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #0f172a;
  font: inherit;
  min-height: 34px;
  padding: 6px 7px;
  width: 100%;
}

.jk-finance-plan-override {
  display: grid;
  gap: 3px;
}

.jk-finance-plan-override.is-manual input {
  border-color: #b45309;
  box-shadow: inset 0 0 0 1px #b45309;
}

.jk-finance-plan-override small {
  color: #64748b;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.15;
}

.jk-finance-plan-override.is-manual small {
  color: #92400e;
}

.jk-finance-year-table small {
  color: #64748b;
  display: block;
  font-size: .7rem;
  line-height: 1.25;
  margin-top: 3px;
}

.jk-finance-year-value {
  display: block;
  min-height: 22px;
}

.jk-finance-year-total {
  color: #0f172a;
  font-weight: 900;
}

.jk-finance-year-table--people {
  min-width: 1240px;
}

.jk-finance-report-section {
  padding: 16px;
}

.jk-finance-report-table-wrap {
  margin-top: 14px;
  overflow-x: visible;
  width: 100%;
}

.jk-finance-report-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.jk-finance-report-table th,
.jk-finance-report-table td {
  border: 1px solid #d8e0ea;
  color: #0f172a;
  font-size: .72rem;
  line-height: 1.22;
  padding: 7px 6px;
  text-align: right;
  vertical-align: top;
  word-break: normal;
}

.jk-finance-report-table thead th {
  background: #172033;
  color: #ffffff;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-finance-repeat-header-row th {
  background: #172033 !important;
  border-color: #334155 !important;
  color: #ffffff !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  padding: 8px 6px !important;
  text-align: right !important;
  text-transform: uppercase;
}

.jk-finance-repeat-header-row th:first-child,
.jk-finance-repeat-header-row th:nth-child(2) {
  text-align: left !important;
}

.jk-finance-report-table thead th:first-child,
.jk-finance-report-table .jk-finance-report-group {
  text-align: left;
  width: 92px;
}

.jk-finance-report-table thead th:nth-child(2),
.jk-finance-report-table tbody th:not(.jk-finance-report-group) {
  text-align: left;
  width: 118px;
}

.jk-finance-report-table th:last-child,
.jk-finance-report-table td:last-child {
  border-left: 2px solid #172033;
  font-weight: 950;
}

.jk-finance-report-table th:nth-last-child(2),
.jk-finance-report-table td:nth-last-child(2) {
  border-left: 2px solid #64748b;
  font-weight: 950;
}

.jk-finance-report-table tbody th {
  font-weight: 950;
}

.jk-finance-report-table .is-development-row th,
.jk-finance-report-table .is-development-row td {
  font-weight: 950;
}

.jk-finance-report-table .is-forecast-row th,
.jk-finance-report-table .is-forecast-row td {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  border-top-style: dashed;
  border-bottom-style: dashed;
  color: #334155 !important;
}

.jk-finance-report-table .is-forecast-row th:not(.jk-finance-report-group) {
  color: #0f172a !important;
}

.jk-finance-report-table .is-forecast-row td:nth-last-child(2),
.jk-finance-report-table .is-forecast-row td:last-child {
  background: #e2e8f0 !important;
}

.jk-finance-report-table .is-forecast-row td.is-below-previous {
  color: #b91c1c !important;
  font-weight: 950;
}

.jk-finance-report-table input {
  background: #ffffff;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  color: #0f172a;
  font: inherit;
  font-weight: 850;
  min-height: 28px;
  padding: 4px 5px;
  text-align: right;
  width: 100%;
}

.jk-finance-report-table input:focus {
  border-color: #172033;
  box-shadow: 0 0 0 2px rgba(23, 32, 51, .16);
  outline: none;
}

.jk-finance-report-table .jk-finance-plan-override {
  min-width: 0;
}

.jk-finance-report-table .jk-finance-plan-override small {
  overflow-wrap: anywhere;
}

.jk-finance-report-table .jk-finance-report-gap td {
  background: #ffffff;
  border-left: 0;
  border-right: 0;
  height: 10px;
  padding: 0;
}

.jk-finance-report-table .jk-finance-block-title-row th {
  background: #eef2f7 !important;
  border: 0 !important;
  border-bottom: 2px solid #cbd5e1 !important;
  border-top: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-size: .86rem !important;
  font-weight: 950 !important;
  letter-spacing: 0;
  padding: 14px 6px 8px !important;
  text-align: left !important;
}

.jk-finance-block-title-row span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.jk-finance-block-title-row span::before {
  background: #64748b;
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 9px;
  width: 9px;
}

.jk-finance-block-title-row.is-topic-order span::before { background: #1d4ed8; }
.jk-finance-block-title-row.is-topic-invoice span::before { background: #047857; }
.jk-finance-block-title-row.is-topic-margin span::before { background: #b45309; }
.jk-finance-block-title-row.is-topic-activity span::before { background: #6d28d9; }
.jk-finance-block-title-row.is-topic-position span::before { background: #be185d; }
.jk-finance-block-title-row.is-topic-customer span::before { background: #0f766e; }
.jk-finance-block-title-row.is-topic-user-activity span::before { background: #15803d; }

.jk-finance-report-table .is-topic-order th,
.jk-finance-report-table .is-topic-order td,
.jk-finance-report-table .is-plan th,
.jk-finance-report-table .is-plan td {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.jk-finance-report-table .is-topic-order .jk-finance-report-group,
.jk-finance-report-table .is-plan .jk-finance-report-group {
  background: #1d4ed8;
  color: #ffffff;
}

.jk-finance-report-table .is-topic-invoice th,
.jk-finance-report-table .is-topic-invoice td,
.jk-finance-report-table .is-actual th,
.jk-finance-report-table .is-actual td {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.jk-finance-report-table .is-topic-invoice .jk-finance-report-group,
.jk-finance-report-table .is-actual .jk-finance-report-group {
  background: #047857;
  color: #ffffff;
}

.jk-finance-report-table .is-topic-margin th,
.jk-finance-report-table .is-topic-margin td,
.jk-finance-report-table .is-development th,
.jk-finance-report-table .is-development td {
  background: #fffbeb;
  border-color: #fde68a;
}

.jk-finance-report-table .is-topic-margin .jk-finance-report-group,
.jk-finance-report-table .is-development .jk-finance-report-group {
  background: #b45309;
  color: #ffffff;
}

.jk-finance-report-table .is-topic-activity th,
.jk-finance-report-table .is-topic-activity td,
.jk-finance-report-table .is-fulfillment th,
.jk-finance-report-table .is-fulfillment td {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.jk-finance-report-table .is-topic-activity .jk-finance-report-group,
.jk-finance-report-table .is-fulfillment .jk-finance-report-group {
  background: #6d28d9;
  color: #ffffff;
}

.jk-finance-report-table .is-topic-position th,
.jk-finance-report-table .is-topic-position td {
  background: #fdf2f8;
  border-color: #fbcfe8;
}

.jk-finance-report-table .is-topic-position .jk-finance-report-group {
  background: #be185d;
  color: #ffffff;
}

.jk-finance-report-table .is-topic-customer th,
.jk-finance-report-table .is-topic-customer td {
  background: #f0fdfa;
  border-color: #99f6e4;
}

.jk-finance-report-table .is-topic-customer .jk-finance-report-group {
  background: #0f766e;
  color: #ffffff;
}

.jk-finance-activity-section {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.jk-finance-activity-section .jk-overline {
  color: #14532d;
}

.jk-finance-activity-section h2 {
  color: #052e16;
}

.jk-finance-activity-section .jk-exec-section-note {
  color: #166534;
}

.jk-finance-report-table--activity th,
.jk-finance-report-table--activity td,
.jk-finance-report-table .is-topic-user-activity th,
.jk-finance-report-table .is-topic-user-activity td {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #052e16;
}

.jk-finance-report-table--activity thead th {
  background: #14532d !important;
  border-color: #166534 !important;
  color: #ffffff !important;
}

.jk-finance-report-table--activity .jk-finance-repeat-header-row th {
  background: #14532d !important;
  border-color: #166534 !important;
  color: #ffffff !important;
}

.jk-finance-report-table--activity .jk-finance-block-title-row th {
  background: #dcfce7 !important;
  border-bottom-color: #86efac !important;
  color: #052e16 !important;
}

.jk-finance-report-table--activity .jk-finance-report-group,
.jk-finance-report-table .is-topic-user-activity .jk-finance-report-group {
  background: #15803d;
  color: #ffffff;
}

.jk-finance-detail-cell {
  cursor: pointer;
  outline: none;
  position: relative;
}

.jk-finance-detail-cell:hover,
.jk-finance-detail-cell:focus {
  box-shadow: inset 0 0 0 2px rgba(15, 23, 42, .35);
  text-decoration: underline;
}

.jk-finance-detail-modal[hidden] {
  display: none;
}

.jk-finance-detail-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1300;
}

.jk-finance-detail-backdrop {
  background: rgba(15, 23, 42, .58);
  inset: 0;
  position: absolute;
}

.jk-finance-detail-panel {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
  max-height: min(86vh, 860px);
  overflow: hidden;
  position: relative;
  width: min(1120px, 100%);
}

.jk-finance-detail-panel header {
  align-items: center;
  border-bottom: 1px solid #dbe3ef;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}

.jk-finance-detail-panel header > div {
  align-items: center;
  display: flex;
  gap: 8px;
}

.jk-finance-detail-panel header strong {
  color: #0f172a;
  font-size: 1rem;
}

.jk-finance-detail-panel header button {
  background: #f1f5f9;
  border: 0;
  border-radius: 999px;
  color: #0f172a;
  cursor: pointer;
  font-size: 1.3rem;
  height: 34px;
  line-height: 1;
  width: 34px;
}

.jk-finance-detail-panel header .jk-finance-detail-print {
  background: #172033;
  border-radius: 7px;
  color: #ffffff;
  font-size: .82rem;
  font-weight: 850;
  height: 34px;
  padding: 0 12px;
  width: auto;
}

.jk-finance-detail-summary {
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
}

.jk-finance-detail-summary span {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  color: #0f172a;
  display: inline-flex;
  gap: 6px;
  padding: 6px 10px;
}

.jk-finance-detail-summary b {
  color: #475569;
}

.jk-finance-detail-body {
  max-height: 66vh;
  overflow: auto;
  padding: 0 16px 16px;
}

.jk-finance-detail-body table {
  border-collapse: collapse;
  margin-top: 12px;
  width: 100%;
}

.jk-finance-detail-body th,
.jk-finance-detail-body td {
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: .84rem;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.jk-finance-detail-body th {
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 900;
  position: sticky;
  text-transform: uppercase;
  top: 0;
}

.jk-finance-detail-parent td {
  font-weight: 850;
}

.jk-finance-detail-parent button {
  background: #172033;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 900;
  height: 22px;
  margin-right: 7px;
  width: 22px;
}

.jk-finance-detail-child > td {
  background: #f8fafc;
  padding: 0 8px 10px !important;
}

.jk-finance-detail-child table {
  margin: 8px 0 0;
}

.jk-finance-doc-link {
  background: transparent;
  border: 0;
  color: #1d4ed8;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
}

.jk-finance-doc-link:hover,
.jk-finance-doc-link:focus {
  color: #0f172a;
  outline: none;
}

.jk-finance-document-modal[hidden] {
  display: none;
}

.jk-finance-document-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1310;
}

.jk-finance-document-panel {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .34);
  display: grid;
  grid-template-rows: auto 1fr;
  height: min(88vh, 920px);
  overflow: hidden;
  position: relative;
  width: min(1280px, calc(100vw - 40px));
}

.jk-finance-document-panel header {
  align-items: center;
  border-bottom: 1px solid #dbe3ef;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}

.jk-finance-document-panel header strong {
  color: #0f172a;
  font-size: 1rem;
}

.jk-finance-document-panel header button {
  background: #f1f5f9;
  border: 0;
  border-radius: 999px;
  color: #0f172a;
  cursor: pointer;
  font-size: 1.3rem;
  height: 34px;
  line-height: 1;
  width: 34px;
}

.jk-crm-document-preview-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.jk-crm-document-preview-actions span {
  color: #475569;
  font-size: .82rem;
  font-weight: 800;
  min-width: 54px;
  text-align: center;
}

.jk-finance-document-panel header .jk-crm-document-preview-actions button {
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 850;
  height: 30px;
  min-width: 72px;
  padding: 0 10px;
  width: auto;
}

.jk-finance-document-panel header .jk-crm-document-preview-actions button:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.jk-finance-document-panel header .jk-crm-document-preview-actions button[aria-label="Schliessen"] {
  border-radius: 999px;
  font-size: 1.3rem;
  min-width: 34px;
  padding: 0;
  width: 34px;
}

.jk-finance-document-body {
  background: #f8fafc;
  height: 100%;
  overflow: auto;
  padding: 16px;
}

.jk-finance-document-body .jk-dashboard,
.jk-finance-document-body main {
  margin: 0;
  padding: 0;
}

.jk-finance-detail-empty {
  color: #475569;
  font-weight: 800;
  margin: 16px 0 0;
}

.jk-finance-detail-actions {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dbe3ef;
  display: flex;
  gap: 10px;
  padding: 12px 0 0;
  position: sticky;
  top: 0;
  z-index: 3;
}

.jk-finance-detail-actions label {
  align-items: center;
  color: #334155;
  display: inline-flex;
  font-size: .84rem;
  font-weight: 850;
  gap: 7px;
}

.jk-finance-detail-actions span {
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
}

.jk-finance-detail-actions .jk-btn-secondary,
.jk-finance-detail-actions .jk-btn-secondary:disabled {
  color: #111827;
}

.jk-finance-action-modal[hidden] {
  display: none;
}

.jk-finance-action-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1320;
}

.jk-finance-action-panel {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .34);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  max-height: min(90vh, 920px);
  overflow: hidden;
  position: relative;
  width: min(1240px, calc(100vw - 40px));
}

.jk-finance-action-panel header,
.jk-finance-action-panel footer {
  align-items: center;
  border-bottom: 1px solid #dbe3ef;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}

.jk-finance-action-panel footer {
  border-bottom: 0;
  border-top: 1px solid #dbe3ef;
  justify-content: flex-end;
}

.jk-finance-action-panel footer .jk-btn-secondary {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  box-shadow: none;
  color: #0f172a;
  font-size: .86rem;
  font-weight: 900;
  min-height: 38px;
}

.jk-finance-action-panel footer .jk-btn-secondary:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.jk-finance-action-panel footer .jk-btn {
  border-radius: 7px;
  font-size: .86rem;
  font-weight: 900;
  min-height: 38px;
}

.jk-finance-action-panel header strong {
  color: #0f172a;
  display: block;
  font-size: 1rem;
}

.jk-finance-action-panel header button {
  background: #f1f5f9;
  border: 0;
  border-radius: 999px;
  color: #0f172a;
  cursor: pointer;
  font-size: 1.3rem;
  height: 34px;
  line-height: 1;
  width: 34px;
}

.jk-finance-action-toolbar {
  border-bottom: 1px solid #e2e8f0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  padding: 12px 16px;
}

.jk-finance-action-toolbar label,
.jk-finance-action-table td:first-child {
  display: grid;
  gap: 5px;
}

.jk-finance-action-toolbar span,
.jk-finance-action-table small {
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-finance-action-toolbar select,
.jk-finance-action-table select,
.jk-finance-action-table input,
.jk-finance-action-table textarea {
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #0f172a;
  font: inherit;
  min-height: 36px;
  padding: 8px 9px;
  width: 100%;
}

.jk-finance-action-status {
  color: #334155;
  font-size: .84rem;
  font-weight: 850;
  min-height: 18px;
  padding: 8px 16px 0;
}

.jk-finance-action-body {
  overflow: auto;
  padding: 0 16px 16px;
}

.jk-finance-action-table {
  border-collapse: collapse;
  margin-top: 10px;
  width: 100%;
}

.jk-finance-action-table th,
.jk-finance-action-table td {
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: .84rem;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.jk-finance-action-table th {
  background: #f8fafc;
  color: #334155;
  font-size: .72rem;
  font-weight: 900;
  position: sticky;
  text-transform: uppercase;
  top: 0;
}

.jk-finance-action-table td:nth-child(2) span {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1e3a8a;
  display: inline-flex;
  font-size: .74rem;
  font-weight: 850;
  margin: 0 4px 4px 0;
  padding: 4px 7px;
}

.jk-manual-task-panel {
  grid-template-rows: auto 1fr auto auto;
  width: min(820px, calc(100vw - 40px));
}

.jk-manual-task-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: auto;
  padding: 16px;
}

.jk-manual-task-form label {
  display: grid;
  gap: 5px;
}

.jk-manual-task-form label > span {
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-manual-task-form input,
.jk-manual-task-form select,
.jk-manual-task-form textarea {
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #0f172a;
  font: inherit;
  min-height: 38px;
  padding: 8px 9px;
  width: 100%;
}

.jk-manual-task-form textarea {
  resize: vertical;
}

.jk-manual-task-wide {
  grid-column: 1 / -1;
}

.jk-manual-task-results {
  display: grid;
  gap: 5px;
}

.jk-manual-task-results button {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  text-align: left;
}

.jk-manual-task-results button:hover {
  background: #edf7ff;
  border-color: #b9d7f3;
}

.jk-manual-task-results strong {
  font-size: .86rem;
}

.jk-manual-task-results small,
.jk-manual-task-results p {
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
  margin: 0;
}

.jk-dashboard-action-list {
  display: grid;
  gap: 8px;
}

.jk-dashboard-action-item {
  align-items: start;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-left: 4px solid #2563eb;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.jk-dashboard-action-item.is_in_progress,
.jk-dashboard-action-item.is-in_progress {
  border-left-color: #b45309;
}

.jk-dashboard-action-item div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.jk-dashboard-action-item span,
.jk-dashboard-action-item small,
.jk-dashboard-action-item aside small {
  color: #64748b;
  font-size: .78rem;
  font-weight: 850;
}

.jk-dashboard-action-item strong {
  color: #0f172a;
  font-size: .95rem;
}

.jk-dashboard-action-item a {
  color: #1d4ed8;
  font-size: .84rem;
  font-weight: 900;
}

.jk-dashboard-action-item aside {
  display: grid;
  gap: 4px;
  justify-items: end;
  white-space: nowrap;
}

.jk-dashboard-action-item aside b {
  background: #eff6ff;
  border-radius: 999px;
  color: #1e3a8a;
  font-size: .76rem;
  padding: 5px 8px;
}

.jk-finance-print-modal[hidden] {
  display: none;
}

.jk-finance-print-modal {
  align-items: stretch;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 10px;
  position: fixed;
  z-index: 1320;
}

.jk-finance-print-backdrop {
  background: rgba(15, 23, 42, .62);
  inset: 0;
  position: absolute;
}

.jk-finance-print-panel {
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .32);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  position: relative;
  width: min(1720px, calc(100vw - 20px));
}

.jk-finance-print-panel > header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dbe3ef;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 14px;
}

.jk-finance-print-panel > header strong {
  color: #0f172a;
  display: block;
  font-size: 1.22rem;
  margin-top: 2px;
}

.jk-finance-print-panel > header > div:last-child {
  display: flex;
  gap: 8px;
}

.jk-finance-print-page {
  background: #ffffff;
  margin: 10px;
  overflow: auto;
  padding: 0;
}

.jk-finance-print-meta {
  border: 1px solid #dbe3ef;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 16px 12px;
}

.jk-finance-print-meta div {
  background: #f8fafc;
  border-right: 1px solid #dbe3ef;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.jk-finance-print-meta div:last-child {
  border-right: 0;
}

.jk-finance-print-meta span {
  color: #64748b;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-finance-print-meta strong {
  color: #0f172a;
  font-size: 1.02rem;
}

.jk-finance-print-page .jk-finance-report-section {
  padding: 16px;
}

.jk-finance-print-page .jk-finance-report-table th,
.jk-finance-print-page .jk-finance-report-table td {
  font-size: .82rem;
  line-height: 1.25;
  padding: 8px 7px;
}

.jk-finance-print-page .jk-finance-report-table thead th {
  font-size: .74rem;
}

.jk-finance-report-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.jk-finance-report-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #94a3b8;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 124px;
  padding: 14px;
}

.jk-finance-report-card.is-good {
  border-left-color: #16a34a;
}

.jk-finance-report-card.is-watch {
  border-left-color: #ca8a04;
}

.jk-finance-report-card.is-danger {
  border-left-color: #dc2626;
}

.jk-finance-report-card span {
  color: #475569;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-finance-report-card strong {
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.1;
}

.jk-finance-report-card small {
  color: #64748b;
  font-size: .82rem;
}

.jk-finance-report-card em {
  color: #0f172a;
  font-size: .86rem;
  font-style: normal;
  font-weight: 850;
}

.jk-finance-month-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.jk-finance-month-card {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 12px;
}

.jk-finance-month-card header {
  align-items: baseline;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  padding-bottom: 7px;
}

.jk-finance-month-card header strong {
  color: #0f172a;
  font-size: .98rem;
}

.jk-finance-month-card header span {
  color: #64748b;
  font-size: .76rem;
  font-weight: 800;
}

.jk-finance-month-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.jk-finance-month-card dl div {
  display: grid;
  gap: 2px;
}

.jk-finance-month-card dt {
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-finance-month-card dd {
  color: #0f172a;
  font-size: .9rem;
  font-weight: 850;
  margin: 0;
}

.jk-finance-month-card dd small {
  color: #64748b;
  display: block;
  font-size: .72rem;
  font-weight: 700;
  margin-top: 2px;
}

.jk-finance-actions-print {
  margin-top: 12px;
  overflow-x: auto;
}

.jk-finance-actions-print table {
  border-collapse: collapse;
  width: 100%;
}

.jk-finance-actions-print th,
.jk-finance-actions-print td {
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 9px;
  text-align: left;
  vertical-align: top;
}

.jk-finance-actions-print th {
  background: #f8fafc;
  color: #334155;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .jk-finance-report-grid,
  .jk-finance-month-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .jk-finance-report-grid,
  .jk-finance-month-card-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 7mm;
  }

  html,
  body,
  body.jk-modal-open,
  body.jk-finance-printing {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .jk-print-hide,
  .jk-cockpit-tabs,
  .jk-management-hero-actions,
  .jk-finance-plan-filter,
  .jk-flash,
  .jk-finance-detail-modal {
    display: none !important;
  }

  .jk-finance-year-page,
  .jk-finance-year-page .jk-container,
  .jk-finance-year-page .jk-cockpit-panel {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #000 !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .jk-finance-year-page .jk-dashboard-title,
  .jk-finance-year-page h2,
  .jk-finance-year-page .jk-dashboard-subtitle,
  .jk-finance-year-page .jk-exec-section-note,
  .jk-finance-year-page .jk-overline {
    color: #000 !important;
  }

  .jk-finance-year-table-wrap,
  .jk-finance-report-table-wrap,
  .jk-finance-actions-print {
    overflow: visible !important;
  }

  .jk-finance-year-table,
  .jk-finance-report-table {
    font-size: 7pt;
    min-width: 0 !important;
    table-layout: fixed;
    width: 100%;
  }

  .jk-finance-year-table th,
  .jk-finance-year-table td,
  .jk-finance-report-table th,
  .jk-finance-report-table td,
  .jk-finance-actions-print th,
  .jk-finance-actions-print td {
    border: 1px solid #999 !important;
    color: #000 !important;
    padding: 2.5px !important;
  }

  .jk-finance-year-table th:first-child,
  .jk-finance-year-table td:first-child,
  .jk-finance-year-table thead th,
  .jk-finance-report-table thead th {
    position: static !important;
  }

  .jk-finance-report-table thead th:first-child,
  .jk-finance-report-table .jk-finance-report-group {
    width: 78px;
  }

  .jk-finance-report-table thead th:nth-child(2),
  .jk-finance-report-table tbody th:not(.jk-finance-report-group) {
    width: 104px;
  }

  .jk-finance-report-table thead th,
  .jk-finance-report-table .jk-finance-report-group {
    background: #e5e7eb !important;
  }

  .jk-finance-report-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .jk-finance-month-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .jk-finance-report-card,
  .jk-finance-month-card,
  .jk-finance-report-section,
  .jk-finance-report-table,
  .jk-finance-actions-print {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.jk-finance-printing > *:not(.jk-finance-print-modal) {
    display: none !important;
  }

  body.jk-finance-printing .jk-finance-print-modal,
  body.jk-finance-printing .jk-finance-print-panel,
  body.jk-finance-printing .jk-finance-print-page {
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
    margin: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    width: 100% !important;
  }

  body.jk-finance-printing .jk-finance-print-backdrop,
  body.jk-finance-printing .jk-finance-print-panel > header {
    display: none !important;
  }

  body.jk-finance-printing .jk-finance-report-section,
  body.jk-finance-printing .jk-finance-report-table-wrap,
  body.jk-finance-printing .jk-finance-report-table,
  body.jk-finance-printing .jk-finance-actions-print {
    break-inside: auto !important;
    page-break-before: auto !important;
    page-break-inside: auto !important;
  }

  body.jk-finance-printing .jk-finance-report-section {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.jk-finance-printing .jk-finance-print-meta {
    break-inside: avoid !important;
    margin: 0 0 8px !important;
    page-break-inside: avoid !important;
  }

  body.jk-finance-printing .jk-finance-print-meta div {
    padding: 5px 7px !important;
  }

  body.jk-finance-printing .jk-finance-print-meta span {
    font-size: 6.2pt !important;
  }

  body.jk-finance-printing .jk-finance-print-meta strong {
    font-size: 7.6pt !important;
  }

  body.jk-finance-printing .jk-exec-section-head {
    align-items: flex-start !important;
    display: flex !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  body.jk-finance-printing .jk-exec-section-head h2 {
    color: #0f172a !important;
    font-size: 13pt !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  body.jk-finance-printing .jk-exec-section-note {
    color: #64748b !important;
    font-size: 8pt !important;
    line-height: 1.25 !important;
    max-width: 360px !important;
    text-align: right !important;
  }

  body.jk-finance-printing .jk-overline {
    color: #2563eb !important;
    font-size: 7pt !important;
    letter-spacing: .18em !important;
  }

  body.jk-finance-printing .jk-finance-report-table-wrap {
    margin-top: 0 !important;
  }

  body.jk-finance-printing .jk-finance-report-table {
    table-layout: fixed !important;
    width: 100% !important;
  }

  body.jk-finance-printing .jk-finance-report-table thead {
    display: table-header-group !important;
  }

  body.jk-finance-printing .jk-finance-report-table tbody,
  body.jk-finance-printing .jk-finance-report-table tr {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  body.jk-finance-printing .jk-finance-report-table th,
  body.jk-finance-printing .jk-finance-report-table td {
    color: #0f172a !important;
    font-size: 8pt !important;
    line-height: 1.18 !important;
    padding: 3.8px 3.4px !important;
  }

  body.jk-finance-printing .jk-finance-report-table thead th {
    font-size: 7.4pt !important;
  }

  body.jk-finance-printing .jk-finance-report-table thead th:first-child,
  body.jk-finance-printing .jk-finance-report-table .jk-finance-report-group {
    width: 82px !important;
  }

  body.jk-finance-printing .jk-finance-report-table thead th:nth-child(2),
  body.jk-finance-printing .jk-finance-report-table tbody th:not(.jk-finance-report-group) {
    width: 112px !important;
  }

  body.jk-finance-printing .jk-finance-report-table thead th {
    background: #172033 !important;
    color: #ffffff !important;
  }

  body.jk-finance-printing .jk-finance-report-table .jk-finance-report-gap td {
    background: #ffffff !important;
    border-left: 0 !important;
    border-right: 0 !important;
    height: 8px !important;
    padding: 0 !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-order th,
  body.jk-finance-printing .jk-finance-report-table .is-topic-order td {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-order .jk-finance-report-group {
    background: #1d4ed8 !important;
    color: #ffffff !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-invoice th,
  body.jk-finance-printing .jk-finance-report-table .is-topic-invoice td {
    background: #ecfdf5 !important;
    border-color: #bbf7d0 !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-invoice .jk-finance-report-group {
    background: #047857 !important;
    color: #ffffff !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-margin th,
  body.jk-finance-printing .jk-finance-report-table .is-topic-margin td {
    background: #fffbeb !important;
    border-color: #fde68a !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-margin .jk-finance-report-group {
    background: #b45309 !important;
    color: #ffffff !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-activity th,
  body.jk-finance-printing .jk-finance-report-table .is-topic-activity td {
    background: #f5f3ff !important;
    border-color: #ddd6fe !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-activity .jk-finance-report-group {
    background: #6d28d9 !important;
    color: #ffffff !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-position th,
  body.jk-finance-printing .jk-finance-report-table .is-topic-position td {
    background: #fdf2f8 !important;
    border-color: #fbcfe8 !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-position .jk-finance-report-group {
    background: #be185d !important;
    color: #ffffff !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-customer th,
  body.jk-finance-printing .jk-finance-report-table .is-topic-customer td {
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-customer .jk-finance-report-group {
    background: #0f766e !important;
    color: #ffffff !important;
  }

  body.jk-finance-printing .jk-finance-report-table--activity .jk-finance-repeat-header-row th,
  body.jk-finance-printing .jk-finance-report-table--activity thead th {
    background: #14532d !important;
    color: #ffffff !important;
  }

  body.jk-finance-printing .jk-finance-report-table--activity .jk-finance-block-title-row th {
    background: #dcfce7 !important;
    border-bottom-color: #86efac !important;
    color: #052e16 !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-user-activity th,
  body.jk-finance-printing .jk-finance-report-table .is-topic-user-activity td {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #052e16 !important;
  }

  body.jk-finance-printing .jk-finance-report-table .is-topic-user-activity .jk-finance-report-group {
    background: #15803d !important;
    color: #ffffff !important;
  }
}

.jk-management-summary-line {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 13px 14px;
}

.jk-management-summary-line strong {
  color: #0b1220;
  display: block;
  font-size: .88rem;
  margin-bottom: 4px;
}

.jk-management-summary p,
.jk-management-summary-line p {
  margin: 0;
  color: #111827;
  line-height: 1.55;
}

.jk-management-summary p + p {
  margin-top: 10px;
}

.jk-management-muted {
  color: #334155;
  font-size: .92rem;
  margin: 0;
}

.jk-management-alert {
  align-items: start;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  color: #1e3a8a;
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 12px 14px;
}

.jk-management-alert strong {
  color: #1e40af;
  font-size: .9rem;
}

.jk-management-alert span {
  font-size: .86rem;
  line-height: 1.4;
}

.jk-kpi-control-stage {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, .9fr) minmax(420px, 1.5fr) minmax(240px, .75fr);
  margin: 0 0 14px;
}

.jk-kpi-control-stage--lean {
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.55fr);
}

.jk-kpi-stage-card,
.jk-kpi-stage-actions-panel,
.jk-kpi-stage-meter {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.jk-kpi-stage-card--main {
  background:
    radial-gradient(circle at 82% 18%, rgba(250, 204, 21, .36), transparent 22%),
    linear-gradient(135deg, #0f766e, #1d4ed8);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 20px 46px rgba(15, 23, 42, .16);
  color: #fff;
  display: grid;
  gap: 12px;
  min-height: 236px;
  padding: 20px;
}

.jk-kpi-stage-card--main::after {
  background: linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.18) 44%, transparent 54% 100%);
  content: "";
  inset: -45%;
  position: absolute;
  transform: translateX(-28%) rotate(8deg);
}

.jk-kpi-stage-card--main span,
.jk-kpi-stage-card--main h2,
.jk-kpi-stage-card--main p,
.jk-kpi-stage-actions {
  position: relative;
  z-index: 1;
}

.jk-kpi-stage-card--main span,
.jk-kpi-stage-actions-panel span,
.jk-kpi-stage-meter span {
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jk-kpi-stage-card--main span {
  color: rgba(255,255,255,.78);
}

.jk-kpi-stage-card--main h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 0;
  max-width: 9ch;
}

.jk-kpi-stage-card--main p {
  color: rgba(255,255,255,.86);
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.38;
  margin: 0;
  max-width: 32ch;
}

.jk-kpi-stage-actions {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jk-kpi-stage-actions a,
.jk-kpi-stage-actions-panel a {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  padding: 8px 11px;
  text-decoration: none;
}

.jk-kpi-stage-meters {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-kpi-stage-meters--monthly {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-kpi-stage-meter {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 14px;
}

.jk-kpi-stage-meter::before {
  content: "";
  inset: 0 0 auto;
  height: 4px;
  position: absolute;
}

.jk-kpi-stage-meter.is-good::before {
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

.jk-kpi-stage-meter.is-watch::before,
.jk-kpi-stage-meter.is-neutral::before {
  background: linear-gradient(90deg, #d97706, #facc15);
}

.jk-kpi-stage-meter.is-danger::before {
  background: linear-gradient(90deg, #dc2626, #fb7185);
}

.jk-kpi-stage-meter span {
  color: #64748b;
}

.jk-kpi-stage-meter strong {
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1.06;
}

.jk-kpi-stage-meter small {
  color: #475569;
  font-size: .83rem;
  font-weight: 850;
  line-height: 1.35;
}

.jk-kpi-stage-meters--monthly .jk-kpi-stage-meter {
  gap: 6px;
}

.jk-kpi-stage-meters--monthly .jk-kpi-stage-meter strong {
  font-size: 1.28rem;
}

.jk-kpi-stage-actions-panel {
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.22), transparent 18%),
    linear-gradient(135deg, #334155, #0f766e);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  color: #fff;
  display: grid;
  gap: 10px;
  min-height: 236px;
  padding: 18px;
}

.jk-kpi-stage-actions-panel span,
.jk-kpi-stage-actions-panel small {
  color: rgba(255,255,255,.80);
}

.jk-kpi-stage-actions-panel strong {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.08;
}

.jk-kpi-stage-actions-panel a {
  align-self: end;
  justify-self: start;
}

.jk-home-control-stage {
  margin: 4px 0 16px;
}

.jk-home-stage-main {
  background:
    radial-gradient(circle at 80% 18%, rgba(34, 197, 94, .36), transparent 22%),
    radial-gradient(circle at 18% 88%, rgba(56, 189, 248, .26), transparent 24%),
    linear-gradient(135deg, #0f766e, #1d4ed8 62%, #7c3aed);
}

.jk-home-stage-main h2 {
  max-width: 11ch;
}

.jk-home-stage-actions-panel {
  background:
    radial-gradient(circle at 82% 16%, rgba(250, 204, 21, .26), transparent 18%),
    linear-gradient(135deg, #1e293b, #0f766e);
}

.jk-home-work-chips,
.jk-home-work-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  position: relative;
  z-index: 1;
}

.jk-home-work-chips a,
.jk-home-work-mini a {
  align-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 900;
  gap: 6px;
  line-height: 1;
  padding: 7px 9px;
  text-decoration: none;
}

.jk-home-work-chips a:hover,
.jk-home-work-mini a:hover {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .38);
}

.jk-home-work-chips em,
.jk-home-work-mini b {
  background: rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  font-style: normal;
  min-width: 1.45em;
  padding: 3px 6px;
  text-align: center;
}

.jk-home-work-mini {
  margin-top: 2px;
}

.jk-home-task-command {
  margin: 12px 0 18px;
}

.jk-home-task-shell {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, .34fr) minmax(0, 1fr);
}

.jk-home-task-summary,
.jk-home-task-card,
.jk-home-task-empty {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}

.jk-home-task-summary {
  align-content: start;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.jk-home-task-summary > span,
.jk-home-task-priority span,
.jk-home-task-meta span {
  color: #475569;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jk-home-task-summary > strong {
  color: #0f172a;
  font-size: 1.85rem;
  line-height: 1.05;
}

.jk-home-task-summary > small {
  color: #475569;
  font-size: .86rem;
  font-weight: 750;
}

.jk-home-task-status-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-home-task-status-grid a {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
  display: grid;
  gap: 3px;
  padding: 10px;
  text-decoration: none;
}

.jk-home-task-status-grid a:hover {
  background: #eef6ff;
  border-color: #bfdbfe;
}

.jk-home-task-status-grid b {
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1;
}

.jk-home-task-status-grid span {
  font-size: .75rem;
  font-weight: 850;
}

.jk-home-task-all {
  align-items: center;
  background: #0f172a;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: .84rem;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  text-decoration: none;
}

.jk-home-task-list {
  display: grid;
  gap: 10px;
}

.jk-home-task-card {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 112px minmax(0, 1fr) minmax(130px, .22fr) auto;
  min-height: 112px;
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.jk-home-task-card::before {
  background: #64748b;
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 5px;
}

.jk-home-task-card.is-overdue::before {
  background: #dc2626;
}

.jk-home-task-card.is-today::before {
  background: #d97706;
}

.jk-home-task-card.is-progress::before {
  background: #2563eb;
}

.jk-home-task-card.is-open::before {
  background: #0f766e;
}

.jk-home-task-priority {
  display: grid;
  gap: 5px;
  padding-left: 4px;
}

.jk-home-task-priority small,
.jk-home-task-main small,
.jk-home-task-meta small {
  color: #64748b;
  font-size: .8rem;
  font-weight: 750;
}

.jk-home-task-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.jk-home-task-main strong {
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.25;
}

.jk-home-task-main span {
  color: #1f2937;
  font-size: .9rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-home-task-main p {
  color: #475569;
  font-size: .82rem;
  line-height: 1.35;
  margin: 0;
}

.jk-home-task-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.jk-home-task-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.jk-home-task-actions a,
.jk-home-task-actions button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  min-height: 34px;
  padding: 7px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-home-task-actions a:hover,
.jk-home-task-actions button:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.jk-home-task-actions form:last-child button {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.jk-home-task-empty {
  color: #475569;
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 18px;
}

.jk-home-task-empty strong {
  color: #0f172a;
}

.jk-home-task-command {
  background: #f3f6f9;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  padding: 14px;
}

.jk-home-task-command .jk-exec-section-head {
  margin-bottom: 12px;
}

.jk-home-pipeline-collapsible {
  margin: 8px 0 14px;
}

.jk-home-pipeline-toggle {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px 12px;
  width: 100%;
}

.jk-home-pipeline-toggle::after {
  color: #0176d3;
  content: "v";
  font-size: .95rem;
  font-weight: 950;
  margin-left: 2px;
  transition: transform .16s ease;
}

.jk-home-pipeline-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.jk-home-pipeline-toggle:hover {
  border-color: #0176d3;
  box-shadow: 0 10px 24px rgba(1, 118, 211, .1);
}

.jk-home-pipeline-content[hidden] {
  display: none;
}

.jk-home-pipeline-content {
  padding-top: 10px;
}

.jk-home-pipeline-note {
  color: #5f6f86;
  font-size: .82rem;
  font-weight: 850;
  margin: 0 0 10px;
}

.jk-home-check-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
  padding: 0 0 16px;
  position: relative;
}

.jk-home-check-row::before {
  background: linear-gradient(90deg, rgba(1, 118, 211, .2), rgba(15, 118, 110, .18), rgba(190, 24, 93, .16));
  content: "";
  height: 3px;
  left: 8px;
  position: absolute;
  right: 8px;
  top: 23px;
}

.jk-home-check-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
  color: #181818;
  display: grid;
  gap: 10px;
  min-height: 178px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.jk-home-check-card::before {
  background: #0176d3;
  border-radius: 999px;
  box-shadow: 0 0 0 6px #eef4ff;
  content: "";
  height: 12px;
  position: absolute;
  right: 16px;
  top: 18px;
  width: 12px;
}

.jk-home-check-card::after {
  background: linear-gradient(180deg, #0176d3, #0f766e);
  content: "";
  inset: 0 auto 0 0;
  opacity: .92;
  position: absolute;
  width: 5px;
}

.jk-home-check-card:nth-child(2)::after,
.jk-home-check-card:nth-child(2)::before {
  background: #7c3aed;
}

.jk-home-check-card:nth-child(3)::after,
.jk-home-check-card:nth-child(3)::before,
.jk-home-check-card:nth-child(4)::after,
.jk-home-check-card:nth-child(4)::before {
  background: #dc2626;
}

.jk-home-check-card:nth-child(5)::after,
.jk-home-check-card:nth-child(5)::before,
.jk-home-check-card:nth-child(6)::after,
.jk-home-check-card:nth-child(6)::before {
  background: #0f766e;
}

.jk-home-check-card:nth-child(7)::after,
.jk-home-check-card:nth-child(7)::before {
  background: #b45309;
}

button.jk-home-check-card {
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
}

.jk-home-check-card:hover {
  border-color: #0176d3;
  box-shadow: 0 18px 38px rgba(1, 118, 211, .16);
  transform: translateY(-2px);
}

.jk-home-check-card span {
  color: #5f6f86;
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .06em;
  padding-right: 26px;
  text-transform: uppercase;
}

.jk-home-check-card div {
  align-items: end;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.jk-home-check-card strong {
  color: #032d60;
  font-size: 2.35rem;
  font-weight: 950;
  line-height: 1;
}

.jk-home-check-card b {
  color: #032d60;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.15;
}

.jk-home-check-card p {
  color: #334155;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.jk-home-check-card em {
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  color: #0f3769;
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  max-width: 50%;
  padding: 6px 8px;
  text-align: right;
}

.jk-home-check-card i {
  align-self: end;
  background: #032d60;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: .74rem;
  font-style: normal;
  font-weight: 950;
  justify-self: start;
  line-height: 1;
  margin-top: 2px;
  padding: 8px 10px;
}

.jk-home-check-modal[hidden] {
  display: none;
}

.jk-home-check-modal {
  inset: 0;
  position: fixed;
  z-index: 1220;
}

.jk-home-check-modal-backdrop {
  background: rgba(15, 23, 42, .42);
  border: 0;
  inset: 0;
  position: absolute;
  width: 100%;
}

.jk-home-check-modal-card {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  margin: 5vh auto 0;
  max-height: 88vh;
  overflow: hidden;
  position: relative;
  width: min(1120px, 94vw);
}

.jk-home-check-modal-card header {
  align-items: center;
  border-bottom: 1px solid #d8dde6;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 20px;
}

.jk-home-check-modal-card header div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.jk-home-check-modal-card header span {
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-home-check-modal-card header strong {
  color: #032d60;
  font-size: 1.35rem;
  line-height: 1.15;
}

.jk-home-check-modal-card header small {
  color: #5f6f86;
  font-weight: 800;
}

.jk-home-check-modal-card header button:not(.jk-finance-detail-print) {
  background: #f3f6f9;
  border: 1px solid #d8dde6;
  border-radius: 50%;
  color: #032d60;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 36px;
  width: 36px;
}

.jk-home-check-modal-card header .jk-finance-detail-print {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  color: #032d60;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 900;
  margin-left: auto;
  padding: 8px 12px;
}

.jk-home-check-modal-summary {
  border-bottom: 1px solid #d8dde6;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
}

.jk-home-check-modal-summary article {
  background: #f3f6f9;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 10px 12px;
}

.jk-home-check-modal-summary span {
  color: #44546a;
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.jk-home-check-modal-summary strong {
  color: #032d60;
  font-size: 1.15rem;
}

.jk-home-check-modal-body {
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.jk-home-check-modal-table {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: auto;
}

.jk-home-check-actions {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  left: 0;
  padding: 10px 12px;
  position: sticky;
  top: 0;
  z-index: 3;
}

.jk-home-check-actions label {
  align-items: center;
  color: #334155;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 850;
  gap: 6px;
}

.jk-home-check-actions .jk-btn-secondary {
  background: #eaf3ff;
  border: 1px solid #9ec5fe;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(1, 118, 211, .18);
  color: #111827;
  font-size: .82rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0 12px;
}

.jk-home-check-actions .jk-btn-secondary:hover:not(:disabled) {
  background: #d8eaff;
  border-color: #6ea8fe;
  color: #111827;
}

.jk-home-check-actions .jk-btn-secondary:disabled {
  background: #e5e7eb;
  border-color: #d1d5db;
  box-shadow: none;
  color: #111827;
  cursor: not-allowed;
  opacity: 1;
}

.jk-home-check-actions span {
  color: #64748b;
  font-size: .8rem;
  font-weight: 850;
}

.jk-home-check-modal-table table {
  border-collapse: collapse;
  min-width: 1040px;
  width: 100%;
}

.jk-home-check-modal-loading,
.jk-home-check-modal-empty {
  color: #5f6f86;
  font-weight: 850;
  margin: 0;
  padding: 12px;
}

.jk-home-check-modal-table th,
.jk-home-check-modal-table td {
  border-bottom: 1px solid #eef1f5;
  color: #181818;
  font-size: .84rem;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.jk-home-check-modal-table th {
  background: #f3f6f9;
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .04em;
  position: sticky;
  text-transform: uppercase;
  top: 57px;
  z-index: 1;
}

.jk-home-check-modal-table td strong,
.jk-home-check-modal-table td small {
  display: block;
}

.jk-home-check-modal-table td strong {
  color: #032d60;
  font-size: .9rem;
}

.jk-home-check-customer-link {
  color: #0176d3;
  text-decoration: none;
}

.jk-home-check-customer-link:hover {
  text-decoration: underline;
}

.jk-crm-stat-link {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jk-crm-stat-link:hover {
  color: #0176d3;
}

.jk-home-check-modal-table td small {
  color: #5f6f86;
  font-weight: 800;
  margin-top: 2px;
}

.jk-home-check-modal-table td a {
  background: #0176d3;
  border-radius: 6px;
  color: #ffffff;
  display: inline-block;
  font-size: .8rem;
  font-weight: 900;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-home-task-summary,
.jk-home-task-card,
.jk-home-task-empty {
  border-color: #d8dde6;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .07);
}

.jk-home-task-summary {
  background: #ffffff;
}

.jk-home-task-summary > strong {
  color: #032d60;
  font-size: 1.55rem;
}

.jk-home-task-all,
.jk-home-task-actions a.is-primary {
  background: #0176d3;
  border-color: #0176d3;
  color: #ffffff;
}

.jk-home-task-all:hover,
.jk-home-task-actions a.is-primary:hover {
  background: #014486;
  border-color: #014486;
}

.jk-home-task-card {
  background: #ffffff;
  grid-template-columns: 118px minmax(0, 1fr) minmax(150px, .22fr) auto;
  min-height: 86px;
  padding: 12px 14px;
}

.jk-home-task-card::before {
  width: 4px;
}

.jk-home-task-priority span {
  background: #eef4ff;
  border: 1px solid #c9ddff;
  border-radius: 999px;
  color: #032d60;
  display: inline-flex;
  justify-self: start;
  letter-spacing: 0;
  padding: 4px 8px;
  text-transform: none;
}

.jk-home-task-card.is-overdue .jk-home-task-priority span {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.jk-home-task-card.is-today .jk-home-task-priority span {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

.jk-home-task-card.is-progress .jk-home-task-priority span {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.jk-home-task-main strong {
  color: #032d60;
}

.jk-home-task-main p {
  max-width: 72ch;
}

.jk-home-task-table-shell {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .07);
  overflow: hidden;
}

.jk-home-task-toolbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d8dde6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
}

.jk-home-task-toolbar a {
  align-items: center;
  background: #f3f6f9;
  border: 1px solid #d8dde6;
  border-radius: 999px;
  color: #032d60;
  display: inline-flex;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  text-decoration: none;
}

.jk-home-task-toolbar strong {
  font-size: .92rem;
  line-height: 1;
}

.jk-home-task-toolbar span {
  color: #44546a;
  font-size: .78rem;
  font-weight: 850;
}

.jk-home-task-toolbar .jk-home-task-toolbar-all {
  background: #0176d3;
  border-color: #0176d3;
  color: #ffffff;
  font-size: .8rem;
  font-weight: 900;
  margin-left: auto;
}

.jk-home-task-table {
  border-collapse: collapse;
  width: 100%;
}

.jk-home-task-table th,
.jk-home-task-table td {
  border-bottom: 1px solid #e5e7eb;
  color: #181818;
  font-size: .86rem;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.jk-home-task-table th {
  background: #f3f6f9;
  color: #44546a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jk-home-task-table tr:hover td {
  background: #f8fbff;
}

.jk-home-task-table td strong {
  color: #032d60;
  display: block;
  font-size: .9rem;
  line-height: 1.25;
}

.jk-home-task-table td small {
  color: #5f6f86;
  display: block;
  font-size: .76rem;
  line-height: 1.25;
  margin-top: 3px;
}

.jk-home-task-pill {
  background: #eef4ff;
  border: 1px solid #c9ddff;
  border-radius: 999px;
  color: #032d60;
  display: inline-flex;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

.jk-home-task-table tr.is-overdue .jk-home-task-pill {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.jk-home-task-table tr.is-today .jk-home-task-pill {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

.jk-home-task-table tr.is-progress .jk-home-task-pill {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.jk-home-task-edit {
  align-items: center;
  background: #0176d3;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  min-height: 30px;
  padding: 6px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-home-task-edit:hover {
  background: #014486;
}

.jk-home-task-empty-cell {
  color: #5f6f86;
  font-weight: 800;
  text-align: center !important;
}

.jk-home-workday {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, .32fr) minmax(0, 1fr);
}

.jk-home-workday-hero,
.jk-home-worktype {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .07);
}

.jk-home-workday-hero {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.jk-home-workday-hero.is-complete {
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
  border-color: #86efac;
}

.jk-home-workday-hero.is-complete strong,
.jk-home-workday-hero.is-complete span {
  color: #166534;
}

.jk-home-workday-hero.is-complete small {
  color: #047857;
}

.jk-home-workday-hero.is-complete .jk-home-workday-meter i {
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

.jk-home-workday-hero.is-overdue {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border-color: #fed7aa;
}

.jk-home-workday-hero span,
.jk-home-worktype span {
  color: #44546a;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-home-workday-hero strong {
  color: #032d60;
  font-size: 2.45rem;
  line-height: 1;
}

.jk-home-workday-hero small,
.jk-home-worktype small {
  color: #5f6f86;
  font-size: .86rem;
  font-weight: 800;
}

.jk-home-workday-meter,
.jk-home-worktype em {
  background: #e5e7eb;
  border-radius: 999px;
  display: block;
  height: 9px;
  overflow: hidden;
}

.jk-home-workday-meter i,
.jk-home-worktype em i {
  background: linear-gradient(90deg, #0176d3, #22c55e);
  display: block;
  height: 100%;
}

.jk-home-workday-types {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-home-team-tasks {
  border-top: 1px solid #d8dde6;
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
}

.jk-home-team-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.jk-home-team-head div {
  display: grid;
  gap: 3px;
}

.jk-home-team-head span {
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-home-team-head strong {
  color: #032d60;
  font-size: 1rem;
}

.jk-home-team-head small {
  color: #5f6f86;
  font-weight: 850;
}

.jk-home-team-overview-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .07);
  color: #181818;
  cursor: pointer;
  display: grid;
  gap: 4px;
  justify-items: start;
  padding: 14px 16px;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.jk-home-team-overview-button:hover {
  border-color: #0176d3;
  box-shadow: 0 8px 20px rgba(1, 118, 211, .12);
  transform: translateY(-1px);
}

.jk-home-team-overview-button span {
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-home-team-overview-button strong {
  color: #032d60;
  font-size: 1.1rem;
}

.jk-home-team-overview-button small {
  color: #5f6f86;
  font-weight: 850;
}

.jk-home-team-overview[hidden] {
  display: none;
}

.jk-home-team-overview {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 14px;
  position: fixed;
  z-index: 1250;
}

.jk-home-team-overview-card {
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
  height: calc(100vh - 28px);
  margin: 0 auto;
  max-height: none;
  max-width: none;
  position: relative;
  width: calc(100vw - 28px);
}

.jk-home-team-overview .jk-home-team-overview-card {
  height: calc(100vh - 28px);
  margin: 0;
  max-width: none;
  width: calc(100vw - 28px);
}

.jk-home-team-overview-table {
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.jk-home-task-panel[data-team-task-panel] {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 14px;
  z-index: 1300;
}

.jk-home-task-panel[data-team-task-panel] .jk-home-task-panel-card {
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .30);
  height: calc(100vh - 28px);
  margin: 0;
  max-width: none;
  width: calc(100vw - 28px);
}

.jk-home-team-overview-table table {
  border-collapse: collapse;
  min-width: 820px;
  width: 100%;
}

.jk-home-team-overview-table th,
.jk-home-team-overview-table td {
  border-bottom: 1px solid #e5e7eb;
  color: #181818;
  font-size: .84rem;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.jk-home-team-overview-table th {
  background: #f3f6f9;
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jk-home-team-overview-table td strong {
  color: #032d60;
  display: block;
}

.jk-home-team-overview-table td small {
  color: #5f6f86;
  display: block;
  font-size: .74rem;
  font-weight: 850;
  margin-top: 3px;
}

.jk-home-team-detail-button {
  background: #0176d3;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 900;
  padding: 7px 10px;
}

.jk-home-pipeline-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 12px 0 8px;
}

.jk-home-pipeline-head--tasks {
  border-top: 1px solid #d8dde6;
  margin-top: 16px;
  padding-top: 14px;
}

.jk-home-pipeline-head div {
  display: grid;
  gap: 3px;
}

.jk-home-pipeline-head span {
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-home-pipeline-head strong {
  color: #032d60;
  font-size: 1rem;
}

.jk-home-pipeline-head small {
  color: #5f6f86;
  font-size: .82rem;
  font-weight: 850;
  max-width: 58ch;
  text-align: right;
}

button.jk-home-pipeline-head {
  font: inherit;
  text-align: left;
}

.jk-home-pipeline-actions {
  align-items: flex-end;
  display: flex;
  gap: 10px;
}

.jk-home-add-task-button {
  background: #0f766e;
  border: 1px solid #0f766e;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
}

.jk-home-add-task-button:hover {
  background: #115e59;
  border-color: #115e59;
}

.jk-home-team-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-home-team-card {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .06);
  color: #181818;
  cursor: pointer;
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 12px;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.jk-home-team-card:hover {
  border-color: #0176d3;
  box-shadow: 0 8px 20px rgba(1, 118, 211, .12);
  transform: translateY(-1px);
}

.jk-home-team-card span {
  color: #032d60;
  font-size: .9rem;
  font-weight: 950;
}

.jk-home-team-card strong {
  color: #0176d3;
  font-size: 1.6rem;
  line-height: 1;
}

.jk-home-team-metrics {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-home-team-metrics b {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  display: grid;
  gap: 2px;
  padding: 8px;
}

.jk-home-team-metrics i {
  color: #0176d3;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.jk-home-team-metrics small {
  color: #5f6f86;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.15;
}

.jk-home-team-metrics b.is-alert {
  background: #fff7ed;
  border-color: #fed7aa;
}

.jk-home-team-metrics b.is-alert i {
  color: #dc2626;
}

.jk-home-team-metrics b.is-good {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.jk-home-team-metrics b.is-good i {
  color: #15803d;
}

.jk-home-team-card small {
  color: #5f6f86;
  font-size: .78rem;
  font-weight: 850;
}

.jk-home-team-mix {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.jk-home-team-mix span {
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  color: #0f3769;
  font-size: .7rem;
  font-weight: 950;
  line-height: 1;
  padding: 5px 7px;
  text-transform: none;
}

.jk-home-team-card em {
  color: #dc2626;
  font-size: .76rem;
  font-style: normal;
  font-weight: 950;
}

.jk-home-team-card.is-overdue {
  border-color: #fecaca;
}

.jk-home-team-pager {
  display: grid;
  gap: 10px;
  min-height: 210px;
  overflow: auto;
  padding: 14px;
}

.jk-home-team-pager section {
  display: grid;
  gap: 10px;
}

.jk-home-team-group-head {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
}

.jk-home-team-group-head strong {
  color: #032d60;
  font-size: .98rem;
}

.jk-home-team-group-head small {
  color: #5f6f86;
  font-weight: 850;
}

.jk-home-team-pager article {
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  padding: 12px;
}

.jk-home-team-pager article div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.jk-home-team-pager article strong {
  color: #032d60;
  font-size: .95rem;
}

.jk-home-team-pager article small {
  color: #5f6f86;
  font-weight: 800;
}

.jk-home-team-pager article em {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 7px;
  color: #7c2d12;
  font-size: .9rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.4;
  padding: 8px 9px;
}

.jk-home-team-pager article a {
  background: #0176d3;
  border-radius: 6px;
  color: #ffffff;
  font-size: .8rem;
  font-weight: 900;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-home-team-pager-nav {
  align-items: center;
  border-top: 1px solid #d8dde6;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.jk-home-team-pager-nav button {
  background: #f3f6f9;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  color: #032d60;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 12px;
}

.jk-home-team-pager-nav button:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.jk-home-team-pager-nav span {
  color: #5f6f86;
  font-weight: 900;
}

.jk-home-worktype {
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border-color: #b8d9ff;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 16px;
  text-align: left;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.jk-home-worktype:hover {
  border-color: #0176d3;
  box-shadow: 0 8px 20px rgba(1, 118, 211, .14);
  transform: translateY(-1px);
}

.jk-home-worktype span,
.jk-home-worktype strong {
  color: #032d60;
}

.jk-home-worktype small {
  color: #315c8a;
}

.jk-home-worktype strong {
  font-size: 1.85rem;
  line-height: 1;
}

.jk-home-worktype--all {
  background: #032d60;
  color: #ffffff;
}

.jk-home-worktype--all span,
.jk-home-worktype--all strong,
.jk-home-worktype--all small {
  color: #ffffff;
}

.jk-home-worktype--overdue {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border-color: #fed7aa;
}

.jk-home-worktype--overdue span,
.jk-home-worktype--overdue strong {
  color: #9a3412;
}

.jk-home-worktype--overdue em i {
  background: linear-gradient(90deg, #f97316, #dc2626);
}

.jk-home-task-panel[hidden] {
  display: none;
}

.jk-home-task-panel {
  inset: 0;
  position: fixed;
  z-index: 1200;
}

.jk-home-task-panel-backdrop {
  background: rgba(15, 23, 42, .38);
  border: 0;
  inset: 0;
  position: absolute;
  width: 100%;
}

.jk-home-task-panel-card {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .24);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(100vh - 34px);
  margin: 17px auto;
  max-width: 1180px;
  position: relative;
  width: calc(100vw - 34px);
}

.jk-home-task-panel-card header {
  align-items: center;
  border-bottom: 1px solid #d8dde6;
  display: flex;
  justify-content: space-between;
  padding: 18px;
}

.jk-home-task-panel-card header div {
  display: grid;
  gap: 4px;
}

.jk-home-task-panel-card header span {
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-home-task-panel-card header strong {
  color: #032d60;
  font-size: 1.35rem;
}

.jk-home-task-panel-card header small {
  color: #5f6f86;
  font-weight: 800;
}

.jk-home-task-panel-card header button {
  background: #f3f6f9;
  border: 1px solid #d8dde6;
  border-radius: 50%;
  color: #032d60;
  cursor: pointer;
  font-size: 1.25rem;
  height: 36px;
  width: 36px;
}

.jk-home-task-panel-list {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding: 14px;
}

.jk-home-task-panel-list article {
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  padding: 12px;
}

.jk-home-task-panel-list article:hover {
  background: #f8fbff;
}

.jk-home-task-panel-list article div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.jk-home-task-panel-list article strong {
  color: #032d60;
  font-size: .95rem;
}

.jk-home-task-panel-list article small {
  color: #5f6f86;
  font-weight: 800;
}

.jk-home-task-panel-list article em {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 7px;
  color: #7c2d12;
  font-size: .9rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.4;
  padding: 8px 9px;
}

.jk-home-task-simple-list {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 72px);
  min-height: 0;
  overflow: auto;
  padding: 16px;
}

.jk-task-group-list {
  display: grid;
  gap: 16px;
}

.jk-task-group-section {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.jk-task-group-section .jk-home-team-group-head {
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
}

.jk-task-admin-filter {
  align-items: end;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
}

.jk-task-admin-filter label {
  display: grid;
  gap: 5px;
  min-width: min(280px, 100%);
}

.jk-task-admin-filter span {
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.jk-task-admin-filter select,
.jk-task-inline-date input {
  border: 1px solid #d8dde6;
  border-radius: 7px;
  color: #181818;
  font: inherit;
  min-height: 36px;
  padding: 7px 9px;
}

.jk-task-admin-filter a,
.jk-task-inline-date button {
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 7px;
  color: #0b5cab;
  font-size: .82rem;
  font-weight: 900;
  min-height: 36px;
  padding: 8px 12px;
  text-decoration: none;
}

.jk-task-inline-date {
  align-items: center;
  display: flex;
  gap: 7px;
}

.jk-task-inline-date input {
  min-width: 138px;
}

.jk-task-inline-date button {
  cursor: pointer;
}

.jk-home-task-simple-list table {
  border-collapse: separate;
  border-spacing: 0 8px;
  min-width: 860px;
  width: 100%;
}

.jk-home-task-simple-list th,
.jk-home-task-simple-list td {
  color: #181818;
  font-size: .9rem;
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
}

.jk-home-task-simple-list th {
  background: transparent;
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .04em;
  padding-bottom: 4px;
  text-transform: uppercase;
}

.jk-home-task-simple-list tbody tr {
  background: #ffffff;
  box-shadow: 0 1px 0 #e5e7eb, 0 8px 20px rgba(15, 23, 42, .04);
}

.jk-home-task-simple-list tbody tr:hover {
  box-shadow: 0 1px 0 #d8dde6, 0 12px 28px rgba(1, 118, 211, .11);
  transform: translateY(-1px);
}

.jk-home-task-simple-list tbody tr td:first-child {
  border-left: 5px solid #0176d3;
  border-radius: 8px 0 0 8px;
}

.jk-home-task-simple-list tbody tr td:last-child {
  border-radius: 0 8px 8px 0;
}

.jk-home-task-simple-list tbody tr.is-overdue td:first-child {
  border-left-color: #ba0517;
}

.jk-home-task-simple-list tbody tr.is-today td:first-child {
  border-left-color: #dd7a01;
}

.jk-home-task-simple-list tbody tr.is-progress td:first-child {
  border-left-color: #2e844a;
}

.jk-home-task-simple-list tbody tr.is-open td:first-child {
  border-left-color: #0176d3;
}

.jk-home-task-simple-list td strong {
  color: #032d60;
  display: block;
  font-size: .98rem;
  line-height: 1.25;
}

.jk-home-task-simple-list td small {
  color: #5f6f86;
  display: block;
  font-size: .74rem;
  font-weight: 850;
  margin-top: 3px;
}

.jk-home-task-simple-list a {
  background: #0176d3;
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 900;
  justify-content: center;
  min-width: 96px;
  padding: 8px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-home-task-simple-list a:hover {
  background: #0b5cab;
}

.jk-home-task-simple-list tbody tr.is-overdue .jk-home-task-pill {
  background: #fef1f2;
  border-color: #f5b5bd;
  color: #8e030f;
}

.jk-home-task-simple-list tbody tr.is-today .jk-home-task-pill {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #7c2d12;
}

.jk-home-task-simple-list tbody tr.is-progress .jk-home-task-pill {
  background: #eefcf3;
  border-color: #b7e1c1;
  color: #1f6e3d;
}

.jk-home-task-topic {
  color: #0176d3;
  font-size: .9rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.25;
}

.jk-home-task-grouped {
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  color: #0f3769;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 950;
  line-height: 1;
  padding: 6px 9px;
  width: fit-content;
}

.jk-home-task-context {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  border-radius: 6px;
  color: #0f3769;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.3;
  padding: 5px 7px;
  width: fit-content;
}

.jk-home-task-links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px !important;
  margin-top: 2px;
}

.jk-home-task-links button {
  background: #ffffff !important;
  border: 1px solid #b7c9e6 !important;
  color: #032d60 !important;
  padding: 7px 9px !important;
}

.jk-home-task-links button:hover {
  background: #f1f6ff !important;
  border-color: #0176d3 !important;
}

.jk-home-task-customer-link {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #0176d3 !important;
  cursor: pointer;
  display: inline !important;
  font: inherit !important;
  padding: 0 !important;
  text-align: left;
  text-decoration: underline;
  white-space: normal !important;
}

.jk-home-task-panel-list article a,
.jk-home-task-panel-list article button {
  background: #0176d3;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 900;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-home-task-detail[hidden] {
  display: none;
}

.jk-home-task-detail {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1235;
}

.jk-home-task-detail-card {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .30);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(92vh, 980px);
  max-width: 1440px;
  overflow: hidden;
  position: relative;
  width: min(96vw, 1440px);
}

.jk-home-task-detail-card header {
  align-items: center;
  border-bottom: 1px solid #d8dde6;
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}

.jk-home-task-detail-card header strong {
  color: #032d60;
  font-size: 1.15rem;
}

.jk-home-task-detail-card header button {
  background: #f3f6f9;
  border: 1px solid #d8dde6;
  border-radius: 50%;
  color: #032d60;
  cursor: pointer;
  font-size: 1.25rem;
  height: 36px;
  width: 36px;
}

.jk-home-task-detail-body {
  overflow: auto;
  padding: 0;
}

.jk-home-task-detail-frame {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.jk-kpi-daily-control {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  margin: 0 0 16px;
}

.jk-kpi-origin-wide {
  border-radius: 8px;
  margin: 0 0 16px;
  padding: 16px;
}

.jk-origin-list--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-origin-list--wide .jk-origin-row > div:first-child {
  display: grid;
  gap: 4px;
}

.jk-origin-list--wide .jk-origin-row span {
  display: block;
}

.jk-origin-list--wide .jk-origin-row strong {
  display: block;
  line-height: 1.08;
}

.jk-management-cockpit .jk-kpi-dark-panel {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, .20);
  box-shadow: 0 18px 42px rgba(2, 6, 23, .18);
  color: #e5eefb;
}

.jk-management-cockpit .jk-kpi-dark-panel h2,
.jk-management-cockpit .jk-kpi-dark-panel strong {
  color: #f8fafc;
}

.jk-management-cockpit .jk-kpi-dark-panel .jk-overline,
.jk-management-cockpit .jk-kpi-dark-panel small,
.jk-management-cockpit .jk-kpi-dark-panel span,
.jk-management-cockpit .jk-kpi-dark-panel .jk-exec-section-note {
  color: rgba(226, 232, 240, .74);
}

.jk-kpi-workday-section {
  border-radius: 8px;
  margin-top: 16px;
  padding: 16px;
}

.jk-kpi-workday-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-kpi-workday-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  overflow: hidden;
  padding: 12px;
}

.jk-kpi-workday-card header {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}

.jk-kpi-workday-card header span {
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jk-kpi-workday-card header strong {
  font-size: .98rem;
  line-height: 1.2;
}

.jk-kpi-workday-card table {
  border-collapse: collapse;
  width: 100%;
}

.jk-kpi-workday-card th,
.jk-kpi-workday-card td {
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  color: #e5eefb;
  font-size: .78rem;
  padding: 7px 4px;
  text-align: right;
  white-space: nowrap;
}

.jk-kpi-workday-card th:first-child,
.jk-kpi-workday-card td:first-child {
  color: rgba(226, 232, 240, .72);
  font-weight: 900;
  text-align: left;
}

.jk-kpi-workday-card th {
  color: rgba(226, 232, 240, .66);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jk-kpi-workday-card td:last-child {
  color: #9ee6c2;
  font-weight: 950;
}

.jk-kpi-command-deck {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 18px;
}

.jk-kpi-command-card {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .14);
  color: #ffffff;
  display: grid;
  gap: 8px;
  min-height: 132px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  text-decoration: none;
  transition: box-shadow .16s ease, transform .16s ease;
}

.jk-kpi-command-card::before {
  content: "";
  inset: 0;
  opacity: .94;
  position: absolute;
}

.jk-kpi-command-card::after {
  background:
    radial-gradient(circle, rgba(255,255,255,.28), transparent 64%),
    linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.18) 44%, transparent 54% 100%);
  content: "";
  height: 190px;
  position: absolute;
  right: -70px;
  top: -70px;
  transform: rotate(7deg);
  width: 190px;
}

.jk-kpi-command-card.is-live::before {
  background: linear-gradient(135deg, #0f766e, #2563eb);
}

.jk-kpi-command-card.is-year::before {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
}

.jk-kpi-command-card.is-action::before {
  background: linear-gradient(135deg, #b45309, #be185d);
}

.jk-kpi-command-card.is-measures::before {
  background: linear-gradient(135deg, #334155, #0f766e);
}

.jk-kpi-command-card span,
.jk-kpi-command-card strong,
.jk-kpi-command-card small {
  position: relative;
  z-index: 1;
}

.jk-kpi-command-card span {
  color: rgba(255,255,255,.78);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jk-kpi-command-card strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.08;
}

.jk-kpi-command-card small {
  align-self: end;
  color: rgba(255,255,255,.84);
  font-size: .84rem;
  font-weight: 850;
}

.jk-kpi-command-card:hover {
  box-shadow: 0 22px 46px rgba(15, 23, 42, .20);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .jk-kpi-control-stage,
  .jk-home-workday,
  .jk-kpi-daily-control {
    grid-template-columns: 1fr;
  }

  .jk-home-workday-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-home-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-home-check-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-home-check-row::before {
    display: none;
  }

  .jk-kpi-stage-meters--monthly,
  .jk-origin-list--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-kpi-workday-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-kpi-command-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-management-actions-hero,
  .jk-management-actions-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jk-kpi-stage-meters,
  .jk-home-workday-types,
  .jk-home-team-grid,
  .jk-home-check-row,
  .jk-kpi-stage-meters--monthly,
  .jk-origin-list--wide,
  .jk-kpi-workday-grid,
  .jk-kpi-command-deck {
    grid-template-columns: 1fr;
  }

  .jk-home-task-panel-list article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .jk-home-check-card em {
    max-width: none;
  }

  .jk-home-pipeline-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .jk-home-pipeline-head small {
    max-width: none;
    text-align: left;
  }

  .jk-home-team-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-home-check-modal-card {
    border-radius: 0;
    height: 100%;
    margin: 0;
    max-height: none;
    width: 100%;
  }

  .jk-home-check-modal-card header {
    align-items: flex-start;
    padding: 14px;
  }

  .jk-home-check-modal-table table {
    min-width: 760px;
  }

  .jk-management-followup div {
    grid-template-columns: 1fr;
  }

  .jk-management-actions-hero,
  .jk-management-actions-kpis {
    grid-template-columns: 1fr;
  }

  .jk-management-action-worklist > header,
  .jk-management-action-create summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

.jk-management-overview {
  display: grid;
  gap: 16px;
}

.jk-management-kpi-grid--focus {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.jk-management-cause-grid,
.jk-management-action-focus {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.jk-management-cause,
.jk-management-action-focus article {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 7px;
  min-height: 118px;
}

.jk-management-cause span,
.jk-management-action-focus span {
  color: #1f2937;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jk-management-cause strong {
  color: #0b1220;
  font-size: 1.35rem;
  line-height: 1;
}

.jk-management-cause small,
.jk-management-action-focus small {
  color: #111827;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
}

.jk-management-cause em,
.jk-management-action-focus em {
  border-top: 1px solid #e2e8f0;
  color: #334155;
  display: block;
  font-size: .76rem;
  font-style: normal;
  line-height: 1.35;
  margin-top: 4px;
  padding-top: 7px;
}

.jk-management-action-focus article {
  border-left: 4px solid #0ea5e9;
  background: #f8fafc;
}

.jk-management-action-focus strong {
  color: #0b1220;
  font-size: .95rem;
  line-height: 1.25;
}

.jk-management-action-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}

.jk-management-action-filter a {
  align-items: center;
  background: rgba(15, 23, 42, .06);
  border: 1px solid rgba(148, 163, 184, .38);
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 900;
  gap: 7px;
  padding: 8px 11px;
  text-decoration: none;
}

.jk-management-action-filter a:hover,
.jk-management-action-filter a.is-active {
  background: #0f766e;
  border-color: #14b8a6;
  color: #fff;
}

.jk-management-action-filter span {
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  min-width: 1.6em;
  padding: 3px 6px;
  text-align: center;
}

.jk-management-actions-page {
  display: grid;
  gap: 14px;
}

.jk-management-actions-hero {
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .07);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .28fr);
  padding: 18px;
}

.jk-management-actions-hero h2 {
  color: #032d60;
  font-size: 1.55rem;
  margin: 0;
}

.jk-management-actions-hero p {
  color: #44546a;
  font-weight: 750;
  line-height: 1.45;
  margin: 6px 0 0;
}

.jk-management-actions-score {
  background: #f3f6f9;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.jk-management-actions-score span,
.jk-management-actions-kpis span,
.jk-management-action-worklist header span,
.jk-management-action-create summary span {
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-management-actions-score strong {
  color: #032d60;
  font-size: 2rem;
  line-height: 1;
}

.jk-management-actions-score small {
  color: #5f6f86;
  font-weight: 850;
}

.jk-management-actions-score em {
  background: #e5e7eb;
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.jk-management-actions-score em i {
  background: linear-gradient(90deg, #0176d3, #22c55e);
  display: block;
  height: 100%;
}

.jk-management-actions-kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-management-actions-kpis a {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .06);
  display: grid;
  gap: 6px;
  padding: 14px;
  text-decoration: none;
}

.jk-management-actions-kpis a:hover,
.jk-management-actions-kpis a.is-active {
  border-color: #0176d3;
}

.jk-management-actions-kpis strong {
  color: #032d60;
  font-size: 1.8rem;
  line-height: 1;
}

.jk-management-actions-kpis small {
  color: #5f6f86;
  font-weight: 800;
}

.jk-management-action-filter--large {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .06);
  margin: 0;
  padding: 10px;
}

.jk-management-action-filter--large a {
  background: #f3f6f9;
  border-color: #d8dde6;
  color: #032d60;
}

.jk-management-action-filter--large a:hover,
.jk-management-action-filter--large a.is-active {
  background: #0176d3;
  border-color: #0176d3;
  color: #ffffff;
}

.jk-management-action-create {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .06);
  overflow: hidden;
}

.jk-management-action-create summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  list-style: none;
  padding: 14px 16px;
}

.jk-management-action-create summary::-webkit-details-marker {
  display: none;
}

.jk-management-action-create summary::after {
  color: #032d60;
  content: "+";
  font-size: 1.3rem;
  font-weight: 900;
}

.jk-management-action-create[open] summary::after {
  content: "-";
}

.jk-management-action-create summary strong {
  color: #032d60;
  margin-left: auto;
}

.jk-management-action-create form {
  border-top: 1px solid #d8dde6;
  padding: 14px;
}

.jk-management-action-worklist {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .07);
  overflow: hidden;
}

.jk-management-action-worklist > header {
  align-items: center;
  border-bottom: 1px solid #d8dde6;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.jk-management-action-worklist header div {
  display: grid;
  gap: 4px;
}

.jk-management-action-worklist header strong {
  color: #032d60;
  font-size: 1.12rem;
}

.jk-management-action-worklist header small {
  color: #5f6f86;
  font-weight: 850;
}

.jk-management-action-table-wrap {
  overflow-x: auto;
}

.jk-management-action-table {
  border-collapse: collapse;
  min-width: 920px;
  width: 100%;
}

.jk-management-action-table th,
.jk-management-action-table td {
  border-bottom: 1px solid #e5e7eb;
  color: #181818;
  font-size: .86rem;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.jk-management-action-table th {
  background: #f3f6f9;
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jk-management-action-table tr:hover td {
  background: #f8fbff;
}

.jk-management-action-table td strong {
  color: #032d60;
  display: block;
  font-size: .92rem;
  line-height: 1.25;
}

.jk-management-action-table td small,
.jk-management-action-table td p {
  color: #5f6f86;
  display: block;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.3;
  margin: 3px 0 0;
}

.jk-management-action-table td p {
  max-width: 58ch;
  white-space: pre-line;
}

.jk-management-action-status {
  background: #eef4ff;
  border: 1px solid #c9ddff;
  border-radius: 999px;
  color: #032d60;
  display: inline-flex;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

.jk-management-action-table tr.is-in_progress .jk-management-action-status {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.jk-management-action-table tr.is-done .jk-management-action-status {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #166534;
}

.jk-management-action-table tr.is-pipeline .jk-management-action-status {
  background: #eef4ff;
  border-color: #cfe0ff;
  color: #0f3769;
}

.jk-management-action-open {
  background: #0176d3;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  min-height: 32px;
  padding: 7px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.jk-management-action-open:hover {
  background: #014486;
}

.jk-management-action-empty {
  color: #5f6f86 !important;
  font-weight: 850;
  text-align: center !important;
}

.jk-pipeline-action-modal[hidden] {
  display: none;
}

.jk-pipeline-action-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 1100;
}

.jk-pipeline-action-backdrop {
  background: rgba(15, 23, 42, .52);
  border: 0;
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.jk-pipeline-action-panel {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
  max-height: min(760px, 92vh);
  overflow: auto;
  position: relative;
  width: min(760px, 96vw);
  z-index: 1;
}

.jk-pipeline-action-panel header {
  align-items: flex-start;
  border-bottom: 1px solid #d8dde6;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 18px;
}

.jk-pipeline-action-panel header div,
.jk-pipeline-action-panel form {
  display: grid;
  gap: 8px;
}

.jk-pipeline-action-panel header span,
.jk-pipeline-action-grid label span {
  color: #44546a;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jk-pipeline-action-panel header strong {
  color: #032d60;
  font-size: 1.15rem;
}

.jk-pipeline-action-panel header small {
  color: #5f6f86;
  font-weight: 850;
}

.jk-pipeline-action-panel header button {
  background: #f3f6f9;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  color: #032d60;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  height: 32px;
  line-height: 1;
  width: 32px;
}

.jk-pipeline-action-panel form {
  padding: 18px;
}

.jk-pipeline-action-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-pipeline-action-grid label {
  display: grid;
  gap: 6px;
}

.jk-pipeline-action-grid input,
.jk-pipeline-action-grid select,
.jk-pipeline-action-grid textarea {
  background: #ffffff;
  border: 1px solid #c9d3df;
  border-radius: 7px;
  color: #181818;
  font: inherit;
  min-height: 38px;
  padding: 8px 10px;
}

.jk-pipeline-action-note {
  grid-column: 1 / -1;
}

.jk-pipeline-action-status {
  color: #7c2d12;
  font-weight: 900;
  margin: 0;
}

.jk-pipeline-action-panel footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.jk-management-detail-stack {
  display: grid;
  gap: 12px;
}

.jk-management-detail {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.jk-management-detail > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  padding: 14px 16px;
}

.jk-management-detail > summary::-webkit-details-marker {
  display: none;
}

.jk-management-detail > summary::after {
  color: #64748b;
  content: "+";
  font-size: 1.25rem;
  font-weight: 900;
}

.jk-management-detail[open] > summary::after {
  content: "-";
}

.jk-management-detail > summary strong {
  color: #0f172a;
  display: block;
  font-size: 1rem;
}

.jk-management-detail > summary span {
  color: #64748b;
  display: block;
  font-size: .84rem;
  margin-top: 2px;
}

.jk-management-detail > div,
.jk-management-detail > article {
  border-top: 1px solid #e2e8f0;
  padding: 14px;
}

.jk-management-chart-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.jk-management-chart-list div {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}

.jk-management-chart-list strong,
.jk-management-chart-list span {
  display: block;
}

.jk-management-chart-list strong {
  color: #0f172a;
}

.jk-management-chart-list span {
  color: #64748b;
  font-size: .86rem;
  margin-top: 3px;
}

.jk-management-table-wrap {
  overflow-x: visible;
  margin-top: 10px;
}

.jk-management-mini-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
}

.jk-management-mini-table th,
.jk-management-mini-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  font-size: .9rem;
}

.jk-management-mini-table th {
  color: #64748b;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: #f8fafc;
}

.jk-management-mini-table td strong,
.jk-management-action-card strong,
.jk-management-suggestion-list strong {
  display: block;
  color: #0f172a;
  font-size: .93rem;
  line-height: 1.25;
}

.jk-management-mini-table td small,
.jk-management-action-card small,
.jk-management-suggestion-list span,
.jk-management-suggestion-list small {
  display: block;
  color: #64748b;
  font-size: .8rem;
  margin-top: 3px;
  line-height: 1.3;
}

.jk-management-mini-table .is-negative {
  color: #b91c1c;
  font-weight: 800;
}

.jk-management-mini-table .is-positive {
  color: #047857;
  font-weight: 800;
}

.jk-management-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: .78rem;
  font-weight: 800;
}

.jk-management-pill.is-danger {
  background: #fee2e2;
  color: #991b1b;
}

.jk-management-action-form {
  display: grid;
  gap: 12px;
}

.jk-management-action-form div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.jk-management-action-form label {
  display: grid;
  gap: 5px;
  color: #475569;
  font-size: .8rem;
  font-weight: 800;
}

.jk-management-action-form input,
.jk-management-action-form textarea,
.jk-management-action-result textarea,
.jk-management-action-card select,
.jk-management-modal-panel select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 11px;
  color: #0f172a;
  background: #fff;
  font: inherit;
}

.jk-management-action-form textarea {
  resize: vertical;
}

.jk-management-suggestion-list,
.jk-management-action-board {
  display: grid;
  gap: 10px;
}

.jk-management-suggestion-list div,
.jk-management-action-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.jk-management-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-left: 4px solid #94a3b8;
}

.jk-crm-contact-card {
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
}

.jk-crm-contact-card:hover {
  background: #eef6ff;
  border-color: #9ec5fe;
}

.jk-crm-contact-sync,
.jk-crm-contact-sync-line {
  border-radius: 999px;
  display: inline-flex !important;
  font-size: .74rem !important;
  font-weight: 900 !important;
  margin-top: 8px !important;
  padding: 4px 8px;
  width: fit-content;
}

.jk-crm-contact-sync.is-sap,
.jk-crm-contact-sync-line.is-sap {
  background: #dcfce7;
  color: #166534 !important;
}

.jk-crm-contact-sync.is-local,
.jk-crm-contact-sync-line.is-local {
  background: #fff7ed;
  color: #9a3412 !important;
}

.jk-crm-personal-star {
  align-items: center;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 999px;
  color: #92400e;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 950;
  height: 18px;
  justify-content: center;
  line-height: 1;
  margin-left: 5px;
  width: 18px;
}

.jk-crm-contact-personal {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 7px;
  color: #92400e;
  display: inline-flex;
  font-weight: 900;
  margin-top: 8px;
  padding: 5px 7px;
  width: fit-content;
}

.jk-crm-personal-form {
  border-top: 1px solid #e5e7eb;
  margin-top: 14px;
  padding-top: 14px;
}

.jk-crm-personal-head {
  align-items: center;
  display: flex;
  gap: 10px;
}

.jk-crm-personal-head .jk-crm-personal-star {
  margin-left: 0;
}

.jk-crm-personal-head strong {
  color: #032d60;
  display: block;
  font-size: 1rem;
}

.jk-crm-personal-head small {
  color: #5f6f86;
  display: block;
  font-size: .78rem;
  font-weight: 800;
}

.jk-crm-personal-check {
  align-items: center;
  display: flex !important;
  flex-direction: row;
  gap: 8px;
}

.jk-crm-personal-check input {
  width: auto;
}

.jk-crm-contact-modal-panel {
  max-height: min(860px, calc(100vh - 28px));
  max-width: min(820px, calc(100vw - 28px));
  overflow: auto;
}

.jk-crm-contact-form {
  padding: 14px;
}

.jk-crm-contact-form label {
  background: #f8fafc;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 10px;
}

.jk-management-action-card > form {
  display: grid;
  gap: 14px;
}

.jk-management-action-card.is-in_progress {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.jk-management-action-card.is-done {
  border-left-color: #10b981;
  background: #ecfdf5;
}

.jk-management-action-card p {
  margin: 8px 0 0;
  color: #475569;
  font-size: .86rem;
  white-space: pre-line;
}

.jk-crm-task-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.jk-management-action-result {
  background: #ffffff;
  border: 1px solid #c9ddff;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 10px;
}

.jk-management-action-result span {
  color: #032d60;
  font-size: .82rem;
  font-weight: 900;
}

.jk-management-action-complete-grid {
  display: grid;
  align-items: end;
  gap: 14px;
  grid-template-columns: minmax(360px, .8fr) minmax(260px, 1fr);
}

.jk-management-action-complete-box {
  background: #f8fafc;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
}

.jk-management-action-complete-box h3 {
  color: #032d60;
  font-size: 1.02rem;
  font-weight: 950;
  margin: 0;
}

.jk-management-contact-hint {
  align-self: center;
  color: #475569;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
}

.jk-management-new-contact {
  background: #ffffff;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  padding: 14px;
}

.jk-management-new-contact[hidden] {
  display: none;
}

.jk-management-contact-save {
  align-items: end;
  display: flex;
  justify-content: flex-end;
}

.jk-management-contact-save button {
  background: #0176d3;
  border: 1px solid #0176d3;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 900;
  min-height: 42px;
  padding: 9px 13px;
}

.jk-management-contact-save button:hover {
  background: #014486;
  border-color: #014486;
}

.jk-management-action-complete-box.jk-management-followup {
  display: block;
}

.jk-management-action-complete-box.jk-management-followup[open] {
  display: grid;
}

.jk-management-action-result input,
.jk-management-action-result select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #0f172a;
  font: inherit;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.jk-management-action-result textarea {
  min-height: 132px;
  resize: vertical;
}

@media (max-width: 860px) {
  .jk-management-action-complete-grid,
  .jk-management-new-contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

.jk-management-action-statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 0;
}

.jk-management-action-statusbar button {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 900;
  min-height: 36px;
  padding: 8px 11px;
}

.jk-management-action-statusbar button[value="done"] {
  background: #0176d3;
  border-color: #0176d3;
  color: #ffffff;
}

.jk-management-action-statusbar button:hover {
  border-color: #0176d3;
}

.jk-management-followup {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-top: 10px;
  padding: 11px;
}

.jk-management-followup summary {
  color: #032d60;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 900;
}

.jk-management-followup label {
  color: #475569;
  display: grid;
  font-size: .76rem;
  font-weight: 900;
  gap: 5px;
  margin-top: 9px;
}

.jk-management-followup div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-management-followup input,
.jk-management-followup textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font: inherit;
  padding: 9px 10px;
  width: 100%;
}

.jk-crm-activity-layout {
  display: grid;
  gap: 14px;
}

.jk-crm-workspace {
  display: grid;
  gap: 12px;
}

.jk-crm-work-tabs {
  align-items: center;
  background: #eef2f7;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  width: fit-content;
}

.jk-crm-work-tabs button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  font-weight: 950;
  min-height: 34px;
  padding: 7px 12px;
}

.jk-crm-work-tabs button.is-active {
  background: #0176d3;
  color: #ffffff;
}

.jk-crm-work-panel[hidden] {
  display: none;
}

.jk-crm-work-panel {
  display: grid;
  gap: 14px;
}

.jk-crm-activity-section {
  background: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 24, 24, .06);
  overflow: hidden;
}

.jk-crm-activity-section > header {
  background: #f3f6f9;
  border-bottom: 1px solid #d8dde6;
  padding: 12px 14px;
}

.jk-crm-activity-section > header div {
  display: grid;
  gap: 4px;
}

.jk-crm-activity-section > header span {
  color: #44546a;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-crm-activity-section > header strong {
  color: #032d60;
  font-size: 1rem;
}

.jk-crm-activity-section .jk-management-action-board,
.jk-crm-activity-section .jk-crm-activity-feed,
.jk-crm-activity-section .jk-crm-activity-capture {
  padding: 12px;
}

.jk-crm-activity-capture textarea {
  min-height: 128px;
}

.jk-crm-activity-feed {
  display: grid;
  gap: 10px;
}

.jk-crm-activity-feed article {
  align-items: start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #22c55e;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.jk-crm-activity-feed article span {
  color: #44546a;
  display: block;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-crm-activity-feed article strong {
  color: #032d60;
  display: block;
  font-size: .95rem;
  margin-top: 3px;
}

.jk-crm-activity-feed article small {
  color: #5f6f86;
  display: block;
  font-size: .8rem;
  font-weight: 800;
  margin-top: 3px;
}

.jk-crm-activity-feed article p {
  color: #334155;
  font-size: .86rem;
  line-height: 1.4;
  margin: 8px 0 0;
  white-space: pre-line;
}

.jk-crm-activity-main {
  display: grid;
  gap: 8px;
}

.jk-crm-activity-meta {
  display: grid;
  gap: 2px;
}

.jk-crm-activity-summary {
  background: #f8fafc;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  color: #0f172a !important;
  font-size: .95rem !important;
  font-weight: 800;
  line-height: 1.45 !important;
  margin: 0 !important;
  padding: 10px 12px;
}

.jk-crm-activity-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, .45fr) minmax(260px, 1fr);
}

.jk-crm-activity-facts div {
  background: #f8fafc;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.jk-crm-activity-facts span {
  color: #64748b !important;
  font-size: .72rem !important;
  font-weight: 950 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jk-crm-activity-facts strong {
  color: #0f172a !important;
  font-size: .96rem !important;
  font-weight: 900 !important;
  line-height: 1.35;
  margin: 0 !important;
}

@media (max-width: 760px) {
  .jk-crm-activity-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

.jk-crm-activity-context {
  color: #64748b !important;
  font-size: .78rem !important;
  font-weight: 750 !important;
  line-height: 1.35;
  margin-top: 0 !important;
  white-space: pre-line;
}

.jk-crm-activity-feed article button {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #032d60;
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  min-height: 34px;
  padding: 7px 10px;
  white-space: nowrap;
}

.jk-crm-activity-feed article button:hover {
  background: #f3f6f9;
  border-color: #0176d3;
}

.jk-management-modal[hidden] {
  display: none;
}

.jk-management-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.jk-management-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .52);
}

.jk-management-modal-panel {
  position: relative;
  width: min(460px, 100%);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .25);
  padding: 18px;
}

.jk-management-modal-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.jk-management-modal-panel header strong {
  font-size: 1.05rem;
}

.jk-management-modal-panel header button {
  border: 0;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
}

.jk-management-modal-panel form {
  display: grid;
  gap: 12px;
}

.jk-management-modal-panel label {
  display: grid;
  gap: 5px;
  color: #475569;
  font-size: .82rem;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .jk-management-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jk-management-assessment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jk-management-cause-grid,
  .jk-management-action-focus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-management-3col,
  .jk-management-split,
  .jk-management-split--wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .jk-management-kpi-grid,
  .jk-management-assessment-grid,
  .jk-position-matrix-grid,
  .jk-management-cause-grid,
  .jk-management-action-focus,
  .jk-management-action-form div,
  .jk-management-action-card {
    grid-template-columns: 1fr;
  }

  .jk-position-matrix {
    grid-template-columns: 1fr;
  }

  .jk-position-matrix-axis--y {
    writing-mode: initial;
    transform: none;
  }

  .jk-position-matrix-axis--x {
    grid-column: auto;
  }

  .jk-finance-plan-filter,
  .jk-finance-plan-company {
    grid-template-columns: 1fr;
  }

  .jk-finance-plan-actions .jk-btn {
    width: 100%;
  }

  .jk-management-responsive-table,
  .jk-management-responsive-table tbody,
  .jk-management-responsive-table tr,
  .jk-management-responsive-table td {
    display: block;
    width: 100%;
  }

  .jk-management-responsive-table thead {
    display: none;
  }

  .jk-management-responsive-table tr {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
  }

  .jk-management-responsive-table td {
    align-items: start;
    border-bottom: 1px solid #edf2f7;
    display: grid;
    gap: 8px;
    grid-template-columns: 108px minmax(0, 1fr);
    padding: 9px 10px;
  }

  .jk-management-responsive-table td::before {
    color: #64748b;
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .jk-management-responsive-table td:last-child {
    border-bottom: 0;
  }

  .jk-management-hero-actions .jk-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.jk-kanban-work-grid--compact .jk-kanban-work-card {
  min-height: 150px;
  border-radius: 8px;
  padding: 16px;
}

.jk-kanban-work-grid--compact .jk-kanban-work-card > strong {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
}

@media (max-width: 1100px) {
  .jk-exec-menu,
  .jk-home-menu,
  .jk-start-quick-grid,
  .jk-dashboard-head-actions,
  .jk-home-control-grid,
  .jk-finance-control-grid,
  .jk-finance-search,
  .jk-finance-kpi-row,
  .jk-exec-task-grid,
  .jk-exec-chart-grid,
  .jk-exec-today-strip,
  .jk-exec-month-grid,
  .jk-cockpit-card-grid,
  .jk-cockpit-split,
  .jk-document-chain-grid,
  .jk-document-position-main,
  .jk-sap-form-grid,
  .jk-management-group summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-management-document-table {
    min-width: 0;
  }

  .jk-management-document-table-wrap {
    overflow: visible;
  }

  .jk-management-document-table thead {
    display: none;
  }

  .jk-management-document-table,
  .jk-management-document-table tbody,
  .jk-management-document-table tr,
  .jk-management-document-table td {
    display: block;
    width: 100%;
  }

  .jk-management-document-table tr {
    background: #fff;
    border: 1px solid #c8d0d8;
    border-radius: 5px;
    margin: 8px;
    overflow: hidden;
  }

  .jk-management-document-table td {
    align-items: baseline;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #e1e6eb;
    display: grid;
    gap: 10px;
    grid-template-columns: 96px minmax(0, 1fr);
    min-width: 0;
    padding: 8px 10px;
    text-align: left !important;
    white-space: normal;
  }

  .jk-management-document-table td::before {
    color: #465363;
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .jk-management-document-table td:last-child {
    border-bottom: 0;
  }

  .jk-management-document-table td:nth-child(2) {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .jk-workmode-structure {
    grid-template-columns: 1fr;
  }

  .jk-exec-top,
  .jk-exec-menu,
  .jk-home-menu,
  .jk-start-quick-grid,
  .jk-dashboard-head-actions,
  .jk-home-control-grid,
  .jk-finance-control-grid,
  .jk-finance-search,
  .jk-finance-kpi-row,
  .jk-command-grid--secondary,
  .jk-exec-task-grid,
  .jk-exec-chart-grid,
  .jk-exec-today-strip,
  .jk-exec-month-grid,
  .jk-chat-layout,
  .jk-cockpit-card-grid,
  .jk-cockpit-split,
  .jk-cockpit-table div,
  .jk-document-chain-grid,
  .jk-document-position-main,
  .jk-document-position dl,
  .jk-sap-form-grid,
  .jk-management-group summary,
  .jk-management-group summary dl {
    grid-template-columns: 1fr;
  }

  .jk-sap-table-wrap {
    overflow: visible;
  }

  .jk-sap-position-table {
    min-width: 0;
  }

  .jk-chat-panel--messenger {
    min-height: 560px;
  }

  .jk-chat-bubble {
    max-width: 92%;
  }

  .jk-chat-compose {
    grid-template-columns: 1fr;
  }

  .jk-chat-area-select {
    grid-template-columns: 1fr;
  }

  .jk-sap-position-table thead {
    display: none;
  }

  .jk-sap-position-table,
  .jk-sap-position-table tbody,
  .jk-sap-position-table tr,
  .jk-sap-position-table td {
    display: block;
    width: 100%;
  }

  .jk-sap-position-table tr {
    background: #fff;
    border: 1px solid #c8d0d8;
    border-radius: 5px;
    margin: 8px;
    overflow: hidden;
  }

  .jk-sap-position-table td {
    align-items: baseline;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #e1e6eb;
    display: grid;
    gap: 10px;
    grid-template-columns: 96px minmax(0, 1fr);
    min-width: 0;
    padding: 8px 10px;
    text-align: left !important;
    white-space: normal;
  }

  .jk-sap-position-table td::before {
    color: #465363;
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .jk-sap-position-table td:last-child {
    border-bottom: 0;
  }

  .jk-management-document-table td:nth-child(2) {
    min-width: 0;
  }

  .jk-sap-description {
    min-width: 0;
  }

  .jk-sap-chain-chip {
    white-space: normal;
  }

  .jk-document-flow-body {
    display: grid;
    gap: 8px;
    overflow: visible;
  }

  .jk-document-flow-node {
    flex: none;
  }

  .jk-document-flow-edge {
    height: 18px;
    justify-self: start;
    margin-left: 20px;
    width: 2px;
  }

  .jk-document-flow-edge::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #8aa0b5;
    bottom: -1px;
    left: -4px;
    right: auto;
    top: auto;
  }

  .jk-management-group summary {
    gap: 10px;
  }

  .jk-management-group summary::before {
    margin-bottom: -14px;
  }

  .jk-management-group summary dl {
    padding-left: 24px;
  }

  .jk-cockpit-table b {
    text-align: left;
  }

  .jk-exec-menu-link {
    border-left: 0;
    border-top: 1px solid var(--jk-line);
  }

  .jk-exec-menu-link:first-child {
    border-top: 0;
  }

  .jk-exec-section-head {
    align-items: start;
    flex-direction: column;
  }

  .jk-exec-section-note {
    max-width: none;
    text-align: left;
  }
}
