/* Merchant workspace and Telegram entry, styled from the local Spike reference. */
body.merchant-shell-body,
body.merchant-shell-body .merchant-shell,
body.merchant-login-screen {
  --user-card: #fff;
  --user-line: #e5eaef;
  --user-line-soft: #eff3f6;
  --user-muted: #707a82;
  --user-text: #2a3547;
  --user-cyan: #0085db;
  --user-blue: #0085db;
  --user-green: #159663;
  --text: #2a3547;
  --muted: #707a82;
  --line: #e5eaef;
  --cyan: #0085db;
  --cyan-dark: #0074c1;
  --blue: #0085db;
  --green: #159663;
  --purple: #8763da;
  --merchant-shadow: 0 2px 6px rgba(37, 83, 185, .1);
  color: #2a3547;
  background: #f0f5f9;
  font-family: "Plus Jakarta Sans", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.merchant-shell-body .merchant-shell { display: block; min-height: 100vh; background: #f0f5f9; }
body.merchant-shell-body .merchant-shell .sidebar { position: fixed; inset: 20px auto 20px 20px; z-index: 80; display: flex; flex-direction: column; width: 270px; height: calc(100dvh - 40px); min-height: 0; overflow-x: hidden; overflow-y: auto; color: #2a3547; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--merchant-shadow); transform: none; transition: width 180ms ease, transform 180ms ease; scrollbar-width: thin; scrollbar-color: #dce5ec transparent; }
body.merchant-shell-body .merchant-shell .sidebar::-webkit-scrollbar-thumb { background: #dce5ec; }
body.merchant-shell-body .merchant-shell .brand,
body.merchant-login-screen .merchant-auth-brand { display: flex; align-items: center; flex-shrink: 0; gap: 11px; height: 88px; padding: 20px 24px; color: #111c2d; border: 0; background: transparent; }
body.merchant-shell-body .merchant-shell .brand-mark,
body.merchant-login-screen .brand-mark { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; color: #fff; border: 0; border-radius: 12px; background: #0085db; font-size: 23px; font-weight: 700; }
body.merchant-shell-body .brand-mark svg,
body.merchant-login-screen .brand-mark svg { display: block; width: 25px; height: 25px; }
body.merchant-shell-body .merchant-shell .brand strong,
body.merchant-login-screen .merchant-auth-brand strong { display: grid; gap: 2px; min-width: 0; color: #111c2d; font-size: 17px; font-weight: 700; letter-spacing: -.5px; line-height: 1.45; }
body.merchant-shell-body .brand strong small,
body.merchant-login-screen .merchant-auth-brand small { display: block; color: #707a82; font-size: 10px; font-weight: 400; letter-spacing: 1.5px; }
body.merchant-shell-body .merchant-shell .nav-group-title { margin: 8px 0 10px; padding: 0 24px; color: #86919d; font-size: 11px; font-weight: 500; letter-spacing: 1.1px; }
body.merchant-shell-body .merchant-shell .sidebar nav { padding: 0 16px; }
body.merchant-shell-body .merchant-shell .nav-item { display: flex; align-items: center; gap: 13px; height: 48px; margin: 3px 0; padding: 0 10px; color: #465467; background: transparent; border: 0; border-radius: 10px; box-shadow: none; font-size: 13px; font-weight: 400; white-space: nowrap; transition: background 140ms ease, color 140ms ease; }
body.merchant-shell-body .merchant-shell .nav-item::before { display: none; }
body.merchant-shell-body .merchant-shell .nav-icon { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; padding: 6px; border-radius: 9px; color: #0085db; background: #e5f3fb; font-size: 18px; }
body.merchant-shell-body .nav-icon svg { display: block; width: 20px; height: 20px; }
body.merchant-shell-body .sidebar nav:nth-of-type(2) .nav-icon { color: #8763da; background: #f1ebff; }
body.merchant-shell-body .sidebar nav:nth-of-type(3) .nav-icon { color: #269bbb; background: #e1f5fa; }
body.merchant-shell-body .merchant-shell .nav-item:hover { color: #0085db; background: #f6f9fc; border: 0; box-shadow: none; }
body.merchant-shell-body .merchant-shell .nav-item.active { color: #0085db; background: #e5f3fb; border: 0; box-shadow: none; font-weight: 600; }
body.merchant-shell-body .merchant-shell .nav-item.active .nav-icon { color: #fff; background: #0085db; }
body.merchant-shell-body .merchant-shell .nav-item em { width: 18px; min-width: 18px; height: 18px; font-size: 10px; font-weight: 500; color: #0085db; background: transparent; }
body.merchant-shell-body .merchant-shell .sub-nav-wrap { margin: 3px 0 10px 22px; padding: 0 0 0 30px; border: 0; border-left: 1px solid #e5eaef; border-radius: 0; background: transparent; }
body.merchant-shell-body .merchant-shell .sub-nav { padding: 8px 0; color: #707a82; font-size: 12px; }
body.merchant-shell-body .merchant-shell .sub-nav.active,
body.merchant-shell-body .merchant-shell .sub-nav:hover { color: #0085db; }
body.merchant-shell-body .merchant-sidebar-footer { margin-top: auto; padding: 25px 20px 20px; }
body.merchant-shell-body .merchant-account-card { display: flex; align-items: center; gap: 9px; padding: 13px 12px; background: #f5f8fb; border-radius: 10px; }
body.merchant-shell-body .merchant-account-card > div { display: grid; min-width: 0; }
body.merchant-shell-body .merchant-account-card strong { max-width: 130px; overflow: hidden; color: #2a3547; font-size: 12px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
body.merchant-shell-body .merchant-account-card small { color: #86919d; font-size: 10px; }
body.merchant-shell-body .merchant-account-card > a { display: grid; flex: 0 0 24px; place-items: center; width: 24px; height: 28px; margin-left: auto; color: #707a82; border-radius: 5px; }
body.merchant-shell-body .merchant-account-card > a:hover { color: #0085db; background: #e5f3fb; }
body.merchant-shell-body .merchant-account-card > a svg { width: 17px; height: 17px; }
body.merchant-shell-body .merchant-avatar { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #0085db; background: #e5f3fb; font-size: 13px; font-weight: 600; }
body.merchant-shell-body .merchant-avatar svg { width: 20px; height: 20px; }
body.merchant-shell-body .merchant-drawer-close,
body.merchant-shell-body .merchant-sidebar-backdrop { display: none; }

body.merchant-shell-body .merchant-shell .workspace { min-width: 0; width: auto; min-height: 100vh; margin-left: 290px; padding: 20px 30px 0; overflow: visible; background: transparent; transition: margin-left 180ms ease; }
body.merchant-shell-body .merchant-shell .topbar { position: sticky; top: 20px; z-index: 50; display: flex; align-items: center; flex-wrap: nowrap; gap: 16px; width: 100%; max-width: 1500px; height: 75px; min-height: 75px; margin: 0 auto 28px; padding: 0 24px; color: #2a3547; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--merchant-shadow); backdrop-filter: none; }
body.merchant-shell-body .merchant-shell .merchant-sidebar-toggle { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; color: #546373; border: 0; border-radius: 50%; background: transparent; }
body.merchant-shell-body .merchant-sidebar-toggle svg { width: 22px; height: 22px; }
body.merchant-shell-body .merchant-shell .merchant-sidebar-toggle:hover { color: #0085db; background: #e5f3fb; }
body.merchant-shell-body .merchant-header-title { display: grid; gap: 0; min-width: 0; }
body.merchant-shell-body .merchant-header-title small { color: #8b95a1; font-size: 10px; letter-spacing: .4px; }
body.merchant-shell-body .merchant-header-title strong { overflow: hidden; color: #111c2d; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
body.merchant-shell-body .merchant-shell .merchant-switch { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0; color: #2a3547; border: 0; border-radius: 0; background: transparent; font-size: 12px; font-weight: 500; }
body.merchant-shell-body .merchant-switch > span:not(.merchant-avatar),
body.merchant-shell-body .merchant-switch > div { display: grid; gap: 0; }
body.merchant-shell-body .merchant-switch strong { max-width: 160px; overflow: hidden; font-size: 12px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
body.merchant-shell-body .merchant-switch small { color: #86919d; font-size: 10px; font-weight: 400; }
body.merchant-shell-body .merchant-shell .logout-link { display: grid; place-items: center; min-height: 30px; padding: 5px; color: #707a82; border: 0; border-radius: 6px; font-size: 12px; }
body.merchant-shell-body .logout-link svg { display: block; width: 18px; height: 18px; }
body.merchant-shell-body .merchant-shell .logout-link:hover { color: #0085db; background: #f6f9fc; }
body.merchant-shell-body .merchant-content { width: 100%; max-width: 1500px; margin: 0 auto; }
body.merchant-shell-body .merchant-workspace-footer { display: flex; justify-content: space-between; gap: 16px; width: 100%; max-width: 1500px; margin: 0 auto; padding: 22px 2px; color: #86919d; font-size: 11px; }
body.merchant-shell-body .merchant-workspace-footer a { color: #0085db; }

body.merchant-shell-body .merchant-shell .page-head { position: static; margin: 0 0 24px; padding: 0 0 3px; border: 0; background: transparent; }
body.merchant-shell-body .merchant-shell .page-head::before { display: none; }
body.merchant-shell-body .merchant-shell .page-head h1 { margin: 0 0 6px; color: #111c2d; font-size: 25px; font-weight: 600; letter-spacing: -.6px; }
body.merchant-shell-body .merchant-shell .page-head p { color: #707a82; font-size: 13px; line-height: 1.8; }
body.merchant-shell-body .merchant-shell :is(.income-chart-panel, .quick-start-panel, .channel-brief-panel, .content-band, .profile-panel, .list-panel, .mini-card) { margin: 0 0 24px; }
body.merchant-shell-body .merchant-shell :is(.welcome-panel, .channel-panel, .content-band, .plain-panel, .profile-panel, .list-panel, .mini-card, .support-card, .income-chart-panel, .quick-start-panel, .channel-brief-panel) { min-width: 0; border: 0; border-radius: 10px; background: #fff; box-shadow: var(--merchant-shadow); }
body.merchant-shell-body .merchant-shell .metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px; padding: 0; }
body.merchant-shell-body .merchant-shell .metric { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; min-height: 116px; padding: 22px 24px; color: #2a3547; border: 0; border-radius: 10px; background: #fff; box-shadow: var(--merchant-shadow); text-align: left; }
body.merchant-shell-body .merchant-shell .metric::after { display: none; }
body.merchant-shell-body .merchant-shell .metric > div { justify-content: flex-start; gap: 4px; }
body.merchant-shell-body .merchant-shell .metric strong { color: #111c2d; font-size: 27px; font-weight: 600; letter-spacing: -.7px; overflow-wrap: anywhere; }
body.merchant-shell-body .merchant-shell .metric span { color: #86919d; font-size: 11px; }
body.merchant-shell-body .merchant-shell .metric p { margin: 0; padding: 0; color: #707a82; font-size: 12px; font-weight: 400; }
body.merchant-shell-body .merchant-shell .metric.purple strong { color: #8763da; }
body.merchant-shell-body .merchant-shell .metric.green strong { color: #159663; }
body.merchant-shell-body .merchant-shell .metric.blue strong { color: #0085db; }
body.merchant-shell-body .merchant-shell .metric.dark strong { color: #111c2d; }
body.merchant-shell-body .merchant-shell .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 24px; margin: 0 0 24px; padding: 0; }
body.merchant-shell-body .merchant-shell .welcome-actions { height: 72px; padding: 22px 24px 0; background: #e5f3fb; }
body.merchant-shell-body .merchant-shell .pill-button { min-height: 29px; padding: 0 12px; color: #0085db; background: #fff; border: 0; border-radius: 6px; font-size: 11px; font-weight: 500; }
body.merchant-shell-body .merchant-shell .avatar-bag { width: 68px; height: 68px; top: -29px; color: #0085db; background: #e5f3fb; border: 4px solid #fff; border-radius: 50%; box-shadow: none; font-size: 34px; }
body.merchant-shell-body .merchant-shell .avatar-bag svg { display: block; width: 32px; height: 32px; }
body.merchant-shell-body .merchant-shell .welcome-card { min-height: 142px; }
body.merchant-shell-body .merchant-shell .welcome-card h2 { margin: 45px 0 7px; color: #2a3547; font-size: 22px; font-weight: 500; }
body.merchant-shell-body .merchant-shell .welcome-card p { margin: 0; color: #86919d; font-size: 12px; }
body.merchant-shell-body .merchant-shell .welcome-card strong { color: #159663; font-weight: 500; }
body.merchant-shell-body .merchant-shell .income-strip { min-height: 83px; border-top: 1px solid #eff3f6; background: #fff; }
body.merchant-shell-body .merchant-shell .income-strip > div + div { border-left: 1px solid #eff3f6; }
body.merchant-shell-body .merchant-shell .income-strip strong { color: #2a3547; font-size: 23px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .income-strip span { color: #86919d; font-size: 11px; }
body.merchant-shell-body .merchant-shell .income-strip p { color: #707a82; font-size: 11px; font-weight: 400; }
body.merchant-shell-body .merchant-shell .channel-panel header { display: flex; align-items: center; justify-content: flex-start; height: 64px; padding: 0 26px; color: #111c2d; border-bottom: 1px solid #eff3f6; background: #fff; font-size: 17px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .channel-table { background: #fff; }
body.merchant-shell-body .merchant-shell .channel-table > div { min-height: 42px; padding: 10px 26px; color: #60758b; border-color: #eff3f6; font-size: 12px; }
body.merchant-shell-body .merchant-shell .channel-title { color: #0085db; background: #f8fafc; font-size: 13px; }
body.merchant-shell-body .merchant-shell .income-chart-panel { padding: 26px; }
body.merchant-shell-body .merchant-shell .income-chart-panel header { margin-bottom: 18px; padding-bottom: 18px; border-color: #eff3f6; }
body.merchant-shell-body .merchant-shell .income-chart-panel header strong { color: #111c2d; font-size: 17px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .income-chart-panel header b { color: #0085db; font-size: 24px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .income-chart-panel header :is(span, small) { color: #86919d; font-size: 11px; }
body.merchant-shell-body .merchant-shell .income-chart { height: 230px; gap: 20px; padding-top: 0; }
body.merchant-shell-body .merchant-shell .income-chart-track { height: 145px; padding: 0 8px; border: 0; border-bottom: 1px solid #e5eaef; border-radius: 0; background: #f8fbfd; }
body.merchant-shell-body .merchant-shell .income-chart-track span { width: min(40px, 75%); border-radius: 5px 5px 0 0; background: #0085db; box-shadow: none; }
body.merchant-shell-body .merchant-shell .income-chart-day strong { color: #707a82; font-size: 11px; font-weight: 500; }
body.merchant-shell-body .merchant-shell .income-chart-day em { color: #465467; font-size: 11px; }
body.merchant-shell-body .merchant-shell .income-chart-day small { color: #86919d; font-size: 10px; }
body.merchant-shell-body .merchant-shell .quick-start-panel { padding: 26px; }
body.merchant-shell-body .merchant-shell .quick-start-panel header { align-items: center; margin-bottom: 20px; }
body.merchant-shell-body .merchant-shell .quick-start-panel header strong { color: #111c2d; font-size: 17px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .quick-start-panel header span { color: #86919d; font-size: 11px; }
body.merchant-shell-body .merchant-shell .quick-start-grid { gap: 18px; }
body.merchant-shell-body .merchant-shell .quick-start-grid a { min-height: 88px; gap: 12px; padding: 18px; border: 1px solid #e5eaef; border-radius: 8px; background: #fff; }
body.merchant-shell-body .merchant-shell .quick-start-grid a:hover { border-color: #b7dff8; box-shadow: none; transform: none; background: #f8fbfd; }
body.merchant-shell-body .merchant-shell .quick-start-grid b { flex: 0 0 32px; width: 32px; height: 32px; color: #0085db; border-radius: 50%; background: #e5f3fb; font-size: 13px; }
body.merchant-shell-body .merchant-shell .quick-start-grid span { color: #60758b; font-size: 12px; font-weight: 400; }
body.merchant-shell-body .merchant-shell .channel-brief-hero { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; color: #2a3547; background: #e5f3fb; }
body.merchant-shell-body .merchant-shell .channel-brief-hero > div { padding: 27px 30px; }
body.merchant-shell-body .merchant-shell .channel-brief-kicker { min-height: 0; padding: 0; color: #0085db; border: 0; background: transparent; font-size: 11px; font-weight: 500; }
body.merchant-shell-body .merchant-shell .channel-brief-hero h2 { margin: 8px 0; color: #111c2d; font-size: 24px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .channel-brief-hero p { color: #60758b; font-size: 12px; }
body.merchant-shell-body .merchant-shell .channel-brief-hero aside { padding: 26px 30px; color: #0085db; border: 0; background: transparent; }
body.merchant-shell-body .merchant-shell .channel-brief-hero aside strong { color: #0085db; font-size: 25px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .channel-brief-hero aside span { color: #60758b; font-size: 11px; }
body.merchant-shell-body .merchant-shell .channel-brief-body { gap: 20px; padding: 24px 26px; }
body.merchant-shell-body .merchant-shell .channel-brief-card { padding: 20px; border-color: #e5eaef; background: #f8fafc; }
body.merchant-shell-body .merchant-shell .channel-brief-card.forbidden { background: #fff7f4; border-color: #f8e4dc; }
body.merchant-shell-body .merchant-shell .channel-brief-card b { color: #2a3547; font-size: 13px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .channel-brief-card p { color: #707a82; font-size: 12px; }
body.merchant-shell-body .merchant-shell .channel-brief-card.forbidden p { color: #b66b58; }
body.merchant-shell-body .merchant-shell .channel-brief-tags span { padding: 4px 8px; border: 0; border-radius: 5px; color: #60758b; background: #fff; font-size: 11px; }
body.merchant-shell-body .merchant-shell .channel-brief-facts { gap: 18px; padding: 0 26px 26px; }
body.merchant-shell-body .merchant-shell .channel-brief-facts div { padding: 15px; border-color: #eff3f6; background: #fff; }
body.merchant-shell-body .merchant-shell .channel-brief-facts b { color: #2a3547; font-size: 12px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .channel-brief-facts span { color: #86919d; font-size: 11px; }

body.merchant-shell-body .merchant-shell :is(input, select, textarea) { min-height: 44px; padding: 10px 13px; color: #2a3547; border: 1px solid #dfe5ef; border-radius: 7px; background: #fff; box-shadow: none; font: inherit; font-size: 13px; transition: border-color 140ms ease, box-shadow 140ms ease; }
body.merchant-shell-body .merchant-shell :is(input, select, textarea):focus { outline: 0; border-color: #0085db; box-shadow: 0 0 0 3px rgba(0, 133, 219, .1); }
body.merchant-shell-body .merchant-shell :is(input, textarea)::placeholder { color: #98a1ae; font-size: 12px; }
body.merchant-shell-body .merchant-shell input[readonly],
body.merchant-shell-body .merchant-shell textarea[readonly] { color: #60758b; background: #f8fafc; }
body.merchant-shell-body .merchant-shell :is(.info-button, .primary-button, .green-button, .search-button, .wide-purple, .support-button, .table-button, .danger-button, .reset-button, .secondary-button) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 8px 14px; border: 1px solid #0085db; border-radius: 7px; color: #fff; background: #0085db; font: inherit; font-size: 12px; font-weight: 500; line-height: 1.5; cursor: pointer; }
body.merchant-shell-body .merchant-shell :is(.info-button, .primary-button, .green-button, .search-button, .wide-purple, .support-button):hover { border-color: #0074c1; background: #0074c1; }
body.merchant-shell-body .merchant-shell .danger-button { color: #ca654f; border-color: #f8d8cf; background: #ffede9; }
body.merchant-shell-body .merchant-shell .danger-button:hover { background: #ffe1d9; }
body.merchant-shell-body .merchant-shell :is(.reset-button, .secondary-button) { color: #465467; border-color: #dfe5ef; background: #fff; }
body.merchant-shell-body .merchant-shell :is(.reset-button, .secondary-button):hover { color: #0085db; background: #f8fbfd; }
body.merchant-shell-body .merchant-shell .table-button { min-height: 29px; padding: 5px 10px; color: #0085db; border-color: #d0e9f9; background: #e5f3fb; font-size: 11px; }
body.merchant-shell-body .merchant-shell .table-button:hover { background: #d4ecfb; }
body.merchant-shell-body .merchant-shell button:disabled,
body.merchant-shell-body .merchant-shell .disabled { opacity: .55; cursor: not-allowed; }
body.merchant-shell-body :is(button, a):focus-visible,
body.merchant-login-screen a:focus-visible { outline: 2px solid #0085db; outline-offset: 3px; }
body.merchant-shell-body .merchant-shell .notice-banner { margin: 0 0 20px; padding: 13px 17px; border: 1px solid #bfead8; border-radius: 8px; color: #148653; background: #edfbf5; font-size: 13px; }
body.merchant-shell-body .merchant-shell .notice-banner.error { color: #bd604c; border-color: #f8d8cf; background: #ffede9; }
body.merchant-shell-body .merchant-shell .profile-panel { padding: 0 26px 26px; overflow: hidden; }
body.merchant-shell-body .merchant-shell .profile-tabs { display: flex; width: 100%; margin: 0 0 28px; border-bottom: 1px solid #e5eaef; }
body.merchant-shell-body .merchant-shell .profile-tabs a { height: 62px; padding: 0 22px; color: #707a82; border: 0; background: #fff; font-size: 13px; font-weight: 500; }
body.merchant-shell-body .merchant-shell .profile-tabs a.active { color: #0085db; background: #fff; box-shadow: inset 0 -2px 0 #0085db; }
body.merchant-shell-body .merchant-shell .profile-panel h2 { color: #111c2d; font-size: 15px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .profile-panel > h2 { margin: 24px 0 18px; padding: 0; }
body.merchant-shell-body .merchant-shell .profile-panel hr { margin: 24px 0; border: 0; border-top: 1px solid #eff3f6; }
body.merchant-shell-body .merchant-shell .api-form-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: start; max-width: 1000px; margin-bottom: 18px; padding: 0; }
body.merchant-shell-body .merchant-shell .api-form-row > label { padding-top: 12px; color: #60758b; font-size: 12px; font-weight: 500; text-align: right; }
body.merchant-shell-body .merchant-shell .copy-input { grid-template-columns: minmax(0, 1fr) 44px; }
body.merchant-shell-body .merchant-shell .copy-input :is(input, textarea) { border-radius: 7px 0 0 7px; background: #f8fafc; }
body.merchant-shell-body .merchant-shell .copy-input textarea { min-height: 140px; font-family: Consolas, monospace; font-size: 12px; line-height: 1.7; }
body.merchant-shell-body .merchant-shell .copy-input button { border-color: #dfe5ef; border-radius: 0 7px 7px 0; color: #0085db; background: #e5f3fb; font-weight: 500; }
body.merchant-shell-body .merchant-shell .api-actions { gap: 12px; margin: 0 0 20px 146px; padding: 0; }
body.merchant-shell-body .merchant-shell .notice-box { padding: 15px 18px; color: #60758b; border-color: #d0e9f9; border-radius: 8px; background: #f0f8fd; font-size: 12px; line-height: 1.8; }
body.merchant-shell-body .merchant-shell .settings-block,
body.merchant-shell-body .merchant-shell .empty-api { padding: 0; }
body.merchant-shell-body .merchant-shell .settings-block .wide-purple { min-width: 160px; margin-left: 146px; }
body.merchant-shell-body .merchant-shell .security-settings-grid { max-width: 900px; padding: 0; }
body.merchant-shell-body .merchant-shell .security-settings-block { padding: 22px; border-color: #e5eaef; border-radius: 8px; background: #f8fafc; }
body.merchant-shell-body .merchant-shell .security-settings-block .api-form-row { grid-template-columns: 130px minmax(0, 1fr); }
body.merchant-shell-body .merchant-shell .security-form-note { color: #86919d; font-size: 12px; line-height: 1.8; }
body.merchant-shell-body .merchant-shell .settings-title-row span { color: #0085db; background: #e5f3fb; border-radius: 5px; font-size: 11px; }
body.merchant-shell-body .merchant-shell .empty-api p { color: #707a82; font-size: 13px; }

body.merchant-shell-body .merchant-shell .list-panel { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #dce5ec #f8fafc; }
body.merchant-shell-body .merchant-table-wrap { width: 100%; overflow-x: auto; border-radius: 0 0 10px 10px; scrollbar-width: thin; scrollbar-color: #dce5ec #f8fafc; }
body.merchant-shell-body .merchant-shell :is(.list-panel, .mini-card) h2 { margin: 0; padding: 22px 26px; color: #111c2d; border-bottom: 1px solid #eff3f6; font-size: 17px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .list-panel h2 span { color: #86919d; font-size: 12px; font-weight: 400; }
body.merchant-shell-body .merchant-shell .filter-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; padding: 20px 26px; border-bottom: 1px solid #eff3f6; background: #fff; }
body.merchant-shell-body .merchant-shell .filter-row :is(input, select, button) { min-height: 40px; }
body.merchant-shell-body .merchant-shell .filter-row .arrow-button { color: #707a82; border-color: #dfe5ef; border-radius: 7px; background: #f8fafc; }
body.merchant-shell-body .merchant-shell .data-table { border-collapse: separate; border-spacing: 0; min-width: 900px; }
body.merchant-shell-body .merchant-shell .data-table :is(th, td) { padding: 15px 18px; color: #465467; border: 0; border-bottom: 1px solid #eff3f6; font-size: 12px; line-height: 1.6; vertical-align: middle; }
body.merchant-shell-body .merchant-shell .data-table th { color: #2a3547; background: #f8fafc; font-size: 12px; font-weight: 600; white-space: nowrap; }
body.merchant-shell-body .merchant-shell .data-table small { color: #86919d; font-size: 10px; }
body.merchant-shell-body .merchant-shell .data-table tbody tr:last-child td { border-bottom: 0; }
body.merchant-shell-body .merchant-shell .data-table tbody tr:hover td { background: #f8fbfd; }
body.merchant-shell-body .merchant-shell .data-table td:first-child strong { color: #2a3547; font-weight: 600; }
body.merchant-shell-body .merchant-shell .data-table .empty { padding: 44px 18px; color: #98a1ae; text-align: center; }
body.merchant-shell-body .merchant-shell .user-orders-table { min-width: 1190px; }
body.merchant-shell-body .merchant-shell .user-orders-table :is(th, td):last-child { box-shadow: -5px 0 10px rgba(37, 83, 185, .035); }
body.merchant-shell-body .merchant-shell .user-orders-table th:last-child { background: #f8fafc; }
body.merchant-shell-body .merchant-shell :is(.status, .status-pill) { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 9px; border: 0; border-radius: 20px; font-size: 11px; font-weight: 500; }
body.merchant-shell-body .merchant-shell :is(.status, .status-pill).paid { color: #138454; background: #dffff3; }
body.merchant-shell-body .merchant-shell :is(.status, .status-pill).pending { color: #a67526; background: #fff6ea; }
body.merchant-shell-body .merchant-shell :is(.status, .status-pill).refund { color: #c66b55; background: #ffede9; }
body.merchant-shell-body .merchant-shell .mini-card { width: auto; padding-bottom: 0; }
body.merchant-shell-body .merchant-shell .mini-card > p { margin: 20px 26px; color: #707a82; font-size: 13px; line-height: 1.8; }
body.merchant-shell-body .merchant-shell .copy-line { padding: 0 26px 26px; gap: 12px; }
body.merchant-shell-body .merchant-shell .wide-mini { width: 100%; max-width: 900px; }
body.merchant-shell-body .merchant-shell .settlements-workspace { grid-template-columns: minmax(310px, .65fr) minmax(0, 1.35fr); gap: 24px; margin: 0 0 24px; padding: 0; }
body.merchant-shell-body .merchant-shell .settlements-workspace > :is(.mini-card, .list-panel) { margin: 0; }
body.merchant-shell-body .merchant-shell .withdraw-card .withdraw-form { padding: 24px; gap: 16px; }
body.merchant-shell-body .merchant-shell .withdraw-choice { min-height: 60px; padding: 14px; color: #60758b; border-color: #e5eaef; border-radius: 8px; background: #f8fafc; font-size: 12px; }
body.merchant-shell-body .merchant-shell .withdraw-choice.primary { color: #0085db; border-color: #b7dff8; background: #e5f3fb; }
body.merchant-shell-body .merchant-shell .withdraw-choice strong { font-weight: 600; }
body.merchant-shell-body .merchant-shell .withdraw-form label { color: #465467; font-size: 12px; font-weight: 500; }
body.merchant-shell-body .merchant-shell .withdraw-destination { color: #60758b; border-color: #e5eaef; border-radius: 8px; background: #f8fafc; }
body.merchant-shell-body .merchant-shell .withdraw-destination :is(dt, dd) { color: #60758b; font-size: 11px; }
body.merchant-shell-body .merchant-shell .withdraw-note { color: #60758b; border-color: #d0e9f9; border-radius: 8px; background: #f0f8fd; font-size: 11px; line-height: 1.8; }
body.merchant-shell-body .merchant-shell .withdraw-card .wide-purple { min-height: 44px; }
body.merchant-shell-body .merchant-shell .settlement-filter-row { grid-template-columns: minmax(170px, 1fr) minmax(100px, 150px) minmax(100px, 150px); }
body.merchant-shell-body .merchant-shell .content-band { padding: 26px; }
body.merchant-shell-body .merchant-shell .support-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: start; gap: 20px; padding: 0; box-shadow: none; }
body.merchant-shell-body .merchant-shell .support-badge { display: grid; place-items: center; width: 56px; height: 56px; color: #0085db; border-radius: 14px; background: #e5f3fb; font-size: 21px; }
body.merchant-shell-body .merchant-shell .support-main h2 { margin: 0 0 10px; color: #111c2d; font-size: 19px; font-weight: 600; }
body.merchant-shell-body .merchant-shell .support-main p { margin: 0 0 18px; color: #707a82; font-size: 13px; line-height: 1.8; }
body.merchant-shell-body .merchant-shell .support-url-line { color: #86919d; font-size: 11px; }
body.merchant-shell-body .merchant-shell .support-url-line code { color: #60758b; border-color: #e5eaef; background: #f8fafc; font-size: 12px; }
body.merchant-shell-body .confirm-dialog { max-height: calc(100dvh - 36px); overflow-y: auto; border: 0; border-radius: 12px; box-shadow: 0 12px 40px rgba(37, 83, 185, .15); }
body.merchant-shell-body .confirm-dialog header { color: #111c2d; border-color: #eff3f6; background: #fff; }
body.merchant-shell-body .confirm-dialog .primary-button { min-height: 38px; padding: 8px 16px; border-radius: 7px; background: #0085db; font-size: 12px; font-weight: 500; }
body.merchant-shell-body .order-detail-dialog dl div { border-color: #eff3f6; }
body.merchant-shell-body .order-detail-dialog dt { color: #707a82; }
body.merchant-shell-body .order-detail-dialog dd { color: #2a3547; }

body.merchant-login-screen { display: grid; place-items: center; min-height: 100dvh; padding: 32px; background: #f0f5f9; background-image: none; }
body.merchant-login-screen .merchant-auth-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr); align-items: stretch; width: min(1080px, 100%); min-height: 650px; border-radius: 20px; background: #fff; box-shadow: 0 4px 22px rgba(37, 83, 185, .07); overflow: hidden; }
body.merchant-login-screen .merchant-auth-intro { position: relative; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 32px 44px 36px; background: #e5f3fb; }
body.merchant-login-screen .merchant-auth-brand { height: auto; margin-bottom: 42px; padding: 0; }
body.merchant-login-screen .merchant-auth-message { display: flex; flex: 1; flex-direction: column; align-items: flex-start; width: 100%; }
body.merchant-login-screen .merchant-auth-eyebrow { margin-bottom: 12px; color: #0085db; font-size: 10px; font-weight: 600; letter-spacing: 2px; }
body.merchant-login-screen .merchant-auth-intro h2 { margin: 0 0 16px; color: #111c2d; font-size: 34px; font-weight: 600; line-height: 1.45; letter-spacing: -1px; }
body.merchant-login-screen .merchant-auth-intro p { margin: 0; color: #60758b; font-size: 13px; line-height: 1.9; }
body.merchant-login-screen .merchant-auth-art { position: relative; width: min(360px, 100%); height: 225px; flex: 0 0 225px; align-self: center; margin: 22px auto 10px; }
body.merchant-login-screen .merchant-auth-art > svg { display: block; width: 100%; height: 100%; }
body.merchant-login-screen .merchant-auth-art-card { position: absolute; top: 35px; left: 38px; width: 245px; height: 156px; padding: 18px 21px; transform: rotate(-6deg); background: #fff; border: 1px solid #d9ecf9; border-radius: 12px; box-shadow: 0 7px 18px rgba(0, 133, 219, .09); }
body.merchant-login-screen .merchant-auth-art-card > span { display: flex; align-items: center; gap: 6px; color: #60758b; font-size: 10px; font-weight: 600; }
body.merchant-login-screen .merchant-auth-art-card > span svg { width: 14px; height: 14px; color: #0085db; }
body.merchant-login-screen .merchant-auth-art-bars { display: flex; align-items: flex-end; gap: 12px; height: 76px; margin-top: 11px; border-bottom: 1px solid #eff3f6; }
body.merchant-login-screen .merchant-auth-art-bars i { flex: 1; height: 37%; background: #a4d9fa; border-radius: 4px 4px 0 0; }
body.merchant-login-screen .merchant-auth-art-bars i:nth-child(2) { height: 58%; }
body.merchant-login-screen .merchant-auth-art-bars i:nth-child(3) { height: 46%; }
body.merchant-login-screen .merchant-auth-art-bars i:nth-child(4) { height: 70%; }
body.merchant-login-screen .merchant-auth-art-bars i:nth-child(5) { height: 60%; }
body.merchant-login-screen .merchant-auth-art-bars i:nth-child(6) { height: 87%; background: #0085db; }
body.merchant-login-screen .merchant-auth-art-bars i:nth-child(7) { height: 100%; background: #0085db; }
body.merchant-login-screen .merchant-auth-art-line { width: 54px; height: 4px; margin-top: 13px; background: #e5f3fb; border-radius: 3px; }
body.merchant-login-screen .merchant-auth-art-shield { position: absolute; top: 3px; right: 10px; display: grid; place-items: center; width: 68px; height: 76px; color: #0085db; border: 5px solid #e5f3fb; border-radius: 20px; background: #fff; box-shadow: 0 6px 16px rgba(0, 133, 219, .07); transform: rotate(9deg); }
body.merchant-login-screen .merchant-auth-art-shield svg { width: 37px; height: 37px; }
body.merchant-login-screen .merchant-auth-art-check { position: absolute; bottom: 12px; left: 13px; display: grid; place-items: center; width: 48px; height: 48px; color: #159663; background: #dffff3; border: 4px solid #e5f3fb; border-radius: 50%; font-size: 24px; font-weight: 600; }
body.merchant-login-screen .merchant-auth-points { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; color: #60758b; font-size: 11px; }
body.merchant-login-screen .merchant-auth-points span { display: inline-flex; align-items: center; gap: 6px; }
body.merchant-login-screen .merchant-auth-points svg { width: 15px; height: 15px; color: #0085db; }
body.merchant-login-screen .merchant-auth-copyright { display: block; margin-top: 32px; color: #8299ad; font-size: 10px; }
body.merchant-login-screen .merchant-auth-panel { display: grid; place-items: center; padding: 44px; }
body.merchant-login-screen .login-card { width: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
body.merchant-login-screen .login-card h1 { display: block; margin: 0 0 12px; color: #111c2d; text-align: left; font-size: 27px; font-weight: 600; letter-spacing: -.5px; line-height: 1.5; }
body.merchant-login-screen .login-card h1 > span { display: none; }
body.merchant-login-screen .login-pill { display: inline-block; width: auto; height: auto; margin: 0 0 12px; padding: 0; color: #0085db; background: transparent; border: 0; border-radius: 0; font-size: 12px; }
body.merchant-login-screen .merchant-auth-description { margin: 0 0 28px; color: #86919d; font-size: 12px; line-height: 1.8; }
body.merchant-login-screen .auth-entry-note { display: grid; gap: 7px; margin: 0 0 24px; padding: 19px 20px; border: 1px solid #e5eaef; border-radius: 8px; color: #60758b; background: #f8fafc; font-size: 12px; line-height: 1.8; }
body.merchant-login-screen .auth-entry-note p { margin: 0; color: #60758b; }
body.merchant-login-screen .auth-bot-entry { grid-template-columns: 38px minmax(0, 1fr); gap: 0 11px; min-height: 71px; padding: 13px 16px; color: #fff; border: 1px solid #0085db; border-radius: 8px; background: #0085db; box-shadow: 0 4px 10px rgba(0, 133, 219, .14); }
body.merchant-login-screen .auth-bot-entry > span { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .14); font-size: 21px; }
body.merchant-login-screen .auth-bot-entry strong { align-self: end; color: #fff; font-size: 13px; font-weight: 500; }
body.merchant-login-screen .auth-bot-entry em { grid-column: 2; align-self: start; color: #d6edfc; font-size: 11px; font-weight: 400; }
body.merchant-login-screen .auth-bot-entry:hover { color: #fff; border-color: #0074c1; background: #0074c1; }
body.merchant-login-screen .auth-bot-entry.muted { color: #707a82; border-color: #e5eaef; background: #f0f5f9; box-shadow: none; }
body.merchant-login-screen .auth-bot-entry.muted strong,
body.merchant-login-screen .auth-bot-entry.muted em { color: #707a82; }
body.merchant-login-screen .login-card footer { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; color: #98a1ae; font-size: 11px; }
body.merchant-login-screen .login-card footer svg { width: 14px; height: 14px; }
body.merchant-login-screen .form-error { margin: 0 0 20px; padding: 12px 14px; color: #bd604c; border-color: #f8d8cf; border-radius: 7px; background: #ffede9; font-size: 12px; }

@media (min-width: 1280px) {
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .sidebar { width: 82px; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .workspace { margin-left: 102px; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .brand { justify-content: center; padding-left: 0; padding-right: 0; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .brand strong,
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .nav-group-title,
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .nav-item > span:not(.nav-icon),
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .nav-item em,
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .sub-nav-wrap,
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .merchant-sidebar-footer { display: none; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .sidebar nav { padding: 0 12px; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .nav-item { justify-content: center; margin: 3px 0; padding: 0; }
}

@media (max-width: 1450px) {
  body.merchant-shell-body .merchant-shell .settlements-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 1279px) {
  body.merchant-shell-body { overflow-x: hidden; }
  body.merchant-shell-body .merchant-shell .workspace { margin-left: 0; padding: 20px 24px 0; }
  body.merchant-shell-body .merchant-shell .sidebar,
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .sidebar { inset: 0 auto 0 0; width: 270px; height: 100dvh; min-height: 100dvh; border-radius: 0; transform: translateX(-105%); box-shadow: 8px 0 30px rgba(37, 83, 185, .1); }
  body.merchant-shell-body.sidebar-collapsed { overflow: hidden; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .sidebar { transform: translateX(0); }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .brand { justify-content: flex-start; padding: 20px 24px; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .brand strong { display: grid; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .nav-item { justify-content: flex-start; margin: 3px 0; padding: 0 10px; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .nav-item span:not(.nav-icon),
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .nav-group-title { display: block; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .nav-item em { display: grid; }
  body.merchant-shell-body.sidebar-collapsed .merchant-shell .sub-nav-wrap.show { display: grid; }
  body.merchant-shell-body .merchant-shell .merchant-drawer-close { position: absolute; top: 27px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; padding: 6px; color: #707a82; border: 0; border-radius: 50%; background: #f5f8fb; }
  body.merchant-shell-body .merchant-drawer-close svg { width: 18px; height: 18px; }
  body.merchant-shell-body .merchant-sidebar-backdrop { position: fixed; inset: 0; z-index: 75; width: 100%; height: 100dvh; padding: 0; border: 0; border-radius: 0; background: rgba(17, 28, 45, .28); }
  body.merchant-shell-body.sidebar-collapsed .merchant-sidebar-backdrop { display: block; }
}

@media (max-width: 1000px) {
  body.merchant-shell-body .merchant-shell .metric-grid { gap: 16px; }
  body.merchant-shell-body .merchant-shell .metric { padding: 20px; }
  body.merchant-shell-body .merchant-shell .metric strong { font-size: 23px; }
  body.merchant-shell-body .merchant-shell .quick-start-grid { grid-template-columns: 1fr; }
  body.merchant-shell-body .merchant-shell .quick-start-grid a { min-height: 66px; padding: 16px; }
  body.merchant-shell-body .merchant-shell .channel-brief-hero { grid-template-columns: minmax(0, 1fr) auto; }
  body.merchant-shell-body .merchant-shell .channel-brief-body { grid-template-columns: 1fr; }
  body.merchant-shell-body .merchant-shell .channel-brief-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.merchant-login-screen .merchant-auth-layout { grid-template-columns: minmax(0, 1fr) minmax(350px, 1fr); }
  body.merchant-login-screen .merchant-auth-intro { padding: 32px; }
  body.merchant-login-screen .merchant-auth-intro h2 { font-size: 29px; }
  body.merchant-login-screen .merchant-auth-panel { padding: 34px; }
}

@media (max-width: 767px) {
  body.merchant-shell-body .merchant-shell .workspace { padding: 14px 16px 0; }
  body.merchant-shell-body .merchant-shell .topbar { top: 14px; height: 66px; min-height: 66px; margin-bottom: 22px; padding: 0 14px; gap: 10px; border-radius: 12px; }
  body.merchant-shell-body .merchant-header-title small { display: none; }
  body.merchant-shell-body .merchant-header-title strong { font-size: 13px; }
  body.merchant-shell-body .merchant-switch > span:not(.merchant-avatar),
  body.merchant-shell-body .merchant-switch > div { display: none; }
  body.merchant-shell-body .merchant-avatar { width: 32px; height: 32px; flex-basis: 32px; font-size: 12px; }
  body.merchant-shell-body .merchant-shell .page-head { margin-bottom: 20px; }
  body.merchant-shell-body .merchant-shell .page-head h1 { font-size: 22px; }
  body.merchant-shell-body .merchant-shell .page-head p { font-size: 12px; }
  body.merchant-shell-body .merchant-shell .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
  body.merchant-shell-body .merchant-shell .metric { min-height: 106px; padding: 18px; }
  body.merchant-shell-body .merchant-shell .metric strong { font-size: 24px; }
  body.merchant-shell-body .merchant-shell .metric p { font-size: 11px; }
  body.merchant-shell-body .merchant-shell .dashboard-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
  body.merchant-shell-body .merchant-shell :is(.income-chart-panel, .quick-start-panel, .channel-brief-panel, .content-band, .profile-panel, .list-panel, .mini-card) { margin: 0 0 20px; }
  body.merchant-shell-body .merchant-shell :is(.income-chart-panel, .quick-start-panel, .content-band) { padding: 20px; }
  body.merchant-shell-body .merchant-shell .income-chart-panel header { gap: 12px; }
  body.merchant-shell-body .merchant-shell .income-chart-panel header strong { font-size: 15px; }
  body.merchant-shell-body .merchant-shell .income-chart-panel header b { font-size: 20px; }
  body.merchant-shell-body .merchant-shell .income-chart { height: 210px; gap: 6px; }
  body.merchant-shell-body .merchant-shell .income-chart-track { height: 125px; padding: 0 2px; }
  body.merchant-shell-body .merchant-shell .income-chart-day em { font-size: 9px; }
  body.merchant-shell-body .merchant-shell .quick-start-panel header { display: grid; gap: 7px; }
  body.merchant-shell-body .merchant-shell .channel-brief-hero { grid-template-columns: 1fr; gap: 0; }
  body.merchant-shell-body .merchant-shell .channel-brief-hero > div { padding: 24px 24px 12px; }
  body.merchant-shell-body .merchant-shell .channel-brief-hero aside { align-items: flex-start; padding: 0 24px 24px; border: 0; }
  body.merchant-shell-body .merchant-shell .channel-brief-hero h2 { font-size: 23px; }
  body.merchant-shell-body .merchant-shell .channel-brief-body { gap: 16px; padding: 20px; }
  body.merchant-shell-body .merchant-shell .channel-brief-facts { grid-template-columns: 1fr; gap: 12px; padding: 0 20px 20px; }
  body.merchant-shell-body .merchant-shell .profile-panel { padding: 0 20px 20px; }
  body.merchant-shell-body .merchant-shell .profile-tabs { margin-bottom: 22px; }
  body.merchant-shell-body .merchant-shell .profile-tabs a { height: 56px; padding: 0 17px; font-size: 12px; }
  body.merchant-shell-body .merchant-shell .api-form-row,
  body.merchant-shell-body .merchant-shell .security-settings-block .api-form-row { grid-template-columns: 1fr; gap: 7px; margin-bottom: 17px; padding: 0; }
  body.merchant-shell-body .merchant-shell .api-form-row > label { padding: 0; text-align: left; }
  body.merchant-shell-body .merchant-shell .api-actions { flex-wrap: wrap; margin-left: 0; padding: 0; }
  body.merchant-shell-body .merchant-shell .settings-block .wide-purple { margin-left: 0; width: 100%; }
  body.merchant-shell-body .merchant-shell .security-settings-block { padding: 18px; }
  body.merchant-shell-body .merchant-shell :is(.list-panel, .mini-card) h2 { padding: 20px; font-size: 16px; }
  body.merchant-shell-body .merchant-shell .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px 20px; }
  body.merchant-shell-body .merchant-shell .data-table :is(th, td) { padding: 13px 15px; }
  body.merchant-shell-body .merchant-shell .mini-card > p { margin: 18px 20px; font-size: 12px; }
  body.merchant-shell-body .merchant-shell .copy-line { grid-template-columns: 1fr; padding: 0 20px 20px; }
  body.merchant-shell-body .merchant-shell .settlements-workspace { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
  body.merchant-shell-body .merchant-shell .withdraw-card .withdraw-form { padding: 20px; }
  body.merchant-shell-body .merchant-shell .settlement-filter-row { grid-template-columns: 1fr; }
  body.merchant-shell-body .merchant-shell .support-card { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  body.merchant-shell-body .merchant-shell .support-badge { width: 44px; height: 44px; border-radius: 12px; }
  body.merchant-shell-body .merchant-shell .support-main h2 { font-size: 17px; }
  body.merchant-shell-body .merchant-shell .support-main p { font-size: 12px; }
  body.merchant-shell-body .merchant-shell .support-button { grid-column: 1 / -1; }
  body.merchant-shell-body .merchant-workspace-footer { flex-direction: column; gap: 3px; padding: 12px 2px 22px; font-size: 10px; }
  body.merchant-login-screen { padding: 24px; }
  body.merchant-login-screen .merchant-auth-layout { display: block; width: min(460px, 100%); min-height: 0; border-radius: 16px; }
  body.merchant-login-screen .merchant-auth-intro { padding: 24px 30px; }
  body.merchant-login-screen .merchant-auth-brand { margin: 0; }
  body.merchant-login-screen .merchant-auth-message,
  body.merchant-login-screen .merchant-auth-intro > :is(h2, p, .merchant-auth-art, .merchant-auth-points),
  body.merchant-login-screen .merchant-auth-copyright { display: none; }
  body.merchant-login-screen .merchant-auth-panel { padding: 34px 30px; }
  body.merchant-login-screen .login-card h1 { font-size: 25px; }
}

@media (max-width: 400px) {
  body.merchant-shell-body .merchant-shell .workspace { padding-left: 12px; padding-right: 12px; }
  body.merchant-shell-body .merchant-shell .metric { padding: 15px; }
  body.merchant-shell-body .merchant-shell .metric strong { font-size: 21px; }
  body.merchant-shell-body .merchant-shell .filter-row { grid-template-columns: 1fr; }
  body.merchant-login-screen { padding: 14px; }
  body.merchant-login-screen .merchant-auth-intro { padding: 22px; }
  body.merchant-login-screen .merchant-auth-panel { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  body.merchant-shell-body *, body.merchant-login-screen * { scroll-behavior: auto; transition: none; }
}
