/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/components/zone8/zone8.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
.kh-app {
  min-height: 100vh;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.015em;
}

.kh-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 253, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.kh-nav-row,
.kh-main {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.kh-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.kh-nav-row + .kh-nav-row {
  min-height: 48px;
  padding-bottom: 10px;
}

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

.kh-logo {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}

.kh-who {
  display: grid;
  min-width: 0;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  text-align: start;
}

.kh-who b {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-who span {
  color: #6e6e73;
  font-size: 11px;
  font-weight: 600;
}

.kh-brand strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
}

.kh-brand small,
.kh-zone,
.kh-kicker,
.kh-foot,
.kh-quiet {
  color: #6e6e73;
  font-size: 12px;
  font-weight: 500;
}

.kh-actions,
.kh-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kh-text {
  border: 0;
  background: transparent;
  color: #0066cc;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.kh-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
}

.kh-seg button {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #1d1d1f;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.kh-seg button.is-on {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  font-weight: 600;
}

.kh-main {
  padding: 28px 0 48px;
}

.kh-main-map {
  width: min(100% - 24px, 1600px);
  height: calc(100dvh - 118px);
  padding: 8px 0 10px;
  display: flex;
  flex-direction: column;
}

.kh-mapfit {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
}

.kh-mapbox {
  position: relative;
  width: min(100%, calc((100dvh - 176px) * 1024 / 636));
  max-height: 100%;
  aspect-ratio: 1024 / 636;
  container-type: inline-size;
}

.kh-mapbox.is-design {
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}

.kh-studio-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.kh-studio-bar input:not([type="file"]),
.kh-studio-bar select {
  width: 108px;
  height: 34px;
  padding: 0 10px;
  font-size: 14px;
}

.kh-studio-bar label {
  display: grid;
  gap: 2px;
  color: #6e6e73;
  font-size: 11px;
  font-weight: 600;
}

.kh-draw {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(13, 98, 208, 0.7);
  background: rgba(13, 98, 208, 0.08);
}

.kh-grid {
  position: absolute;
  z-index: 3;
  display: grid;
  direction: ltr;
  box-sizing: border-box;
  pointer-events: none;
  border: 1px solid #0d62d0;
  background: rgba(255, 255, 255, 0.28);
}

.kh-grid > span {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  color: #08346f;
  font-size: clamp(8px, 1cqi, 14px);
  font-weight: 700;
  line-height: 1;
}

.kh-rowline {
  position: absolute;
  z-index: 5;
  height: 14px;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: ns-resize;
}

.kh-rowline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  background: #0071e3;
}

