/**
 * 金达康手机原生商贸 UI — 参考管家婆/好生意/精斗云移动端信息架构
 * 仅在 html[data-gt-mobile="1"] 下生效
 */
html[data-gt-mobile="1"],
body.gt-mobile-native {
  --gt-native-bg: #f8fafc;
  --gt-native-surface: #ffffff;
  --gt-native-primary: #0369a1;
  --gt-native-primary-dark: #075985;
  --gt-native-success: #047857;
  --gt-native-warning: #d97706;
  --gt-native-danger: #dc2626;
  --gt-native-text: #0f172a;
  --gt-native-text-secondary: #475569;
  --gt-native-text-tertiary: #64748b;
  --gt-native-border: #e2e8f0;
  --gt-native-radius: 8px;
  --gt-native-radius-lg: 12px;
  --gt-native-shadow: none;
  --gt-native-header-h: 56px;
  --gt-mobile-header-h: 56px;
  --gt-mobile-bottom-h: calc(56px + env(safe-area-inset-bottom, 0px));
  --gt-native-tab-h: 56px;
  overscroll-behavior: contain;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

html[data-gt-mobile="1"] body.gt-mobile-native,
body.gt-mobile-native.gt-mobile-ops {
  background: var(--gt-native-bg) !important;
  color: var(--gt-native-text);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
}

/* —— 隐藏桌面顶栏冗余，改用原生顶栏 —— */
html[data-gt-mobile="1"] body.gt-mobile-native #app-header,
body.gt-mobile-native #app-header {
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

html[data-gt-mobile="1"] .gt-native-header,
body.gt-mobile-native .gt-native-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--gt-native-header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 4px;
  padding-right: 8px;
  background: var(--gt-native-surface);
  border-bottom: 1px solid var(--gt-native-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

html[data-gt-mobile="1"] .gt-native-header .gt-native-btn,
body.gt-mobile-native .gt-native-header .gt-native-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--gt-native-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

html[data-gt-mobile="1"] .gt-native-header .gt-native-btn:active,
body.gt-mobile-native .gt-native-header .gt-native-btn:active {
  background: rgba(0, 0, 0, 0.05);
}

html[data-gt-mobile="1"] .gt-native-header .gt-native-header-right,
body.gt-mobile-native .gt-native-header .gt-native-header-right {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

html[data-gt-mobile="1"] .gt-native-header .gt-native-header-center,
body.gt-mobile-native .gt-native-header .gt-native-header-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
}

html[data-gt-mobile="1"] .gt-native-header .gt-native-company,
body.gt-mobile-native .gt-native-header .gt-native-company {
  border: 0;
  background: rgba(3, 105, 161, 0.1);
  color: var(--gt-native-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 9999px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

html[data-gt-mobile="1"] .gt-native-header .gt-native-company:active,
body.gt-mobile-native .gt-native-header .gt-native-company:active {
  opacity: 0.85;
}

html[data-gt-mobile="1"] .gt-native-company-sheet,
body.gt-mobile-native .gt-native-company-sheet {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

html[data-gt-mobile="1"] .gt-native-company-sheet.open,
body.gt-mobile-native .gt-native-company-sheet.open {
  display: flex;
}

html[data-gt-mobile="1"] .gt-native-company-sheet-mask,
body.gt-mobile-native .gt-native-company-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

html[data-gt-mobile="1"] .gt-native-company-sheet-panel,
body.gt-mobile-native .gt-native-company-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: var(--gt-native-surface);
  border-radius: 16px 16px 0 0;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

html[data-gt-mobile="1"] .gt-native-company-sheet-handle,
body.gt-mobile-native .gt-native-company-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 9999px;
  background: #d9d9d9;
  margin: 0 auto 12px;
}

html[data-gt-mobile="1"] .gt-native-company-sheet-title,
body.gt-mobile-native .gt-native-company-sheet-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
  text-align: center;
}

html[data-gt-mobile="1"] .gt-native-company-option,
body.gt-mobile-native .gt-native-company-option {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--gt-native-border);
  border-radius: 12px;
  background: #fafafa;
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: var(--gt-native-text);
}

html[data-gt-mobile="1"] .gt-native-company-option.is-active,
body.gt-mobile-native .gt-native-company-option.is-active {
  background: #e6f4ff;
  border-color: #91caff;
  color: var(--gt-native-primary);
}

html[data-gt-mobile="1"] .gt-native-company-option small,
body.gt-mobile-native .gt-native-company-option small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--gt-native-text-tertiary);
  margin-top: 2px;
}

html[data-gt-mobile="1"] .gt-native-header .gt-native-title,
body.gt-mobile-native .gt-native-header .gt-native-title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gt-native-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 4px;
}

