/* Reusable UI — maps to RN View/Text/Pressable/TextInput */

.Header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 12px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 107, 74, 0.06);
  min-height: 56px;
  flex-shrink: 0;
  position: relative;
  z-index: 12;
}

.Header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.Header-center {
  display: none;
}

.Header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

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

.HeaderTitle {
  margin: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gk-green-900);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.HeaderSub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--gk-muted);
  margin-top: 2px;
}

.HeaderAddr {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.HeaderAddr .text {
  font-size: 12px;
  font-weight: 600;
  color: var(--gk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.HeaderBack,
.HeaderIcon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--gk-border);
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--gk-green-700);
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 40;
  cursor: pointer;
  pointer-events: auto;
}

.HeaderBack:active,
.HeaderIcon:active {
  opacity: 0.7;
  background: var(--gk-green-50);
}

.HeaderIcon .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gk-danger);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  pointer-events: none;
}

/* Notification list */
.NotifList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.NotifItem {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(27, 107, 74, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  min-height: var(--touch);
  box-shadow: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.NotifItem:last-child { border-bottom: 1px solid rgba(27, 107, 74, 0.06); }
.NotifItem:active {
  transform: scale(0.985);
  background: #fff;
}
.NotifItem.unread {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--gk-green-700);
}

.NotifIcon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(27, 107, 74, 0.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.NotifIcon.blue { background: var(--gk-blue-50); border-color: transparent; }
.NotifIcon.green { background: var(--gk-green-100); border-color: transparent; }
.NotifIcon.amber { background: var(--gk-status-waiting-bg); border-color: transparent; }

.NotifBody { flex: 1; min-width: 0; }
.NotifBody strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 2px;
}
.NotifBody p {
  margin: 0;
  font-size: 12px;
  color: var(--gk-muted);
  line-height: 1.4;
}
.NotifMeta {
  font-size: 11px;
  color: var(--gk-muted);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.NotifDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gk-blue-600);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Address */
.AddrBar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0 16px 8px;
  padding: 10px 12px;
  background: var(--gk-white);
  border: 1px solid rgba(27, 107, 74, 0.12);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--gk-shadow);
  min-height: var(--touch);
}

.AddrBar .pin {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gk-green-100);
  color: var(--gk-green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.AddrBar .meta { flex: 1; min-width: 0; }
.AddrBar .meta strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.AddrBar .meta span {
  font-size: 11px;
  color: var(--gk-muted);
}
.AddrBar .actions {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-shrink: 0;
}
.AddrBar .mini {
  font-size: 11px;
  font-weight: 800;
  color: var(--gk-blue-600);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--gk-blue-50);
  min-height: 36px;
  display: flex;
  align-items: center;
}

.AddrChoice {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 4px;
}

.AddrChoice .Btn {
  flex: 1;
  font-size: 13px;
  padding: 10px 12px;
}

.Field.auto input {
  background: var(--gk-green-50);
  color: var(--gk-green-900);
  font-weight: 700;
  border-color: rgba(27, 107, 74, 0.2);
}

.Field.auto label::after {
  content: " · auto";
  font-weight: 600;
  color: var(--gk-green-600);
  font-size: 11px;
}

.FieldRow {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.FieldRow .Field { flex: 1; }

.AddrPick {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.AddrPick .Card {
  cursor: pointer;
  border-width: 2px;
}
.AddrPick .Card.selected {
  border-color: var(--gk-green-700);
  background: var(--gk-green-50);
}

.HeaderLogo {
  display: none;
}

/* Message header (chat) */
.MessageHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-4) var(--s-3);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 107, 74, 0.06);
  min-height: 60px;
  flex-shrink: 0;
}

.MessageHeader .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--gk-blue-100);
  color: var(--gk-blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.MessageHeader .meta { flex: 1; min-width: 0; }
.MessageHeader .meta strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.MessageHeader .meta span {
  font-size: 12px;
  color: var(--gk-muted);
}

/* Footer / Tab bar */
.Footer {
  position: relative;
  flex-shrink: 0;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-around;
  gap: 2px;
  padding: 8px 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(27, 107, 74, 0.06);
  z-index: 20;
}

.Footer a,
.Footer .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--gk-muted);
  font-size: 10px;
  font-weight: 600;
  min-height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.Footer a.active,
.Footer .tab.active {
  color: var(--gk-green-700);
}

.Footer .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
}
.Footer .ico svg {
  width: 22px;
  height: 22px;
  display: block;
}

.Footer .fab-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -18px;
  z-index: 21;
}

.Footer .fab {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--gk-green-700);
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  box-shadow: none;
  border: 3px solid rgba(255, 255, 255, 0.95);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

/* Geometric + so it stays perfectly centered */
.Footer .fab::before,
.Footer .fab::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.Footer .fab::before {
  width: 20px;
  height: 3px;
}
.Footer .fab::after {
  width: 3px;
  height: 20px;
}

/* Buttons */
.Btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: var(--touch);
  padding: 12px 18px;
  border-radius: var(--gk-radius);
  border: none;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.Btn:active { transform: scale(0.98); opacity: 0.9; }