.kh-studio {
  position: absolute;
  z-index: 7;
  width: 230px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.kh-studio strong,
.kh-studio label {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.kh-studio label {
  margin-top: 8px;
}

.kh-studio input,
.kh-studio select {
  width: 100%;
  height: 34px;
  margin-top: 4px;
  text-align: center;
  font-weight: 700;
}

.kh-studio .kh-pin-actions {
  margin-top: 10px;
}

.kh-pin {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 2.45%;
  height: 3.95%;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #0d62d0;
  color: #fff;
  font-size: clamp(8px, 1.2cqi, 15px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  box-shadow: 0 0 0 2px #0d62d0;
  transform: translate(-50%, -50%);
}

.kh-pin.is-edit {
  cursor: pointer;
}

.kh-pin.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0d62d0;
}

.kh-pin-edit {
  position: absolute;
  z-index: 6;
  width: 148px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.kh-pin-edit strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.kh-pin-edit input {
  width: 100%;
  height: 36px;
  margin-top: 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.kh-pin-edit p {
  margin-top: 6px;
  color: #d70015;
  font-size: 11px;
  font-weight: 600;
}

.kh-pin-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.kh-pin-actions button {
  flex: 1;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: #0071e3;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.kh-pin-actions button[type="button"] {
  background: rgba(0, 0, 0, 0.06);
  color: #1d1d1f;
}

.kh-lawn {
  position: absolute;
  left: 66%;
  top: 61%;
  width: 28%;
  padding: 14px 16px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  color: #1d1d1f;
}

.kh-lawn strong {
  display: block;
  margin-top: 2px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.kh-lawn ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
}

.kh-lawn li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kh-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  flex: none;
}

.kh-pagehead {
  margin-bottom: 18px;
}

.kh-pagehead h2 {
  margin-top: 2px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.kh-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.kh-chip.is-on {
  color: #fff;
}

.kh-select,
.kh-app input,
.kh-app select,
.kh-app textarea {
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #1d1d1f;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.kh-select {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.kh-app input:focus,
.kh-app select:focus,
.kh-app textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18);
}

.kh-stage {
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.kh-link {
  color: #0066cc;
  font-size: 13px;
  font-weight: 500;
}

.kh-sheet {
  background: rgba(251, 251, 253, 0.96);
  backdrop-filter: blur(24px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 20px 0 60px rgba(0, 0, 0, 0.08);
}

.kh-app .font-black {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.kh-app .rounded-3xl.border,
.kh-app article.rounded-3xl,
.kh-app .rounded-3xl.border-\[\#e6ebf2\] {
  border-color: transparent;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.kh-app button.bg-\[\#0b1f3a\],
.kh-app .bg-\[\#0b1f3a\] {
  background: #0071e3;
  font-weight: 600;
}

.kh-app .bg-\[\#2f6fed\] {
  background: #0071e3;
}

.kh-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(900px 420px at 50% -10%, #fff, transparent 60%),
    #f5f5f7;
}

.kh-login .kh-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.kh-login form {
  width: min(420px, 100%);
  padding: 36px 32px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
}

.kh-login h1 {
  margin-top: 18px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.kh-login p {
  margin-top: 8px;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.6;
}

.kh-login p.text-\[\#8d2f28\] {
  color: #d70015;
}

.kh-login label {
  display: block;
  margin-top: 16px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 600;
}

.kh-login input {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 0 14px;
  font-size: 17px;
}

.kh-login .kh-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
}

.kh-login .kh-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: #0071e3;
}

.kh-login button[type="submit"] {
  width: 100%;
  height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 14px;
  background: #0071e3;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.kh-login button[type="submit"]:hover {
  background: #0077ed;
}

.kh-foot {
  margin-top: 36px;
  text-align: center;
}

.kh-main-wide {
  width: min(1680px, calc(100% - 20px));
  padding: 12px 0 24px;
}

.kh-warehouse {
  display: grid;
  gap: 8px;
}

.kh-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kh-toolbar h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.kh-toolbar .kh-desk {
  width: min(360px, 100%);
}

.kh-toolbar .kh-filters {
  margin-inline-start: auto;
}

.kh-board {
  display: grid;
  gap: 8px;
}

.kh-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.kh-kpi,
.kh-panel {
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.kh-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kh-kpi p,
.kh-panel h3 {
  margin: 0;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 600;
}

.kh-panel h3 {
  color: #1d1d1f;
  font-size: 14px;
}

.kh-kpi strong {
  display: block;
  margin-top: 2px;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.kh-kpi span,
.kh-await {
  display: block;
  margin-top: 2px;
  color: #6e6e73;
  font-size: 11px;
  line-height: 1.35;
}

.kh-await {
  margin: 8px 0 0;
  padding: 0;
  background: transparent;
}

.kh-dept {
  display: grid;
  flex: 1;
  gap: 8px;
  margin-top: 8px;
}

.kh-dept button {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 72px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: #f5f5f7;
  text-align: start;
  cursor: pointer;
}

.kh-dept button.is-on {
  background: #0071e3;
  color: #fff;
}

.kh-dept b {
  font-size: 13px;
}

.kh-dept strong {
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.kh-dept small,
.kh-dept button.is-on small {
  color: inherit;
  opacity: 0.72;
  font-size: 11px;
}

.kh-board-top,
.kh-board-grid {
  display: grid;
  gap: 8px;
  align-items: stretch;
}

.kh-dash-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
  color: #242424;
  font-size: 13px;
}

.kh-dash-line b {
  font-size: 14px;
}

.kh-dash-line span,
.kh-dash-line small {
  color: #616161;
  font-size: 12px;
}

.kh-panel .kh-quiet {
  margin-top: 8px;
}

.kh-panel .kh-shot-grid {
  margin-top: 6px;
}

.kh-months {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  min-height: 150px;
  height: auto;
  margin-top: 8px;
}

.kh-bars {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.kh-bars button {
  display: grid;
  grid-template-areas: "name bar qty";
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
  cursor: pointer;
}

.kh-bars button.is-on b {
  color: #0071e3;
}

.kh-bars b {
  grid-area: name;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-bars i {
  grid-area: bar;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #ececf1;
}

.kh-bars i span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: #0071e3;
}

.kh-bars em {
  grid-area: qty;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  text-align: end;
}

.kh-bars small,
.kh-moves small {
  display: block;
  color: #6e6e73;
  font-size: 11px;
  font-weight: 500;
}

.kh-dept button small {
  color: #6e6e73;
}

.kh-dept button.is-on small {
  color: #fff;
}

.kh-legend {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  color: #6e6e73;
  font-size: 12px;
}

.kh-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kh-legend i,
.kh-month-bars span {
  width: 8px;
  border-radius: 99px;
  background: #0071e3;
}

.kh-legend i {
  height: 8px;
}

.kh-legend i.is-out,
.kh-month-bars span.is-out {
  background: #1d1d1f;
}

.kh-month {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  height: 100%;
}

.kh-month-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  height: 100%;
}

.kh-month-bars span {
  width: 7px;
  border-radius: 6px 6px 2px 2px;
}

.kh-month small {
  margin-top: 6px;
  color: #6e6e73;
  font-size: 10px;
  line-height: 1.25;
  text-align: center;
}

.kh-moves {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.kh-moves li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.kh-moves li > div:first-child {
  min-width: 0;
}

.kh-moves b {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-moves strong {
  flex: none;
  font-size: 15px;
}

.kh-move-side {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex: none;
}

.kh-move-side button {
  border: 0;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.kh-sheet-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kh-sheet-head .kh-search {
  height: 40px;
}

.kh-list-title {
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
}

.kh-list-title span {
  margin-inline-start: 6px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .kh-bars button {
    grid-template-areas:
      "name qty"
      "bar bar";
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1100px) {
  .kh-kpis,
  .kh-board-top {
    grid-template-columns: repeat(4, 1fr);
  }

  .kh-board-top {
    grid-template-columns: 0.85fr 1.4fr 1fr;
  }

  .kh-board-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.kh-desk {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.05);
}

.kh-desk button {
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.kh-desk button.is-on {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.kh-search {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 16px;
}

.kh-stock {
  display: grid;
  gap: 10px;
}

.kh-excel {
  max-height: calc(100dvh - 220px);
  min-height: 280px;
  overflow: auto;
  border: 1px solid #d0d0d5;
  border-radius: 8px;
  background: #fff;
}

.kh-excel table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-size: 13px;
}

.kh-excel th,
.kh-excel td {
  border: 1px solid #e2e2e6;
  padding: 5px 8px;
  vertical-align: middle;
  white-space: nowrap;
}

.kh-excel th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f3f3f5;
  color: #3a3a3c;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.kh-excel td.num {
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.kh-excel td.name {
  min-width: 220px;
  max-width: 340px;
  white-space: normal;
  line-height: 1.35;
}

.kh-excel tr:hover td {
  background: #f3f8ff;
}

.kh-excel .is-neg {
  color: #d70015;
  font-weight: 700;
}

.kh-excel .is-zero {
  color: #248a3d;
}

.kh-excel .is-strong {
  font-weight: 700;
}

.kh-excel-go {
  height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.kh-excel .kh-thumb {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.kh-thumb {
  width: 36px;
  height: 36px;
  flex: none;
  object-fit: cover;
  border-radius: 8px;
  background: #f2f2f4;
}

.kh-stock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.kh-stock-card > div:first-child {
  min-width: 0;
}

.kh-stock-card b {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.kh-stock-card p {
  margin-top: 4px;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.4;
}

.kh-stock-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex: none;
}

.kh-stock-side strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.kh-receipts {
  display: grid;
  gap: 8px;
}

.kh-receipt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 13px;
}

.kh-receipt button {
  border: 0;
  background: transparent;
  color: #0071e3;
  font-weight: 600;
  cursor: pointer;
}

.kh-receipt button.is-danger {
  color: #d70015;
}

@media (min-width: 800px) {
  .kh-stock {
    grid-template-columns: 1fr 1fr;
  }
}

.kh-userform {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.kh-userform label {
  display: grid;
  gap: 6px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 600;
}

.kh-userform input,
.kh-userform select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  font-size: 16px;
}

.kh-userform-submit {
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #0071e3;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.kh-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 800px) {
  .kh-userform {
    grid-template-columns: 1fr 1fr;
  }

  .kh-userform-submit {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 180px;
    padding: 0 22px;
  }
}

@media (max-width: 760px) {
  .kh-nav-row,
  .kh-main {
    width: min(100% - 20px, 1280px);
  }

  .kh-main.kh-main-wide {
    width: min(1680px, calc(100% - 12px));
  }

  .kh-toolbar .kh-desk,
  .kh-toolbar .kh-filters {
    width: 100%;
    margin-inline-start: 0;
  }

  .kh-nav-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
  }

  .kh-actions {
    width: 100%;
    justify-content: space-between;
  }

  .kh-who {
    max-width: 58%;
  }

  .kh-pagehead h2,
  .kh-login h1 {
    font-size: 28px;
  }

  .kh-login form {
    padding: 24px 18px 20px;
  }

  .kh-main {
    padding: 18px 0 32px;
  }

  .kh-app input,
  .kh-app select,
  .kh-app textarea {
    font-size: 16px;
  }

  .kh-seg {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .kh-seg button {
    flex: none;
  }

  .kh-zone {
    width: 100%;
    line-height: 1.5;
  }

  .kh-main-map {
    height: calc(100dvh - 168px);
  }

  .kh-usertable thead {
    display: none;
  }

  .kh-usertable,
  .kh-usertable tbody,
  .kh-usertable tr,
  .kh-usertable td {
    display: block;
    width: 100%;
  }

  .kh-usertable tr {
    padding: 8px 0 12px;
  }

  .kh-usertable td {
    padding: 8px 14px;
  }

  .kh-usertable td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #6e6e73;
    font-size: 11px;
    font-weight: 600;
  }

  .kh-usertable select,
  .kh-usertable input {
    width: 100%;
    height: 42px;
    font-size: 16px;
  }

  .kh-usertable form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
}

.kh-fluent {
  background: #faf9f8;
  color: #242424;
  letter-spacing: 0;
  font-family: "Segoe UI", "Segoe UI Web (Arabic)", Tahoma, Arial, sans-serif;
}

.kh-fluent .kh-nav {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  backdrop-filter: none;
}

.kh-fluent .kh-nav-row,
.kh-fluent .kh-main,
.kh-fluent .kh-main.kh-main-wide {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 16px;
}

.kh-fluent .kh-nav-row {
  min-height: 48px;
}

.kh-fluent .kh-main.kh-main-wide {
  padding: 0;
}

.kh-fluent .kh-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.kh-fluent .kh-brand strong {
  font-size: 14px;
  font-weight: 600;
}

.kh-fluent .kh-brand small {
  font-size: 12px;
  font-weight: 400;
  color: #616161;
}

.kh-fluent .kh-who {
  border-radius: 4px;
  background: transparent;
  padding: 0 8px;
}

.kh-fluent .kh-text {
  color: #242424;
  border-radius: 4px;
  height: 32px;
  padding: 0 8px;
}

.kh-fluent .kh-text:hover {
  background: #f5f5f5;
}

.ms-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100dvh - 48px);
  background: #faf9f8;
}

.ms-nav {
  background: #f5f5f5;
  border-inline-end: 1px solid #e0e0e0;
  padding: 12px 8px;
}

.ms-nav button {
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #242424;
  padding: 0 10px;
  font: inherit;
  font-size: 14px;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
}

.ms-nav-icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: #737373;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ms-nav button:hover,
.ms-nav button.is-on {
  background: #ebebeb;
}

.ms-nav button.is-on {
  font-weight: 600;
}

.ms-main {
  min-width: 0;
  height: calc(100dvh - 48px);
  overflow: auto;
  background: #faf9f8;
}

.ms-title {
  padding: 16px 20px 0;
  background: #fff;
}

.ms-title h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.ms-title h1 span {
  color: #616161;
  font-weight: 400;
}

.ms-cmd,
.ms-composer {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  min-height: 44px;
  padding: 6px 12px;
  background: #fff;
}

.ms-cmd {
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 4;
}

.ms-cmd button,
.ms-composer button,
.ms-row-actions button,
.ms-rename button {
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #242424;
  padding: 0 10px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.ms-cmd button:hover,
.ms-composer button:hover,
.ms-row-actions button:hover {
  background: #f5f5f5;
}

.ms-cmd .is-primary,
.ms-link {
  color: #0f6cbd;
  font-weight: 600;
}

.ms-link {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.ms-link:hover {
  text-decoration: underline;
}

.kh-fluent .ms-cmd select,
.kh-fluent .ms-cmd input,
.kh-fluent .ms-composer input,
.kh-fluent .ms-composer select,
.kh-fluent .ms-pop input,
.kh-fluent .ms-rename input {
  height: 32px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  color: #242424;
  padding: 0 8px;
  font: inherit;
  font-size: 14px;
}

.kh-fluent .ms-cmd select:focus,
.kh-fluent .ms-cmd input:focus,
.kh-fluent .ms-composer input:focus,
.kh-fluent .ms-composer select:focus,
.kh-fluent .ms-pop input:focus,
.kh-fluent .ms-rename input:focus,
.kh-fluent .ms-grid input:focus {
  outline: none;
  box-shadow: 0 0 0 1px #0f6cbd;
}

.ms-search {
  width: min(280px, 100%);
  margin-inline-start: auto;
}

.ms-assign,
.ms-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #616161;
  font-size: 13px;
}

.ms-composer {
  border-bottom: 1px solid #e0e0e0;
}

.ms-composer input,
.ms-rename input {
  width: min(320px, 100%);
}

.ms-rename {
  display: flex;
  gap: 6px;
  align-items: center;
}

.ms-error {
  margin: 0;
  padding: 8px 16px;
  background: #fdf3f4;
  color: #a4262c;
  font-size: 13px;
  font-weight: 600;
}

.ms-grid {
  background: #fff;
}

.ms-grid table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ms-grid th,
.ms-grid td {
  height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid #edebe9;
  text-align: start;
  white-space: nowrap;
  vertical-align: middle;
}

.ms-grid th {
  position: sticky;
  top: 44px;
  z-index: 2;
  background: #faf9f8;
  color: #616161;
  font-size: 12px;
  font-weight: 600;
}

.ms-grid tbody tr:hover td {
  background: #f5f5f5;
}

.ms-grid tr.is-picked td,
.ms-grid tr.is-picked:hover td {
  background: #ebf3fc;
}

.ms-grid .name {
  white-space: normal;
  min-width: 220px;
  max-width: 420px;
}

.ms-grid .num {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ms-grid .is-strong {
  font-weight: 600;
}

.ms-grid .is-neg {
  color: #a4262c;
  font-weight: 600;
}

.ms-grid .is-zero {
  color: #0b6a0b;
}

.ms-check {
  width: 36px;
  padding-inline: 10px;
}

.kh-fluent .ms-grid input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border-radius: 2px;
  box-shadow: none;
  accent-color: #0f6cbd;
}

.ms-thumb {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.ms-col {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ms-funnel {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #616161;
  font-size: 12px;
  cursor: pointer;
}

.ms-funnel.is-on,
.ms-funnel:hover {
  background: #f5f5f5;
  color: #0f6cbd;
}

.ms-pop {
  position: fixed;
  z-index: 40;
  width: 260px;
  max-height: 340px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ms-pop p,
.ms-pop-all,
.ms-pop-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #242424;
  font-size: 13px;
  font-weight: 400;
}

.ms-pop-list {
  max-height: 220px;
  overflow: auto;
}

.ms-pop-list label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kh-fluent .ms-pop input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border-radius: 2px;
  box-shadow: none;
  accent-color: #0f6cbd;
}

.ms-empty {
  margin: 0;
  padding: 24px 16px;
  color: #616161;
  font-size: 14px;
}

.ms-page {
  padding: 16px 20px 32px;
}

.kh-fluent .ms-page .kh-userform,
.kh-fluent .kh-kpi,
.kh-fluent .kh-panel {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: none;
  background: #fff;
}

.kh-fluent .kh-board {
  gap: 8px;
  padding: 12px 16px;
  background: #faf9f8;
}

.kh-fluent .kh-dept button {
  border-radius: 4px;
}

.kh-fluent .kh-dept button.is-on {
  background: #0f6cbd;
}

.kh-fluent .ms-page .kh-userform input,
.kh-fluent .ms-page .kh-userform select {
  height: 32px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.kh-fluent .ms-page .kh-userform-submit {
  height: 32px;
  border-radius: 4px;
  background: #0f6cbd;
  font-size: 14px;
}

.ms-row-actions {
  text-align: end;
}

@media (max-width: 760px) {
  .ms-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ms-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-inline-end: 0;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px;
  }

  .ms-nav button {
    width: auto;
    white-space: nowrap;
  }

  .ms-main {
    height: auto;
    min-height: calc(100dvh - 108px);
  }

  .ms-search {
    margin-inline-start: 0;
    width: 100%;
  }

  .kh-fluent .ms-cmd input,
  .kh-fluent .ms-composer input {
    font-size: 16px;
  }
}

.ms-nav-note {
  margin: 16px 10px 0;
  color: #616161;
  font-size: 12px;
  line-height: 1.5;
}

.kh-fluent .ms-main.is-map {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.kh-fluent .ms-main.is-map .kh-main-map {
  width: 100%;
  height: auto;
  flex: 1;
  min-height: 0;
  padding: 0 12px 12px;
}

.kh-fluent .kh-mapbox {
  width: min(100%, calc((100dvh - 150px) * 1024 / 636));
}

.kh-fluent .kh-stage,
.kh-fluent.kh-app .rounded-3xl.border,
.kh-fluent.kh-app article.rounded-3xl,
.kh-fluent.kh-app .rounded-3xl.border-\[\#e6ebf2\],
.kh-fluent .kh-userform,
.kh-fluent .kh-sheet {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.kh-fluent .kh-chip,
.kh-fluent .kh-seg {
  border-radius: 4px;
}

.kh-fluent .kh-chip.is-on,
.kh-fluent button.bg-\[\#0b1f3a\],
.kh-fluent .bg-\[\#0b1f3a\],
.kh-fluent .bg-\[\#2f6fed\] {
  background: #0f6cbd;
}

.kh-fluent .kh-link,
.kh-fluent .kh-text {
  color: #0f6cbd;
}

.kh-fluent .kh-foot {
  margin: 16px 0 0;
  color: #616161;
  font-size: 12px;
}

.kh-fluent.kh-login {
  background: #faf9f8;
  letter-spacing: 0;
  font-family: "Segoe UI", "Segoe UI Web (Arabic)", Tahoma, Arial, sans-serif;
}

.kh-boot {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(240px, 100%);
}

.kh-boot p,
.kh-boot b {
  margin: 0;
}

.kh-boot b {
  color: #616161;
  font-size: 13px;
  font-weight: 700;
}

.kh-boot-bar {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #e0e0e0;
}

.kh-boot-bar span {
  display: block;
  height: 100%;
  background: #0f6cbd;
  transition: width 0.16s linear;
}

.kh-fluent.kh-login form {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.kh-fluent.kh-login .kh-logo {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.kh-fluent.kh-login .kh-brand strong {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.kh-fluent.kh-login form > p {
  margin-top: 16px;
}

.kh-fluent.kh-login input {
  height: 32px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.kh-fluent.kh-login button[type="submit"] {
  height: 32px;
  margin-top: 16px;
  border: 0;
  border-radius: 4px;
  background: #0f6cbd;
  font-size: 14px;
  font-weight: 600;
}

.kh-fluent .ms-page .kh-pagehead,
.kh-fluent .kh-pagehead h2 {
  font-size: 20px;
  letter-spacing: 0;
}

.kh-fluent.kh-app:has(.kh-field-wrap) {
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.kh-fluent.kh-app:has(.kh-field-wrap) .kh-field-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.kh-field-wrap:has(.is-dock),
.kh-fluent.kh-app:has(.is-dock) .kh-field-wrap {
  overflow: auto;
  padding-bottom: 12px;
}

.kh-field:has(.is-dock) {
  flex: none;
  overflow: visible;
}

.kh-morning.is-dock {
  flex: none;
  overflow: visible;
}

.kh-events h3 {
  margin: 0;
  font-size: 16px;
}

.kh-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kh-events .kh-job-top button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #0f6cbd;
  border-radius: 4px;
  background: #fff;
  color: #0f6cbd;
  font-weight: 700;
}

.kh-morning-scroll {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
  overflow: visible;
}

.kh-crew-dock {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
  padding-top: 8px;
}

.kh-crew-dock .kh-crew {
  max-height: none;
  overflow: visible;
}

.kh-field-wrap {
  width: min(640px, 100%);
  margin-inline: auto;
  padding: 16px 16px 40px;
}

.kh-field,
.kh-tasks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kh-field-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.kh-field-tabs.is-5,
.kh-field-tabs.is-6 {
  grid-template-columns: repeat(3, 1fr);
}

.kh-field-tabs.is-3 {
  grid-template-columns: repeat(3, 1fr);
}

.kh-field-tabs button {
  font-size: 12px;
  line-height: 1.25;
  height: auto;
  min-height: 44px;
  padding: 6px 4px;
  white-space: normal;
}

.kh-field-tabs button,
.kh-job-actions button,
.kh-task-form button {
  height: 44px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  color: #242424;
  font-weight: 700;
}

.kh-field-tabs button.is-on,
.kh-job-actions button,
.kh-task-form button {
  border-color: #0f6cbd;
  background: #0f6cbd;
  color: #fff;
}

.kh-field-tabs button {
  height: auto;
  min-height: 44px;
}

.kh-job-actions button.is-quiet,
.kh-task-form button:disabled {
  border-color: #d1d1d1;
  background: #fff;
  color: #242424;
}

.kh-job {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  padding: 14px;
}

.kh-job.is-doing {
  border-inline-start: 4px solid #0f6cbd;
}

.kh-job.is-done {
  opacity: 0.72;
}

.kh-job-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #616161;
  font-size: 13px;
}

.kh-job h3 {
  margin: 6px 0;
  font-size: 18px;
  font-weight: 700;
}

.kh-job p,
.kh-job li {
  font-size: 15px;
  line-height: 1.5;
}

.kh-job ul {
  margin: 8px 0 0;
  padding-inline-start: 18px;
}

.kh-job-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.kh-job-actions button {
  flex: 1;
}

.kh-task-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
}

.kh-task-form label,
.kh-task-form .is-wide {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #616161;
}

.kh-task-form .is-wide,
.kh-task-form button {
  grid-column: 1 / -1;
}

.kh-task-form input,
.kh-task-form select {
  height: 40px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #242424;
}

.kh-task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kh-task-list h3 {
  margin-top: 8px;
  font-size: 14px;
  color: #616161;
}

@media (max-width: 760px) {
  .kh-task-form {
    grid-template-columns: 1fr;
  }

  .kh-fluent.kh-login input,
  .kh-fluent.kh-login button[type="submit"] {
    height: 44px;
    font-size: 16px;
  }
}

.kh-morning,
.kh-morning-board {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kh-line-icon {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: #737373;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kh-ticket-card {
  border-radius: 8px;
}

.kh-ticket {
  display: grid;
  gap: 7px;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  padding-inline-start: 22px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.kh-ticket > .kh-line-icon {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  margin: 0;
  transition: transform 0.15s ease;
}

.kh-ticket.is-open > .kh-line-icon {
  transform: rotate(180deg);
}

.kh-ticket-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #242424;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.kh-ticket-line strong,
strong.kh-ticket-line {
  font-size: 15px;
  font-weight: 700;
}

.kh-trade-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kh-trade-picks button,
.kh-trade {
  display: inline-flex;
  align-items: center;
  height: 28px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #d1d1d1;
  border-radius: 99px;
  background: #fff;
  color: #242424;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.kh-trade-picks button.is-on,
.kh-trade.is-mech,
.kh-trade-picks button.is-on.is-mech {
  border-color: #0f6cbd;
  background: #e8f3fc;
  color: #0f6cbd;
}

.kh-trade.is-civil,
.kh-trade-picks button.is-on.is-civil {
  border-color: #8a6116;
  background: #f8f1e3;
  color: #8a6116;
}

.kh-trade.is-elec,
.kh-trade-picks button.is-on.is-elec {
  border-color: #0b6a0b;
  background: #e7f5e7;
  color: #0b6a0b;
}

.kh-ticket-meta {
  align-items: center;
}

.kh-ticket-meta .kh-trade {
  margin-inline-start: auto;
}

.kh-morning-board .kh-job {
  border-radius: 8px;
}

.kh-job .kh-job {
  margin-top: 10px;
  background: #fafafa;
}

.kh-morning-board h3,
.kh-morning-board + .kh-task-form {
  margin: 0;
  font-size: 16px;
}

.kh-morning-place {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.kh-morning label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #616161;
  font-size: 12px;
  font-weight: 700;
}

.kh-fluent .kh-morning input,
.kh-fluent .kh-morning select,
.kh-fluent .kh-morning textarea {
  width: 100%;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 600;
  color: #242424;
}

.kh-fluent .kh-morning input,
.kh-fluent .kh-morning select {
  height: 44px;
}

.kh-fluent .kh-morning textarea {
  min-height: 84px;
  resize: vertical;
}

.kh-morning button[type="submit"] {
  height: 48px;
  border: 0;
  border-radius: 4px;
  background: #0f6cbd;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.kh-morning button[type="submit"]:disabled {
  background: #c7c7c7;
}

.kh-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kh-picks button {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #0f6cbd;
  border-radius: 4px;
  background: #ebf3fc;
  color: #0f6cbd;
  font-weight: 700;
}

.kh-crew {
  overflow: visible;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
}

.kh-crew label {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 6px 12px;
  border-bottom: 1px solid #f0f0f0;
  color: #242424;
  font-size: 16px;
  font-weight: 600;
}

.kh-crew label small,
.kh-crew label em {
  display: block;
  color: #616161;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.kh-crew label.is-held {
  background: #fafafa;
}

.kh-crew label button {
  height: 32px;
  padding: 0 8px;
  border: 1px solid #0f6cbd;
  border-radius: 4px;
  background: #fff;
  color: #0f6cbd;
  font-size: 12px;
  font-weight: 700;
}

.kh-crew-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px;
  border-bottom: 1px solid #f0f0f0;
  color: #242424;
  font-size: 15px;
  font-weight: 600;
}

.kh-crew-row small {
  color: #616161;
  font-size: 12px;
  font-weight: 600;
}

.kh-fluent .kh-crew input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  box-shadow: none;
  accent-color: #0f6cbd;
}

.kh-sent {
  margin: 0;
  color: #0f6b3a;
  font-weight: 700;
}

.kh-villas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kh-villas .kh-job-top button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #0f6cbd;
  border-radius: 4px;
  background: #fff;
  color: #0f6cbd;
  font-weight: 700;
}

.kh-zone-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kh-zone-picks button,
.kh-zone-card .kh-job-top button.is-quiet,
.kh-zone-shot > button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  color: #242424;
  font-weight: 700;
}

.kh-zone-picks button.is-on,
.kh-zone-shot > button {
  border-color: #0f6cbd;
  background: #0f6cbd;
  color: #fff;
}

.kh-captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kh-captcha b {
  letter-spacing: 0.28em;
  font-size: 18px;
}

.kh-captcha input {
  width: 96px;
  height: 36px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 0 8px;
  font-weight: 700;
}

.kh-captcha button {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #0f6cbd;
  border-radius: 4px;
  background: #0f6cbd;
  color: #fff;
  font-weight: 700;
}

.kh-captcha button:last-child {
  border-color: #d1d1d1;
  background: #fff;
  color: #242424;
}

.kh-fluent .kh-morning .kh-captcha input {
  width: 96px;
  height: 36px;
  padding: 0 8px;
}

.kh-zone-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.kh-zone-card h3 {
  margin: 0;
  font-size: 16px;
}

.kh-zone-shot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e0e0e0;
}

.kh-villa-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.kh-villa-grid button {
  height: 40px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  color: #242424;
  font-weight: 700;
}

.kh-villa-grid button.is-on {
  border-color: #0f6cbd;
  background: #0f6cbd;
  color: #fff;
}

.kh-fluent .kh-morning input[type="file"] {
  height: auto;
  padding: 10px;
  font-weight: 600;
}

.kh-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.kh-shot-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.kh-shot-grid img,
.kh-shot-wait {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 4px;
  background: #f4f7fb;
}

.kh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.kh-lightbox img {
  width: auto;
  height: auto;
  max-width: min(1100px, 100%);
  max-height: calc(100dvh - 48px);
  object-fit: contain;
  border-radius: 4px;
  background: #111;
}

.kh-shot {
  margin: 0;
}

.kh-shot figcaption {
  margin-top: 4px;
  color: #616161;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.kh-photo-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.kh-photo-pick button {
  height: 44px;
  border: 1px solid #0f6cbd;
  border-radius: 4px;
  background: #fff;
  color: #0f6cbd;
  font-weight: 700;
}

.kh-photo-pick button:disabled {
  border-color: #d1d1d1;
  color: #8a8a8a;
}

.kh-photo-pick .kh-quiet,
.kh-photo-pick .ms-error {
  grid-column: 1 / -1;
  margin: 0;
}

.kh-file-ghost {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.kh-photo-add {
  margin-top: 8px;
}

.kh-site {
  display: grid;
  gap: 12px;
  align-items: start;
}

@media (min-width: 1100px) {
  .kh-site {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .kh-site-head,
  .kh-site > .ms-error {
    grid-column: 1 / -1;
  }

  .kh-site-detail {
    position: sticky;
    top: 12px;
  }
}

.kh-site-head p {
  margin: 0 0 8px;
}

.kh-site-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #616161;
  font-size: 13px;
}

.kh-site-legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-inline-end: 6px;
  vertical-align: -2px;
  border: 1px solid #d1d1d1;
  border-radius: 3px;
  background: #fff;
}

.kh-site-legend i.is-work {
  border-color: #0f6cbd;
  background: #0f6cbd;
}

.kh-site-legend i.is-done {
  box-shadow: inset 0 -3px 0 #107c10;
}

.kh-site-blocks {
  display: grid;
  gap: 12px;
}

@media (min-width: 1100px) {
  .kh-site-blocks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

.kh-site-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.kh-site-line .kh-line-icon {
  margin-top: 1px;
}

.kh-site-block,
.kh-site-detail {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.kh-site-block header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.kh-site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
  gap: 4px;
}

.kh-site-cell {
  height: 32px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  color: #242424;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.kh-site-cell.is-work {
  border-color: #0f6cbd;
  background: #0f6cbd;
  color: #fff;
}

.kh-site-cell.is-done {
  box-shadow: inset 0 -3px 0 #107c10;
}

.kh-site-cell.is-on {
  outline: 2px solid #242424;
  outline-offset: 1px;
}

.kh-site-detail h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.kh-digest {
  display: grid;
  gap: 12px;
}

.kh-digest-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-top: 8px;
}

.kh-digest label {
  display: grid;
  gap: 4px;
  max-width: 220px;
  font-size: 13px;
  font-weight: 700;
}

.kh-digest-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 8px 0 4px;
}

.kh-print {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kh-print .kh-line-icon {
  margin-top: 0;
  color: #fff;
}

.kh-print,
.kh-review button {
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: #0f6cbd;
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.kh-review {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.kh-review select,
.kh-review textarea {
  width: 100%;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 8px;
  font: inherit;
}

@media print {
  .kh-nav,
  .ms-nav,
  .kh-digest-tools,
  .kh-print {
    display: none !important;
  }

  .ms-shell {
    display: block;
  }

  .ms-main {
    height: auto;
    overflow: visible;
  }
}

.kh-fluent .kh-digest input[type="date"] {
  height: 36px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  padding: 0 8px;
  font-weight: 600;
}

.kh-digest .kh-job {
  margin-top: 12px;
}