html[data-gt-mobile="1"] .gt-native-header .gt-native-company,
body.gt-mobile-native .gt-native-header .gt-native-company {
  font-size: 11px;
  font-weight: 600;
  color: var(--gt-native-text-tertiary);
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 内容区留出顶栏/底栏 */
html[data-gt-mobile="1"] body.gt-mobile-native #app,
body.gt-mobile-native #app {
  padding-top: calc(var(--gt-native-header-h) + env(safe-area-inset-top, 0px)) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .app-sidebar,
body.gt-mobile-native .app-sidebar {
  top: calc(var(--gt-native-header-h) + env(safe-area-inset-top, 0px)) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-mobile-sidebar-mask,
body.gt-mobile-native .gt-mobile-sidebar-mask {
  top: calc(var(--gt-native-header-h) + env(safe-area-inset-top, 0px)) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .page-container,
body.gt-mobile-native .page-container {
  padding: 8px 12px calc(var(--gt-mobile-bottom-h) + 16px) !important;
  background: transparent !important;
}

/* —— 原生底栏（管家婆式五 Tab） —— */
html[data-gt-mobile="1"] .gt-mobile-tabbar.gt-native-tabbar,
body.gt-mobile-native .gt-mobile-tabbar.gt-native-tabbar {
  height: var(--gt-mobile-bottom-h);
  background: var(--gt-native-surface);
  border-top: 1px solid var(--gt-native-border);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

html[data-gt-mobile="1"] .gt-native-tabbar button,
body.gt-mobile-native .gt-native-tabbar button {
  min-height: var(--gt-native-tab-h);
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--gt-native-text-tertiary);
  padding: 4px 2px 2px;
}

html[data-gt-mobile="1"] .gt-native-tabbar button.active,
body.gt-mobile-native .gt-native-tabbar button.active {
  color: var(--gt-native-primary);
}

html[data-gt-mobile="1"] .gt-native-tabbar .ico svg,
body.gt-mobile-native .gt-native-tabbar .ico svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

html[data-gt-mobile="1"] .gt-native-tabbar button.active .ico svg,
body.gt-mobile-native .gt-native-tabbar button.active .ico svg {
  stroke: var(--gt-native-primary);
}

/* —— 首页：富内容 Mission Control（Bento + 待办分流） —— */
.gt-native-home {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.gt-native-home-rich {
  padding-bottom: 8px;
}

.gt-home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 16px 16px 14px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(3, 105, 161, 0.22), transparent 55%),
    linear-gradient(145deg, #0f172a 0%, #1e3a5f 55%, #0369a1 140%);
  color: #f8fafc;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.gt-home-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.gt-home-hello {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gt-home-date {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.gt-home-hero-desc {
  margin: 10px 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
  font-weight: 600;
}

.gt-home-refresh {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.gt-home-refresh svg {
  width: 18px;
  height: 18px;
}

.gt-home-refresh.spinning svg {
  animation: gt-home-spin 0.7s linear infinite;
}

@keyframes gt-home-spin {
  to { transform: rotate(360deg); }
}

.gt-home-search {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.gt-home-search .ico {
  width: 18px;
  height: 18px;
  color: #0369a1;
  display: inline-flex;
  flex-shrink: 0;
}

.gt-home-search .ico svg {
  width: 18px;
  height: 18px;
}

.gt-home-triage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 380px) {
  .gt-home-triage {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.gt-home-triage-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 88px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.gt-home-triage-card:active,
.gt-home-triage-card:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
}

.gt-home-triage-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.gt-home-triage-ico svg {
  width: 20px;
  height: 20px;
}

.gt-home-triage-card.tax .gt-home-triage-ico {
  background: #fef3c7;
  color: #b45309;
}

.gt-home-triage-card.contract .gt-home-triage-ico {
  background: #ecfdf5;
  color: #047857;
}

.gt-home-triage-card.download .gt-home-triage-ico {
  background: #e0f2fe;
  color: #0369a1;
}

.gt-home-triage-body .k {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.gt-home-triage-body .v {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  line-height: 1.15;
}

.gt-home-triage-body .v.sm {
  font-size: 18px;
}

.gt-home-triage-body .s {
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
}

.gt-native-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0 0;
}

.gt-native-section-head > span {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.gt-native-link {
  border: 0;
  background: transparent;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
  padding: 0 4px;
}

.gt-home-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gt-home-kpi {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 12px 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  text-align: left;
  font: inherit;
  color: inherit;
}

button.gt-home-kpi.tap {
  cursor: pointer;
}

button.gt-home-kpi.tap:active {
  background: #f0f9ff;
  border-color: #7dd3fc;
}

.gt-home-kpi .label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.gt-home-kpi .value {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  line-height: 1.1;
}

.gt-home-kpi .value.income { color: #047857; }
.gt-home-kpi .value.expense { color: #0369a1; }
.gt-home-kpi .sub {
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.gt-home-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gt-home-bento-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.gt-home-bento-card.span2 {
  grid-column: span 2;
  min-height: 96px;
}

.gt-home-bento-card:active,
.gt-home-bento-card:hover {
  border-color: #7dd3fc;
  background: #f8fbff;
}

.gt-home-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gt-home-bento-card .ico {
  width: 28px;
  height: 28px;
  color: #0369a1;
  display: inline-flex;
}

.gt-home-bento-card .ico svg {
  width: 24px;
  height: 24px;
}

.gt-home-bento-card.contract .ico { color: #047857; }
.gt-home-bento-card.tax .ico { color: #b45309; }

.gt-home-bento-card .badge {
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.gt-home-bento-card .badge.warn {
  background: #fef3c7;
  color: #b45309;
}

.gt-home-bento-card strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.gt-home-bento-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.gt-home-feed {
  display: grid;
  gap: 8px;
}

.gt-home-feed-empty {
  padding: 18px 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

.gt-home-feed-item {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.gt-home-feed-item:active {
  background: #f0f9ff;
  border-color: #7dd3fc;
}

.gt-home-feed-item .row1 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gt-home-feed-item .type {
  font-size: 11px;
  font-weight: 800;
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 6px;
  padding: 2px 6px;
  flex-shrink: 0;
}

.gt-home-feed-item .title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gt-home-feed-item .row2 {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gt-home-feed-item .chip {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 3px 8px;
}

.gt-home-feed-item .chip.warn {
  color: #b45309;
  background: #fff7ed;
}

.gt-home-feed-item .amt {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.gt-home-download {
  display: grid;
  gap: 8px;
}

.gt-home-dl-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: #0369a1;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.28);
}

.gt-home-dl-main .ico {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.gt-home-dl-main .ico svg {
  width: 28px;
  height: 28px;
}

.gt-home-dl-main .txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gt-home-dl-main .txt strong {
  font-size: 15px;
  font-weight: 800;
}

.gt-home-dl-main .txt em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.88;
  font-weight: 500;
}

.gt-home-dl-main:active {
  background: #075985;
}

.gt-home-dl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gt-home-dl-row button {
  min-height: 48px;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  background: #f0f9ff;
  color: #0369a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.gt-home-dl-row button .ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.gt-home-dl-row button .ico svg {
  width: 18px;
  height: 18px;
}

.gt-home-dl-row button:active {
  background: #e0f2fe;
}

@media (prefers-reduced-motion: reduce) {
  .gt-home-refresh.spinning svg { animation: none; }
  .gt-home-triage-card,
  .gt-home-bento-card { transition: none; }
}

/* legacy tokens kept for other screens */
.gt-native-hub-brand {
  padding: 4px 2px 0;
}

.gt-native-hub-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gt-native-text, #0f172a);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gt-native-hub-sub {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--gt-native-text-secondary, #475569);
  font-weight: 600;
}

.gt-native-kpi-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

.gt-native-kpi-scroll::-webkit-scrollbar {
  display: none;
}

.gt-native-kpi {
  flex: 0 0 auto;
  min-width: 132px;
  scroll-snap-align: start;
  background: var(--gt-native-surface);
  border-radius: var(--gt-native-radius);
  padding: 14px 14px 12px;
  box-shadow: var(--gt-native-shadow);
  border: 1px solid var(--gt-native-border);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: default;
}

button.gt-native-kpi {
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

button.gt-native-kpi:active,
button.gt-native-kpi:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
}

.gt-native-kpi .label {
  font-size: 12px;
  color: var(--gt-native-text-secondary);
  margin-bottom: 6px;
}

.gt-native-kpi .value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.gt-native-kpi .value.income { color: var(--gt-native-success); }
.gt-native-kpi .value.expense { color: var(--gt-native-primary); }
.gt-native-kpi .value.warn { color: #b45309; }
.gt-native-kpi .sub {
  margin-top: 4px;
  font-size: 11px;
  color: var(--gt-native-text-tertiary);
}

.gt-native-section-title {
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.02em;
  margin: 4px 0 8px;
}

.gt-native-pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.gt-native-pillars button {
  min-height: 68px;
  border: 1px solid var(--gt-native-border, #e2e8f0);
  border-radius: 12px;
  background: var(--gt-native-surface, #fff);
  color: var(--gt-native-text, #0f172a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 2px;
  box-shadow: var(--gt-native-shadow);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gt-native-pillars button .ico {
  width: 22px;
  height: 22px;
  color: #0369a1;
  display: inline-flex;
}

.gt-native-pillars button .ico svg {
  width: 22px;
  height: 22px;
}

.gt-native-pillars button.is-download {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1;
}

.gt-native-pillars button:active,
.gt-native-pillars button:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.gt-native-dl-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #0369a1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(3, 105, 161, 0.28);
}

.gt-native-dl-cta .ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.gt-native-dl-cta .ico svg {
  width: 20px;
  height: 20px;
}

.gt-native-dl-cta:active,
.gt-native-dl-cta:hover {
  background: #075985;
}

.gt-native-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gt-native-quick-grid button {
  border: 0;
  background: var(--gt-native-surface);
  border-radius: var(--gt-native-radius);
  padding: 14px 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--gt-native-shadow);
  border: 1px solid var(--gt-native-border);
  min-height: 88px;
}

.gt-native-quick-grid button:active {
  background: #f8f9fb;
}

.gt-native-quick-grid .ico-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.gt-native-quick-grid .ico-wrap svg {
  width: 22px;
  height: 22px;
}

.gt-native-quick-grid .ico-wrap.sale { background: #e0f2fe; color: #0369a1; }
.gt-native-quick-grid .ico-wrap.buy { background: #fff7ed; color: #c2410c; }
.gt-native-quick-grid .ico-wrap.contract { background: #ecfdf5; color: #047857; }
.gt-native-quick-grid .ico-wrap.tax { background: #fef3c7; color: #b45309; }
.gt-native-quick-grid .ico-wrap.flow { background: #e2e8f0; color: #334155; }

.gt-native-quick-grid span {
  font-size: 12px;
  font-weight: 700;
  color: var(--gt-native-text);
  text-align: center;
  line-height: 1.2;
}

.gt-native-tip {
  padding: 10px 12px;
  border-radius: 10px;
  background: #e6f4ff;
  color: #0958d9;
  font-size: 12px;
  line-height: 1.45;
  border: 1px solid #91caff;
}

/* —— 列表页：卡片化 + 紧凑工具栏 —— */
html[data-gt-mobile="1"] body.gt-mobile-native .qt-toolbar-top h2,
html[data-gt-mobile="1"] body.gt-mobile-native .page-header h2,
body.gt-mobile-native .qt-toolbar-top h2,
body.gt-mobile-native .page-header h2 {
  font-size: 16px !important;
  font-weight: 800 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native [data-view="table"],
html[data-gt-mobile="1"] body.gt-mobile-native .view-mode-toggle,
body.gt-mobile-native [data-view="table"],
body.gt-mobile-native .view-mode-toggle {
  display: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .quotation-item,
html[data-gt-mobile="1"] body.gt-mobile-native .contract-item,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-list-card,
body.gt-mobile-native .quotation-item,
body.gt-mobile-native .contract-item,
body.gt-mobile-native .gt-native-list-card {
  background: var(--gt-native-surface) !important;
  border-radius: var(--gt-native-radius) !important;
  margin-bottom: 10px !important;
  box-shadow: var(--gt-native-shadow) !important;
  border: 1px solid var(--gt-native-border) !important;
  padding: 14px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .qt-search-row,
html[data-gt-mobile="1"] body.gt-mobile-native .search-box,
body.gt-mobile-native .qt-search-row,
body.gt-mobile-native .search-box {
  width: 100%;
}

html[data-gt-mobile="1"] body.gt-mobile-native .qt-stat-row,
html[data-gt-mobile="1"] body.gt-mobile-native .qt-stats,
body.gt-mobile-native .qt-stat-row,
body.gt-mobile-native .qt-stats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 通用表格 → 卡片（兜底） */
html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified thead,
body.gt-mobile-native .gt-table-cardified thead {
  display: none;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified tbody,
body.gt-mobile-native .gt-table-cardified tbody {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified tr,
body.gt-mobile-native .gt-table-cardified tr {
  display: block;
  background: var(--gt-native-surface);
  border-radius: var(--gt-native-radius);
  padding: 12px;
  box-shadow: var(--gt-native-shadow);
  border: 1px solid var(--gt-native-border);
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified td,
body.gt-mobile-native .gt-table-cardified td {
  display: flex;
  justify-content: space-between;
  padding: 4px 0 !important;
  border: 0 !important;
  font-size: 13px;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified td::before,
body.gt-mobile-native .gt-table-cardified td::before {
  content: attr(data-label);
  color: var(--gt-native-text-tertiary);
  font-size: 12px;
  margin-right: 8px;
  flex-shrink: 0;
}

html[data-gt-mobile="1"] body.gt-mobile-native table.data-table,
body.gt-mobile-native table.data-table {
  min-width: 0 !important;
}

/* FAB 新建 */
.gt-native-fab {
  position: fixed;
  right: 16px;
  bottom: calc(var(--gt-mobile-bottom-h) + 16px);
  z-index: 1350;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(145deg, #4096ff, #1677ff);
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(22, 119, 255, 0.45);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.gt-native-fab.show {
  display: flex;
}

.gt-native-fab:active {
  background: var(--gt-native-primary-dark, #075985);
}

/* 看板模块卡片 */
html[data-gt-mobile="1"] body.gt-mobile-native .balance-card,
html[data-gt-mobile="1"] body.gt-mobile-native .dashboard-card,
body.gt-mobile-native .balance-card,
body.gt-mobile-native .dashboard-card {
  border-radius: var(--gt-native-radius-lg) !important;
  box-shadow: var(--gt-native-shadow) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-mobile-banner,
body.gt-mobile-native .gt-mobile-banner {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   全模块通用手机适配 v3.9.81 — 所有界面可查看、可编辑
   ═══════════════════════════════════════════════════════════════ */

html[data-gt-mobile="1"] body.gt-mobile-native,
body.gt-mobile-native {
  --gt-native-touch: 44px;
}

/* 所有业务页基础 */
html[data-gt-mobile="1"] body.gt-mobile-native [class*="-page"],
html[data-gt-mobile="1"] body.gt-mobile-native .business-hub-page,
html[data-gt-mobile="1"] body.gt-mobile-native .workflow-center,
html[data-gt-mobile="1"] body.gt-mobile-native .psi-page,
body.gt-mobile-native [class*="-page"],
body.gt-mobile-native .business-hub-page,
body.gt-mobile-native .workflow-center,
body.gt-mobile-native .psi-page {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 原生顶栏已显示标题 → 缩小页内重复大标题 */
html[data-gt-mobile="1"] body.gt-mobile-native .page-container > div > .page-header h1,
html[data-gt-mobile="1"] body.gt-mobile-native .page-container > div > .page-header h2,
html[data-gt-mobile="1"] body.gt-mobile-native .qt-toolbar-top h2,
html[data-gt-mobile="1"] body.gt-mobile-native .ct-toolbar-top h2,
body.gt-mobile-native .page-container > div > .page-header h1,
body.gt-mobile-native .page-container > div > .page-header h2,
body.gt-mobile-native .qt-toolbar-top h2,
body.gt-mobile-native .ct-toolbar-top h2 {
  font-size: 15px !important;
  margin: 0 0 4px !important;
}

/* 栅格/分栏 → 单列 */
html[data-gt-mobile="1"] body.gt-mobile-native .form-grid,
html[data-gt-mobile="1"] body.gt-mobile-native .form-row,
html[data-gt-mobile="1"] body.gt-mobile-native .detail-grid,
html[data-gt-mobile="1"] body.gt-mobile-native .grid-2,
html[data-gt-mobile="1"] body.gt-mobile-native .grid-3,
html[data-gt-mobile="1"] body.gt-mobile-native .grid-4,
html[data-gt-mobile="1"] body.gt-mobile-native .workflow-stat-grid,
html[data-gt-mobile="1"] body.gt-mobile-native .workflow-sharing-grid,
html[data-gt-mobile="1"] body.gt-mobile-native .workflow-split,
html[data-gt-mobile="1"] body.gt-mobile-native .settings-grid,
html[data-gt-mobile="1"] body.gt-mobile-native .hub-grid,
html[data-gt-mobile="1"] body.gt-mobile-native .warehouse-layout,
html[data-gt-mobile="1"] body.gt-mobile-native .qt-body,
html[data-gt-mobile="1"] body.gt-mobile-native .ct-body,
body.gt-mobile-native .form-grid,
body.gt-mobile-native .form-row,
body.gt-mobile-native .detail-grid,
body.gt-mobile-native .grid-2,
body.gt-mobile-native .grid-3,
body.gt-mobile-native .grid-4,
body.gt-mobile-native .workflow-stat-grid,
body.gt-mobile-native .workflow-sharing-grid,
body.gt-mobile-native .workflow-split,
body.gt-mobile-native .settings-grid,
body.gt-mobile-native .hub-grid,
body.gt-mobile-native .warehouse-layout,
body.gt-mobile-native .qt-body,
body.gt-mobile-native .ct-body {
  grid-template-columns: 1fr !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* 合同页：取消桌面嵌套滚动，避免列表高度被 overflow 截成空白 */
html[data-gt-mobile="1"] body.gt-mobile-native .ct-shell,
body.gt-mobile-native .ct-shell {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .ct-body,
body.gt-mobile-native .ct-body {
  flex: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  height: auto !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .ct-list,
html[data-gt-mobile="1"] body.gt-mobile-native .ct-list-body,
body.gt-mobile-native .ct-list,
body.gt-mobile-native .ct-list-body {
  flex: none !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .ct-hero,
body.gt-mobile-native .ct-hero {
  display: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .contract-item,
body.gt-mobile-native .contract-item {
  cursor: pointer;
}

/* 所有表格取消横向滚动，统一卡片化 */
html[data-gt-mobile="1"] body.gt-mobile-native table,
body.gt-mobile-native table {
  min-width: 0 !important;
  width: 100% !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .data-table-wrapper,
html[data-gt-mobile="1"] body.gt-mobile-native .table-container,
html[data-gt-mobile="1"] body.gt-mobile-native .list-table-wrap,
html[data-gt-mobile="1"] body.gt-mobile-native .table-responsive,
body.gt-mobile-native .data-table-wrapper,
body.gt-mobile-native .table-container,
body.gt-mobile-native .list-table-wrap,
body.gt-mobile-native .table-responsive {
  overflow-x: visible !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified thead,
body.gt-mobile-native .gt-table-cardified thead {
  display: none;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified tbody,
body.gt-mobile-native .gt-table-cardified tbody {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified tr,
body.gt-mobile-native .gt-table-cardified tr {
  display: block;
  background: var(--gt-native-surface);
  border-radius: var(--gt-native-radius);
  padding: 12px;
  box-shadow: var(--gt-native-shadow);
  border: 1px solid var(--gt-native-border);
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified td,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified th[scope="row"],
body.gt-mobile-native .gt-table-cardified td,
body.gt-mobile-native .gt-table-cardified th[scope="row"] {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0 !important;
  border: 0 !important;
  font-size: 13px;
  text-align: right !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified td::before,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified th[scope="row"]::before,
body.gt-mobile-native .gt-table-cardified td::before,
body.gt-mobile-native .gt-table-cardified th[scope="row"]::before {
  content: attr(data-label);
  color: var(--gt-native-text-tertiary);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  flex-shrink: 0;
  max-width: 42%;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified td[data-label=""]::before,
body.gt-mobile-native .gt-table-cardified td[data-label=""]::before {
  content: none;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified .btn,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-table-cardified button,
body.gt-mobile-native .gt-table-cardified .btn,
body.gt-mobile-native .gt-table-cardified button {
  min-height: var(--gt-native-touch);
}

/* 列表卡片通用 */
html[data-gt-mobile="1"] body.gt-mobile-native .list-item,
html[data-gt-mobile="1"] body.gt-mobile-native .customer-item,
html[data-gt-mobile="1"] body.gt-mobile-native .delivery-item,
html[data-gt-mobile="1"] body.gt-mobile-native .workflow-feed-item,
html[data-gt-mobile="1"] body.gt-mobile-native .hub-card,
html[data-gt-mobile="1"] body.gt-mobile-native .settings-actions.card,
html[data-gt-mobile="1"] body.gt-mobile-native .card.list-card,
body.gt-mobile-native .list-item,
body.gt-mobile-native .customer-item,
body.gt-mobile-native .delivery-item,
body.gt-mobile-native .workflow-feed-item,
body.gt-mobile-native .hub-card,
body.gt-mobile-native .settings-actions.card,
body.gt-mobile-native .card.list-card {
  border-radius: var(--gt-native-radius) !important;
  margin-bottom: 10px !important;
  box-shadow: var(--gt-native-shadow) !important;
  border: 1px solid var(--gt-native-border) !important;
}

/* 工具栏：换行 + 大按钮 */
html[data-gt-mobile="1"] body.gt-mobile-native .toolbar,
html[data-gt-mobile="1"] body.gt-mobile-native .page-toolbar,
html[data-gt-mobile="1"] body.gt-mobile-native .module-toolbar,
html[data-gt-mobile="1"] body.gt-mobile-native .qt-toolbar,
html[data-gt-mobile="1"] body.gt-mobile-native .ct-toolbar,
html[data-gt-mobile="1"] body.gt-mobile-native .page-header-actions,
html[data-gt-mobile="1"] body.gt-mobile-native .qt-actions,
html[data-gt-mobile="1"] body.gt-mobile-native .ct-actions,
body.gt-mobile-native .toolbar,
body.gt-mobile-native .page-toolbar,
body.gt-mobile-native .module-toolbar,
body.gt-mobile-native .qt-toolbar,
body.gt-mobile-native .ct-toolbar,
body.gt-mobile-native .page-header-actions,
body.gt-mobile-native .qt-actions,
body.gt-mobile-native .ct-actions {
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .btn,
html[data-gt-mobile="1"] body.gt-mobile-native .filter-btn,
html[data-gt-mobile="1"] body.gt-mobile-native .tab-btn,
body.gt-mobile-native .btn,
body.gt-mobile-native .filter-btn,
body.gt-mobile-native .tab-btn {
  min-height: var(--gt-native-touch);
  touch-action: manipulation;
}

/* FAB 显示时隐藏工具栏内重复「新增」 */
html[data-gt-mobile="1"] body.gt-mobile-native.gt-native-fab-on .page-header-actions .btn-primary[id*="add-"],
html[data-gt-mobile="1"] body.gt-mobile-native.gt-native-fab-on #add-quotation-btn,
html[data-gt-mobile="1"] body.gt-mobile-native.gt-native-fab-on #add-contract-btn,
html[data-gt-mobile="1"] body.gt-mobile-native.gt-native-fab-on #add-delivery-btn,
html[data-gt-mobile="1"] body.gt-mobile-native.gt-native-fab-on #add-customer-btn,
body.gt-mobile-native.gt-native-fab-on .page-header-actions .btn-primary[id*="add-"],
body.gt-mobile-native.gt-native-fab-on #add-quotation-btn,
body.gt-mobile-native.gt-native-fab-on #add-contract-btn,
body.gt-mobile-native.gt-native-fab-on #add-delivery-btn,
body.gt-mobile-native.gt-native-fab-on #add-customer-btn {
  display: none !important;
}

/* Tab 栏横向滑动 */
html[data-gt-mobile="1"] body.gt-mobile-native .workflow-tabs,
html[data-gt-mobile="1"] body.gt-mobile-native .filter-tabs,
html[data-gt-mobile="1"] body.gt-mobile-native .nav-tabs,
html[data-gt-mobile="1"] body.gt-mobile-native .tab-bar,
body.gt-mobile-native .workflow-tabs,
body.gt-mobile-native .filter-tabs,
body.gt-mobile-native .nav-tabs,
body.gt-mobile-native .tab-bar {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  gap: 6px !important;
  scrollbar-width: none;
}

html[data-gt-mobile="1"] body.gt-mobile-native .workflow-tab,
html[data-gt-mobile="1"] body.gt-mobile-native .filter-tabs button,
body.gt-mobile-native .workflow-tab,
body.gt-mobile-native .filter-tabs button {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* 侧栏菜单加大触控区 */
html[data-gt-mobile="1"] body.gt-mobile-native .menu-item,
html[data-gt-mobile="1"] body.gt-mobile-native .submenu-item,
body.gt-mobile-native .menu-item,
body.gt-mobile-native .submenu-item {
  min-height: var(--gt-native-touch) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .menu-drag-handle,
body.gt-mobile-native .menu-drag-handle {
  display: none !important;
}

/* 筛选侧栏 → 全宽折叠面板 */
html[data-gt-mobile="1"] body.gt-mobile-native .filter-sidebar,
html[data-gt-mobile="1"] body.gt-mobile-native .qt-filters,
html[data-gt-mobile="1"] body.gt-mobile-native .ct-filters,
body.gt-mobile-native .filter-sidebar,
body.gt-mobile-native .qt-filters,
body.gt-mobile-native .ct-filters {
  width: 100% !important;
  max-width: 100% !important;
  position: static !important;
  margin-bottom: 10px;
}

/* 表单编辑区 */
html[data-gt-mobile="1"] body.gt-mobile-native .quotation-form,
html[data-gt-mobile="1"] body.gt-mobile-native .contract-form,
html[data-gt-mobile="1"] body.gt-mobile-native .modal-body,
html[data-gt-mobile="1"] body.gt-mobile-native .form-section,
body.gt-mobile-native .quotation-form,
body.gt-mobile-native .contract-form,
body.gt-mobile-native .modal-body,
body.gt-mobile-native .form-section {
  padding: 12px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native input,
html[data-gt-mobile="1"] body.gt-mobile-native select,
html[data-gt-mobile="1"] body.gt-mobile-native textarea,
html[data-gt-mobile="1"] body.gt-mobile-native .form-control,
body.gt-mobile-native input,
body.gt-mobile-native select,
body.gt-mobile-native textarea,
body.gt-mobile-native .form-control {
  font-size: 16px !important;
  min-height: var(--gt-native-touch);
}

/* 隐藏桌面专用控件 */
html[data-gt-mobile="1"] body.gt-mobile-native .header-center,
html[data-gt-mobile="1"] body.gt-mobile-native #global-window-controls,
html[data-gt-mobile="1"] body.gt-mobile-native .header-music-player,
html[data-gt-mobile="1"] body.gt-mobile-native .ai-assistant-btn,
html[data-gt-mobile="1"] body.gt-mobile-native .header-apps-btn,
html[data-gt-mobile="1"] body.gt-mobile-native .kbd-hint,
html[data-gt-mobile="1"] body.gt-mobile-native kbd,
body.gt-mobile-native .header-center,
body.gt-mobile-native #global-window-controls,
body.gt-mobile-native .header-music-player,
body.gt-mobile-native .ai-assistant-btn,
body.gt-mobile-native .header-apps-btn,
body.gt-mobile-native .kbd-hint,
body.gt-mobile-native kbd {
  display: none !important;
}

/* 图表自适应 */
html[data-gt-mobile="1"] body.gt-mobile-native canvas,
html[data-gt-mobile="1"] body.gt-mobile-native .chart-wrap,
html[data-gt-mobile="1"] body.gt-mobile-native svg.chart,
body.gt-mobile-native canvas,
body.gt-mobile-native .chart-wrap,
body.gt-mobile-native svg.chart {
  max-width: 100% !important;
  height: auto !important;
}

/* 分页 */
html[data-gt-mobile="1"] body.gt-mobile-native .pagination,
html[data-gt-mobile="1"] body.gt-mobile-native [id*="pagination"],
body.gt-mobile-native .pagination,
body.gt-mobile-native [id*="pagination"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
}

/* 业务中心入口卡片 */
html[data-gt-mobile="1"] body.gt-mobile-native .business-hub-page .hub-grid,
body.gt-mobile-native .business-hub-page .hub-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

/* 设置/报表全宽 */
html[data-gt-mobile="1"] body.gt-mobile-native .settings-page .card,
html[data-gt-mobile="1"] body.gt-mobile-native .reports-page .card,
body.gt-mobile-native .settings-page .card,
body.gt-mobile-native .reports-page .card {
  width: 100% !important;
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   原生手机首页 v3.9.86 — 管家婆/好生意式工作台
   ═══════════════════════════════════════════════════════════════ */

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-company-bar,
body.gt-mobile-native .gt-native-company-bar {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-company-chip,
body.gt-mobile-native .gt-native-company-chip {
  min-height: 44px;
  border: 1px solid var(--gt-native-border);
  border-radius: 12px;
  background: var(--gt-native-surface);
  color: var(--gt-native-text-secondary);
  font-size: 14px;
  font-weight: 700;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-company-chip.is-active,
body.gt-mobile-native .gt-native-company-chip.is-active {
  background: #e6f4ff;
  border-color: #91caff;
  color: var(--gt-native-primary);
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard,
body.gt-mobile-native .gt-native-dashboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .page-title,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .mobile-access-bar,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .dashboard-content,
body.gt-mobile-native .gt-native-dashboard .page-title,
body.gt-mobile-native .gt-native-dashboard .mobile-access-bar,
body.gt-mobile-native .gt-native-dashboard .dashboard-content {
  display: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .dashboard-content,
body.gt-mobile-native .gt-native-dashboard .dashboard-content {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   钉钉风格工作台 gt-dd-*（DingDesign）
   ═══════════════════════════════════════════════════════════════ */

.gt-dd-workbench {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.gt-dd-greeting {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0;
}

.gt-dd-hello {
  font-size: 20px;
  font-weight: 700;
  color: var(--gt-native-text, #171a1d);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gt-dd-date {
  margin-top: 4px;
  font-size: 12px;
  color: var(--gt-native-text-tertiary, #999);
  font-weight: 500;
}

.gt-dd-refresh {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--gt-native-surface, #fff);
  color: var(--gt-native-text-secondary, #666);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid var(--gt-native-border, #e5e6eb);
}

.gt-dd-refresh svg {
  width: 18px;
  height: 18px;
}

.gt-dd-refresh.spinning svg {
  animation: gt-home-spin 0.7s linear infinite;
}

.gt-dd-search {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--gt-native-surface, #fff);
  color: var(--gt-native-text-tertiary, #999);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--gt-native-border, #e5e6eb);
}

.gt-dd-search svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gt-native-text-tertiary, #999);
}

.gt-dd-search:active {
  background: #fafafa;
}

.gt-dd-todo-wrap {
  margin: 0 -2px;
}

.gt-dd-todo-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 4px;
  scrollbar-width: none;
}

.gt-dd-todo-scroll::-webkit-scrollbar {
  display: none;
}

.gt-dd-todo-item {
  flex: 0 0 auto;
  min-width: 108px;
  scroll-snap-align: start;
  border: 0;
  border-radius: 8px;
  background: var(--gt-native-surface, #fff);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border: 1px solid var(--gt-native-border, #e5e6eb);
}

.gt-dd-todo-item:active {
  background: #fafafa;
}

.gt-dd-todo-item.warn .gt-dd-todo-val {
  color: var(--gt-native-warning, #ff9200);
}

.gt-dd-todo-item.dl .gt-dd-todo-val {
  color: var(--gt-native-primary, #0089ff);
}

.gt-dd-todo-val {
  display: block;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gt-native-text, #171a1d);
  line-height: 1.15;
}

.gt-dd-todo-val.sm {
  font-size: 16px;
}

.gt-dd-todo-lbl {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--gt-native-text-secondary, #666);
  font-weight: 500;
}

.gt-dd-panel {
  background: var(--gt-native-surface, #fff);
  border-radius: var(--gt-native-radius, 8px);
  padding: 14px 12px;
  border: 1px solid var(--gt-native-border, #e5e6eb);
}

.gt-dd-panel-flat {
  padding: 0;
  overflow: hidden;
}

.gt-dd-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.gt-dd-panel-head > span {
  font-size: 15px;
  font-weight: 700;
  color: var(--gt-native-text, #171a1d);
}

.gt-dd-link {
  border: 0;
  background: transparent;
  color: var(--gt-native-primary, #0089ff);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  min-height: 32px;
  padding: 0 4px;
}

.gt-dd-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 0;
}

.gt-dd-app {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  min-height: 72px;
}

.gt-dd-app:active .gt-dd-app-icon {
  background: color-mix(in srgb, var(--dd-app-color, #0369a1) 20%, #fff);
}

.gt-dd-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--dd-app-color, #0089ff);
  background: color-mix(in srgb, var(--dd-app-color, #0089ff) 12%, #fff);
  transition: none;
}

.gt-dd-app-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gt-native-text, #171a1d);
  text-align: center;
  line-height: 1.2;
}

.gt-dd-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gt-dd-kpi {
  background: #fafafa;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  font: inherit;
  color: inherit;
  border: 0;
}

button.gt-dd-kpi.tap {
  cursor: pointer;
}

button.gt-dd-kpi.tap:active {
  background: #f0f5ff;
}

.gt-dd-kpi-lbl {
  font-size: 12px;
  color: var(--gt-native-text-secondary, #666);
  font-weight: 500;
}

.gt-dd-kpi-val {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gt-native-text, #171a1d);
  line-height: 1.1;
}

.gt-dd-kpi-val.income { color: var(--gt-native-success, #00b578); }
.gt-dd-kpi-val.expense { color: var(--gt-native-primary, #0089ff); }
.gt-dd-kpi-val.warn { color: var(--gt-native-danger, #dc2626); }

.gt-dd-app-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.gt-dd-year-list {
  display: grid;
  gap: 8px;
}

.gt-dd-year {
  width: 100%;
  border: 1px solid var(--gt-native-border, #e5e6eb);
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.gt-dd-year.is-settled {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.gt-dd-year.is-open {
  background: #fff7ed;
  border-color: #fed7aa;
}

.gt-dd-year:active {
  filter: brightness(0.98);
}

.gt-dd-year-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gt-dd-year-top b {
  font-size: 16px;
  color: var(--gt-native-text, #171a1d);
}

.gt-dd-year-top em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--gt-native-text-secondary, #666);
}

.gt-dd-year.is-settled .gt-dd-year-top em { color: var(--gt-native-success, #00b578); }
.gt-dd-year.is-open .gt-dd-year-top em { color: #c2410c; }

.gt-dd-year-metrics {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--gt-native-text-secondary, #666);
  line-height: 1.4;
}

.gt-dd-year-bar {
  display: block;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.gt-dd-year-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gt-native-primary, #0089ff);
}

.gt-dd-year.is-settled .gt-dd-year-bar i { background: var(--gt-native-success, #00b578); }
.gt-dd-year.is-open .gt-dd-year-bar i { background: #f97316; }

.gt-dd-debt-list {
  display: grid;
  gap: 12px;
}

.gt-dd-debt-group {
  display: grid;
  gap: 4px;
}

.gt-dd-debt-group > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--gt-native-text-secondary, #666);
}

.gt-dd-debt {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.gt-dd-debt:last-child { border-bottom: 0; }

.gt-dd-debt-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gt-native-text, #171a1d);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gt-dd-debt-amt {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.gt-dd-debt-amt.is-in { color: var(--gt-native-danger, #dc2626); }
.gt-dd-debt-amt.is-out { color: var(--gt-native-warning, #ff9200); }

.gt-dd-debt-more {
  width: 100%;
  margin-top: 4px;
  min-height: 40px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0a2f5c;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.gt-dd-debt:active,
.gt-dd-kpi.tap:active,
.gt-dd-debt-more:active {
  background: rgba(10, 47, 92, 0.06);
}

.gt-dd-tax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gt-dd-tax {
  border: 1px solid var(--gt-native-border, #e5e6eb);
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  min-height: 72px;
}

.gt-dd-tax:active { background: #f0f5ff; }

.gt-dd-tax-lbl {
  display: block;
  font-size: 12px;
  color: var(--gt-native-text-secondary, #666);
}

.gt-dd-tax-val {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--gt-native-text, #171a1d);
}

.gt-dd-tax-val.warn { color: var(--gt-native-danger, #dc2626); }

@media (prefers-reduced-motion: reduce) {
  .gt-dd-refresh.spinning svg { animation: none; }
}

.gt-dd-list {
  display: flex;
  flex-direction: column;
}

.gt-dd-list-empty {
  padding: 20px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--gt-native-text-tertiary, #999);
}

.gt-dd-list-row {
  width: 100%;
  min-height: 56px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-bottom: 1px solid var(--gt-native-border, #e5e6eb);
}

.gt-dd-panel-flat .gt-dd-row:last-child {
  border-bottom: 0;
}

.gt-dd-list-row:last-child {
  border-bottom: 0;
}

.gt-dd-list-row:active,
.gt-dd-row:active {
  background: #fafafa;
}

.gt-dd-row.primary {
  background: #f0f5ff;
}

.gt-dd-row.primary:active {
  background: #e6f4ff;
}

.gt-dd-row-ico {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gt-native-primary, #0089ff);
  display: inline-flex;
}

.gt-dd-row-ico svg {
  width: 24px;
  height: 24px;
}

.gt-dd-row-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gt-dd-row-main strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--gt-native-text, #171a1d);
}

.gt-dd-row-main em {
  font-style: normal;
  font-size: 12px;
  color: var(--gt-native-text-secondary, #666);
}

.gt-dd-row-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--gt-native-text, #171a1d);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gt-dd-row {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-bottom: 1px solid var(--gt-native-border, #e5e6eb);
}

.gt-dd-row-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: var(--gt-native-text-tertiary, #999);
  margin-top: 3px;
}

.gt-dd-row-dot {
  color: var(--gt-native-border, #e5e6eb);
  font-weight: 700;
}

.gt-dd-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gt-native-success, #00b578);
}

.gt-dd-tag.warn {
  color: var(--gt-native-warning, #ff9200);
}

.gt-dd-row-right {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.gt-dd-row-amt {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gt-native-text, #171a1d);
  white-space: nowrap;
}

.gt-dd-row-chev {
  width: 16px;
  height: 16px;
  color: var(--gt-native-text-tertiary, #999);
  display: inline-flex;
}

.gt-dd-row-chev svg {
  width: 16px;
  height: 16px;
}

body.gt-dingtalk-ui .gt-native-tip {
  background: #f0f5ff;
  color: var(--gt-native-primary, #0089ff);
  border-color: #bae0ff;
  border-radius: 8px;
}

/* 工作台容器 */
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-workbench,
body.gt-mobile-native .gt-native-dashboard .operator-workbench {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-workbench-main,
body.gt-mobile-native .gt-native-dashboard .operator-workbench-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-workbench-side,
body.gt-mobile-native .gt-native-dashboard .operator-workbench-side {
  display: none !important;
}

/* 快捷操作区 */
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-panel-head,
body.gt-mobile-native .gt-native-dashboard .operator-panel-head {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-panel-head > div:first-child,
body.gt-mobile-native .gt-native-dashboard .operator-panel-head > div:first-child {
  display: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-grid::before,
body.gt-mobile-native .gt-native-dashboard .operator-action-grid::before {
  content: "快捷操作";
  display: block;
  grid-column: 1 / -1;
  font-size: 15px;
  font-weight: 800;
  color: var(--gt-native-text);
  margin: 2px 0 4px;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-grid,
body.gt-mobile-native .gt-native-dashboard .operator-action-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 76px !important;
  padding: 10px 4px !important;
  border: 0 !important;
  border-radius: var(--gt-native-radius) !important;
  background: var(--gt-native-surface) !important;
  box-shadow: var(--gt-native-shadow) !important;
  color: var(--gt-native-text) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn::before,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn::after,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn::before,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn::after {
  display: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn span,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn span {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #e6f4ff !important;
  color: var(--gt-native-primary) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn:nth-child(2) span,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn:nth-child(2) span {
  background: #fff7e6 !important;
  color: #fa8c16 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn:nth-child(3) span,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn:nth-child(3) span {
  background: #f6ffed !important;
  color: #52c41a !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn:nth-child(4) span,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn:nth-child(4) span {
  background: #e0f2fe !important;
  color: #0369a1 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn b,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn b {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn svg,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn svg {
  width: 20px !important;
  height: 20px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-action-btn:active,
body.gt-mobile-native .gt-native-dashboard .operator-action-btn:active {
  background: #f8fafc;
  opacity: 0.92;
}

/* 任务列表标题 */
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-list,
body.gt-mobile-native .gt-native-dashboard .operator-task-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-list::before,
body.gt-mobile-native .gt-native-dashboard .operator-task-list::before {
  content: "今日任务";
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--gt-native-text);
  margin: 4px 0 2px;
}

/* 任务卡片 */
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-row,
body.gt-mobile-native .gt-native-dashboard .operator-task-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-height: 0 !important;
  padding: 14px !important;
  border: 1px solid var(--gt-native-border) !important;
  border-radius: var(--gt-native-radius-lg) !important;
  background: var(--gt-native-surface) !important;
  box-shadow: var(--gt-native-shadow) !important;
  margin: 0 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-row:last-child,
body.gt-mobile-native .gt-native-dashboard .operator-task-row:last-child {
  border-bottom: 1px solid var(--gt-native-border) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-row:hover,
body.gt-mobile-native .gt-native-dashboard .operator-task-row:hover {
  background: var(--gt-native-surface) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-icon,
body.gt-mobile-native .gt-native-dashboard .operator-task-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-main,
body.gt-mobile-native .gt-native-dashboard .operator-task-main {
  flex: 1 !important;
  min-width: 0 !important;
  gap: 4px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-main b,
body.gt-mobile-native .gt-native-dashboard .operator-task-main b {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--gt-native-text) !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-main small,
body.gt-mobile-native .gt-native-dashboard .operator-task-main small {
  font-size: 12px !important;
  color: var(--gt-native-text-secondary) !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-row,
body.gt-mobile-native .gt-native-dashboard .operator-task-row {
  position: relative;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-icon,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-main,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-amount,
body.gt-mobile-native .gt-native-dashboard .operator-task-icon,
body.gt-mobile-native .gt-native-dashboard .operator-task-main,
body.gt-mobile-native .gt-native-dashboard .operator-task-amount {
  grid-column: auto !important;
  grid-row: auto !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-row > .operator-task-icon,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-row > .operator-task-main,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-row > .operator-task-amount,
body.gt-mobile-native .gt-native-dashboard .operator-task-row > .operator-task-icon,
body.gt-mobile-native .gt-native-dashboard .operator-task-row > .operator-task-main,
body.gt-mobile-native .gt-native-dashboard .operator-task-row > .operator-task-amount {
  display: inline-flex !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-row,
body.gt-mobile-native .gt-native-dashboard .operator-task-row {
  display: grid !important;
  grid-template-columns: 40px 1fr auto !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
  column-gap: 10px !important;
  row-gap: 4px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-amount,
body.gt-mobile-native .gt-native-dashboard .operator-task-amount {
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
  text-align: right !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--gt-native-text) !important;
  white-space: nowrap !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-status,
body.gt-mobile-native .gt-native-dashboard .operator-task-status {
  display: block !important;
  grid-column: 1 / -1 !important;
  font-size: 11px !important;
  color: var(--gt-native-text-tertiary) !important;
  padding-left: 50px !important;
  margin-top: -4px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-actions,
body.gt-mobile-native .gt-native-dashboard .operator-task-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-top: 4px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-action,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-dismiss,
body.gt-mobile-native .gt-native-dashboard .operator-task-action,
body.gt-mobile-native .gt-native-dashboard .operator-task-dismiss {
  flex: 1 !important;
  width: auto !important;
  min-height: 44px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-action,
body.gt-mobile-native .gt-native-dashboard .operator-task-action {
  background: var(--gt-native-primary) !important;
  color: #fff !important;
  border: 0 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-dismiss,
body.gt-mobile-native .gt-native-dashboard .operator-task-dismiss {
  background: #f5f5f5 !important;
  color: var(--gt-native-text-secondary) !important;
  border: 1px solid var(--gt-native-border) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-danger,
body.gt-mobile-native .gt-native-dashboard .operator-danger {
  border-left: 3px solid var(--gt-native-danger) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-warning,
body.gt-mobile-native .gt-native-dashboard .operator-warning {
  border-left: 3px solid var(--gt-native-warning) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-info,
body.gt-mobile-native .gt-native-dashboard .operator-info {
  border-left: 3px solid var(--gt-native-primary) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-view-all,
body.gt-mobile-native .gt-native-dashboard .operator-view-all {
  width: 100% !important;
  min-height: 44px !important;
  border: 1px solid var(--gt-native-border) !important;
  border-radius: 10px !important;
  background: var(--gt-native-surface) !important;
  color: var(--gt-native-primary) !important;
  font-weight: 700 !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-native-dashboard .operator-task-empty,
body.gt-mobile-native .gt-native-dashboard .operator-task-empty {
  padding: 28px 16px !important;
  border-radius: var(--gt-native-radius-lg) !important;
  background: var(--gt-native-surface) !important;
  border: 1px solid var(--gt-native-border) !important;
  color: var(--gt-native-text-secondary) !important;
}

/* ═══════════════════════════════════════════════════════════════
   全页手机原生适配 v3.9.88
   ═══════════════════════════════════════════════════════════════ */

html[data-gt-mobile="1"] body.gt-mobile-native .page-title,
html[data-gt-mobile="1"] body.gt-mobile-native .mobile-access-bar,
html[data-gt-mobile="1"] body.gt-mobile-native .dashboard-content,
html[data-gt-mobile="1"] body.gt-mobile-native .quotation-page > .page-header,
html[data-gt-mobile="1"] body.gt-mobile-native .contract-page > .page-header,
body.gt-mobile-native .page-title,
body.gt-mobile-native .mobile-access-bar,
body.gt-mobile-native .dashboard-content,
body.gt-mobile-native .quotation-page > .page-header,
body.gt-mobile-native .contract-page > .page-header {
  display: none !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .quotation-item,
html[data-gt-mobile="1"] body.gt-mobile-native .contract-item,
body.gt-mobile-native .quotation-item,
body.gt-mobile-native .contract-item {
  padding: 14px !important;
  border-radius: 8px !important;
  border: 1px solid #e5e6eb !important;
  box-shadow: none !important;
  background: #fff !important;
}

/* 税票待办 · 钉钉列表 */
html[data-gt-mobile="1"] .gt-tax-dd-list,
html[data-gt-mobile="1"] .gt-contract-dd-list,
body.gt-mobile-ops .gt-tax-dd-list,
body.gt-mobile-ops .gt-contract-dd-list {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e6eb;
  overflow: hidden;
}

html[data-gt-mobile="1"] .ct-list-body .gt-contract-dd-list,
body.gt-mobile-ops .ct-list-body .gt-contract-dd-list {
  margin: 0;
}

html[data-gt-mobile="1"] .tax-tasks-page .tax-task-stats,
body.gt-mobile-ops .tax-tasks-page .tax-task-stats {
  display: flex !important;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

html[data-gt-mobile="1"] .tax-tasks-page .tax-stat-card,
body.gt-mobile-ops .tax-tasks-page .tax-stat-card {
  flex: 0 0 auto;
  min-width: 96px;
  border-radius: 8px !important;
}

html[data-gt-mobile="1"] .tax-tasks-page .tax-task-card,
body.gt-mobile-ops .tax-tasks-page .tax-task-card {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

html[data-gt-mobile="1"] .tax-tasks-page .tax-task-toolbar,
body.gt-mobile-ops .tax-tasks-page .tax-task-toolbar {
  margin-bottom: 10px;
}

html[data-gt-mobile="1"] body.gt-mobile-native .quotation-actions,
html[data-gt-mobile="1"] body.gt-mobile-native .contract-actions,
body.gt-mobile-native .quotation-actions,
body.gt-mobile-native .contract-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--gt-native-border) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .quotation-actions .btn,
html[data-gt-mobile="1"] body.gt-mobile-native .quotation-actions button,
html[data-gt-mobile="1"] body.gt-mobile-native .contract-actions .btn,
html[data-gt-mobile="1"] body.gt-mobile-native .contract-actions button,
body.gt-mobile-native .quotation-actions .btn,
body.gt-mobile-native .quotation-actions button,
body.gt-mobile-native .contract-actions .btn,
body.gt-mobile-native .contract-actions button {
  min-height: 40px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  flex: 1 1 calc(33% - 8px) !important;
  min-width: 72px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .modal,
body.gt-mobile-native .modal {
  align-items: flex-end !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .modal-content,
body.gt-mobile-native .modal-content {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 16px 16px 0 0 !important;
  max-height: 92vh !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .qt-toolbar-top,
html[data-gt-mobile="1"] body.gt-mobile-native .ct-toolbar-top,
body.gt-mobile-native .qt-toolbar-top,
body.gt-mobile-native .ct-toolbar-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  background: var(--gt-native-bg) !important;
  padding: 8px 0 !important;
  margin-bottom: 8px !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .form-grid,
html[data-gt-mobile="1"] body.gt-mobile-native .form-row,
body.gt-mobile-native .form-grid,
body.gt-mobile-native .form-row {
  grid-template-columns: 1fr !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .form-actions,
html[data-gt-mobile="1"] body.gt-mobile-native .page-actions,
html[data-gt-mobile="1"] body.gt-mobile-native .qt-form-footer,
html[data-gt-mobile="1"] body.gt-mobile-native .ct-form-footer,
body.gt-mobile-native .form-actions,
body.gt-mobile-native .page-actions,
body.gt-mobile-native .qt-form-footer,
body.gt-mobile-native .ct-form-footer {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 20 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  background: #fff !important;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid var(--gt-native-border, #e2e8f0) !important;
}

html[data-gt-mobile="1"] body.gt-mobile-native .form-actions .btn,
html[data-gt-mobile="1"] body.gt-mobile-native .page-actions .btn,
body.gt-mobile-native .form-actions .btn,
body.gt-mobile-native .page-actions .btn {
  min-height: 44px !important;
  cursor: pointer;
}

html[data-gt-mobile="1"] body.gt-mobile-native .gt-dd-list-row .gt-dd-row-title,
body.gt-mobile-native .gt-dd-list-row .gt-dd-row-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[data-gt-mobile="1"] body.gt-mobile-native .empty-icon,
body.gt-mobile-native .empty-icon {
  font-size: 0 !important;
}

.gt-dd-brief {
  width: 100%;
  min-height: 64px;
  border: 1px solid var(--gt-native-border, #e2e8f0);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: grid;
  gap: 4px;
}

.gt-dd-brief:active {
  background: #f8fafc;
  border-color: #7dd3fc;
}

.gt-dd-brief strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--gt-native-text, #0f172a);
}

.gt-dd-brief em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: var(--gt-native-text-secondary, #475569);
}

html[data-gt-mobile="1"] body.gt-mobile-native .ai-ops-llm-cfg,
body.gt-mobile-native .ai-ops-llm-cfg {
  grid-template-columns: 1fr !important;
}

@media (prefers-reduced-motion: reduce) {
  .gt-dd-refresh.spinning svg,
  .gt-home-refresh.spinning svg {
    animation: none !important;
  }
}

/* —— 手机侧栏：钉钉浅色抽屉，压过桌面深色菜单字色 —— */
html[data-gt-mobile="1"] aside#app-sidebar.app-sidebar,
html[data-gt-mobile="1"] body.gt-mobile-native aside#app-sidebar.app-sidebar,
html[data-gt-mobile="1"] body.gt-mobile-ops aside#app-sidebar.app-sidebar {
  position: fixed !important;
  left: 0 !important;
  top: calc(var(--gt-native-header-h, 56px) + env(safe-area-inset-top, 0px)) !important;
  right: auto !important;
  bottom: var(--gt-mobile-bottom-h, 56px) !important;
  height: auto !important;
  max-height: none !important;
  width: min(82vw, 320px) !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border-right: 1px solid #e5e6eb !important;
  box-shadow: 8px 0 28px rgba(15, 23, 42, 0.16) !important;
  color: #111111 !important;
  z-index: 1250 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: translateX(-105%);
  transition: transform 0.22s ease;
}

html[data-gt-mobile="1"] aside#app-sidebar.app-sidebar.gt-mobile-open,
html[data-gt-mobile="1"] body.gt-mobile-native aside#app-sidebar.app-sidebar.gt-mobile-open {
  transform: translateX(0) !important;
  z-index: 1280 !important;
  pointer-events: auto !important;
}

html[data-gt-mobile="1"] .gt-mobile-sidebar-mask,
html[data-gt-mobile="1"] body.gt-mobile-native .gt-mobile-sidebar-mask {
  inset: calc(var(--gt-native-header-h, 56px) + env(safe-area-inset-top, 0px)) 0 var(--gt-mobile-bottom-h, 56px) 0 !important;
  background: rgba(15, 23, 42, 0.46) !important;
  z-index: 1200 !important;
  pointer-events: none;
}

html[data-gt-mobile="1"] .gt-mobile-sidebar-mask.show,
html[data-gt-mobile="1"] body.gt-drawer-open .gt-mobile-sidebar-mask.show {
  pointer-events: auto;
  left: min(82vw, 320px) !important;
}

html[data-gt-mobile="1"] #app,
html[data-gt-mobile="1"] .app-container,
html[data-gt-mobile="1"] .app-body,
html[data-gt-mobile="1"] .app-main {
  z-index: auto !important;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-drawer-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
  padding: 16px 16px 14px;
  background: #fff !important;
  border-bottom: 1px solid #e5e6eb;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock {
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid #e5e6eb;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
  min-height: 48px;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock-copy strong {
  font-size: 14px;
  font-weight: 700;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock-copy em {
  font-style: normal;
  font-size: 12px;
  color: #64748b;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock-switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  flex-shrink: 0;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  transition: transform 0.16s ease;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock.is-locked {
  background: #fff7ed;
  border-color: #fdba74;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock.is-locked .gt-dd-remote-lock-switch {
  background: #ea580c;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-remote-lock.is-locked .gt-dd-remote-lock-switch::after {
  transform: translateX(18px);
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-bio-lock.is-locked {
  background: #eff6ff;
  border-color: #93c5fd;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-bio-lock.is-locked .gt-dd-remote-lock-switch {
  background: #2563eb;
}

.gt-mobile-bio-overlay {
  position: fixed;
  inset: 0;
  z-index: 140000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 50% 18%, rgba(3, 105, 161, 0.22), transparent 52%),
    rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overscroll-behavior: contain;
  touch-action: manipulation;
}

.gt-mobile-bio-overlay[hidden] {
  display: none !important;
}

.gt-mobile-bio-overlay.is-success .gt-mobile-bio-icon {
  color: #047857;
  background: #ecfdf5;
  transition: color 180ms ease, background 180ms ease;
}

body.gt-mobile-bio-locked {
  overflow: hidden;
}

.gt-mobile-bio-card {
  width: min(400px, 100%);
  padding: 28px 24px 22px;
  border-radius: 20px;
  background: #ffffff;
  color: #020617;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.gt-mobile-bio-brand {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.gt-mobile-bio-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #0369a1;
  background: #e0f2fe;
}

.gt-mobile-bio-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 750;
  color: #0f172a;
}

.gt-mobile-bio-text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.gt-mobile-bio-hint {
  min-height: 1.4em;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #b45309;
}

.gt-mobile-bio-actions {
  display: grid;
  gap: 10px;
}

.gt-mobile-bio-primary,
.gt-mobile-bio-secondary {
  min-height: 48px;
  min-width: 44px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 120ms ease;
}

.gt-mobile-bio-primary:focus-visible,
.gt-mobile-bio-secondary:focus-visible {
  outline: 3px solid rgba(3, 105, 161, 0.45);
  outline-offset: 2px;
}

.gt-mobile-bio-primary:active,
.gt-mobile-bio-secondary:active {
  transform: scale(0.98);
}

.gt-mobile-bio-primary {
  background: #0369a1;
  color: #fff;
}

.gt-mobile-bio-primary:disabled {
  opacity: 0.65;
}

.gt-mobile-bio-secondary {
  background: #f1f5f9;
  color: #334155;
}

@media (prefers-reduced-motion: reduce) {
  .gt-mobile-bio-primary,
  .gt-mobile-bio-secondary,
  .gt-mobile-bio-overlay.is-success .gt-mobile-bio-icon {
    transition: none;
  }

  .gt-mobile-bio-primary:active,
  .gt-mobile-bio-secondary:active {
    transform: none;
  }
}

html[data-gt-mobile="1"] #sidebar-footer .sidebar-user,
html[data-gt-mobile="1"] body.gt-mobile-native #sidebar-footer .sidebar-user {
  display: none !important;
}

html[data-gt-mobile="1"] #app-sidebar .menu-group-label {
  display: none !important;
}

html[data-gt-mobile="1"] #app-sidebar img {
  max-width: 48px;
  max-height: 48px;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-drawer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e8f3ff;
  color: #0089ff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-drawer-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-drawer-meta strong {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-drawer-meta em {
  font-style: normal;
  font-size: 12px;
  color: #888888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-gt-mobile="1"] #main-menu.sidebar-menu,
html[data-gt-mobile="1"] body.gt-mobile-native #main-menu.sidebar-menu {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  background: #ffffff !important;
  padding: 8px 10px 12px !important;
  gap: 2px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

html[data-gt-mobile="1"] #app-sidebar .gt-dd-drawer-label {
  font-size: 12px;
  font-weight: 600;
  color: #8d8d8d;
  padding: 12px 12px 4px;
  letter-spacing: 0.02em;
}

html[data-gt-mobile="1"] #app-sidebar .menu-item,
html[data-gt-mobile="1"] body.gt-mobile-native #app-sidebar .menu-item {
  color: #111111 !important;
  background: transparent !important;
  min-height: 48px !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  gap: 12px !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

html[data-gt-mobile="1"] #app-sidebar .menu-item .menu-text {
  color: inherit !important;
  font-size: 16px !important;
  font-weight: inherit !important;
}

html[data-gt-mobile="1"] #app-sidebar .menu-item .menu-icon,
html[data-gt-mobile="1"] body.gt-mobile-native #app-sidebar .menu-item .menu-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 10px !important;
  background: #f2f3f5 !important;
  color: #0089ff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html[data-gt-mobile="1"] #app-sidebar .menu-item .menu-icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}

html[data-gt-mobile="1"] #app-sidebar .menu-item.active,
html[data-gt-mobile="1"] body.gt-mobile-native #app-sidebar .menu-item.active {
  background: #e8f3ff !important;
  color: #0089ff !important;
  font-weight: 650 !important;
}

html[data-gt-mobile="1"] #app-sidebar .menu-item.active .menu-icon {
  background: #d6ebff !important;
  color: #0089ff !important;
}

html[data-gt-mobile="1"] #app-sidebar .menu-item:active {
  background: #f2f3f5 !important;
}

html[data-gt-mobile="1"] #app-sidebar .gt-mobile-desktop-hint {
  color: #b45309 !important;
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  font-size: 10px !important;
  font-weight: 700;
  margin-left: auto;
}

html[data-gt-mobile="1"] #sidebar-footer.sidebar-footer,
html[data-gt-mobile="1"] body.gt-mobile-native #sidebar-footer.sidebar-footer {
  background: #f8f9fb !important;
  border-top: 1px solid #e5e6eb !important;
  padding: 8px 10px 10px !important;
  margin: 0 !important;
}

html[data-gt-mobile="1"] #sidebar-footer .sidebar-footer-item,
html[data-gt-mobile="1"] body.gt-mobile-native #sidebar-footer .sidebar-footer-item {
  color: #111111 !important;
  min-height: 44px !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

html[data-gt-mobile="1"] #sidebar-footer .sidebar-footer-item .footer-icon {
  color: #0089ff !important;
}

html[data-gt-mobile="1"] #sidebar-footer .sidebar-footer-item[data-action="logout"],
html[data-gt-mobile="1"] #sidebar-footer .sidebar-footer-item[data-action="logout"] .footer-icon {
  color: #e53935 !important;
}

html[data-gt-mobile="1"] #sidebar-footer .sidebar-footer-item:active {
  background: #eef0f3 !important;
}

html[data-gt-mobile="1"] #sidebar-footer .sidebar-user,
html[data-gt-mobile="1"] body.gt-mobile-native #sidebar-footer .sidebar-user {
  background: transparent !important;
  cursor: pointer;
  margin-bottom: 8px;
  padding: 8px 0;
  justify-content: center;
}
html[data-gt-mobile="1"] #sidebar-footer .gt-avatar-stack--sidebar .gt-avatar-face {
  width: 40px;
  height: 40px;
  box-shadow: 0 0 0 2px #fff;
}
html[data-gt-mobile="1"] #sidebar-footer .gt-avatar-item {
  margin-right: 0;
}
html[data-gt-mobile="1"] #sidebar-footer .sidebar-user-meta,
html[data-gt-mobile="1"] #sidebar-footer .sidebar-user-name,
html[data-gt-mobile="1"] #sidebar-footer .sidebar-user-role {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html[data-gt-mobile="1"] aside#app-sidebar.app-sidebar {
    transition: none !important;
  }
}



