/* =============================================================================
   Lead List APP shell (phone + tablet) — only when .lm-lead-app is set.
   Desktop (>1024px / no .lm-lead-app) is untouched.
   ============================================================================= */

.lm-page.lm-lead-app {
  --ld-app-bg: #f2f4f8;
  --ld-app-card: #ffffff;
  --ld-app-ink: #0f172a;
  --ld-app-muted: #64748b;
  --ld-app-accent: #008fa3;
  --ld-app-tab-h: calc(64px + env(safe-area-inset-bottom, 0px));
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--ld-app-bg) !important;
  overflow: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.workspace-shell:has(.lm-page.lm-lead-app),
.tab-host:has(.lm-page.lm-lead-app),
.workspace-content:has(.lm-page.lm-lead-app) {
  overflow: hidden !important;
  max-width: 100vw !important;
  height: 100% !important;
}

.lm-page.lm-lead-app .lm-wizard-shell {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

.lm-page.lm-lead-app .lm-wizard-main {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  padding-bottom: var(--ld-app-tab-h) !important;
  overflow: hidden !important;
}

.lm-page.lm-lead-app .lm-mobile-topbar {
  display: flex !important;
  flex: 0 0 auto;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.lm-page.lm-lead-app .lm-body,
.lm-page.lm-lead-app .lm-body-list {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.lm-page.lm-lead-app .lm-wizard-shell {
  background: var(--ld-app-bg, #f2f4f8) !important;
}

.lm-page.lm-lead-app .lm-wizard-main {
  background: var(--ld-app-bg, #f2f4f8) !important;
}

.lm-page.lm-lead-app .lm-body,
.lm-page.lm-lead-app .lm-body-list {
  background: var(--ld-app-bg, #f2f4f8) !important;
}

.lm-page.lm-lead-app .lm-hs-list-shell,
.lm-page.lm-lead-app .lm-list-split,
.lm-page.lm-lead-app .lm-list-split-left,
.lm-page.lm-lead-app .lm-list-panel {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: var(--ld-app-bg, #f2f4f8) !important;
  overflow: hidden !important;
}

/* List app: grey page; white only on the scrollable rows + pager (no empty white slab) */
.lm-page.lm-lead-app .ld-app {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  background: transparent !important;
  overflow: hidden;
}

.lm-page.lm-lead-app .ld-app-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  background: #fff;
  border-radius: 14px 14px 0 0;
  margin: 8px 0 0;
}

.lm-page.lm-lead-app .ld-app-pager {
  flex: 0 0 auto !important;
  background: #fff !important;
  border-radius: 0;
  margin: 0;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

/* Hub nav sits on grey, not a white void */
.lm-page.lm-lead-app .lm-hub-mobile-nav {
  background: #fff !important;
}

.ld-app-search {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px 0;
  flex: 0 0 auto;
}

.ld-app-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f1f3f6;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ld-app-ink, #0f172a);
  outline: none;
}

.ld-app-search-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.ld-app-filter-btn {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #f1f3f6;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ld-app-filter-btn.on {
  background: #e0f7fa;
  color: var(--ld-app-accent, #008fa3);
}

.ld-app-filter-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--ld-app-accent, #008fa3);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.ld-app-seg {
  display: flex;
  gap: 6px;
  padding: 10px 14px 0;
  flex: 0 0 auto;
}

.ld-app-seg > button {
  flex: 1 1 0;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f3f6;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ld-app-seg > button.on {
  background: #111;
  color: #fff;
}

.ld-app-seg > button b {
  margin-left: 4px;
  opacity: 0.85;
}

.ld-app-compose {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 14px 4px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: #f4f6f9;
  color: var(--ld-app-accent, #008fa3);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  flex: 0 0 auto;
}

.ld-app-compose-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ld-app-accent, #008fa3);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.ld-app-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  background: #fff;
}

.ld-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  cursor: pointer;
}

.ld-row:active {
  background: #f8fafc;
}

.ld-row.selected {
  background: #f0f9ff;
}

.ld-row.overdue {
  box-shadow: inset 3px 0 0 #ef4444;
}

.ld-row-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ld-row-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e0f7fa;
  color: var(--ld-app-accent, #008fa3);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ld-row-main {
  flex: 1 1 auto;
  min-width: 0;
}

.ld-row-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-row-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.ld-row-status {
  flex: 0 0 auto;
  max-width: 110px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-left: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.ld-row-meta .hot {
  color: #dc2626;
}

.ld-row-value {
  color: #0f172a;
  font-weight: 800;
}

.ld-dot {
  opacity: 0.5;
}

.ld-row-actions {
  display: flex;
  gap: 8px;
  padding-left: 50px;
}

.ld-row-btn {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: #f1f3f6;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ld-row-btn.primary {
  background: #e0f7fa;
  color: var(--ld-app-accent, #008fa3);
}

.ld-app-empty {
  text-align: center;
  padding: 56px 24px;
  color: #94a3b8;
}

.ld-app-empty-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.ld-app-empty-sub {
  font-size: 13px;
  font-weight: 600;
}

.ld-app-pager {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 12px;
  border-top: 1px solid #f1f5f9;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.ld-app-pager-btns {
  display: flex;
  gap: 8px;
}

.ld-app-pager-btns > button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #f1f3f6;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ld-app-pager-btns > button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Filter drawer as bottom sheet in app mode */
.lm-page.lm-lead-app .lm-filter-drawer {
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: min(78vh, 640px) !important;
  max-height: 78vh !important;
  border-radius: 18px 18px 0 0 !important;
  border-left: 0 !important;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18) !important;
}

.lm-page.lm-lead-app .lm-hub-mobile-nav {
  display: flex !important;
  height: var(--ld-app-tab-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 1280;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .ld-app-search,
  .ld-app-seg,
  .ld-app-pager {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ld-app-compose {
    margin-left: 20px;
    margin-right: 20px;
  }

  .ld-row {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =============================================================================
   Lead Detail APP — inline page (no overlay). Desktop modal unchanged.
   ============================================================================= */

.lm-page.lm-detail-app .ld-detail-inline {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: var(--ld-app-bg, #f2f4f8) !important;
  overflow: hidden !important;
  z-index: auto !important;
}

.lm-page.lm-detail-app .ld-detail-inline-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: var(--ld-app-bg, #f2f4f8) !important;
}

/* Dedicated back bar — always on top */
.ld-detail-app-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-top, 0px));
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  z-index: 30;
}

.ld-detail-back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px 0 8px;
  border: 0;
  border-radius: 999px;
  background: #e0f7fa;
  color: #008fa3;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.ld-detail-back-ico {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.ld-detail-app-bar-title {
  flex: 1 1 auto;
  min-width: 0;
}

.ld-detail-app-bar-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-detail-app-bar-sub {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-detail-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-detail-layout {
  height: 100%;
  min-height: 0;
  background: var(--ld-app-bg, #f2f4f8);
}

.lm-page.lm-detail-app .ld-detail-inline .lm-detail-main {
  padding: 0 0 12px !important;
  background: var(--ld-app-bg, #f2f4f8) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Hide duplicate Back + title (app bar already has them); keep status meta */
.lm-page.lm-detail-app .ld-detail-inline .lm-detail-header > .lm-back,
.lm-page.lm-detail-app .ld-detail-inline .lm-detail-title {
  display: none !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-detail-header {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0 !important;
  padding: 10px 14px 12px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-detail-actions {
  margin-left: 0 !important;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-detail-actions::-webkit-scrollbar {
  display: none;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-detail-actions .lm-btn {
  flex: 0 0 auto;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  white-space: nowrap;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-mobile-topbar {
  display: none !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-stage-next-banner,
.lm-page.lm-detail-app .ld-detail-inline .lm-overdue-strip,
.lm-page.lm-detail-app .ld-detail-inline .lm-closed-banner,
.lm-page.lm-detail-app .ld-detail-inline .lm-conversion-panel,
.lm-page.lm-detail-app .ld-detail-inline .lm-info-grid {
  margin-left: 12px !important;
  margin-right: 12px !important;
  border-radius: 14px !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-info-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding: 12px !important;
  background: #fff !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-subtabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0 0 8px !important;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-subtabs::-webkit-scrollbar {
  display: none;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-subtabs button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}

/* Products — FormRenderer-style compact grid + edit sheet (app only) */
.lm-page.lm-detail-app .ld-detail-inline .lm-deal-sheet,
.lm-page.lm-detail-app .ld-detail-inline .lm-deal-sheet.lm-deal-sheet-app {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  padding: 0 12px 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: stretch !important;
  background: transparent !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-deal-main {
  border-radius: 14px !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-deal-summary,
.lm-page.lm-detail-app .ld-detail-inline .lm-deal-summary.lm-deal-summary-app,
aside.lm-deal-summary.lm-deal-summary-app {
  position: static !important;
  top: auto !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border-radius: 14px !important;
  padding: 14px !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

/* Keep display:contents so no empty wrapper box creates a white slab */
.lm-page.lm-detail-app .ld-detail-inline .lm-detail-panel-body-pass {
  display: contents !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-detail-layout {
  background: var(--ld-app-bg, #f2f4f8) !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-deal-quote-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-deal-quote-btn {
  width: 100% !important;
  min-height: 44px !important;
}

.ld-mgrid-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 8px;
}

.ld-mgrid-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #008fa3;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 143, 163, 0.22);
}

.ld-mgrid-add span {
  font-size: 20px;
  line-height: 1;
}

.ld-mgrid-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}

.ld-mgrid-wrap {
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #dfe3eb;
  border-radius: 10px;
  background: #fff;
  max-height: min(42vh, 360px);
}

.ld-mgrid {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
}

.ld-mgrid th {
  background: #33475b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  padding: 8px 6px;
  white-space: nowrap;
}

.ld-mgrid td {
  padding: 8px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #33475b;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-mgrid tbody tr {
  cursor: pointer;
}

.ld-mgrid tbody tr:active td {
  background: #f0f9ff;
}

.ld-mgrid-act {
  width: 108px;
}

.ld-mgrid-product {
  min-width: 140px;
}

.ld-mgrid-actions {
  display: flex;
  gap: 6px;
}

.ld-mgrid-edit,
.ld-mgrid-del {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ld-mgrid-edit {
  background: #e0f7fa;
  color: #008fa3;
}

.ld-mgrid-del {
  background: #fee2e2;
  color: #b91c1c;
}

.ld-mgrid-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.ld-mgrid-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: #33475b;
}

/* Mobile line edit sheet (FormRenderer-style popup) */
.ld-mline-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20100;
  background: rgba(15, 23, 42, 0.45);
}

.ld-mline-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20110;
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.22);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.ld-mline-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #e2e8f0;
}

.ld-mline-sheet-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.ld-mline-sheet-sub {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.ld-mline-sheet-x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 22px;
  cursor: pointer;
}

.ld-mline-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ld-mline-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.ld-mline-field > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ld-mline-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ld-mline-amt {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 700;
  color: #33475b;
}

.ld-mline-sheet-foot {
  display: flex;
  gap: 10px;
  padding: 10px 16px 14px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.ld-mline-del,
.ld-mline-done {
  flex: 1 1 0;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.ld-mline-del {
  background: #fee2e2;
  color: #b91c1c;
}

.ld-mline-done {
  background: #008fa3;
  color: #fff;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-panel,
.lm-page.lm-detail-app .ld-detail-inline .lm-timeline-panel,
.lm-page.lm-detail-app .ld-detail-inline .lm-doc-panel {
  margin: 0 12px 12px;
  border-radius: 14px !important;
}

.lm-page.lm-detail-app .ld-detail-inline .lm-activity-item {
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eef2f7;
  margin-bottom: 8px;
}
