.connection-icon.social { color: #7654b8; background: #f0ebfc; }
.social-connection.instagram .connection-icon.social { color: #b43a70; background: #ffedf5; }
.social-connection.tiktok_business .connection-icon.social { color: #253040; background: #edf1f4; }
.social-connection.telegram_bot .connection-icon.social { color: #1688c4; background: #e8f5fc; }
.channel-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.channel-card-actions .button { margin-top: 0; }
.field-hint { margin-top: -5px; color: #7a8796; font-size: 9px; line-height: 1.45; }
.channel-picker { display: grid; gap: 7px; }
.channel-picker button { width: 100%; padding: 10px 11px; display: flex; align-items: center; justify-content: space-between; color: #334357; border: 1px solid #dfe7e4; border-radius: 8px; background: #fbfdfc; font-size: 11px; font-weight: 700; text-align: left; }
.channel-picker button:hover { color: #087b43; border-color: #a6d7bb; background: #f0faf4; }
.channel-picker svg { width: 15px; }

/* Content readability: keep navigation compact while making working screens easier to scan. */
.content {
  --content-copy-size: 14px;
  --content-meta-size: 12px;
  font-size: var(--content-copy-size);
}

.content .eyebrow { font-size: 12.5px; }
.content .page-heading h1 { font-size: clamp(30px, 2.55vw, 38px); letter-spacing: -1.45px; }
.content .page-heading > div > p:last-child { max-width: 760px; font-size: 15.5px; line-height: 1.5; }
.content .button { min-height: 44px; padding-inline: 16px; font-size: 13.5px; }
.content .text-button,
.content .row-action { font-size: 12px; }

.content .panel-heading { min-height: 88px; padding-block: 20px 16px; }
.content .panel-heading h2 { font-size: 18px; letter-spacing: -.38px; }
.content .panel-heading p { font-size: 13px; line-height: 1.5; }
.content .info-panel strong,
.content .empty-state { font-size: 14px; }
.content .info-panel p,
.content .local-note { font-size: 12.5px; line-height: 1.55; }

/* Dashboard, campaign, sales, contacts, analytics, and settings tables. */
.content .metric-title { font-size: 13px; }
.content .metric-value { font-size: 29px; }
.content .metric-value.currency { font-size: 27px; }
.content .metric-change,
.content .metric-note { font-size: 12px; }
.content .campaign-row.table-head,
.content .data-head,
.content .order-head,
.content .outbox-head { font-size: 11px; }
.content .campaign-row,
.content .data-row,
.content .order-row,
.content .outbox-row { font-size: 12.5px; }
.content .campaign-name strong,
.content .data-row strong,
.content .order-row strong,
.content .outbox-row strong { font-size: 14px; }
.content .campaign-name small,
.content .data-row small,
.content .order-row small,
.content .outbox-row small,
.content .cost,
.content .progress-cell { font-size: 11.5px; }
.content .status,
.content .channel-status,
.content .payment-status,
.content .reconciled,
.content .tag-cluster i,
.content .tag,
.content .score { font-size: 10.5px; }
.content .analytics-bars > div,
.content .analytics-bars b,
.content .analytics-bars span { font-size: 12.5px; }
.content .setting-row strong,
.content .role-summary strong { font-size: 13px; }
.content .setting-row small,
.content .role-summary p,
.content .audit-list p,
.content .audit-list small { font-size: 11.5px; }
.content .journey-strip strong,
.content .journey-strip span { font-size: 11.5px; }
.content .journey-strip li,
.content .waiting-label { font-size: 10.5px; }
.content .workflow-card h2 { font-size: 16px; }
.content .workflow-trigger,
.content .flow-line,
.content .workflow-card footer { font-size: 11px; }
.content .workflow-action,
.content .new-card span { font-size: 12px; line-height: 1.5; }
.content .new-card strong { font-size: 14px; }
.content .channel-row strong { font-size: 12.5px; }
.content .channel-row small { font-size: 11px; }
.content .cost-breakdown span,
.content .cost-breakdown small { font-size: 11px; }
.content .commerce-read-model { font-size: 10.5px; }

/* Inbox keeps names, channel filters, and message text legible at a glance. */
.content .inbox-list-panel,
.content .conversation-panel { min-height: 610px; }
.content .inbox-filter strong { font-size: 14px; }
.content .inbox-filter small { font-size: 11.5px; }
.content .channel-filter,
.content .message-channel,
.content .chat-context span { font-size: 10px; }
.content .conversation-row { min-height: 76px; padding-block: 11px; }
.content .conversation-row .avatar { height: 40px; width: 40px; font-size: 12px; }
.content .conversation-copy strong { font-size: 13.5px; }
.content .conversation-copy small,
.content .conversation-meta { font-size: 11.5px; }
.content .chat-head h2 { font-size: 16px; }
.content .chat-head p { font-size: 12px; }
.content .message { padding: 11px 12px; }
.content .message p { font-size: 14.5px; line-height: 1.55; }
.content .message small { font-size: 10.5px; }
.content .reply-form { padding: 13px; }
.content .reply-form input { height: 46px; padding-inline: 13px; font-size: 14px; }
.content .reply-form .button { min-height: 46px; }
.content .contact-context dt { font-size: 10px; }
.content .contact-context dd { font-size: 12px; }

/* Campaign, QR Device, and email composers share a calm, readable working scale. */
.content .send-mode-tabs button,
.content .device-send-tabs button,
.content .campaign-hub-tabs button { min-height: 50px; font-size: 13.5px; }
.content .send-mode-tabs button small,
.content .device-send-tabs button small,
.content .campaign-hub-tabs button small { font-size: 10.5px; }
.content .send-composer-heading h2,
.content .campaign-hub-heading h2 { font-size: 20px; }
.content .send-composer-heading p,
.content .campaign-hub-heading p { font-size: 13.5px; line-height: 1.55; }
.content :is(.send-composer, .template-builder, .contact-import-form) label,
.content .blast-field-label,
.content .device-cta-row legend { font-size: 12px; }
.content :is(.send-composer, .template-builder, .contact-import-form) input:not([type="checkbox"]):not([type="radio"]),
.content :is(.send-composer, .template-builder, .contact-import-form) select,
.content :is(.send-composer, .template-builder, .contact-import-form) textarea { font-size: 14px; }
.content :is(.send-composer, .template-builder, .contact-import-form) input:not([type="checkbox"]):not([type="radio"]),
.content :is(.send-composer, .template-builder, .contact-import-form) select { min-height: 44px; }
.content :is(.send-composer, .template-builder, .contact-import-form) textarea { min-height: 138px; padding: 12px; line-height: 1.55; }
.content .check-label { font-size: 12.5px !important; line-height: 1.45; }
.content .field-hint,
.content .composer-footer small,
.content .blast-allocation-note,
.content .blast-csv-note { font-size: 11.5px; line-height: 1.5; }
.content .composer-preview p,
.content .composer-readiness p,
.content .composer-contact-card p { font-size: 12.5px; line-height: 1.55; }
.content .personalization-heading strong,
.content .device-cta-heading strong,
.content .blast-section-heading strong { font-size: 14px; }
.content .personalization-heading p,
.content .device-cta-heading p,
.content .blast-section-heading p { font-size: 12px; line-height: 1.5; }
.content .personalization-token-list button,
.content .device-cta-remove,
.content .blast-audience-switch button { font-size: 11px; }
.content .device-cta-row label,
.content .device-cta-row > small,
.content .device-cta-preview small { font-size: 10.5px; }
.content .device-cta-preview strong,
.content .blast-review strong,
.content .blast-audience-summary strong { font-size: 13px; }
.content .blast-filter-grid label { font-size: 12px; }
.content .blast-filter-grid select { min-height: 44px; font-size: 13px; }
.content .blast-review p,
.content .blast-audience-summary p { font-size: 11px; line-height: 1.5; }

/* Campaign template editor, connections, CRM import, and AI cards. */
.content .template-builder-card-heading h3,
.content .template-card h3,
.content .connection-heading h2 { font-size: 16px; }
.content .template-builder-card-heading p,
.content .template-card p,
.content .connection-heading p,
.content .connection-detail,
.content .connection-rules dd { font-size: 12.5px; line-height: 1.55; }
.content .connection-rules dt,
.content .template-category,
.content .template-category-guidance,
.content .template-auth-note { font-size: 11px; }
.content .gateway-ready,
.content .gateway-warning,
.content .qr-panel p { font-size: 12px; line-height: 1.5; }
.content .qr-panel strong,
.content .device-row strong { font-size: 13.5px; }
.content .device-row small { font-size: 11.5px; }
.content .cloud-template-card strong { font-size: 13.5px; }
.content .cloud-template-card p,
.content .cloud-template-card small { font-size: 11.5px; line-height: 1.5; }
.content .contact-upload-card strong,
.content .contact-import-preview-heading h3,
.content .contact-import-defaults h3 { font-size: 14px; }
.content .contact-upload-card p,
.content .contact-column-guide,
.content .contact-import-file p,
.content .contact-import-errors p,
.content .contact-import-defaults p,
.content .contact-import-preview-heading p,
.content .contact-import-table > div,
.content .contact-import-empty p { font-size: 11.5px; line-height: 1.5; }
.content .contacts-toolbar > label,
.content .contact-import-defaults label { font-size: 10.5px; }
.content .contacts-toolbar select,
.content .contacts-search-form input,
.content .contact-import-defaults input,
.content .contact-import-defaults select { min-height: 40px; font-size: 12.5px; }
.content .copilot-intro h3,
.content .copilot-actions strong,
.content .copilot-insight strong { font-size: 15px; }
.content .copilot-intro p,
.content .copilot-actions small,
.content .copilot-response p,
.content .copilot-insight p,
.content .ai-guardrails li { font-size: 12.5px; line-height: 1.55; }

/* AI inbox automation: wider controls, clear readiness, and readable review states. */
.content .ai-page-expanded { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; }
.content .ai-page-expanded .ai-main { grid-column: 1 / -1; width: 100%; }
.content .ai-page-expanded .ai-auto-reply-panel { grid-column: 1 / -1; padding: 0; overflow: hidden; }
.content .ai-auto-reply-form { display: grid; gap: 18px; padding: 24px; }
.content .ai-auto-reply-top,
.content .ai-auto-reply-actions { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.content .ai-auto-reply-top h2 { margin: 0; font-size: 19px; }
.content .ai-auto-reply-top p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; }
.content .ai-auto-reply-readiness { padding: 14px 16px; border: 1px solid #f4d9a7; border-radius: 12px; background: #fffaf0; color: #815c20; }
.content .ai-auto-reply-readiness.is-ready { border-color: #b9e6ca; background: #f1fbf5; color: #146b3d; }
.content .ai-auto-reply-readiness strong { display: block; font-size: 13.5px; }
.content .ai-auto-reply-readiness p { margin: 4px 0 0; font-size: 12px; line-height: 1.55; }
.content .ai-main-switch { width: fit-content; font-weight: 700; font-size: 13.5px !important; }
.content .ai-auto-reply-grid { grid-template-columns: minmax(0, 1.15fr) minmax(180px, .85fr); }
.content .ai-auto-reply-grid label,
.content .ai-instructions-field { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: #243652; }
.content .ai-auto-reply-grid small,
.content .ai-instructions-field small,
.content .ai-channel-fieldset > p { color: #6f7f97; font-size: 11.5px; font-weight: 500; line-height: 1.5; }
.content .ai-auto-reply-grid select,
.content .ai-auto-reply-grid input,
.content .ai-instructions-field textarea { min-height: 44px; font-size: 14px; }
.content .ai-instructions-field textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.content .ai-channel-fieldset { display: grid; gap: 10px; margin: 0; padding: 16px; border: 1px solid #dbe7e1; border-radius: 12px; }
.content .ai-channel-fieldset legend { padding: 0 4px; font-size: 13px; font-weight: 800; color: #243652; }
.content .ai-channel-fieldset > p { margin: -3px 0 0; }
.content .ai-channel-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.content .ai-channel-choice { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #e1e9e5; border-radius: 10px; cursor: pointer; }
.content .ai-channel-choice input { flex: 0 0 auto; margin-top: 3px; accent-color: #078a4a; }
.content .ai-channel-choice span { display: grid; gap: 3px; }
.content .ai-channel-choice strong { font-size: 12.5px; color: #253754; }
.content .ai-channel-choice small { font-size: 11px; line-height: 1.45; color: #718096; }
.content .ai-settings-fieldset { display: grid; gap: 11px; margin: 0; padding: 16px; border: 1px solid #dbe7e1; border-radius: 12px; }
.content .ai-settings-fieldset legend { padding: 0 4px; font-size: 13px; font-weight: 800; color: #243652; }
.content .ai-settings-fieldset > p { margin: -3px 0 0; color: #6f7f97; font-size: 11.5px; line-height: 1.5; }
.content .ai-schedule-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.content .ai-schedule-grid label,
.content .ai-billing-grid label { display: grid; gap: 7px; color: #243652; font-size: 12px; font-weight: 700; }
.content .ai-schedule-grid select,
.content .ai-schedule-grid input,
.content .ai-billing-grid input { min-height: 42px; font-size: 13px; }
.content .ai-weekday-list { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 2px; }
.content .ai-weekday-list > strong { color: #53647c; font-size: 12px; }
.content .ai-weekday-list > span { display: flex; flex-wrap: wrap; gap: 7px; }
.content .ai-weekday-choice { display: inline-flex; align-items: center; gap: 5px; min-height: 29px; padding: 4px 8px; border: 1px solid #dce8e1; border-radius: 8px; color: #40516a; font-size: 11.5px; font-weight: 700; }
.content .ai-weekday-choice input { accent-color: #078a4a; }
.content .ai-billing-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.content .ai-billing-option { display: flex; align-items: flex-start; gap: 10px; min-height: 72px; padding: 12px; border: 1px solid #dfe8e3; border-radius: 10px; cursor: pointer; }
.content .ai-billing-option.is-selected { border-color: #80cba2; background: #f1fbf5; box-shadow: inset 0 0 0 1px rgba(19, 139, 76, .08); }
.content .ai-billing-option input { flex: 0 0 auto; margin-top: 4px; accent-color: #078a4a; }
.content .ai-billing-option span { display: grid; gap: 3px; }
.content .ai-billing-option strong { color: #273955; font-size: 12.5px; }
.content .ai-billing-option small,
.content .ai-billing-grid small { color: #718096; font-size: 11px; font-weight: 500; line-height: 1.45; }
.content .ai-billing-grid { grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr); }
.content .ai-token-usage { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 10px; background: #f2f8f5; color: #226241; }
.content .ai-token-usage > span { display: grid; place-items: center; height: 30px; width: 30px; flex: 0 0 auto; border-radius: 8px; background: #fff; color: #068449; }
.content .ai-token-usage svg { height: 17px; width: 17px; }
.content .ai-token-usage strong { display: block; color: #246243; font-size: 12px; }
.content .ai-token-usage p { margin: 3px 0 0; color: #5a7868; font-size: 11px; line-height: 1.45; }
.content .ai-auto-reply-actions { align-items: center; padding-top: 2px; border-top: 1px solid #eef2f0; }
.content .ai-auto-reply-actions p { max-width: 730px; margin: 0; color: #6d7d91; font-size: 11.5px; line-height: 1.55; }
.content .ai-auto-reply-actions .button { flex: 0 0 auto; }
.content .ai-draft-action { margin-left: auto; }
.content .message.ai-draft-message { border-style: dashed; border-color: #e9c77d; background: #fffaf0; }
.content .message.ai-draft-message small { color: #a06914; }

/* Commerce: the product and its sales page share one source of truth. */
.content .product-catalog { overflow: hidden; }
.content .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; padding: 20px; border-top: 1px solid #edf1ee; }
.content .product-card { display: grid; gap: 12px; min-height: 220px; padding: 18px; border: 1px solid #dfe9e3; border-radius: 14px; background: #fff; }
.content .product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.content .product-type-badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 7px; background: #edf7f1; color: #087d43; font-size: 11.5px; font-weight: 800; }
.content .product-type-badge.digital { background: #e9f4ff; color: #1872b7; }
.content .product-type-badge.course { background: #f2ebff; color: #7651b9; }
.content .product-type-badge.registration { background: #fff2df; color: #a56312; }
.content .product-card h3 { margin: 0; color: #182945; font-size: 18px; line-height: 1.25; }
.content .product-card > p { min-height: 40px; margin: 0; color: #687991; font-size: 13px; line-height: 1.55; }
.content .product-price { color: #0a7e45; font-size: 18px; }
.content .product-card footer { display: flex; flex-wrap: wrap; gap: 7px 12px; padding-top: 11px; border-top: 1px solid #edf1ee; color: #718198; font-size: 11.5px; }
.content .product-builder { padding: 0; overflow: hidden; }
.content .product-builder > .panel-heading { padding: 24px 26px; border-bottom: 1px solid #edf1ee; }
.content .product-builder .eyebrow { margin: 0 0 4px; }
.content .commerce-form { display: grid; gap: 20px; padding: 24px 26px 28px; }
.content .commerce-form fieldset { display: grid; gap: 14px; margin: 0; padding: 18px; border: 1px solid #dce8e1; border-radius: 13px; }
.content .commerce-form legend { padding: 0 5px; color: #243652; font-size: 14px; font-weight: 800; }
.content .commerce-form label { display: grid; gap: 7px; color: #344760; font-size: 13px; font-weight: 750; }
.content .commerce-form label > small { color: #7b899b; font-size: 11px; font-weight: 600; }
.content .commerce-form input,
.content .commerce-form select,
.content .commerce-form textarea { min-height: 44px; font-size: 14px; }
.content .commerce-form textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.content .commerce-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.content .commerce-full-field { grid-column: 1 / -1; }
.content .product-type-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.content .product-type-option { display: flex !important; align-items: flex-start; gap: 10px; min-height: 82px; padding: 14px; border: 1px solid #dfe8e3; border-radius: 11px; cursor: pointer; }
.content .product-type-option:has(input:checked) { border-color: #72c794; background: #f1fbf5; box-shadow: inset 0 0 0 1px rgba(6, 132, 73, .08); }
.content .product-type-option.is-selected { border-color: #72c794; background: #f1fbf5; box-shadow: inset 0 0 0 1px rgba(6, 132, 73, .08); }
.content .product-type-option input { min-height: auto !important; margin-top: 3px; accent-color: #078a4a; }
.content .product-type-option span { display: grid; gap: 4px; }
.content .product-type-option strong { color: #263954; font-size: 13.5px; }
.content .product-type-option small { color: #718096; font-size: 11.5px; font-weight: 500; line-height: 1.45; }

/* WooCommerce-inspired product editor: intentional hierarchy, no long modal form. */
.content .product-editor { display: grid; gap: 20px; max-width: 1240px; margin: 0 auto; }.content .product-editor-header { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; }.content .product-editor-header h2 { margin:8px 0 5px; color:#182943; font-size:30px; letter-spacing:-.035em; }.content .product-editor-header p { margin:0; color:#6b7b90; font-size:15px; }.content .product-editor-header>div:last-child { display:flex; gap:9px; }.content .product-editor-header .button { min-height:43px; font-size:14px; }.content .product-editor-form { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:18px; align-items:start; }.content .product-editor-main,.content .product-editor-sidebar { display:grid; gap:18px; }.content .product-editor-card { padding:22px; border:1px solid #dfe7ed; border-radius:14px; background:#fff; box-shadow:0 9px 24px rgba(37,30,78,.045); }.content .product-editor-card h3 { margin:0; color:#1c2942; font-size:18px; }.content .product-editor-card label { display:grid; gap:7px; color:#334963; font-size:13px; font-weight:750; }.content .product-editor-card input,.content .product-editor-card select,.content .product-editor-card textarea { width:100%; min-height:44px; padding:0 12px; border:1px solid #d8e1e9; border-radius:9px; color:#243852; outline:none; background:#fff; font:500 14px inherit; }.content .product-editor-card textarea { min-height:142px; padding:12px; line-height:1.55; resize:vertical; }.content .product-editor-card input:focus,.content .product-editor-card select:focus,.content .product-editor-card textarea:focus { border-color:#7c3aed; box-shadow:0 0 0 3px #ede9fe; }.content .product-editor-card label>small { color:#77869a; font-size:12px; line-height:1.45; font-weight:500; }.content .product-editor-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:18px; }.content .product-editor-card-heading>div { display:flex; align-items:flex-start; gap:11px; }.content .product-editor-card-heading>div>span { display:grid; place-items:center; width:27px; height:27px; border-radius:8px; background:#eee7ff; color:#642bc9; font-size:12px; font-weight:900; }.content .product-editor-card-heading p { margin:4px 0 0; color:#748399; font-size:13px; line-height:1.45; }.content .product-editor-card-heading>em { padding:5px 8px; border-radius:999px; color:#6b3da8; background:#f1e9ff; font-size:11px; font-style:normal; font-weight:800; }.content .product-title-field input { min-height:52px; font-size:17px; font-weight:650; }.content .product-type-options-editor { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }.content .product-type-options-editor .product-type-option { min-height:76px; text-align:left; }.content .product-type-options-editor .product-type-option>b { display:grid; place-items:center; width:30px; height:30px; border-radius:8px; background:#f0f4fb; color:#5f48a1; font-size:15px; }.content .product-type-option.is-disabled { opacity:.58; cursor:not-allowed; background:#f6f7f9; border-style:dashed; }.content .product-type-option.is-disabled:hover { transform:none; box-shadow:none; }.content .product-type-options-editor .product-type-option>b { flex:0 0 30px; font-size:12px; font-weight:900; }.content .product-data-card .product-specific-fieldset { margin:0; padding:0; border:0; }.content .product-data-card .product-specific-fieldset>legend { margin-bottom:8px; color:#243752; font-size:15px; font-weight:850; }.content .product-data-card .field-hint { margin:0 0 15px; color:#718096; font-size:13px; line-height:1.5; }.content .product-data-card .commerce-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }.content .publish-card { position:sticky; top:18px; display:grid; gap:14px; }.content .publish-card h3 { padding-bottom:13px; border-bottom:1px solid #e9edf2; }.content .publish-card hr { width:100%; margin:2px 0; border:0; border-top:1px solid #e9edf2; }.content .publish-card .button { width:100%; justify-content:center; min-height:44px; font-size:14px; }.content .product-editor-help { background:#faf9ff; }.content .product-editor-help ol { margin:12px 0 0; padding-left:20px; color:#68788d; font-size:13px; line-height:1.7; }.content .product-editor .back-link { color:#6240a6; font-size:13px; }
.content .landing-page-fieldset > p { margin: -4px 0 0; color: #708098; font-size: 12px; line-height: 1.5; }
.content .commerce-form .check-label { display: flex; align-items: flex-start; gap: 8px; color: #29435a; font-size: 13px; }
.content .commerce-form .check-label input { min-height: auto; margin-top: 2px; accent-color: #078a4a; }
.content .commerce-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 2px; }

/* A checkbox is a supporting choice, never a full-size data field. */
.content .product-editor-card .check-label{display:flex;align-items:center;align-self:start;width:max-content;max-width:100%;gap:8px;margin-top:9px;padding:0;color:#4c5e73;font-size:12px;font-weight:700;line-height:1.4}.content .product-editor-card .check-label input[type="checkbox"]{flex:0 0 16px;width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;box-shadow:none!important;accent-color:#7c3aed}.content .product-editor-card .check-label:has(input[required])::after{content:'Wajib';padding:3px 6px;border-radius:999px;background:#f2edff;color:#6940c7;font-size:9px;font-weight:850}
.content .affiliate-layout { display: grid; gap: 18px; }
.content .affiliate-summary { overflow: hidden; }
.content .affiliate-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #edf1ee; }
.content .affiliate-metrics > div { display: grid; gap: 6px; padding: 18px 20px; border-right: 1px solid #edf1ee; }
.content .affiliate-metrics > div:last-child { border-right: 0; }
.content .affiliate-metrics span { color: #77879a; font-size: 12px; font-weight: 700; }
.content .affiliate-metrics strong { color: #182943; font-size: 20px; }
.content .affiliate-columns { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .9fr); gap: 18px; align-items: start; }
.content .affiliate-table { display: grid; }
.content .affiliate-head,
.content .affiliate-row { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1fr .6fr; gap: 14px; align-items: center; padding: 14px 20px; }
.content .affiliate-head { color: #8491a3; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-top: 1px solid #edf1ee; border-bottom: 1px solid #edf1ee; }
.content .affiliate-row { border-bottom: 1px solid #edf1ee; color: #30415b; font-size: 13px; }
.content .affiliate-row > div { display: grid; gap: 4px; min-width: 0; }
.content .affiliate-row strong { color: #182943; font-size: 13px; }
.content .affiliate-row small { color: #8390a2; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content .affiliate-row code { width: max-content; max-width: 100%; padding: 4px 7px; border-radius: 6px; background: #eff7f3; color: #087c43; font-size: 11px; font-weight: 800; }
.content .affiliate-row .row-action { width: max-content; padding: 0; border: 0; background: transparent; color: #078a4a; font-size: 11px; font-weight: 800; }
.content .payment-settings-panel { padding: 0; overflow: hidden; }
.content .payment-settings-panel > .panel-heading { padding: 24px 26px; border-bottom: 1px solid #edf1ee; }
.content .payment-settings-form fieldset { gap: 16px; }
.content .payment-readiness { margin: 0; padding: 11px 13px; border: 1px solid #f3d7a7; border-radius: 9px; background: #fffaf0; color: #815c20; font-size: 12px; line-height: 1.5; }
.content .payment-readiness strong { margin-right: 5px; }
.content .payment-readiness.is-ready { border-color: #b9e6ca; background: #f1fbf5; color: #176a3e; }
.content .sales-view { display: grid; gap: 18px; }
.content .inline-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.content .sales-tabs { display: flex; gap: 4px; width: fit-content; padding: 4px; border: 1px solid #dce7e1; border-radius: 12px; background: #fff; }
.content .sales-tabs button { display: inline-flex; align-items: center; gap: 7px; min-height: 39px; padding: 8px 13px; border: 0; border-radius: 8px; background: transparent; color: #65748a; font-size: 13px; font-weight: 750; }
.content .sales-tabs button.is-active { background: #eaf8ef; color: #078a4a; }
.content .sales-tabs small { display: inline-grid; min-width: 18px; height: 18px; place-items: center; border-radius: 999px; background: #e9f0ec; color: #557063; font-size: 10px; }
.content .sales-tabs button.is-active small { background: #cfeeda; color: #087b43; }
.content .landing-page-panel { padding: 0; overflow: hidden; }
.content .landing-page-panel > .panel-heading { padding: 24px 26px; border-bottom: 1px solid #edf1ee; }
.content .landing-workbench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); align-items: start; gap: 20px; }
.content .landing-template-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.content .landing-template-option { display: grid !important; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 11px; min-height: 82px; padding: 11px; border: 1px solid #dfe8e3; border-radius: 10px; cursor: pointer; }
.content .landing-template-option:has(input:checked) { border-color: #72c794; background: #f1fbf5; box-shadow: inset 0 0 0 1px rgba(6, 132, 73, .08); }
.content .landing-template-option input { position: absolute; opacity: 0; pointer-events: none; }
.content .landing-template-option > span { display: grid; gap: 4px; }
.content .landing-template-option strong { color: #263954; font-size: 12px; }
.content .landing-template-option small { color: #718096; font-size: 10.5px; font-weight: 600; line-height: 1.35; }
.content .template-swatch { position: relative; display: block; width: 52px; height: 48px; overflow: hidden; border: 1px solid rgba(13, 44, 31, .09); border-radius: 7px; background: linear-gradient(145deg, #f6fffa 0 43%, #dff4e7 44% 100%); }
.content .template-swatch::before { content: ''; position: absolute; top: 7px; left: 7px; right: 7px; height: 5px; border-radius: 4px; background: #0b884b; box-shadow: 0 10px 0 rgba(8, 136, 73, .28), 0 20px 0 rgba(8, 136, 73, .18); }
.content .template-swatch.education { background: linear-gradient(145deg, #f5f9ff 0 43%, #dbeafe 44% 100%); }
.content .template-swatch.education::before { background: #2563b8; box-shadow: 0 10px 0 rgba(37, 99, 184, .26), 0 20px 0 rgba(37, 99, 184, .16); }
.content .template-swatch.course { background: linear-gradient(145deg, #fbf7ff 0 43%, #eadcff 44% 100%); }
.content .template-swatch.course::before { background: #7145b8; box-shadow: 0 10px 0 rgba(113, 69, 184, .26), 0 20px 0 rgba(113, 69, 184, .16); }
.content .template-swatch.registration { background: linear-gradient(145deg, #fffaf2 0 43%, #ffe4bd 44% 100%); }
.content .template-swatch.registration::before { background: #bc6b12; box-shadow: 0 10px 0 rgba(188, 107, 18, .26), 0 20px 0 rgba(188, 107, 18, .16); }
.content .landing-menu-list { display: grid; gap: 10px; }
.content .landing-menu-item { display: grid; gap: 12px; padding: 14px; border: 1px solid #dce8e1; border-radius: 11px; background: #fbfdfc; }
.content .landing-preview-panel { position: sticky; top: 20px; overflow: hidden; border: 1px solid #dce8e1; border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(26, 54, 42, .07); }
.content .landing-preview-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 17px; border-bottom: 1px solid #e8efeb; background: #fbfdfc; }
.content .landing-preview-toolbar > div { display: grid; gap: 3px; }
.content .landing-preview-toolbar strong { color: #233852; font-size: 13px; }
.content .landing-preview-toolbar small { color: #718197; font-size: 11.5px; line-height: 1.4; }
.content .landing-preview-toolbar > span { padding: 5px 8px; border-radius: 999px; background: #edf7f1; color: #0a7d44; font-size: 10.5px; font-weight: 800; }
.content .landing-preview-surface { overflow: hidden; background: #fbf8f2; color: #18304a; }
.content .landing-preview-surface header { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 15px; border-bottom: 1px solid #e9e8df; background: #fff; }
.content .landing-preview-brand { display: flex; align-items: center; min-width: 0; gap: 8px; }
.content .landing-preview-brand img,
.content .landing-preview-brand > span { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; object-fit: contain; background: #e8f6ed; }
.content .landing-preview-brand > span { display: grid; place-items: center; color: #0b8248; font-size: 10px; font-weight: 900; }
.content .landing-preview-brand strong { overflow: hidden; color: #213650; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.content .landing-preview-surface nav { display: none; align-items: center; gap: 10px; margin-left: auto; }
.content .landing-preview-surface nav a { color: #617086; font-size: 10px; font-weight: 700; text-decoration: none; }
.content .landing-preview-surface header > button,
.content .landing-preview-surface main > button { min-height: 30px; border: 0; border-radius: 7px; background: #078a4a; color: #fff; font-size: 10px; font-weight: 850; }
.content .landing-preview-surface header > button { margin-left: auto; padding: 6px 8px; }
.content .landing-preview-surface main { display: grid; justify-items: start; gap: 10px; min-height: 220px; padding: 40px 22px 32px; background: radial-gradient(circle at 90% 12%, #d8f2e2 0, #fbf8f2 43%, #fff 100%); }
.content .landing-preview-surface.template-education main { background: radial-gradient(circle at 90% 12%, #dbeafe 0, #f7fbff 43%, #fff 100%); }
.content .landing-preview-surface.template-education .landing-preview-kicker,
.content .landing-preview-surface.template-education .landing-preview-products article span { color: #2563b8; }
.content .landing-preview-surface.template-education header > button,
.content .landing-preview-surface.template-education main > button { background: #2563b8; }
.content .landing-preview-surface.template-course main { background: radial-gradient(circle at 90% 12%, #e7dbff 0, #fbf9ff 43%, #fff 100%); }
.content .landing-preview-surface.template-course .landing-preview-kicker,
.content .landing-preview-surface.template-course .landing-preview-products article span { color: #7044b6; }
.content .landing-preview-surface.template-course header > button,
.content .landing-preview-surface.template-course main > button { background: #7044b6; }
.content .landing-preview-surface.template-registration main { background: radial-gradient(circle at 90% 12%, #ffe6c5 0, #fffaf4 43%, #fff 100%); }
.content .landing-preview-surface.template-registration .landing-preview-kicker,
.content .landing-preview-surface.template-registration .landing-preview-products article span { color: #ad620f; }
.content .landing-preview-surface.template-registration header > button,
.content .landing-preview-surface.template-registration main > button { background: #ad620f; }
.content .landing-preview-kicker { margin: 0; color: #0a8248; font-size: 10.5px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.content .landing-preview-surface main h3 { margin: 0; color: #142944; font-size: 27px; letter-spacing: -.9px; line-height: 1.08; }
.content .landing-preview-surface main > p:not(.landing-preview-kicker) { display: -webkit-box; max-width: 310px; margin: 0; overflow: hidden; color: #66758a; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.content .landing-preview-surface main > button { padding: 8px 12px; }
.content .landing-preview-surface > section { display: grid; gap: 12px; padding: 17px; border-top: 1px solid #e6e9e7; background: #fff; }
.content .landing-preview-surface > section > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.content .landing-preview-surface > section p { margin: 0; color: #243852; font-size: 13px; font-weight: 850; }
.content .landing-preview-surface > section small { color: #758397; font-size: 10px; }
.content .landing-preview-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.content .landing-preview-products article { display: grid; min-width: 0; gap: 6px; padding: 9px; border: 1px solid #e4ece6; border-radius: 8px; background: #fbfdfc; }
.content .landing-preview-products article span { overflow: hidden; color: #0a7c43; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.content .landing-preview-products article strong { overflow: hidden; color: #263b56; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.content .landing-preview-products article small { color: #687a90; font-size: 9.5px; }
.content .landing-preview-empty { grid-column: 1 / -1; margin: 0; padding: 12px; border: 1px dashed #cfddd4; border-radius: 8px; color: #7a899a; font-size: 11px; line-height: 1.45; }
.content .wordpress-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, 340px); align-items: start; gap: 20px; }
.content .wordpress-setup-panel { padding: 0; overflow: hidden; }
.content .wordpress-setup-panel > .panel-heading { padding: 24px 26px; border-bottom: 1px solid #edf1ee; }
.content .wordpress-form fieldset { gap: 15px; }
.content .wordpress-sync-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.content .wordpress-sync-options > label { display: flex; align-items: flex-start; gap: 10px; min-height: 82px; padding: 12px; border: 1px solid #dfe8e3; border-radius: 10px; cursor: pointer; }
.content .wordpress-sync-options > label:has(input:checked) { border-color: #72c794; background: #f1fbf5; }
.content .wordpress-sync-options input { min-height: auto !important; margin-top: 3px; accent-color: #078a4a; }
.content .wordpress-sync-options span { display: grid; gap: 4px; }
.content .wordpress-sync-options strong { color: #29405b; font-size: 12.5px; }
.content .wordpress-sync-options small { color: #718096; font-size: 11px; font-weight: 600; line-height: 1.4; }
.content .wordpress-webhook { display: grid; gap: 6px; padding: 12px; border: 1px dashed #bfd8c9; border-radius: 10px; background: #f4faf6; }
.content .wordpress-webhook span { color: #496658; font-size: 11px; font-weight: 800; }
.content .wordpress-webhook code,
.content .wordpress-install-key code { overflow-wrap: anywhere; color: #17633d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 1.45; }
.content .wordpress-side { display: grid; gap: 16px; position: sticky; top: 20px; }
.content .wordpress-status-card,
.content .wordpress-guide-card,
.content .wordpress-data-card { display: grid; gap: 14px; padding: 18px; border: 1px solid #dce8e1; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(26, 54, 42, .05); }
.content .wordpress-status-card { grid-template-columns: 42px minmax(0, 1fr); align-items: center; }
.content .wordpress-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: #e8f3fc; color: #2074b7; font-family: Georgia, serif; font-size: 25px; font-weight: 800; }
.content .wordpress-status-card > div { display: grid; gap: 3px; min-width: 0; }
.content .wordpress-status-card > div strong { overflow: hidden; color: #243852; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.content .wordpress-status-card > div small { overflow: hidden; color: #74839a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.content .wordpress-status-card > p { grid-column: 1 / -1; margin: 0; color: #67788d; font-size: 12px; line-height: 1.5; }
.content .wordpress-status-card dl { display: grid; grid-column: 1 / -1; gap: 10px; margin: 0; }
.content .wordpress-status-card dl div { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid #edf1ee; }
.content .wordpress-status-card dt { color: #7a899b; font-size: 11px; }
.content .wordpress-status-card dd { margin: 0; color: #31445e; font-size: 11px; font-weight: 800; text-align: right; }
.content .wordpress-error { color: #ae4e4e !important; }
.content .wordpress-guide-card { gap: 12px; }
.content .wordpress-guide-card .panel-heading { min-height: auto; padding: 0; }
.content .wordpress-guide-card ol { display: grid; gap: 9px; margin: 0; padding-left: 18px; color: #63748a; font-size: 12px; line-height: 1.5; }
.content .wordpress-guide-card .text-button { display: inline; min-height: auto; padding: 0; color: #087d43; font-size: inherit; text-decoration: underline; }
.content .wordpress-install-key { display: grid; gap: 7px; padding: 12px; border: 1px solid #e4ce94; border-radius: 10px; background: #fffaf0; }
.content .wordpress-install-key > span { color: #825c1f; font-size: 11px; font-weight: 850; }
.content .wordpress-install-key small { color: #856d43; font-size: 10.5px; line-height: 1.45; }
.content .wordpress-install-key.muted { border-color: #d7e5dd; background: #f7fbf8; }
.content .wordpress-install-key.muted > span { color: #4d6658; }
.content .wordpress-install-key.muted small { color: #708197; }
.content .wordpress-data-card { border-color: #cce7d6; background: #f2fbf6; }
.content .wordpress-data-card strong { color: #17683d; font-size: 13px; }
.content .wordpress-data-card p { margin: 0; color: #4d7460; font-size: 12px; line-height: 1.5; }
.content .landing-host-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.content .landing-host-option { display: flex !important; align-items: flex-start; gap: 10px; min-height: 90px; padding: 14px; border: 1px solid #dfe8e3; border-radius: 11px; cursor: pointer; }
.content .landing-host-option:has(input:checked) { border-color: #72c794; background: #f1fbf5; box-shadow: inset 0 0 0 1px rgba(6, 132, 73, .08); }
.content .landing-host-option input { min-height: auto !important; margin-top: 3px; accent-color: #078a4a; }
.content .landing-host-option span { display: grid; gap: 4px; }
.content .landing-host-option strong { color: #263954; font-size: 13.5px; }
.content .landing-host-option small { color: #718096; font-size: 11.5px; font-weight: 500; line-height: 1.45; }
.content .landing-host-option b { color: #086f3e; font-weight: 800; }
.content .landing-address-preview { margin: 0; padding: 11px 13px; border: 1px solid #cfe8d9; border-radius: 9px; background: #f3fbf6; color: #33634c; font-size: 12px; line-height: 1.5; }
.content .landing-product-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.content .landing-product-picker > label { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #e0e9e3; border-radius: 10px; cursor: pointer; }
.content .landing-product-picker input { min-height: auto !important; margin-top: 3px; accent-color: #078a4a; }
.content .landing-product-picker span { display: grid; gap: 4px; }
.content .landing-product-picker strong { color: #29405b; font-size: 12.5px; }
.content .landing-product-picker small { color: #74839a; font-size: 11px; font-weight: 500; }
.content .course-module-list,
.content .registration-field-list { display: grid; gap: 14px; }
.content .course-module-card,
.content .registration-field-card { display: grid; gap: 14px; padding: 16px; border: 1px solid #dce8e1; border-radius: 12px; background: #fbfdfc; }
.content .form-builder-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.content .form-builder-card-heading > div { display: grid; gap: 4px; }
.content .form-builder-card-heading span { color: #233852; font-size: 13px; font-weight: 850; }
.content .form-builder-card-heading small { color: #74839a; font-size: 11.5px; font-weight: 600; line-height: 1.45; }
.content .button-text-danger { min-height: 32px; padding: 5px 9px; border: 1px solid #efd2d2; border-radius: 8px; background: #fff; color: #b54747; font-size: 11.5px; font-weight: 800; }
.content .button-text-danger:disabled { opacity: .48; cursor: not-allowed; }
.content .builder-add-button { justify-self: start; }
.content .registration-field-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px; border: 1px dashed #c9ddd1; border-radius: 10px; background: #f4faf6; }
.content .registration-field-actions > span { margin-right: 2px; color: #406151; font-size: 12px; font-weight: 800; }
.content .registration-field-actions .button { min-height: 34px; padding: 6px 10px; font-size: 11.5px; }

@media (max-width: 1080px) {
  .content .landing-workbench { grid-template-columns: 1fr; }
  .content .landing-preview-panel { position: static; }
  .content .wordpress-grid { grid-template-columns: 1fr; }
  .content .wordpress-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content .wordpress-data-card { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .content { --content-copy-size: 13.5px; --content-meta-size: 11.5px; }
  .content .page-heading h1 { font-size: clamp(28px, 8vw, 33px); letter-spacing: -1px; }
  .content .page-heading > div > p:last-child { font-size: 14px; }
  .content .button { min-height: 42px; font-size: 13px; }
  .content .panel-heading h2 { font-size: 17px; }
  .content .inbox-list-panel,
  .content .conversation-panel { min-height: 520px; }
  .content .message p { font-size: 14px; }
  .content .reply-form { align-items: stretch; flex-wrap: wrap; }
  .content .reply-form input { flex-basis: 100%; }
  .content .reply-form .button { flex: 1; justify-content: center; }
  .content .send-mode-tabs button,
  .content .device-send-tabs button,
  .content .campaign-hub-tabs button { min-height: 46px; font-size: 12.5px; }
  .content :is(.send-composer, .template-builder, .contact-import-form) textarea { min-height: 126px; }
  .content .ai-page-expanded { grid-template-columns: 1fr; }
  .content .ai-auto-reply-form { padding: 17px; }
  .content .ai-auto-reply-top,
  .content .ai-auto-reply-actions { flex-direction: column; align-items: stretch; }
  .content .ai-auto-reply-grid { grid-template-columns: 1fr; }
  .content .ai-schedule-grid,
  .content .ai-billing-grid,
  .content .ai-billing-options { grid-template-columns: 1fr; }
  .content .ai-auto-reply-actions .button { width: 100%; justify-content: center; }
  .content .product-grid { grid-template-columns: 1fr; padding: 15px; }
  .content .product-builder > .panel-heading,
  .content .payment-settings-panel > .panel-heading,
  .content .commerce-form { padding-left: 17px; padding-right: 17px; }
  .content .product-type-options,
  .content .commerce-form-grid,
  .content .affiliate-columns,
  .content .landing-host-options,
  .content .landing-template-options,
  .content .wordpress-sync-options,
  .content .wordpress-side { grid-template-columns: 1fr; }
  .content .landing-workbench { grid-template-columns: 1fr; }
  .content .landing-preview-panel { position: static; }
  .content .sales-tabs { width: 100%; }
  .content .sales-tabs button { flex: 1; justify-content: center; }
  .content .inline-actions { width: 100%; justify-content: stretch; }
  .content .inline-actions .button { flex: 1; justify-content: center; }
  .content .commerce-form-actions { flex-direction: column-reverse; }
  .content .commerce-form-actions .button { width: 100%; justify-content: center; }
  .content .affiliate-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content .affiliate-metrics > div:nth-child(2) { border-right: 0; }
  .content .affiliate-row,
  .content .affiliate-head { grid-template-columns: 1fr; gap: 7px; }
  .content .affiliate-head { display: none; }
  .content .affiliate-row > .status { justify-self: start; }
  .content .form-builder-card-heading { align-items: stretch; flex-direction: column; }
  .content .form-builder-card-heading .button { width: 100%; justify-content: center; }
}

/* Electric blue + orange brand system: channel, commerce, and integration surfaces */
.content :is(input, select, textarea):focus {
  border-color: #75b2ff;
  box-shadow: 0 0 0 3px rgba(20, 121, 255, .14);
}
.content input[type="checkbox"],
.content input[type="radio"] { accent-color: #7C3AED; }
.content .send-mode-tabs button:hover,
.content .device-send-tabs button:hover,
.content .campaign-hub-tabs button:hover,
.content .sales-tabs button:hover {
  color: #7C3AED;
  background: #f3f8ff;
}
.content .send-mode-tabs button.is-active,
.content .device-send-tabs button.is-active,
.content .campaign-hub-tabs button.is-active,
.content .sales-tabs button.is-active {
  color: #6D28D9;
  border-color: #7C3AED;
  background: #eaf4ff;
}
.content .channel-tab.is-active,
.content .connection-card.is-active,
.content .product-type-option.is-active,
.content .landing-template-option.is-active,
.content .landing-host-option.is-active {
  border-color: #9bcaff;
  background: #f3f8ff;
}
.content .connection-icon,
.content .product-type-icon,
.content .landing-template-icon,
.content .wordpress-icon,
.content .affiliate-icon {
  color: #7C3AED;
  background: #edf5ff;
}
.content .connection-state.is-ready,
.content .integration-status.is-ready,
.content .status.is-active,
.content .status.is-running {
  color: #6D28D9;
  background: #eaf4ff;
}
.content .template-builder-top,
.content .wordpress-install-card,
.content .affiliate-program-card,
.content .landing-preview-toolbar {
  border-color: #d4e6ff;
  background: #f7fbff;
}
.content .template-phone-header,
.content .landing-preview-brand,
.content .affiliate-link-row code {
  color: #fff;
  background: var(--aurora);
}
.content .affiliate-row code,
.content .affiliate-link-value {
  color: #6D28D9;
  border-color: #d4e6ff;
  background: #f2f8ff;
}
.content .connection-note.is-ready,
.content .inline-notice.is-success,
.content .landing-notice.is-success,
.content .wordpress-event-success {
  color: #6D28D9;
  border-color: #d4e6ff;
  background: #f2f8ff;
}
.content .template-swatch { background: #f1f8ff; }
.content .template-swatch.education { background: #edf5ff; }
.content .template-swatch.course { background: #f6f8ff; }
.content .template-swatch.registration { background: #fff4e8; }
.content .landing-preview-surface main,
.content .landing-preview-surface.template-education main,
.content .landing-preview-surface.template-course main,
.content .landing-preview-surface.template-registration main { background: #fff; }
.content .template-phone-chat { background: #f7f4ec; }

/* Solid violet, magenta, and yellow channel surfaces. */
.content :is(input, select, textarea):focus { border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(214, 0, 143, .13); }
.content input[type="checkbox"],
.content input[type="radio"] { accent-color: #7C3AED; }
.content .send-mode-tabs button:hover,
.content .device-send-tabs button:hover,
.content .campaign-hub-tabs button:hover,
.content .sales-tabs button:hover { color: #7C3AED; background: #FAF9FF; }
.content .send-mode-tabs button.is-active,
.content .device-send-tabs button.is-active,
.content .campaign-hub-tabs button.is-active,
.content .sales-tabs button.is-active { color: #4C1D95; border-color: #7C3AED; background: #fdf0f9; }
.content .channel-tab.is-active,
.content .connection-card.is-active,
.content .product-type-option.is-active,
.content .landing-template-option.is-active,
.content .landing-host-option.is-active { border-color: #eb9ccc; background: #fff7fc; }
.content .connection-icon,
.content .product-type-icon,
.content .landing-template-icon,
.content .wordpress-icon,
.content .affiliate-icon { color: #7C3AED; background: #F5F3FF; }
.content .connection-state.is-ready,
.content .integration-status.is-ready,
.content .status.is-active,
.content .status.is-running { color: #5B21B6; background: #F5F3FF; }
.content .template-builder-top,
.content .wordpress-install-card,
.content .affiliate-program-card,
.content .landing-preview-toolbar { border-color: #E7E1F2; background: #FAF9FF; }
.content .template-phone-header,
.content .landing-preview-brand,
.content .affiliate-link-row code { color: #fff; background: #4C1D95; }
.content .affiliate-row code,
.content .affiliate-link-value { color: #5B21B6; border-color: #DDD6FE; background: #F5F3FF; }
.content .connection-note.is-ready,
.content .inline-notice.is-success,
.content .landing-notice.is-success,
.content .wordpress-event-success { color: #4b2b76; border-color: #E7E1F2; background: #FAF9FF; }

@media (max-width: 1080px) { .content .product-type-options-editor { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 980px) { .content .product-editor-form { grid-template-columns:1fr; }.content .publish-card { position:static; }.content .product-editor-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); }.content .product-editor-help { align-self:start; } }
@media (max-width: 720px) { .content .product-editor-header { align-items:flex-start; flex-direction:column; }.content .product-editor-header>div:last-child { width:100%; }.content .product-editor-header .button { flex:1; justify-content:center; }.content .product-editor-header h2 { font-size:26px; }.content .product-editor-card { padding:17px; }.content .product-type-options-editor,.content .product-data-card .commerce-form-grid,.content .product-editor-sidebar { grid-template-columns:1fr; }.content .product-editor-card-heading { align-items:flex-start; }.content .product-editor-card-heading>em { display:none; } }

/* Product image management */
.content .product-media-card { overflow: hidden; }
.content .product-image-picker {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
  color: #fff; background: #4c1d95; border-radius: 9px; cursor: pointer; font-weight: 700; font-size: 14px;
}
.content .product-image-picker:hover { background: #7c3aed; }
.content .product-image-picker input,
.content .product-image-empty input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.content .product-image-empty {
  min-height: 166px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px;
  border: 1.5px dashed #d9c9e9; border-radius: 12px; color: #5b4774; cursor: pointer; text-align: center; background: #fdfaff;
}
.content .product-image-empty:hover { border-color: #7c3aed; background: #fff6fc; }
.content .product-image-empty > span { display: grid; place-items: center; width: 38px; height: 38px; color: #7c3aed; background: #F5F3FF; border-radius: 10px; }
.content .product-image-empty strong { color: #4c1d95; font-size: 16px; }
.content .product-image-empty small { max-width: 380px; padding: 0 18px; font-size: 13px; }
.content .product-image-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.content .product-image-grid figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e5dded; border-radius: 10px; background: #fff; }
.content .product-image-grid figure.is-cover { border: 2px solid #7c3aed; }
.content .product-image-grid img { width: 100%; height: 126px; display: block; object-fit: cover; background: #f5f1f8; }
.content .product-image-grid figcaption { position: absolute; left: 7px; top: 7px; padding: 3px 6px; color: #4c1d95; border-radius: 5px; background: #c4b5fd; font-size: 10px; font-weight: 800; }
.content .product-image-grid button { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; color: #fff; border: 0; border-radius: 50%; background: rgba(46,16,101,.86); cursor: pointer; }
.content .product-image-grid button:hover { background: #7c3aed; }
.content .product-image-grid small { display: block; padding: 8px; overflow: hidden; color: #6e607b; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.content .product-card-image { width: 100%; height: 172px; margin: -2px 0 14px; display: block; object-fit: cover; border-radius: 9px; background: #f4eff8; }
@media (max-width: 980px) { .content .product-image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .content .product-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.content .product-image-picker { width: 100%; justify-content: center; }.content .product-editor-card-heading:has(.product-image-picker) { flex-direction: column; }.content .product-image-grid img { height: 148px; } }

/* Product editor simplification: publication fields belong to the main form. */
.content .product-editor-form.product-editor-form-single { grid-template-columns: minmax(0, 1fr); }
.content .product-commerce-card .commerce-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 720px) {
  .content .product-commerce-card .commerce-form-grid { grid-template-columns: 1fr; }
}

/* Affiliate marketplace: merchant dashboard */
.content .affiliate-module { display: grid; gap: 18px; }
.content .affiliate-tabs {
  display: flex; gap: 7px; padding: 6px; overflow-x: auto; border: 1px solid #e8deef;
  border-radius: 12px; background: #fff; scrollbar-width: thin;
}
.content .affiliate-tabs button {
  flex: 0 0 auto; min-height: 38px; padding: 0 14px; color: #675779; border: 0;
  border-radius: 8px; background: transparent; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
}
.content .affiliate-tabs button:hover { color: #7c3aed; background: #FAF9FF; }
.content .affiliate-tabs button.is-active { color: #fff; background: #4c1d95; box-shadow: 0 8px 18px rgba(46,16,101,.16); }
.content .affiliate-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.content .affiliate-hero-card {
  grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 25px; overflow: hidden; color: #fff; border: 0;
  background: linear-gradient(125deg,#4c1d95 0%,#5b2eff 68%,#7c3aed 135%);
}
.content .affiliate-hero-card h2 { margin: 3px 0 7px; color: #fff; font-size: clamp(23px,3vw,31px); }
.content .affiliate-hero-card p { max-width: 720px; margin: 0; color: rgba(255,255,255,.81); line-height: 1.6; }
.content .affiliate-hero-card .eyebrow { color: #c4b5fd; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.content .affiliate-hero-card .status { flex: 0 0 auto; color: #4c1d95; background: #fff; }
.content .affiliate-kpi-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.content .affiliate-kpi-grid article { display: grid; gap: 7px; padding: 19px; border: 1px solid #e8deef; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(46,16,101,.04); }
.content .affiliate-kpi-grid span { color: #7d6e8b; font-size: 12px; font-weight: 800; }
.content .affiliate-kpi-grid strong { color: #4c1d95; font-size: 22px; }
.content .affiliate-kpi-grid small { color: #91849e; font-size: 11px; }
.content .affiliate-wide-card { min-width: 0; overflow: hidden; }
.content .affiliate-simple-list { display: grid; border-top: 1px solid #eee6f3; }
.content .affiliate-simple-list > div:not(.empty-state) { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 13px; align-items: center; padding: 14px 20px; border-bottom: 1px solid #f0eaf4; }
.content .affiliate-simple-list > div:last-child { border-bottom: 0; }
.content .affiliate-simple-list b { display: grid; place-items: center; width: 27px; height: 27px; color: #5B21B6; border-radius: 8px; background: #F5F3FF; }
.content .affiliate-simple-list span { display: grid; gap: 3px; min-width: 0; }
.content .affiliate-simple-list span strong { overflow: hidden; color: #29163e; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.content .affiliate-simple-list small { color: #8d8196; font-size: 11px; }
.content .affiliate-simple-list em { color: #705f7d; font-size: 12px; font-style: normal; }
.content .affiliate-products-panel,
.content .affiliate-transactions,
.content .affiliate-payout-panel,
.content .affiliate-settings-card { overflow: hidden; }
.content .affiliate-product-list { display: grid; border-top: 1px solid #eee6f3; }
.content .affiliate-product-item { display: grid; grid-template-columns: auto minmax(210px,1.4fr) minmax(150px,.7fr) minmax(120px,.45fr); gap: 14px; align-items: center; padding: 15px 20px; border-bottom: 1px solid #f0eaf4; }
.content .affiliate-product-item:last-child { border-bottom: 0; }
.content .affiliate-product-main { display: grid; gap: 4px; min-width: 0; }
.content .affiliate-product-main strong { overflow: hidden; color: #2b183f; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.content .affiliate-product-main small { color: #8a7c96; font-size: 11px; }
.content .affiliate-product-item > label:not(.affiliate-product-toggle) { display: grid; gap: 6px; color: #786887; font-size: 11px; font-weight: 800; }
.content .affiliate-product-item select,
.content .affiliate-product-item input[type="number"] { width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid #ddd1e7; border-radius: 8px; background: #fff; }
.content .affiliate-product-toggle { position: relative; display: block; width: 43px; height: 24px; cursor: pointer; }
.content .affiliate-product-toggle input { position: absolute; opacity: 0; }
.content .affiliate-product-toggle span { position: absolute; inset: 0; border-radius: 999px; background: #d9d0e1; transition: .2s ease; }
.content .affiliate-product-toggle span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: .2s ease; }
.content .affiliate-product-toggle input:checked + span { background: #7c3aed; }
.content .affiliate-product-toggle input:checked + span::after { transform: translateX(19px); }
.content .affiliate-product-form .commerce-form-actions { padding: 17px 20px; border-top: 1px solid #eee6f3; }
.content .affiliate-partner-grid { display: grid; grid-template-columns: minmax(270px,.7fr) minmax(0,1.5fr); gap: 18px; align-items: start; }
.content .affiliate-create-card { overflow: hidden; }
.content .affiliate-create-card .commerce-form { padding: 0 20px 20px; }
.content .affiliate-create-card fieldset { display: grid; gap: 12px; padding: 0; border: 0; }
.content .affiliate-create-card legend { margin-bottom: 8px; color: #4c1d95; font-size: 13px; font-weight: 900; }
.content .affiliate-create-card label { display: grid; gap: 6px; color: #665471; font-size: 12px; font-weight: 800; }
.content .affiliate-create-card input,
.content .affiliate-create-card select { min-height: 41px; padding: 0 11px; border: 1px solid #ddd1e7; border-radius: 8px; background: #fff; }
.content .affiliate-create-card small { color: #96889f; font-size: 10px; font-weight: 500; }
.content .affiliate-partner-list { min-width: 0; overflow: hidden; }
.content .affiliate-partner-table .affiliate-head,
.content .affiliate-partner-table .affiliate-row { grid-template-columns: 1.15fr .8fr .9fr .9fr 1.15fr; }
.content .affiliate-row-actions { display: flex !important; flex-wrap: wrap; gap: 8px !important; align-items: center; }
.content .affiliate-row-actions .row-action { width: auto; min-height: 28px; padding: 0 9px; color: #5b2eff; border: 1px solid #ded1ea; border-radius: 7px; background: #fff; cursor: pointer; }
.content .affiliate-row-actions .row-action:hover { color: #fff; border-color: #5b2eff; background: #5b2eff; }
.content .affiliate-row-actions .row-action.danger { color: #b42318; border-color: #f1c5c2; }
.content .affiliate-row-actions .row-action.danger:hover { color: #fff; border-color: #b42318; background: #b42318; }
.content .affiliate-ledger { display: grid; overflow-x: auto; border-top: 1px solid #eee6f3; }
.content .affiliate-ledger-head,
.content .affiliate-ledger-row { min-width: 850px; display: grid; grid-template-columns: 1.05fr 1fr .8fr .75fr .85fr 1fr; gap: 13px; align-items: center; padding: 13px 20px; }
.content .affiliate-payout-head,
.content .affiliate-payout-row { min-width: 900px; display: grid; grid-template-columns: 1.05fr .8fr .7fr 1.1fr .75fr 1fr; gap: 13px; align-items: center; padding: 13px 20px; }
.content .affiliate-ledger-head,
.content .affiliate-payout-head { color: #8b7d96; background: #FAF9FF; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.content .affiliate-ledger-row,
.content .affiliate-payout-row { color: #5e4d6b; border-top: 1px solid #f0eaf4; font-size: 12px; }
.content .affiliate-ledger-row > div:first-child,
.content .affiliate-payout-row > div:first-child { display: grid; gap: 3px; }
.content .affiliate-ledger-row strong,
.content .affiliate-payout-row strong { color: #2b183f; }
.content .affiliate-ledger-row small,
.content .affiliate-payout-row small { color: #92869b; font-size: 10px; }
.content .affiliate-settings-card .commerce-form { padding: 0 20px 20px; }
.content .affiliate-policy-note { border-color: #e3d8ec; background: #fbf8fd; }
.content .affiliate-policy-note > span { color: #7c3aed; background: #F5F3FF; }

@media (max-width: 1050px) {
  .content .affiliate-overview-grid { grid-template-columns: 1fr; }
  .content .affiliate-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content .affiliate-partner-grid { grid-template-columns: 1fr; }
  .content .affiliate-product-item { grid-template-columns: auto minmax(0,1fr) minmax(150px,.65fr) minmax(120px,.45fr); }
}
@media (max-width: 720px) {
  .content .affiliate-tabs { margin-inline: -2px; }
  .content .affiliate-hero-card { flex-direction: column; padding: 20px; }
  .content .affiliate-kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .content .affiliate-kpi-grid article { padding: 15px; }
  .content .affiliate-kpi-grid strong { font-size: 18px; }
  .content .affiliate-simple-list > div:not(.empty-state) { grid-template-columns: auto minmax(0,1fr) auto; padding: 13px 15px; }
  .content .affiliate-simple-list > div > strong:last-child { grid-column: 2 / -1; }
  .content .affiliate-product-item { grid-template-columns: auto minmax(0,1fr); padding: 14px 15px; }
  .content .affiliate-product-item > label:not(.affiliate-product-toggle) { grid-column: 2; }
  .content .affiliate-partner-table .affiliate-head { display: none; }
  .content .affiliate-partner-table .affiliate-row { grid-template-columns: 1fr; gap: 10px; padding: 15px; }
  .content .affiliate-create-card .commerce-form,
  .content .affiliate-settings-card .commerce-form { padding-inline: 15px; }
}
@media (max-width: 440px) {
  .content .affiliate-kpi-grid { grid-template-columns: 1fr; }
}

.commerce-inline-notice {
  margin: 0 24px 18px;
  padding: 13px 15px;
  border: 1px solid rgba(91, 46, 255, 0.18);
  border-radius: 14px;
  background: rgba(91, 46, 255, 0.06);
  color: var(--text-muted, #5f5870);
  font-size: 0.92rem;
  line-height: 1.5;
}

.content .product-entitlement-note{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:-4px 0 15px;padding:11px 13px;border:1px solid #d8eee1;border-radius:10px;background:#f3fbf6;color:#3d6a50;font-size:12px;line-height:1.5}.content .product-entitlement-note strong{color:#247447;font-size:12px}.content .product-entitlement-note span{color:#6d7f73;text-align:right}.content .product-entitlement-locked{display:grid;gap:4px;margin-top:13px;padding:12px 13px;border:1px dashed #d9dfe7;border-radius:10px;background:#fafbfd;color:#77869a;font-size:12px;line-height:1.45}.content .product-entitlement-locked strong{color:#617086;font-size:12px}.content .product-catalog .plan-badge{max-width:300px;text-align:center;line-height:1.35}@media(max-width:720px){.content .product-entitlement-note{display:grid;gap:5px}.content .product-entitlement-note span{text-align:left}}

/* Booking and appointment are operational modules, not generic catalog options. */
.content .product-data-card .product-fieldset-help { margin: 0 0 15px; color: #718096; font-size: 13px; line-height: 1.5; }