.Btn-primary { background: var(--gk-green-700); color: #fff; }
.Btn-secondary {
  background: var(--gk-white);
  color: var(--gk-blue-600);
  border: 1.5px solid var(--gk-blue-600);
}
.Btn-ghost {
  background: var(--gk-green-100);
  color: var(--gk-green-700);
}
.Btn-block { width: 100%; }
.Btn-danger { background: #fde8e6; color: var(--gk-danger); }

/* Cards */
.Card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(27, 107, 74, 0.06);
  box-shadow: none;
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  text-decoration: none;
  color: inherit;
}

.Card:active { transform: scale(0.99); }

.CardRow {
  display: flex;
  flex-direction: row;
  gap: var(--s-3);
  align-items: flex-start;
}

.CardThumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(27, 107, 74, 0.08);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.CardBody { flex: 1; min-width: 0; }
.CardBody h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gk-green-900);
}
.CardBody p {
  margin: 0;
  font-size: 12px;
  color: var(--gk-muted);
  line-height: 1.4;
}

/* Modern chat / message threads */
.MsgList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.MsgThread {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(27, 107, 74, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: none;
}
.MsgThread:last-child { border-bottom: 1px solid rgba(27, 107, 74, 0.06); }
.MsgThread:active {
  transform: scale(0.985);
  background: #fff;
}

.MsgAvatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--gk-green-700);
  background: linear-gradient(145deg, #e8f6ef, #dbeafe);
}
.MsgAvatar-icon {
  color: var(--gk-muted);
  background: #f1f5f9;
}
.MsgAvatar-icon svg {
  width: 22px;
  height: 22px;
}
.MsgDot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gk-green-700);
  border: 2px solid #fff;
}

.MsgMain { flex: 1; min-width: 0; }
.MsgTop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.MsgName {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--gk-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.MsgTime {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--gk-muted);
}
.MsgPreview {
  margin: 0;
  font-size: 13px;
  color: var(--gk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.MsgMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.MsgOrder {
  font-size: 11px;
  font-weight: 600;
  color: var(--gk-muted);
  font-variant-numeric: tabular-nums;
}
.MsgStatus {
  font-size: 11px;
  font-weight: 700;
  color: var(--gk-status-enroute);
}
.MsgSide {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.MsgUnread {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gk-green-700);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.MsgChevron {
  color: var(--gk-muted);
  opacity: 0.55;
  display: flex;
}
.MsgChevron svg { width: 16px; height: 16px; }

/* Order ID — modern short display */
.OrderId {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--gk-muted);
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.OrderId::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gk-green-700);
  flex-shrink: 0;
}
.OrderId-sm {
  padding: 2px 6px;
  font-size: 10px;
  border-radius: 6px;
}

.OrderIdBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 107, 74, 0.06);
  box-shadow: none;
}
.OrderIdBar-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.OrderIdBar-meta .lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--gk-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.OrderIdBar-meta .short {
  font-size: 16px;
  font-weight: 800;
  color: var(--gk-green-700);
  font-family: ui-monospace, Consolas, monospace;
}
.OrderIdBar-meta .full {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gk-ink);
  font-family: ui-monospace, Consolas, monospace;
  word-break: break-all;
  line-height: 1.4;
  margin-top: 2px;
}
.OrderIdBar-meta .short {
  display: none;
}
.OrderIdCopy {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: none;
  background: var(--gk-white);
  color: var(--gk-green-700);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.OrderIdCopy:active { transform: scale(0.97); }

/* Status chip */
.Chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
  letter-spacing: 0.01em;
}
.Chip-waiting { background: var(--gk-status-waiting-bg); color: var(--gk-status-waiting); }
.Chip-assigned { background: var(--gk-status-assigned-bg); color: var(--gk-status-assigned); }
.Chip-enroute { background: var(--gk-status-enroute-bg); color: var(--gk-status-enroute); }
.Chip-done { background: var(--gk-status-done-bg); color: var(--gk-status-done); }
.Chip-cancel { background: var(--gk-status-cancel-bg); color: var(--gk-status-cancel); }

/* Inputs */
.Field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.Field label { font-size: 12px; font-weight: 700; color: var(--gk-muted); }
.Field input,
.Field select,
.Field textarea {
  min-height: var(--touch);
  padding: 10px 14px;
  border-radius: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(27, 107, 74, 0.08);
  font-size: 15px;
  color: var(--gk-text);
  outline: none;
  font-family: inherit;
}
.Field textarea { min-height: 88px; resize: vertical; }
.Field input:focus,
.Field select:focus,
.Field textarea:focus {
  border-color: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(27, 107, 74, 0.28);
}

/* Language select cards */
.LangList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.LangCard {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(27, 107, 74, 0.06);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  text-align: left;
  min-height: 72px;
  box-shadow: none;
}

.LangCard.selected {
  border-color: transparent;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--gk-green-700);
}

