.mobile-shortcuts { display: none; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.workspace-heading h1 { margin: 6px 0 0; font-size: 30px; letter-spacing: 0; }
.workspace-eyebrow { color: #63737a; font-size: 11px; font-weight: 700; }
.test-label { display: inline-flex; align-items: center; padding: 5px 9px; background: #fff4d5; color: #805900; border: 1px solid #ead899; border-radius: 6px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.unread-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 12px; background: #097442; color: white; font-size: 11px; font-weight: 700; }

.notifications-heading { align-items: end; }
.notifications-heading form { margin: 0; }
.notification-list { display: grid; gap: 10px; }
.notifications-page .workspace-empty > svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notification-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid #dfe8e3; border-radius: 8px; background: #fff; }
.notification-row.is-unread { border-color: #8fcdb3; border-left: 4px solid #0b8451; background: #f2faf6; }
.notification-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: #0b7c4b; background: #e4f5ec; }
.notification-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notification-copy { min-width: 0; }
.notification-title-row { display: flex; align-items: center; gap: 8px; }
.notification-title-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #17352b; }
.notification-copy p { margin: 6px 0; color: #52675d; line-height: 1.45; }
.notification-copy time { color: #78877f; font-size: 12px; }
.notification-new { padding: 3px 7px; border-radius: 999px; color: #fff; background: #0b8451; font-size: 10px; font-weight: 750; }
.notification-open { min-width: 78px; padding: 9px 12px; border: 1px solid #bbd8ca; border-radius: 7px; color: #0a7547; text-align: center; font-size: 13px; font-weight: 750; }
.notification-open:hover { color: #fff; border-color: #087849; background: #087849; }

.audience-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.audience-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; border: 1px solid #dce8e1; border-radius: 8px; background: #f7fbf9; }
.audience-summary span { color: #5f7368; font-size: 13px; }
.audience-summary strong { color: #087849; font-size: 22px; }
.notification-settings-layout { align-items: start; }
.broadcast-list { display: grid; gap: 10px; }
.broadcast-row { padding: 15px; border: 1px solid #dfe7e2; border-radius: 8px; background: #fff; }
.broadcast-row header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.broadcast-row header span { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; color: #087849; background: #e6f5ed; font-size: 11px; font-weight: 750; }
.broadcast-row p { margin: 9px 0; color: #53685d; line-height: 1.45; }
.broadcast-row footer { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #76867e; font-size: 11px; }

@media (max-width: 720px) {
  .notifications-page { margin-top: 4px; }
  .notifications-heading { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 8px; }
  .notifications-heading > div { width: 100%; text-align: center; }
  .notifications-heading .workspace-eyebrow { display: none; }
  .notifications-heading h1 { margin: 0; text-align: center; }
  .notifications-heading form { align-self: flex-end; }
  .notifications-heading .secondary-btn { width: auto; }
  .notifications-page .workspace-empty { padding: 18px 10px 24px; }
  .notifications-page .workspace-empty h3 { margin-top: 10px; }
  .notification-row { grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 10px; padding: 13px; }
  .notification-icon { width: 38px; height: 38px; }
  .notification-copy p { font-size: 13px; }
  .notification-open { grid-column: 2; justify-self: end; min-width: 72px; padding: 7px 10px; }
  .audience-summary { grid-template-columns: 1fr; gap: 8px; }
  .audience-summary > div { padding: 12px 14px; }
  .broadcast-row header { align-items: flex-start; }
}
.wallet-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-block: 1px solid #dfe7e9; margin-bottom: 32px; }
.wallet-overview { padding: 28px 36px 28px 0; }
.balance-display { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 12px; color: #46635c; }
.balance-display > strong { grid-column: 1 / -1; color: #142b25; font-size: 36px; font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
.balance-display strong small { font-size: 16px; font-weight: 500; }
.held-display { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px 0; color: #566963; font-size: 13px; }
.held-display strong { margin-left: auto; color: #244c3e; }
.wallet-topup { padding: 28px 0 28px 36px; border-left: 1px solid #dfe7e9; }
.wallet-page h2, .order-chats h2 { font-size: 20px; margin: 0 0 16px; }
.wallet-topup .form-panel { padding: 0; }
.wallet-topup .form-panel p { margin-top: 0; }
.wallet-topup .primary-btn { width: 100%; }
.amount-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 18px; }
.amount-presets button { padding: 10px 4px; border: 1px solid #d8e5df; border-radius: 6px; background: #f4f9f6; color: #176441; cursor: pointer; font-size: 13px; }
.amount-presets button:hover, .amount-presets button:focus-visible { background: #e1f2e8; border-color: #19704b; }
.subtle-note { font-size: 13px; line-height: 1.5; color: #63736e; }
.subtle-note a { color: #08764a; text-decoration: underline; }
.multicard-settings { gap: 24px; }
.integration-settings-group { display: grid; gap: 16px; min-width: 0; }
.integration-settings-group + .integration-settings-group { padding-top: 24px; border-top: 1px solid #dce7e1; }
.integration-settings-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.integration-settings-heading h2 { margin: 0 0 6px; font-size: 20px; }
.integration-settings-heading p { margin: 0; color: #63736e; font-size: 13px; line-height: 1.5; }
.integration-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.settings-state { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #eef2f0; color: #63736e; font-size: 12px; font-weight: 750; }
.settings-state.is-enabled { background: #e5f6ec; color: #08784c; }
.security-notice { padding: 12px 14px; border-left: 3px solid #168b59; background: #f1f8f4; color: #365848; font-size: 13px; line-height: 1.55; }
.saved-secret-note { margin: 0; }
.wallet-history, .wallet-pending { margin-top: 32px; }
.transaction-row { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid #e3e9e6; min-width: 0; }
.transaction-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 8px; background: #f2f4f7; color: #566375; }
.transaction-info { flex: 1; min-width: 0; }
.transaction-info strong, .transaction-row small, .transaction-info a { display: block; }
.transaction-info strong { font-size: 14px; }
.transaction-info a { font-size: 13px; color: #65766e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 4px 0; }
.transaction-row small { color: #718078; font-size: 11px; margin-top: 4px; }
.transaction-amount { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.is-credit { color: #097444; }
.status-pending { font-size: 12px; color: #916600; margin-left: auto; }
.workspace-empty { padding: 48px 20px; text-align: center; color: #6a7976; }
.workspace-empty > svg { width: 36px; height: 36px; color: #168557; }
.workspace-empty h3 { margin: 16px 0 8px; color: #253c34; }
.workspace-empty p { font-size: 14px; }
.workspace-empty .primary-btn { margin-top: 12px; }
.workspace-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.funding-summary { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-bottom: 1px solid #dfe9e3; }
.funding-summary span, .funding-summary strong { display: block; }
.funding-summary span { color: #617267; font-size: 12px; margin-bottom: 6px; }
.funding-summary strong { font-size: 20px; color: #116c45; }
.funding-summary a { color: #087346; font-weight: 600; font-size: 13px; text-decoration: underline; }
.funding-notice { display: flex; gap: 8px; align-items: flex-start; padding: 12px 0; font-size: 13px; color: #456756; }
.funding-notice svg { flex: 0 0 18px; }
.payment-result { text-align: center; max-width: 540px; padding-block: 32px; }
.payment-result > .back-link { display: block; margin-bottom: 24px; }
.payment-result h1 { font-size: 28px; }
.payment-result .payment-result-icon { width: 48px; height: 48px; display: block; margin: 24px auto; color: #08794b; }
.payment-amount { font-size: 30px; font-weight: 700; overflow-wrap: anywhere; }
.payment-result .primary-btn, .payment-result .secondary-btn { width: min(100%, 360px); margin: 8px auto; }
.payment-reference { display: block; margin-top: 24px; overflow-wrap: anywhere; color: #6b7c74; }
.environment-tabs { display: flex; gap: 16px; border-bottom: 1px solid #dae3df; margin-bottom: 24px; }
.environment-tabs a { padding: 10px 0; color: #63766b; font-size: 14px; }
.environment-tabs [aria-current] { color: #096c42; border-bottom: 2px solid #096c42; }
.settings-callback { margin-top: 24px; padding-block: 16px; border-block: 1px solid #dce6df; font-size: 14px; }
.settings-callback dd { margin: 8px 0 0; overflow-wrap: anywhere; }
.back-link { color: #0c7550; font-size: 13px; font-weight: 650; }
.conversation-row { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid #e3e9e6; }
.conversation-row:hover { background: #f7faf8; }
.conversation-info { min-width: 0; flex: 1; }
.conversation-info > * { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-info strong { color: #263c32; font-size: 15px; }
.conversation-info span { font-size: 13px; color: #536a5e; margin: 5px 0; }
.conversation-info small { font-size: 11px; color: #7a857e; }
.conversation-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 8px; }
.conversation-meta time { color: #76857d; font-size: 11px; }
.chat-avatar { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; background: #e4f2ed; color: #126c48; border-radius: 50%; font-size: 18px; font-weight: 700; }
.chat-page { max-width: 820px; }
.chat-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; }
.chat-heading h1 { font-size: 20px; margin: 0; overflow-wrap: anywhere; }
.chat-heading small { font-size: 12px; color: #768078; }
.chat-order { display: flex; align-items: center; gap: 12px; background: #f2f7f4; padding: 14px 16px; border-block: 1px solid #dde8e1; }
.chat-order span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.chat-order small { color: #0c7648; font-size: 11px; }
.chat-log { display: flex; flex-direction: column; gap: 14px; height: min(55vh, 540px); min-height: 220px; overflow-y: auto; padding: 24px 16px; background: #fafcfb; overscroll-behavior: contain; }
.chat-bubble { align-self: flex-start; max-width: 82%; min-width: 95px; border: 1px solid #e0e7e2; background: white; border-radius: 8px; padding: 12px 14px; }
.chat-bubble.mine { align-self: flex-end; background: #dff1e7; border-color: #cce6d7; }
.chat-bubble p { margin: 0; color: #233b2e; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; font-size: 14px; }
.chat-bubble footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; font-size: 10px; color: #647a6c; margin-top: 7px; }
.chat-composer { display: flex; align-items: flex-end; gap: 10px; padding: 12px 0; background: white; }
.chat-composer textarea { resize: vertical; flex: 1; min-width: 0; min-height: 48px; max-height: 150px; padding: 12px; border: 1px solid #d5e2da; border-radius: 8px; font-size: 16px; }
.chat-composer button.primary-btn { width: 48px; min-width: 48px; flex: 0 0 48px; height: 48px; padding: 12px; background: #0b7c4b; box-shadow: none; }
.chat-connection, .chat-closed { color: #687a6e; font-size: 12px; margin: 6px 0; }
.chat-empty { margin: auto; color: #78847d; text-align: center; font-size: 14px; }
.older-messages { text-align: center; font-size: 12px; color: #10724b; }
.order-chats { margin: 24px 0; padding: 24px 0; }
[hidden] { display: none !important; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid #5ca8ec; outline-offset: 3px; }
.owner-share { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #dfe8e3; }
.owner-share > strong { margin-right: auto; color: #324c40; font-size: 13px; }
.owner-share-actions { display: flex; gap: 8px; }
.share-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 12px; border: 1px solid #ccdcd4; border-radius: 6px; background: #fff; color: #1d4d3a; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.share-button:hover { border-color: #08784c; background: #f0f8f4; }
.share-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.share-telegram { color: #1677a8; }
.share-instagram { color: #9b315f; }
.share-feedback { flex-basis: 100%; color: #5f7268; font-size: 11px; text-align: right; }
.referral-settings h2, .referrals-page h2 { font-size: 20px; margin: 20px 0 16px; }
.referral-config { padding: 0; }
.referral-field-grid, .referral-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.referral-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 24px; }
.referral-rules fieldset, .referral-rules article { min-width: 0; border: 1px solid #dce7e1; border-radius: 8px; padding: 16px; }
.referral-rules legend { font-weight: 650; font-size: 15px; padding: 0 5px; }
.referral-settings input[type="checkbox"] { width: 18px; height: 18px; accent-color: #0a774a; }
.referral-settings label { display: block; font-size: 14px; margin-bottom: 8px; }
.referral-settings input, .referral-settings select { max-width: 100%; }
.referral-budget, .referral-history { border-top: 1px solid #dce7e1; padding-top: 24px; margin-top: 32px; }
.referral-budget .form-panel { max-width: 540px; padding: 16px 0; }
.referral-stats { display: flex; flex-wrap: wrap; gap: 24px; padding: 20px 0; }
.referral-stats > div { flex: 1; min-width: 140px; }
.referral-stats span, .referral-stats strong { display: block; }
.referral-stats span { color: #60756a; font-size: 13px; margin-bottom: 8px; }
.referral-stats strong { color: #126c48; font-size: 20px; overflow-wrap: anywhere; }
.referral-link > div { display: flex; gap: 8px; margin-top: 8px; }
.referral-link input { flex: 1; min-width: 0; }
.referral-link button.secondary-btn { width: 46px; min-width: 46px; padding: 10px; }
.referral-log-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e0e8e3; font-size: 14px; }
.referral-log-row > div { min-width: 0; flex: 1; }
.referral-log-row small, .referral-log-row time, .referral-log-row a { display: block; color: #677b6f; font-size: 12px; margin-top: 5px; overflow-wrap: anywhere; }
.referral-log-row strong { overflow-wrap: anywhere; }
.fee-summary { padding: 14px 0; border-block: 1px solid #dce7e1; font-size: 14px; line-height: 1.6; }
.fee-summary strong { color: #096c42; }
@media (max-width: 760px) {
  .carousel-section .section-heading-row { gap: 8px; }
  .carousel-section .section-heading-row h2 { min-width: 0; flex: 1; }
  .referral-field-grid, .referral-rules { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .referral-settings .workspace-heading h1, .referrals-page .workspace-heading h1 { font-size: 24px; overflow-wrap: anywhere; }
  .referral-settings .primary-btn { max-width: 100%; white-space: normal; }
  .integration-field-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .integration-settings-heading { align-items: center; }
  .integration-settings-heading h2 { font-size: 18px; }
}
.eskiz-settings h1 { font-size: 28px; }
.eskiz-settings h2 { font-size: 20px; }
.eskiz-settings .split { align-items: start; }
.eskiz-settings .form-panel { align-content: start; }
.eskiz-settings .settings-status > div { background: transparent; border-radius: 0; border: 0; border-bottom: 1px solid #dfe7e2; }
.eskiz-settings .test-panel { display: grid; gap: 16px; }
.eskiz-settings .test-panel h2 { margin: 0; }
.admin-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; }
.admin-filters label { display: grid; gap: 6px; font-size: 13px; max-width: 100%; }
.admin-filters select { min-height: 42px; max-width: 100%; padding: 8px 12px; border: 1px solid #cfdbd5; border-radius: 6px; background: white; color: #263d32; }
.admin-table-wrap { max-width: 100%; overflow-x: auto; border-block: 1px solid #dfe7e2; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid #e7ece9; min-width: 100px; max-width: 320px; overflow-wrap: anywhere; vertical-align: top; }
.admin-table th { background: #f3f6f4; color: #52685b; font-weight: 650; }
.admin-table .numeric { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sms-journal { margin-top: 32px; border-top: 1px solid #dfe7e2; padding-top: 24px; }
.sms-log-row { padding: 18px 0; border-bottom: 1px solid #dfe7e2; overflow-wrap: anywhere; }
.sms-log-row header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sms-status { padding: 4px 8px; font-size: 12px; border-radius: 5px; background: #edf1f4; color: #415366; }
.sms-status-accepted { background: #ddf2e5; color: #11673a; }
.sms-status-error { background: #fbe5e5; color: #a42131; }
.sms-status-unknown, .sms-status-blocked { background: #fff0d3; color: #785018; }
.sms-log-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 8px 0; font-size: 12px; color: #67766f; }
.sms-log-row p { font-size: 14px; margin: 8px 0; }
.sms-log-row summary { cursor: pointer; color: #146b96; font-size: 13px; }
.sms-log-row dl { display: grid; gap: 10px; font-size: 13px; }
.sms-log-row dt { color: #61746a; }
.sms-log-row dd { margin: 3px 0 0; white-space: pre-wrap; }
.crm-page { min-width: 0; }
.crm-page h1 { font-size: 28px; margin: 0; }
.crm-page h2 { font-size: 20px; margin: 0 0 16px; }
.crm-page h3 { font-size: 16px; margin: 0 0 12px; }
.crm-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin: 20px 0; }
.crm-heading small, .crm-band > small { color: #65796d; font-size: 12px; }
.crm-tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid #d6e2da; margin-bottom: 24px; }
.crm-tabs a { padding: 12px 0; font-size: 14px; border-bottom: 3px solid transparent; }
.crm-tabs a[aria-current] { color: #097043; border-bottom-color: #097043; font-weight: 700; }
.crm-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.crm-metrics a { display: grid; gap: 8px; padding: 18px; border: 1px solid #dbe5df; border-radius: 6px; background: white; }
.crm-metrics span { font-size: 13px; color: #5d7165; }
.crm-metrics strong { font-size: 28px; color: #263d32; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.crm-metrics a:hover { border-color: #559f78; }
.crm-band { padding: 24px 0; border-bottom: 1px solid #dfe7e2; }
.crm-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.crm-status-grid a { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(50px, 1fr) 30px; gap: 10px; align-items: center; font-size: 13px; }
.crm-status-grid meter, .crm-meter-value meter { width: 100%; height: 14px; accent-color: #137349; }
.crm-meter-value { display: flex; gap: 12px; align-items: center; font-variant-numeric: tabular-nums; }
.crm-meter-value meter { max-width: 250px; }
.crm-finance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.crm-definition-list { margin: 0 0 16px; }
.crm-definition-list > div { display: flex; gap: 16px; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e8eeea; }
.crm-definition-list dt { font-size: 13px; color: #546b5c; }
.crm-definition-list dd { margin: 0; font-weight: 650; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.crm-operations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.crm-warning { color: #865918; background: #fff7e6; padding: 12px; border-left: 3px solid #dfa93e; font-size: 13px; }
.crm-user-login { display: block; margin-top: 4px; color: #718074; }
@media (max-width: 760px) {
  .crm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crm-metrics a { padding: 14px; }
  .crm-status-grid, .crm-finance-grid, .crm-operations { grid-template-columns: minmax(0, 1fr); }
  .crm-heading small { line-height: 1.5; }
  .crm-definition-list dt { flex: 1; }
  .crm-definition-list dd { flex: 0 1 45%; }
  .admin-filters label { width: 100%; }
}