.LangCard .flag {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gk-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--gk-green-700);
  flex-shrink: 0;
}

.LangCard strong { display: block; font-size: 16px; font-weight: 800; }
.LangCard span { font-size: 12px; color: var(--gk-muted); }

/* Settings rows */
.SettingsGroup {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(27, 107, 74, 0.06);
  overflow: hidden;
  box-shadow: none;
}

.SettingsRow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: var(--touch);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--gk-border);
  background: transparent;
  width: 100%;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.SettingsRow:last-child { border-bottom: none; }
.SettingsRow .grow { flex: 1; }
.SettingsRow .hint { font-size: 12px; color: var(--gk-muted); font-weight: 500; }
.SettingsRow .chev { color: var(--gk-muted); }

.SettingsIco {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gk-green-700);
}
.SettingsIco svg { width: 18px; height: 18px; display: block; }

.ProfilePencil {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--gk-green-700);
  color: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(27, 107, 74, 0.3);
  text-decoration: none;
}
.ProfilePencil svg { width: 12px; height: 12px; display: block; }
.ProfilePencil:active { transform: scale(0.94); }

/* Empty / loading */
.Empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  gap: 8px;
  color: var(--gk-muted);
}
.Empty .big { font-size: 40px; opacity: 0.85; }
.Empty h3 { margin: 0; color: var(--gk-green-900); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.Empty p { margin: 0; font-size: 13px; line-height: 1.45; max-width: 240px; }

.Skeleton {
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255,255,255,0.55) 25%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.55) 75%);
  background-size: 200% 100%;
  border: 1px solid rgba(27, 107, 74, 0.05);
  animation: sk 1.2s ease infinite;
}
@keyframes sk {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Chat bubbles */
.ChatThread {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.Bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}

.Bubble.them {
  align-self: flex-start;
  background: var(--gk-white);
  border: 1px solid var(--gk-border);
  border-bottom-left-radius: 4px;
}

.Bubble.me {
  align-self: flex-end;
  background: var(--gk-green-700);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.Composer {
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 10px 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(27, 107, 74, 0.06);
  flex-shrink: 0;
}

.Composer input {
  flex: 1;
  min-height: 44px;
  border-radius: 22px;
  border: 1px solid var(--gk-border);
  padding: 0 16px;
  font-size: 14px;
}

.Composer button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: var(--gk-blue-600);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.Composer.is-closed {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 12px 16px 18px;
  background: var(--gk-bg);
}
.Composer.is-closed input,
.Composer.is-closed button {
  display: none;
}
.ChatClosedBanner {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gk-muted);
  line-height: 1.4;
  padding: 4px 8px;
}
.MsgThread.is-closed {
  opacity: 0.72;
}
.MsgThread.is-closed .MsgStatus {
  color: var(--gk-muted);
}
.ChatClosedLabel {
  font-size: 11px;
  font-weight: 700;
  color: var(--gk-muted);
  white-space: nowrap;
}

/* Misc */
.muted { color: var(--gk-muted); font-size: 13px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-direction: row; gap: 10px; align-items: center; }
.grow { flex: 1; }
.center { text-align: center; }
.link {
  color: var(--gk-blue-600);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.pill-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 4px;
  overflow: visible;
  padding: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 107, 74, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  margin-bottom: 4px;
}

.pill {
  border: none;
  background: transparent;
  border-radius: 11px;
  padding: 0 16px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gk-muted);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}
.pill.active {
  background: var(--gk-white);
  border-color: transparent;
  color: var(--gk-green-900);
  box-shadow: 0 1px 0 rgba(15, 61, 44, 0.04);
}

.SearchField {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 14px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.78);
  border: none;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(27, 107, 74, 0.06);
}
.SearchField:focus-within {
  background: var(--gk-white);
  box-shadow: inset 0 0 0 1.5px rgba(27, 107, 74, 0.28);
}
.SearchField svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gk-muted);
}
.SearchField input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--gk-text);
  min-height: 42px;
}
.SearchField input::placeholder {
  color: var(--gk-muted);
}
.ListEmptyHint {
  text-align: center;
  padding: 28px 16px;
  color: var(--gk-muted);
  font-size: 13px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}
.tl-item {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding-bottom: 16px;
  position: relative;
}
.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--gk-border);
  margin-top: 4px;
  flex-shrink: 0;
  z-index: 1;
}
.tl-item.done .tl-dot { background: var(--gk-green-700); }
.tl-item.active .tl-dot {
  background: var(--gk-blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}
.tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 16px;
  bottom: 0;
  width: 2px;
  background: var(--gk-border);
}
.tl-item strong { display: block; font-size: 13px; }
.tl-item span { font-size: 12px; color: var(--gk-muted); }

.table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid rgba(27, 107, 74, 0.06);
  font-size: 13px;
}
.table th, .table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 107, 74, 0.06);
}
.table th {
  background: rgba(27, 107, 74, 0.04);
  font-weight: 800;
  color: var(--gk-green-900);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td {
  background: rgba(27, 107, 74, 0.03);
}
