/* UAT-07: customer presentation, loaded after the existing layers. No data or permission changes. */
html body:not(.admin-shell):not(.company-store-shell),body:not(.admin-shell):not(.company-store-shell) #main{background:#fff!important;color:#102d4f}
body:not(.admin-shell):not(.company-store-shell) #main .page-bg{background:#fff!important}
html body #header.lot4b-header .lot4b-header-search .lot4b-picker-trigger[aria-expanded="true"],html body #header.lot4b-header .lot4b-header-search .lot4b-picker-menu [aria-selected="true"]{background:#edf2f8!important;color:#102d4f!important;border-color:#b9c8da!important;box-shadow:none!important}
html body #header.lot4b-header .lot4b-header-search .lot4b-search-button{background:#102d4f!important;color:#fff!important}
body:not(.admin-shell) :is(a,button,summary):focus-visible{outline:2px solid #1d4ed8!important;outline-offset:2px!important}
html body .lot4b-auth-onboarding-page,html body .account-recovery-page{background:#fff!important;padding-block:32px!important}
html body .lot4b-auth-onboarding-page .lot4b-wiz-card{border:1px solid #dbe3ec!important;background:#fff!important;box-shadow:0 8px 30px #102d4f08!important;border-radius:20px!important}
.account-recovery-page .panel{width:min(100%,560px);margin-inline:auto;padding:clamp(20px,4vw,36px);border:1px solid #dbe3ec;background:#fff;box-shadow:none}
html body .account-hub-page .lot4b-profile-kpi-card{background:#fff!important;border:0!important;border-bottom:1px solid #dbe3ec!important;box-shadow:none!important}
html body .lot4b-auth-onboarding-page :is(input:not([type="checkbox"]):not([type="radio"]),select),html body .account-recovery-page :is(input,button){min-height:48px!important;font-size:1rem!important}
html body .lot4b-auth-onboarding-page input:is([type="email"],[type="password"],[type="tel"]),.account-recovery-page input{direction:ltr;text-align:start}
.lot4b-auth-onboarding-page .lot4b-flag-circle{width:40px;height:40px;flex:0 0 40px;overflow:hidden}.lot4b-auth-onboarding-page .lot4b-flag-circle :is(img,svg){width:100%;height:100%;object-fit:cover}
.lot4b-auth-onboarding-page .lot4b-comm-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px}.lot4b-auth-onboarding-page .lot4b-comm-icon svg{width:24px;height:24px}
.lot4b-auth-onboarding-page .lot4b-choice-card,.lot4b-auth-onboarding-page .lot4b-comm-card{min-height:64px;gap:12px}.lot4b-auth-onboarding-page .lot4b-comm-copy{min-width:0;overflow-wrap:anywhere}
.account-favorites .favorite-row h2,.account-hub-page .lot4b-title-link strong{unicode-bidi:plaintext;overflow-wrap:anywhere}
.referral-copy-feedback{display:block;flex-basis:100%;color:#164e3c;font-size:.9rem;line-height:1.6}.referral-copy-feedback:empty{display:none}
.general-contact{position:fixed;inset-inline-end:20px;bottom:24px;z-index:45;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#102d4f;color:#fff;box-shadow:0 3px 12px #102d4f25;border:2px solid #fff;text-decoration:none}.general-contact svg{width:24px;height:24px}.general-contact:hover{background:#183c65;color:#fff}
body:has(dialog[open]) .general-contact,body.admin-shell .general-contact,body.company-store-shell .general-contact{visibility:hidden}
@media(max-width:700px){.general-contact{inset-inline-end:12px;bottom:calc(96px + env(safe-area-inset-bottom,0px))}body:has(input:focus,textarea:focus,select:focus) .general-contact{visibility:hidden}.account-recovery-page{padding-inline:16px!important}.account-recovery-page .panel{box-sizing:border-box}}
@media(prefers-reduced-motion:reduce){.general-contact{transition:none!important}}

.account-recovery-page{display:block!important;max-width:640px!important;margin-inline:auto!important}html body .account-hub-page .notice-success{border:1px solid #dbe3ec!important;box-shadow:none!important;background:#f8fafc!important;color:#164e3c!important}

/* UAT-07 r2 — owner direction: retain the established colors/gradients and organize card geometry only. */
html body section#faq.faq{padding-block:40px!important;max-width:1184px!important}
html body section#faq.faq>h2{margin-block:8px 24px!important;line-height:1.5!important}
html body section#faq.faq details{margin:0 0 12px!important;padding:0!important;border-width:1px!important;border-radius:14px!important;box-shadow:none!important;overflow:visible!important}
html body section#faq.faq details summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;min-height:64px!important;padding:18px 24px!important;line-height:1.7!important;font-weight:700!important;box-sizing:border-box!important;list-style:none!important;border-radius:inherit!important}
html body section#faq.faq details summary::-webkit-details-marker{display:none}
html body section#faq.faq details summary::after{content:'+'!important;position:static!important;display:grid!important;place-items:center!important;flex:0 0 24px!important;width:24px!important;height:24px!important;margin:0!important;border:0!important;background:none!important;transform:none!important;font-size:22px!important;font-weight:400!important;line-height:1!important}
html body section#faq.faq details[open] summary::after{content:'−'!important}
html body section#faq.faq details>p{margin:0!important;padding:18px 24px 22px!important;line-height:1.9!important;max-width:90ch!important;box-sizing:border-box!important}
html body section.founder-section.lot4b-executive-section-v2{padding-block:24px 48px!important}
html body .lot4b-executive-section-v2 .lot4b-executive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important}
html body .lot4b-executive-section-v2 .founder-message-card{min-width:0!important;margin:0!important;padding:28px!important;border-width:1px!important;border-radius:18px!important;box-shadow:none!important}
html body .lot4b-executive-section-v2 .founder-copy{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important;height:100%!important;min-width:0!important}
html body .lot4b-executive-section-v2 .founder-copy>.eyebrow{align-self:flex-start!important;margin:0!important;padding:5px 12px!important;border-radius:8px!important}
html body .lot4b-executive-section-v2 .founder-copy h2{margin:0!important;line-height:1.6!important;min-height:3.2em!important;text-wrap:balance}
html body .lot4b-executive-section-v2 .founder-copy h2 br{display:initial!important}
html body .lot4b-executive-section-v2 .founder-copy blockquote{margin:0!important;padding:20px!important;border-width:0!important;border-radius:12px!important;flex:1 1 auto!important;box-shadow:none!important}
html body .lot4b-executive-section-v2 .founder-copy blockquote p{margin:0 0 14px!important;line-height:1.9!important;text-align:start!important}
html body .lot4b-executive-section-v2 .founder-copy blockquote p:last-child{margin-bottom:0!important}
html body .lot4b-executive-section-v2 .lot4b-founder-footer-row{margin:12px 0 0!important;padding:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:nowrap!important;width:100%!important;box-sizing:border-box!important}
html body .lot4b-executive-section-v2 .founder-signature-role-only{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box!important;width:auto!important;flex:0 0 auto!important;max-width:48%!important;white-space:nowrap!important}
html body .lot4b-executive-section-v2 .lot4b-exec-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;height:38px!important;padding:0 12px!important;border-radius:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;box-sizing:border-box!important;flex:0 1 auto!important;width:auto!important;max-width:52%!important}
html body .lot4b-audience-grid{gap:24px!important;align-items:stretch!important}
html body .lot4b-audience-card{padding:28px!important;border-radius:18px!important;box-shadow:none!important}
@media(max-width:760px){
 html body section#faq.faq{padding-block:28px!important}
 html body section#faq.faq details summary{padding:16px 18px!important;gap:12px!important}
 html body section#faq.faq details>p{padding:16px 18px 20px!important}
 html body .lot4b-executive-section-v2 .lot4b-executive-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 html body .lot4b-executive-section-v2 .founder-message-card,html body .lot4b-audience-card{padding:20px!important}
 html body .lot4b-executive-section-v2 .founder-copy h2{min-height:0!important}
 html body .lot4b-executive-section-v2 .founder-copy blockquote{padding:18px!important}
 html body .lot4b-executive-section-v2 .lot4b-founder-footer-row{align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important}
 html body .lot4b-executive-section-v2 .lot4b-exec-btn{flex:0 1 auto!important;width:auto!important;max-width:52%!important}
}

@media(max-width:960px){html body .lot4b-executive-section-v2 .lot4b-executive-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}}

html body .lot4b-executive-section-v2 .founder-signature-role-only span{display:inline!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}

/* Unified site-wide writing fields & form controls border and focus styling (Lot4B blue theme) */
html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="color"]):not([type="hidden"]),textarea,select):not(#header.lot4b-header .lot4b-header-search input):not(#header.lot4b-header .lot4b-header-search select):not(.hero-search input){border:1px solid #3b82f6!important;outline:none!important;outline-offset:0!important;box-shadow:none!important;transition:border-color .15s ease,box-shadow .15s ease}
html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="color"]):not([type="hidden"]),textarea,select):not(#header.lot4b-header .lot4b-header-search input):not(#header.lot4b-header .lot4b-header-search select):not(.hero-search input):hover:not(:disabled):not(:focus):not(:focus-visible){border-color:#2563eb!important}
html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="color"]):not([type="hidden"]),textarea,select):not(#header.lot4b-header .lot4b-header-search input):not(#header.lot4b-header .lot4b-header-search select):not(.hero-search input):is(:focus,:focus-visible){border:1px solid #1d4ed8!important;border-color:#1d4ed8!important;outline:none!important;outline-offset:0!important;box-shadow:inset 0 0 0 1px #1d4ed8!important}
html body #header.lot4b-header .lot4b-header-search,html body .hero-search{border:1px solid #3b82f6!important;outline:none!important;outline-offset:0!important;box-shadow:none!important;transition:border-color .15s ease,box-shadow .15s ease}
html body #header.lot4b-header .lot4b-header-search:hover:not(:focus-within),html body .hero-search:hover:not(:focus-within){border-color:#2563eb!important}
html body .hero-search:focus-within{border:1px solid #1d4ed8!important;border-color:#1d4ed8!important;outline:none!important;outline-offset:0!important;box-shadow:inset 0 0 0 1px #1d4ed8!important}
html body #header.lot4b-header .lot4b-header-search :is(input,select),html body #header.lot4b-header .lot4b-header-search :is(input,select):is(:focus,:focus-visible),html body .hero-search input,html body .hero-search input:is(:focus,:focus-visible){border:0!important;outline:none!important;outline-offset:0!important;box-shadow:none!important}

/* === Lot4B Polish: Wizard headers, Picker menu without orange indicator, and Owner actions buttons === */

/* 1. Onboarding & Registration / Sign-in: Centered headers, clean subtitles without underline */
html body .lot4b-auth-onboarding-page .lot4b-wiz-head,
html body .lot4b-wiz-head {
  border-bottom: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  position: static !important;
  text-align: center !important;
  margin-inline: auto !important;
  margin-block: 8px 24px !important;
}

html body .lot4b-auth-onboarding-page .lot4b-wiz-head h1,
html body .lot4b-auth-onboarding-page .lot4b-wiz-head h2,
html body .lot4b-wiz-head h1,
html body .lot4b-wiz-head h2 {
  text-align: center !important;
  margin-inline: auto !important;
  font-size: clamp(22px, 3vw, 28px) !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin-bottom: 8px !important;
}

html body .lot4b-auth-onboarding-page .lot4b-wiz-head p,
html body .lot4b-wiz-head p {
  text-align: center !important;
  margin-inline: auto !important;
  width: 100% !important;
  max-width: none !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  line-height: 1.6 !important;
  border-bottom: 0 !important;
}

/* 2. Header Search and Country Menus: Remove orange border/indicator on selection and hover */
html body #header.lot4b-header :is(.lot4b-picker-menu [role=option], .market-country-menu .market-country-option),
html body .lot4b-picker-menu [role=option] {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  background: #FFFFFF !important;
  transition: background-color .15s ease, color .15s ease !important;
}

html body #header.lot4b-header :is(.lot4b-picker-menu [role=option], .market-country-menu .market-country-option):is(:hover, :focus),
html body .lot4b-picker-menu [role=option]:hover,
html body .lot4b-picker-menu [role=option]:focus {
  background: #F1F5F9 !important;
  color: #1D4ED8 !important;
  box-shadow: none !important;
  outline: none !important;
}

html body #header.lot4b-header :is(.lot4b-picker-menu [role=option][aria-selected="true"], .market-country-menu .market-country-option[aria-checked="true"]),
html body .lot4b-picker-menu [role=option][aria-selected="true"] {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  border: 0 !important;
}

html body #header.lot4b-header .lot4b-picker-trigger:focus-visible,
html body .lot4b-picker-trigger:focus-visible {
  box-shadow: none !important;
  outline: none !important;
}

/* 3. Manage Offer Card: Clean, balanced buttons and soft-red close offer button */
html body .deal-summary .listing-interest-heading h2,
html body .listing-detail-page .listing-interest-heading h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin: 18px 0 8px !important;
}

html body .record-owner-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 14px !important;
}

html body .record-owner-actions > p {
  grid-column: 1 / -1 !important;
  margin: 0 0 6px !important;
  font-size: 14px !important;
  color: #64748B !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

html body .record-owner-actions .btn {
  width: 100% !important;
  min-height: 48px !important;
  min-block-size: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  transition: all .15s ease !important;
}

/* Edit button: Crisp theme blue outline */
html body .record-owner-actions a.btn {
  background: #FFFFFF !important;
  border: 1px solid #93C5FD !important;
  color: #1D4ED8 !important;
}

html body .record-owner-actions a.btn:hover {
  background: #EFF6FF !important;
  border-color: #1D4ED8 !important;
  color: #1E40AF !important;
}

/* Close button: Soft light-red danger action (matching user image) */
html body .record-owner-actions button[data-owner-close] {
  background: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  color: #B91C1C !important;
  cursor: pointer !important;
}

html body .record-owner-actions button[data-owner-close]:hover:not(:disabled) {
  background: #FEE2E2 !important;
  border-color: #FCA5A5 !important;
  color: #991B1B !important;
}

html body .record-owner-actions button[data-owner-close]:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

html body .record-owner-actions > p.hint {
  grid-column: 1 / -1 !important;
  margin: 4px 0 0 !important;
  font-size: 12px !important;
  color: #94A3B8 !important;
}

/* === Group 6 Refinements: Share/Favorite icons, Founder text polish, Hero caption removal, White search bar, Notification borders removal === */

/* 1. Header Search Bar: Pure white background for container, inputs, triggers, and picker menu */
html body #header.lot4b-header .lot4b-header-search,
html body #header.lot4b-header .lot4b-header-search input,
html body #header.lot4b-header .lot4b-header-search select,
html body #header.lot4b-header .lot4b-header-search .lot4b-search-picker,
html body #header.lot4b-header .lot4b-header-search .lot4b-picker-trigger,
html body #header.lot4b-header .lot4b-header-search .lot4b-picker-trigger[aria-expanded="true"],
html body .hero-search,
html body .hero-search input {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}

/* 2. Hide "صورة توضيحية" illustrative image caption badge */
html body .lot4b-hero-caption,
html body small.lot4b-hero-caption,
.lot4b-hero-caption {
  display: none !important;
}

/* 3. Favorite button: Heart icon only (hide text label); Share button: Icon only */
html body .lot4b-detail-quick-actions .lot4b-detail-save-btn [data-save-label],
html body .lot4b-detail-save-btn [data-save-label],
html body .lot4b-detail-favorite-btn [data-save-label] {
  display: none !important;
}

html body .lot4b-detail-quick-actions .lot4b-detail-save-btn,
html body .lot4b-detail-save-btn,
html body .lot4b-share-btn {
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
}

/* 4. Remove thick border lines from notification cards and bell dropdown items */
html body #notification-bell .bell-item,
html body #header.lot4b-header .lot4b-header-actions #notification-bell .bell-item,
html body .bell-menu .bell-item,
html body .notification-card,
html body .customer-console .notification-card {
  border: 1px solid #E2E8F0 !important;
  border-inline-start: 1px solid #E2E8F0 !important;
  border-inline-start-width: 1px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

html body #notification-bell .bell-item.notice-success,
html body #notification-bell .bell-item.notice-action,
html body #notification-bell .bell-item.notice-danger,
html body #notification-bell .bell-item.is-unread,
html body .notification-card.notice-info,
html body .notification-card.notice-action,
html body .notification-card.notice-success,
html body .notification-card.notice-danger,
html body .notification-card.is-unread {
  border-inline-start-color: #E2E8F0 !important;
  border-inline-start-width: 1px !important;
}

/* 5. Executive & Founder section cards: Clearer, dark high-contrast typography and balanced quotes */
html body .lot4b-executive-section-v2 .founder-copy blockquote {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 22px 24px !important;
}

html body .lot4b-executive-section-v2 .founder-copy blockquote p {
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: #1E293B !important;
  font-weight: 500 !important;
  margin: 0 0 14px !important;
  text-align: start !important;
}

html body .lot4b-executive-section-v2 .founder-copy blockquote p:last-child {
  margin-bottom: 0 !important;
}

html body .lot4b-executive-section-v2 .founder-copy h2 {
  font-size: clamp(20px, 2.3vw, 25px) !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.45 !important;
  margin-bottom: 8px !important;
}

/* === Group 7: FAQ Clean Borders, Continuous Search Pill, and Related/Linked Offers Polish === */

/* 2. Header Search Bar: Smooth continuous pill border without corner clipping */
html body #header.lot4b-header .lot4b-header-search,
html body .lot4b-header-search {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #93C5FD !important;
  border-radius: 999px !important;
  padding: 3px 6px !important;
  box-shadow: none !important;
  position: relative !important;
}

html body #header.lot4b-header .lot4b-header-search input,
html body .lot4b-header-search input {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 999px !important;
  padding-inline: 14px !important;
}

html body #header.lot4b-header .lot4b-header-search .lot4b-picker-trigger,
html body .lot4b-header-search .lot4b-picker-trigger {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 3. FAQ Section: Complete, unified card borders without vertical segment gaps */
html body section#faq.faq details {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 1px solid #E2E8F0 !important;
  border-inline-start: 1px solid #E2E8F0 !important;
  border-inline-end: 1px solid #E2E8F0 !important;
  border-left: 1px solid #E2E8F0 !important;
  border-right: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  overflow: hidden !important;
}

html body section#faq.faq details summary {
  border: 0 !important;
  border-inline-start: 0 !important;
  border-inline-end: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

html body section#faq.faq details[open] summary {
  border-bottom: 1px solid #F1F5F9 !important;
}

html body section#faq.faq details > p {
  border: 0 !important;
  border-inline-start: 0 !important;
  border-inline-end: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

/* 4. Related Offers Section & Linked Offers Polish */
html body .record-related {
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  padding: 24px 28px !important;
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.04) !important;
  margin: 24px 0 !important;
}

html body .record-related > h2 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

html body .record-related > h2::before {
  content: "" !important;
  display: inline-block !important;
  width: 4px !important;
  height: 20px !important;
  border-radius: 99px !important;
  background: #1D4ED8 !important;
}

html body .record-related > p,
html body .record-related > p[role="status"] {
  margin: 0 !important;
  padding: 28px 20px !important;
  background: #F8FAFC !important;
  border: 1px dashed #CBD5E1 !important;
  border-radius: 14px !important;
  text-align: center !important;
  color: #64748B !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}

html body .record-related .grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 320px)) !important;
  gap: 18px !important;
  margin-top: 14px !important;
  justify-content: start !important;
}

html body .record-related .card {
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease !important;
}

html body .record-related .card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09) !important;
  border-color: #93C5FD !important;
}

/* Linked Offers Section */
html body .lot4b-linked-offers {
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  background: #FFFFFF !important;
  padding: 24px 28px !important;
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.04) !important;
  margin: 24px 0 !important;
}

html body .lot4b-linked-offers .lot4b-detail-section-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

html body .lot4b-linked-offers .lot4b-detail-section-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  display: grid !important;
  place-items: center !important;
}

html body .lot4b-linked-offers h2 {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
}

html body .lot4b-linked-offers .lot4b-linked-empty {
  margin: 0 !important;
  padding: 24px 20px !important;
  background: #F8FAFC !important;
  border: 1px dashed #CBD5E1 !important;
  border-radius: 14px !important;
  text-align: center !important;
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-weight: 500 !important;
}

html body .lot4b-linked-offers .lot4b-linked-privacy {
  margin: 14px 0 0 !important;
  padding: 12px 18px !important;
  background: #EFF6FF !important;
  border: 1px solid #DBEAFE !important;
  border-radius: 12px !important;
  color: #1E40AF !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

/* === Group 8 Polish: Remove related blue bar, match actions height, blue ticket button, centered founder cards === */

/* 1. Remove blue line in related offers */
html body .record-related > h2::before,
html body .record-related h2::before {
  content: none !important;
  display: none !important;
}

/* 2. Equalize height of Compare pill, Favorite button, and Share button */
html body .lot4b-detail-quick-actions :is(.lot4b-detail-save-btn, .lot4b-share-btn, .lot4b-detail-compare-pill) {
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  box-sizing: border-box !important;
  border-radius: 9px !important;
  border: 1.5px solid #cbd5e1 !important;
  vertical-align: middle !important;
}

html body .lot4b-detail-quick-actions :is(.lot4b-detail-save-btn, .lot4b-share-btn) {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  padding: 0 !important;
}

/* 3. Contact Us: "متابعة تذاكري" button turns BLUE when clicked/hovered, not orange */
html body .lot4b-contact-page-v2 .lot4b-ticket-history-btn:hover,
html body .lot4b-contact-page-v2 .lot4b-ticket-history-btn:active,
html body .lot4b-contact-page-v2 .lot4b-ticket-history-btn:focus,
html body .lot4b-contact-page-v2 .lot4b-ticket-history-btn:focus-visible,
html body .lot4b-ticket-history-btn:hover,
html body .lot4b-ticket-history-btn:active,
html body .lot4b-ticket-history-btn:focus,
html body .lot4b-ticket-history-btn:focus-visible {
  background: #1D4ED8 !important;
  background-color: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  color: #FFFFFF !important;
}

/* 4. Founder & CEO Executive Cards: Centered formatting */
html body .lot4b-executive-section-v2 .founder-copy {
  align-items: center !important;
  text-align: center !important;
}

html body .lot4b-executive-section-v2 .founder-copy > .eyebrow {
  align-self: center !important;
  margin-inline: auto !important;
  text-align: center !important;
}

html body .lot4b-executive-section-v2 .founder-copy h2 {
  text-align: center !important;
  margin-inline: auto !important;
}

html body .lot4b-executive-section-v2 .founder-copy blockquote {
  text-align: center !important;
  margin-inline: auto !important;
  width: 100% !important;
}

html body .lot4b-executive-section-v2 .founder-copy blockquote p {
  text-align: center !important;
  margin-inline: auto !important;
}

html body .lot4b-executive-section-v2 .lot4b-founder-footer-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  margin-top: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

html body .lot4b-executive-section-v2 .founder-signature-role-only {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 48% !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  white-space: nowrap !important;
}

html body .lot4b-executive-section-v2 .founder-signature-role-only span {
  color: #0F172A !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

html body .lot4b-executive-section-v2 .lot4b-exec-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 52% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

html body .lot4b-executive-section-v2 .founder-copy blockquote p {
  text-wrap: pretty !important;
  text-wrap: balance !important;
}

/* === Group 10: Subtle Pastel Color Tints for the 4 Account Dashboard KPI Cards === */

.customer-console .account-home-summary.lot4b-dash-kpis-v3 article {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

/* 1. Views Card (مشاهدات عروضك) - Soft Sky Blue */
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(1) {
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%) !important;
  border: 1px solid #BAE6FD !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(1) .lot4b-kpi-badge {
  background: #E0F2FE !important;
  color: #0284C7 !important;
  border: 1px solid #BAE6FD !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(1) strong {
  color: #0369A1 !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(1) .lot4b-kpi-trend {
  background: #E0F2FE !important;
  color: #0369A1 !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
}

/* 2. Listings Card (العروض المنشورة) - Soft Emerald Mint */
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(2) {
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%) !important;
  border: 1px solid #BBF7D0 !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(2) .lot4b-kpi-badge {
  background: #DCFCE7 !important;
  color: #16A34A !important;
  border: 1px solid #BBF7D0 !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(2) strong {
  color: #15803D !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(2) .lot4b-kpi-trend {
  background: #DCFCE7 !important;
  color: #15803D !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
}

/* 3. Interest Requests Card (طلبات الاهتمام) - Soft Warm Amber */
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(3) {
  background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%) !important;
  border: 1px solid #FED7AA !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(3) .lot4b-kpi-badge {
  background: #FFEDD5 !important;
  color: #EA580C !important;
  border: 1px solid #FED7AA !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(3) strong {
  color: #C2410C !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(3) .lot4b-kpi-trend {
  background: #FFEDD5 !important;
  color: #C2410C !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
}

/* 4. Favorites Card (المفضلة) - Soft Calm Slate (Matching plan card 4) */
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(4) {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%) !important;
  border: 1px solid #E2E8F0 !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(4) .lot4b-kpi-badge {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #E2E8F0 !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(4) strong {
  color: #0F172A !important;
}
.customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(4) .lot4b-kpi-trend {
  background: #F1F5F9 !important;
  color: #334155 !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
}


/* ==========================================================================
   Group 11: Sidebar Divider Removal & Matches Summary Full Visual Alignment
   ========================================================================== */

/* 1. Remove vertical grey divider on customer account sidebar */
html body .customer-console .account-sidebar,
html body.customer-account-shell .account-sidebar {
  border-inline-end: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
}

/* 2. Matches Summary (#matches) - Unified Centered Header */
html body .customer-console .account-content .lot4b-matches-workspace > .account-section-head {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  margin: 0 0 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 8px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}
html body .customer-console .account-content .lot4b-matches-workspace > .account-section-head > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  gap: 4px !important;
}
html body .customer-console .account-content .lot4b-matches-workspace > .account-section-head .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  margin: 0 auto 4px !important;
}
html body .customer-console .account-content .lot4b-matches-workspace > .account-section-head h1 {
  margin: 0 !important;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-align: center !important;
}

/* 3. Matches Summary (#matches) - Search Input */
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-search {
  margin: 0 0 12px !important;
  width: 100% !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-search input[type="search"] {
  width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-search input[type="search"]:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}

/* 4. Matches Summary (#matches) - Filters & Tabs Toolbar */
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-filters {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 12px 16px !important;
  margin: 0 0 16px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-tab.lot4b-summary-chip {
  min-height: 38px !important;
  height: 38px !important;
  padding: 6px 14px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-tab.lot4b-summary-chip:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-tab.lot4b-summary-chip[aria-selected="true"] {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.08) !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-tab[aria-selected="true"] .lot4b-summary-count {
  background: #dbeafe !important;
  color: #1e40af !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-roles {
  display: inline-flex !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  padding: 3px !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  gap: 3px !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-role {
  border: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: 7px !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-role:hover {
  color: #0f172a !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-role[aria-pressed="true"] {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

/* 5. Matches Summary (#matches) - Table Card Container & Modern Table Styling */
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
  margin-bottom: 16px !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-table-wrap {
  overflow-x: auto !important;
  margin: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table {
  width: 100% !important;
  min-width: 680px !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  margin: 0 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table thead {
  background: #f8fafc !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table thead th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  text-align: start !important;
  letter-spacing: 0.02em !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table tbody tr {
  border-bottom: 1px solid #f1f5f9 !important;
  transition: background .12s ease !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table tbody tr:last-child {
  border-bottom: 0 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table tbody tr:hover {
  background: #fbfdff !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table tbody tr.is-unseen {
  background: #f4f8ff !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table tbody tr.is-unseen:hover {
  background: #ebf3ff !important;
}
html body .customer-console .account-content .lot4b-matches-workspace table.lot4b-summary-table tbody td {
  padding: 14px 14px !important;
  vertical-align: top !important;
  font-size: 13px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  text-align: start !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-top {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 6px !important;
  align-items: center !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-kind {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  background: #eff6ff !important;
  color: #1e40af !important;
  border: 1px solid #dbeafe !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-new {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  background: #dcfce7 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .record-number {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-title {
  display: inline-flex !important;
  min-height: 24px;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-title:hover {
  color: #2563eb !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-price {
  margin: 6px 0 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #0a1f44 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-context-text {
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  font-size: 12px !important;
  color: #334155 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-context small {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #475569 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-why-text {
  font-size: 12px !important;
  color: #475569 !important;
  line-height: 1.45 !important;
  display: block !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-date {
  font-size: 12px !important;
  color: #475569 !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-match-actions {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-match-actions .btn {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-match-actions .btn.lot4b-match-primary {
  background: #0a1f44 !important;
  color: #ffffff !important;
  border: 1px solid #0a1f44 !important;
  box-shadow: 0 1px 3px rgba(10, 31, 68, 0.15) !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-match-actions .btn.lot4b-match-primary:hover {
  background: #173152 !important;
  border-color: #173152 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-match-actions .btn.lot4b-not-relevant-btn {
  background: #ffffff !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-match-actions .btn.lot4b-not-relevant-btn:hover {
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
}
html body .customer-console .account-content .lot4b-matches-workspace .lot4b-summary-empty {
  padding: 40px 20px !important;
  text-align: center !important;
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px dashed #cbd5e1 !important;
  margin: 12px 0 0 !important;
}


/* ==========================================================================
   Group 12: Deal Outcome & Ratings Visual Redesign to Match Site Identity
   ========================================================================== */

/* ==========================================================================
   Deal Ratings & Transaction Outcome Identity Styles
   ========================================================================== */

/* 1. Base Target Sizing & Scope */
:is(.lot4b-rating-card, .lot4b-rating-admin, .lot4b-rating-public) :is(button, .btn, select, summary) {
  min-height: 44px !important;
}
:is(.lot4b-rating-card, .lot4b-rating-admin, .lot4b-rating-public) {
  min-width: 0;
  overflow-wrap: anywhere;
}
:is(.lot4b-rating-card, .lot4b-rating-admin, .lot4b-rating-public) .form {
  margin-block: 16px;
  max-width: 100%;
}
:is(.lot4b-rating-card, .lot4b-rating-admin, .lot4b-rating-public) .check {
  min-height: 44px;
  align-items: center;
}
:is(.lot4b-rating-card, .lot4b-rating-admin, .lot4b-rating-public) :focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

/* 2. Deal Outcome Card (.lot4b-outcome-card) */
html body .lot4b-outcome-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}
html body .lot4b-outcome-card > h2 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 12px !important;
}
html body .lot4b-outcome-card > h2::before { content: "" !important; display: inline-block !important; flex: none !important; width: 22px !important; height: 22px !important; background-color: #2563EB !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat !important; }

/* Facts Grid */
html body .lot4b-outcome-facts {
  display: grid !important;
  grid-template-columns: minmax(130px, auto) 1fr !important;
  column-gap: 20px !important;
  row-gap: 12px !important;
  align-items: center !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  margin: 0 0 16px !important;
}
html body .lot4b-outcome-facts dt {
  color: #64748B !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  border-bottom: 1px dashed #E2E8F0 !important;
}
html body .lot4b-outcome-facts dd {
  color: #0F172A !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  border-bottom: 1px dashed #E2E8F0 !important;
}
html body .lot4b-outcome-facts dt:last-of-type,
html body .lot4b-outcome-facts dd:last-of-type {
  border-bottom: 0 !important;
}
@media (max-width: 600px) {
  html body .lot4b-outcome-facts {
    grid-template-columns: 1fr !important;
    row-gap: 6px !important;
    padding: 14px 16px !important;
  }
  html body .lot4b-outcome-facts dt {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  html body .lot4b-outcome-facts dd {
    padding-bottom: 10px !important;
  }
}

/* Outcome Status Pills */
html body .lot4b-outcome-facts .status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
html body .lot4b-outcome-facts .status-pill.status-buyer_confirmed {
  background: #DCFCE7 !important;
  color: #166534 !important;
  border: 1px solid #BBF7D0 !important;
}
html body .lot4b-outcome-facts .status-pill.status-buyer_confirmed::before {
  content: "✓ " !important;
  font-weight: 900 !important;
}
html body .lot4b-outcome-facts .status-pill.status-seller_reported {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
}
html body .lot4b-outcome-facts .status-pill.status-buyer_disputed,
html body .lot4b-outcome-facts .status-pill.status-reversed {
  background: #FEE2E2 !important;
  color: #991B1B !important;
  border: 1px solid #FECACA !important;
}
html body .lot4b-outcome-facts .status-pill.status-unconfirmed {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #E2E8F0 !important;
}

/* 3. Rating & Completion Card (.lot4b-rating-card) */
html body .lot4b-rating-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}
html body .lot4b-rating-card .lot4b-rating-card-head {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  margin: 0 0 16px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 14px !important;
}
html body .lot4b-rating-card .lot4b-rating-head-badge {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: #FFFDF0 !important;
  border: 1px solid #FDE68A !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 20px !important;
}
html body .lot4b-rating-card .lot4b-rating-head-copy {
  flex: 1 !important;
  min-width: 0 !important;
}
html body .lot4b-rating-card .lot4b-rating-head-copy h2 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 4px !important;
}
/* Fallback if no lot4b-rating-card-head wrapper exists */
html body .lot4b-rating-card > h2 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 12px !important;
}
html body .lot4b-rating-card > h2::before {
  content: "⭐" !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

/* Disclaimer Notice */
html body .lot4b-rating-card .hint,
html body .lot4b-rating-public .hint {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-inline-start: 4px solid #64748B !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  color: #64748B !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
  box-sizing: border-box !important;
}

/* Confirmed Banner (سُجل تأكيد إتمامك) */
html body .lot4b-rating-card .lot4b-rating-confirmed,
html body .lot4b-rating-card p:nth-of-type(2) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #F0FDF4 !important;
  border: 1px solid #BBF7D0 !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  color: #166534 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  margin: 6px 0 12px !important;
}
html body .lot4b-rating-card .lot4b-rating-confirmed::before,
html body .lot4b-rating-card p:nth-of-type(2)::before {
  content: "✓ " !important;
  font-weight: 900 !important;
  color: #16A34A !important;
}

/* Submitted Notice (تم إرسال تقييمك؛ يظهر بعد اعتماد الإدارة) */
html body .lot4b-rating-card .lot4b-rating-submitted-notice,
html body .lot4b-rating-card p:nth-of-type(3) {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #EFF6FF !important;
  border: 1px solid #DBEAFE !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  color: #1E40AF !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 6px 0 12px !important;
}
html body .lot4b-rating-card .lot4b-rating-submitted-notice::before,
html body .lot4b-rating-card p:nth-of-type(3)::before {
  content: "ℹ " !important;
  font-weight: 800 !important;
  color: #2563EB !important;
}

/* Display Box (5 / 5 — رائع) */
html body .lot4b-rating-card .lot4b-rating-display-box,
html body .lot4b-rating-card p:nth-of-type(4) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  background: #FFFDF0 !important;
  border: 1px solid #FDE68A !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  color: #92400E !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  margin: 10px 0 !important;
}
html body .lot4b-rating-card .lot4b-rating-display-box::before,
html body .lot4b-rating-card p:nth-of-type(4)::before {
  content: "⭐ " !important;
  color: #F59E0B !important;
}
html body .lot4b-rating-card .lot4b-rating-stars-badge {
  display: inline-flex !important;
  align-items: center !important;
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
html body .lot4b-rating-card .lot4b-rating-display-comment {
  color: #0F172A !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* Form Styles */
html body .lot4b-rating-card .form label {
  display: grid !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin-bottom: 12px !important;
}
html body .lot4b-rating-card .form select {
  height: 42px !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}
html body .lot4b-rating-card .form textarea {
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
html body .lot4b-rating-card .form :is(select, textarea):focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}
html body .lot4b-rating-card .form button[type="submit"] {
  min-height: 42px !important;
  padding: 0 20px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: #0A1F44 !important;
  color: #FFFFFF !important;
  border: 1px solid #0A1F44 !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
}
html body .lot4b-rating-card .form button[type="submit"]:hover {
  background: #173152 !important;
  border-color: #173152 !important;
}
html body .lot4b-rating-card .form.lot4b-rating-report-form button[type="submit"] {
  background: #FFFFFF !important;
  color: #DC2626 !important;
  border: 1px solid #FECACA !important;
}
html body .lot4b-rating-card .form.lot4b-rating-report-form button[type="submit"]:hover {
  background: #FEF2F2 !important;
  border-color: #F87171 !important;
}

/* 4. Public Ratings Page (#ratings/:id / .lot4b-rating-public) */
html body .lot4b-rating-public {
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 24px 20px 48px !important;
}
html body .lot4b-rating-public .lot4b-rating-summary-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 24px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}
html body .lot4b-rating-public .lot4b-rating-summary-metric {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}
html body .lot4b-rating-public .lot4b-rating-avg {
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  line-height: 1 !important;
}
html body .lot4b-rating-public .lot4b-rating-stars-gold {
  color: #F59E0B !important;
  font-size: 1.35rem !important;
  letter-spacing: 2px !important;
}
html body .lot4b-rating-public .lot4b-rating-count {
  background: #F1F5F9 !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  border: 1px solid #E2E8F0 !important;
}

/* Review Cards (.lot4b-rating-review-card / article.panel) */
html body .lot4b-rating-card article.panel,
html body .lot4b-rating-public article.panel {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  margin: 12px 0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
html body .lot4b-rating-card article.panel:hover,
html body .lot4b-rating-public article.panel:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}
html body .lot4b-rating-card article.panel p:first-child strong,
html body .lot4b-rating-public article.panel p:first-child strong {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
html body .lot4b-rating-card article.panel p:first-child strong::before,
html body .lot4b-rating-public article.panel p:first-child strong::before {
  content: "★ " !important;
  color: #F59E0B !important;
}
html body .lot4b-rating-card article.panel p:last-child,
html body .lot4b-rating-public article.panel p:last-child {
  color: #334155 !important;
  font-size: 14px !important;
  margin-top: 8px !important;
  line-height: 1.5 !important;
}


/* ==========================================================================
   Group 13: Admin Listings Page Visual Redesign & Form Controls Polish
   ========================================================================== */

/* 1. Global Admin Checkbox Alignment: Prevent checkbox from detaching from label */
.admin-sidebar-console input[type="checkbox"],
.admin-section input[type="checkbox"],
.archive-panel input[type="checkbox"],
.admin-listing-requests-panel input[type="checkbox"] {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  cursor: pointer !important;
  accent-color: #0A1F44 !important;
  align-self: center !important;
}

.archive-panel label:has(input[type="checkbox"]),
.admin-sidebar-console label:has(input[type="checkbox"]),
.archive-check-label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  width: auto !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  line-height: 1.4 !important;
}

/* 2. Archive & Unarchive Card (.archive-panel) */
html body .admin-sidebar-console .admin-section .archive-panel,
html body .archive-panel {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

/* Archive Card Header */
.archive-panel .archive-panel-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 14px !important;
}
.archive-panel .archive-head-badge {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
}
.archive-panel .archive-head-copy h3,
.archive-panel > h3 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Archive Controls Card Container */
.archive-panel .archive-controls-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Switch Form: single clean settings bar */
.archive-panel #archive-switch,
.archive-panel .archive-switch-form {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  margin: 0 !important;
}

/* Hold Form: clean 2-column or inline responsive row */
.archive-panel #archive-hold,
.archive-panel .archive-hold-form {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  gap: 14px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin: 0 !important;
}

.archive-panel .archive-select-label,
.archive-panel #archive-hold label:not(:has(input[type="checkbox"])) {
  flex: 1 1 280px !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  margin: 0 !important;
}

.archive-panel .archive-hold-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.archive-panel select {
  height: 42px !important;
  min-height: 42px !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}

.archive-panel select:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}

/* Buttons in Archive Panel */
.archive-panel .btn,
.admin-listing-requests-panel .btn {
  background: #0A1F44 !important;
  color: #FFFFFF !important;
  border: 1px solid #0A1F44 !important;
  border-radius: 8px !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 3px rgba(10, 31, 68, 0.15) !important;
  transition: all .15s ease !important;
  white-space: nowrap !important;
}

.archive-panel .btn:hover,
.admin-listing-requests-panel .btn:hover {
  background: #173152 !important;
  border-color: #173152 !important;
}

/* Unarchive Pending Cards */
.archive-panel .admin-unarchive-card,
.archive-panel article {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  margin-top: 14px !important;
}
.archive-panel .admin-unarchive-card h4,
.archive-panel article h4 {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 6px !important;
}
.archive-panel .admin-unarchive-note {
  font-size: 12px !important;
  color: #64748B !important;
  margin: 4px 0 12px !important;
}
.archive-panel .admin-unarchive-form-grid {
  display: grid !important;
  grid-template-columns: 200px 1fr !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}
@media (max-width: 680px) {
  .archive-panel .admin-unarchive-form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 3. Seller Requests Panel (.admin-listing-requests-panel) */
html body .admin-sidebar-console .admin-section .admin-listing-requests-panel,
html body .admin-listing-requests-panel {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

.admin-listing-requests-panel > .section-head {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0 14px !important;
  margin: 0 0 14px !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

.admin-listing-requests-panel > .section-head h3 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.admin-listing-requests-panel > .section-head h3::before { content: "" !important; display: inline-block !important; flex: none !important; width: 20px !important; height: 20px !important; background-color: #2563EB !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E") center / contain no-repeat !important; }

.admin-listing-requests-panel > .section-head h3 b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #EFF6FF !important;
  color: #1E40AF !important;
  border: 1px solid #DBEAFE !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.admin-listing-requests-panel > .hint {
  background: #F8FAFC !important;
  border: 1px dashed #CBD5E1 !important;
  border-radius: 12px !important;
  padding: 20px !important;
  text-align: center !important;
  color: #64748B !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 12px 0 0 !important;
}

/* Seller Request Cards */
.admin-listing-request {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  margin: 14px 0 !important;
}

.admin-listing-request h4 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.admin-listing-request h4 bdi {
  display: inline-flex !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  background: #EFF6FF !important;
  color: #1E40AF !important;
  border: 1px solid #DBEAFE !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.admin-listing-request .payment-finance-states {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 10px !important;
  margin: 12px 0 !important;
}

.admin-listing-request .payment-finance-states > div {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
}

.admin-listing-request .payment-finance-states dt {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748B !important;
  margin-bottom: 2px !important;
}

.admin-listing-request .payment-finance-states dd {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin: 0 !important;
}


/* ==========================================================================
   Group 14: Brevo Email Monitor Redesign & Visual Hierarchy Polish
   ========================================================================== */

/* 1. Main Brevo Card Container */
html body .brevo-monitor,
html body .admin-sidebar-console .admin-section .brevo-monitor {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

/* 2. Header Row: Title, Icon, Config, and Status Pill */
.brevo-monitor .brevo-monitor-header {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 16px !important;
  margin-bottom: 18px !important;
}

.brevo-monitor .brevo-monitor-title-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.brevo-monitor .brevo-monitor-icon-badge {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #EFF6FF !important;
  border: 1px solid #DBEAFE !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  flex-shrink: 0 !important;
}

.brevo-monitor .brevo-monitor-title-copy h3,
.brevo-monitor > h3 {
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 4px !important;
  line-height: 1.3 !important;
}

.brevo-monitor .brevo-monitor-config-line {
  font-size: 12px !important;
  color: #64748B !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.brevo-monitor .brevo-config-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
  border: 1px solid #E2E8F0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* Status Pill */
.brevo-monitor .brevo-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.brevo-monitor .brevo-status-pill.is-connected {
  background: #DCFCE7 !important;
  color: #15803D !important;
  border: 1px solid #BBF7D0 !important;
}
.brevo-monitor .brevo-status-pill.is-connected::before {
  content: "●";
  color: #16A34A;
  font-size: 14px;
}

.brevo-monitor .brevo-status-pill.is-not-ready {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
}
.brevo-monitor .brevo-status-pill.is-not-ready::before {
  content: "●";
  color: #D97706;
  font-size: 14px;
}

.brevo-monitor .brevo-status-pill.is-error {
  background: #FEE2E2 !important;
  color: #991B1B !important;
  border: 1px solid #FECACA !important;
}
.brevo-monitor .brevo-status-pill.is-error::before {
  content: "●";
  color: #DC2626;
  font-size: 14px;
}

/* 3. The 4 KPI Stat Tiles (.brevo-monitor-grid) */
html body .brevo-monitor-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 18px 0 !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  html body .brevo-monitor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px) {
  html body .brevo-monitor-grid {
    grid-template-columns: 1fr !important;
  }
}

html body .brevo-monitor-grid > div,
html body .brevo-monitor-grid .brevo-kpi-tile {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-width: 0 !important;
  transition: all .15s ease !important;
}

html body .brevo-monitor-grid > div:hover {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

html body .brevo-monitor-grid dt {
  color: #64748B !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

html body .brevo-monitor-grid dd {
  color: #0F172A !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  font-variant-numeric: tabular-nums !important;
}

/* Tile 1: Last sync */
html body .brevo-monitor-grid > div:nth-child(1) {
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%) !important;
  border-color: #DBEAFE !important;
}
html body .brevo-monitor-grid > div:nth-child(1) dt {
  color: #1E40AF !important;
}

/* Tile 2: Last attempt */
html body .brevo-monitor-grid > div:nth-child(2) {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%) !important;
  border-color: #E2E8F0 !important;
}

/* Tile 3: Requests today */
html body .brevo-monitor-grid > div:nth-child(3) {
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%) !important;
  border-color: #BBF7D0 !important;
}
html body .brevo-monitor-grid > div:nth-child(3) dt {
  color: #166534 !important;
}

/* Tile 4: Delivered / Blocked */
html body .brevo-monitor-grid > div:nth-child(4) {
  background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%) !important;
  border-color: #FDE68A !important;
}
html body .brevo-monitor-grid > div:nth-child(4) dt {
  color: #B45309 !important;
}

/* 4. Meta & Plan Section */
.brevo-monitor .brevo-meta-section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) !important;
  gap: 14px !important;
  margin: 16px 0 !important;
}
@media (max-width: 760px) {
  .brevo-monitor .brevo-meta-section {
    grid-template-columns: 1fr !important;
  }
}

.brevo-monitor .brevo-meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 16px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
}

.brevo-monitor .brevo-plan-box {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
}

.brevo-monitor .brevo-plan-box h4,
.brevo-monitor > h4 {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #475569 !important;
  margin: 0 0 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.brevo-monitor .brevo-plans-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.brevo-monitor .brevo-plans-list li {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  color: #0F172A !important;
}

.brevo-monitor .brevo-plan-empty {
  color: #64748B !important;
  font-size: 13px !important;
  margin: 0 !important;
}

/* 5. Notices & Thresholds */
.brevo-monitor .brevo-notice-disclaimer {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-inline-start: 4px solid #64748B !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  color: #64748B !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  margin: 14px 0 !important;
}

.brevo-monitor .brevo-threshold-bar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #EFF6FF !important;
  border: 1px solid #DBEAFE !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  margin: 14px 0 !important;
  color: #1E40AF !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.brevo-monitor .brevo-threshold-bar p {
  margin: 0 !important;
}
.brevo-monitor .brevo-threshold-level {
  display: inline-flex !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: #DBEAFE !important;
  color: #1E40AF !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

/* 6. Local Activity Details Panel */
.brevo-monitor details.brevo-details-panel,
.brevo-monitor details {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin: 16px 0 !important;
}

.brevo-monitor summary {
  padding: 12px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  cursor: pointer !important;
  background: #FFFFFF !important;
  border-bottom: 1px solid #F1F5F9 !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  transition: background .15s ease !important;
}
.brevo-monitor summary:hover {
  background: #F8FAFC !important;
}

.brevo-monitor .brevo-details-body {
  padding: 14px 16px !important;
}

.brevo-monitor .brevo-activity-list,
.brevo-monitor details ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  display: grid !important;
  gap: 6px !important;
}

.brevo-monitor .brevo-activity-list li,
.brevo-monitor details li {
  font-size: 12px !important;
  color: #475569 !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
}

.brevo-monitor .brevo-footer-hint,
.brevo-monitor > p.hint:last-child {
  font-size: 12px !important;
  color: #94A3B8 !important;
  margin: 12px 0 0 !important;
}


/* ==========================================================================
   Group 15: Admin Customer/Company Details Page Complete Identity Polish
   ========================================================================== */

/* 1. Header Profile Card (.users-profile-head) - Compact, Balanced & Sleek */
html body .admin-sidebar-console .admin-section .users-profile-head,
html body .users-profile-head {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 18px 24px !important;
  margin: 0 0 16px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  gap: 8px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Prevent all child divs from vertically expanding or inheriting flex: 1 */
html body .admin-sidebar-console .admin-section .users-profile-head > div,
html body .users-profile-head > div {
  flex: 0 0 auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Middle info container: eyebrow, title, contact, pills */
html body .admin-sidebar-console .admin-section .users-profile-head > div:not(.users-head-actions),
html body .users-profile-head > div:not(.users-head-actions) {
  width: 100% !important;
  max-width: 820px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  gap: 4px !important;
}

/* Back button positioned cleanly at top-start (top-right in RTL) without stretching header height */
html body .admin-sidebar-console .admin-section .users-profile-head #users-back,
html body .admin-sidebar-console .admin-section .users-profile-head #support-back,
html body .users-profile-head #users-back,
html body .users-profile-head #support-back {
  position: absolute !important;
  top: 16px !important;
  inset-inline-start: 20px !important;
  margin: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 14px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0A1F44 !important;
  z-index: 2 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
}

html body .admin-sidebar-console .admin-section .users-profile-head #users-back:hover,
html body .admin-sidebar-console .admin-section .users-profile-head #support-back:hover,
html body .users-profile-head #users-back:hover,
html body .users-profile-head #support-back:hover {
  background: #F8FAFC !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}

.users-profile-head .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3px 12px !important;
  border-radius: 999px !important;
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border: 1px solid #DBEAFE !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  margin: 0 0 3px !important;
  letter-spacing: 0.03em !important;
}

.users-profile-head h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem) !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 2px !important;
  line-height: 1.25 !important;
}

/* Contact Info Line */
.users-profile-head .users-contact {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px 10px !important;
  color: #475569 !important;
  font-size: 12.5px !important;
  margin: 3px 0 !important;
}

.users-profile-head .users-contact > span,
.users-profile-head .users-contact > bdi {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 3px 9px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
}

/* Badges line: role + verify */
.users-profile-head .request-head-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 3px 0 !important;
}

.users-profile-head .role-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
  border: 1px solid #E2E8F0 !important;
}

/* Danger / Actions row (إيقاف الحساب / إلغاء الإيقاف) directly under badges */
html body .admin-sidebar-console .admin-section .users-profile-head > .users-head-actions,
html body .users-profile-head > .users-head-actions,
html body .users-profile-head .users-head-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
}

.users-profile-head .users-head-actions .btn {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 760px) {
  html body .admin-sidebar-console .admin-section .users-profile-head,
  html body .users-profile-head {
    padding: 16px 18px !important;
  }
  html body .admin-sidebar-console .admin-section .users-profile-head #users-back,
  html body .admin-sidebar-console .admin-section .users-profile-head #support-back,
  html body .users-profile-head #users-back,
  html body .users-profile-head #support-back {
    position: static !important;
    align-self: flex-start !important;
    margin-bottom: 6px !important;
  }
}


/* 2. Jump Navigation Toolbar (.users-jumps) */
.admin-sidebar-console .admin-section .users-jumps,
html body .users-jumps {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

.users-jumps .filter-chip {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: #F8FAFC !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.users-jumps .filter-chip:hover {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border-color: #DBEAFE !important;
}

/* 3. Section Cards (.users-section) */
html body .admin-sidebar-console .admin-section .users-section,
html body .users-section {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 22px 24px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

.users-section > h3 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 12px !important;
}

/* Section Header Icons */
#user-verification > h3::before { content: "" !important; display: inline-block !important; flex: none !important; width: 20px !important; height: 20px !important; background-color: #2563EB !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center / contain no-repeat !important; margin-inline-end: 8px !important; vertical-align: -4px !important; }
#user-activity > h3::before { content: "" !important; display: inline-block !important; flex: none !important; width: 20px !important; height: 20px !important; background-color: #2563EB !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 17 6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 17 6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E") center / contain no-repeat !important; margin-inline-end: 8px !important; vertical-align: -4px !important; }
#user-plan > h3::before { content: "" !important; display: inline-block !important; flex: none !important; width: 20px !important; height: 20px !important; background-color: #2563EB !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E") center / contain no-repeat !important; margin-inline-end: 8px !important; vertical-align: -4px !important; }
#user-signins > h3::before { content: "" !important; display: inline-block !important; flex: none !important; width: 20px !important; height: 20px !important; background-color: #2563EB !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat !important; margin-inline-end: 8px !important; vertical-align: -4px !important; }
#user-companies > h3::before { content: "" !important; display: inline-block !important; flex: none !important; width: 20px !important; height: 20px !important; background-color: #2563EB !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16'/%3E%3Cpath d='M16 9h2a2 2 0 0 1 2 2v10'/%3E%3Cpath d='M3 21h18M8 7h4M8 11h4M8 15h4'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16'/%3E%3Cpath d='M16 9h2a2 2 0 0 1 2 2v10'/%3E%3Cpath d='M3 21h18M8 7h4M8 11h4M8 15h4'/%3E%3C/svg%3E") center / contain no-repeat !important; margin-inline-end: 8px !important; vertical-align: -4px !important; }
#user-history > h3::before { content: "" !important; display: inline-block !important; flex: none !important; width: 20px !important; height: 20px !important; background-color: #2563EB !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E") center / contain no-repeat !important; margin-inline-end: 8px !important; vertical-align: -4px !important; }

/* 4. Activity KPI Tiles Grid (.users-activity-grid) */
html body .users-activity-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 14px 0 !important;
}
@media (max-width: 900px) {
  html body .users-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px) {
  html body .users-activity-grid {
    grid-template-columns: 1fr !important;
  }
}

html body .users-activity-grid article {
  border-radius: 14px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-height: 100px !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
html body .users-activity-grid article:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

html body .users-activity-grid article h4 {
  font-size: 13px !important;
  font-weight: 800 !important;
  margin: 0 0 6px !important;
}

/* Tile 1: Listings - Soft Blue */
html body .users-activity-grid article:nth-child(1) {
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%) !important;
  border: 1px solid #DBEAFE !important;
}
html body .users-activity-grid article:nth-child(1) h4 {
  color: #1E40AF !important;
}

/* Tile 2: Needs - Soft Green */
html body .users-activity-grid article:nth-child(2) {
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%) !important;
  border: 1px solid #BBF7D0 !important;
}
html body .users-activity-grid article:nth-child(2) h4 {
  color: #15803D !important;
}

/* Tile 3: Requests as buyer - Soft Amber */
html body .users-activity-grid article:nth-child(3) {
  background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%) !important;
  border: 1px solid #FDE68A !important;
}
html body .users-activity-grid article:nth-child(3) h4 {
  color: #B45309 !important;
}

/* Tile 4: Requests on listings - Soft Slate */
html body .users-activity-grid article:nth-child(4) {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%) !important;
  border: 1px solid #E2E8F0 !important;
}
html body .users-activity-grid article:nth-child(4) h4 {
  color: #334155 !important;
}

/* 5. Plan & Payments Card Polish */
.users-section .users-plan-current {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  margin-bottom: 18px !important;
}

.users-section .users-plan-form {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  margin: 18px 0 !important;
}

.users-section .users-plan-form h4 {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.users-section .users-plan-form .form-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 14px !important;
}

.users-section .users-plan-form :is(select, input[type="number"], textarea) {
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  background: #FFFFFF !important;
  font-size: 13px !important;
  color: #0F172A !important;
  padding: 8px 12px !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}

.users-section .users-plan-form :is(select, input, textarea):focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}

.users-section .users-plan-form button[type="submit"] {
  background: #0A1F44 !important;
  color: #FFFFFF !important;
  border: 1px solid #0A1F44 !important;
  border-radius: 8px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 22px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(10, 31, 68, 0.15) !important;
  transition: all .15s ease !important;
}
.users-section .users-plan-form button[type="submit"]:hover {
  background: #173152 !important;
  border-color: #173152 !important;
}

/* 6. Sign-ins Section Polish */
.users-section .users-counts {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.users-section .users-counts > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #475569 !important;
}

.users-section .users-counts b {
  color: #0F172A !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* Mini Tables (.users-mini-table) */
.users-section .admin-table-wrap {
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  margin: 12px 0 !important;
}

.users-section table.users-mini-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.users-section table.users-mini-table thead th {
  background: #F8FAFC !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
  border-bottom: 1px solid #E2E8F0 !important;
  text-align: start !important;
}

.users-section table.users-mini-table tbody td {
  padding: 12px 14px !important;
  font-size: 13px !important;
  color: #0F172A !important;
  border-bottom: 1px solid #F1F5F9 !important;
  text-align: start !important;
}

.users-section table.users-mini-table tbody tr:hover {
  background: #FBFDFF !important;
}

/* 7. Empty State Hints in Users Sections */
.users-section > p.hint {
  background: #F8FAFC !important;
  border: 1px dashed #CBD5E1 !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
  color: #64748B !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 10px 0 !important;
}


/* ==========================================================================
   Group 17: Admin Support Ticket Workspace Modernization (Image 3 Parity)
   ========================================================================== */

/* 1. Ticket Workspace 2-Column Grid */
html body .admin-sidebar-console .admin-section .admin-ticket-workspace-grid,
html body .admin-ticket-workspace-grid {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: start !important;
  margin-top: 14px !important;
}

@media (max-width: 960px) {
  html body .admin-sidebar-console .admin-section .admin-ticket-workspace-grid,
  html body .admin-ticket-workspace-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 2. Sidebar Metadata Column */
html body .admin-sidebar-console .admin-section .admin-ticket-meta-col,
html body .admin-ticket-meta-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

html body .admin-sidebar-console .admin-section .admin-ticket-meta-col .panel,
html body .admin-ticket-meta-col .panel {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  margin: 0 !important;
}

html body .admin-sidebar-console .admin-section .admin-ticket-meta-col h3,
html body .admin-ticket-meta-col h3 {
  margin: 0 0 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
}

/* Info List key-value rows */
html body .admin-sidebar-console .admin-section .admin-ticket-meta-col .lot4b-ticket-info-list,
html body .admin-ticket-meta-col .lot4b-ticket-info-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

html body .admin-sidebar-console .admin-section .admin-ticket-meta-col .lot4b-ticket-info-list > div,
html body .admin-ticket-meta-col .lot4b-ticket-info-list > div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  background: #F8FAFC !important;
  border: 1px solid #F1F5F9 !important;
  font-size: 12px !important;
}

html body .admin-sidebar-console .admin-section .admin-ticket-meta-col .lot4b-ticket-info-list > div > span:first-child,
html body .admin-ticket-meta-col .lot4b-ticket-info-list > div > span:first-child {
  color: #64748B !important;
  font-weight: 700 !important;
}

html body .admin-sidebar-console .admin-section .admin-ticket-meta-col .lot4b-ticket-info-list > div > strong,
html body .admin-ticket-meta-col .lot4b-ticket-info-list > div > strong {
  color: #0F172A !important;
  font-weight: 800 !important;
}

.admin-ticket-email {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 11px !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  color: #1D4ED8 !important;
  font-weight: 700 !important;
}

.admin-ticket-customer-action {
  margin-top: 10px !important;
}

.admin-ticket-customer-action .btn,
html body .admin-sidebar-console .admin-section .admin-ticket-customer-action .btn {
  width: 100% !important;
  justify-content: center !important;
  min-height: 36px !important;
  height: 36px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0A1F44 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.admin-ticket-customer-action .btn:hover {
  background: #F8FAFC !important;
  border-color: #94A3B8 !important;
}

/* Owner Card */
.admin-ticket-owner-current {
  font-size: 12.5px !important;
  margin: 0 0 10px !important;
  color: #334155 !important;
}

.admin-ticket-owner-current strong {
  color: #0F172A !important;
  font-weight: 800 !important;
}

.admin-ticket-owner-current small {
  color: #64748B !important;
  font-size: 11px !important;
}

.support-actions {
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
  flex-wrap: wrap !important;
}

.support-actions .btn {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.support-assign-row {
  display: flex !important;
  align-items: flex-end !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

.support-assign-row label {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  display: grid !important;
  gap: 4px !important;
}

.support-assign-row select {
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 8px !important;
  border: 1px solid #CBD5E1 !important;
  padding: 0 8px !important;
  font-size: 12px !important;
  background: #FFFFFF !important;
}

.support-assign-row .btn {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  background: #0A1F44 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}

/* Quick Actions buttons */
html body .admin-sidebar-console .admin-section .admin-ticket-meta-col .lot4b-ticket-quick-btns,
html body .admin-ticket-meta-col .lot4b-ticket-quick-btns {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

html body .admin-sidebar-console .admin-section .admin-ticket-meta-col .lot4b-ticket-quick-btns .btn,
html body .admin-ticket-meta-col .lot4b-ticket-quick-btns .btn {
  width: 100% !important;
  justify-content: center !important;
  min-height: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* 3. Main Chat Card & Tabs */
html body .admin-sidebar-console .admin-section .admin-ticket-chat-card,
html body .admin-ticket-chat-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

html body .admin-sidebar-console .admin-section .admin-ticket-chat-card .lot4b-ticket-chat-tabs,
html body .admin-ticket-chat-card .lot4b-ticket-chat-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 20px !important;
  background: #F8FAFC !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

html body .admin-sidebar-console .admin-section .admin-ticket-chat-card .lot4b-ticket-chat-tabs span.is-active,
html body .admin-ticket-chat-card .lot4b-ticket-chat-tabs span.is-active {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #1D4ED8 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* 4. Chat Stream with Interactive Avatars & Bubbles */
html body .admin-sidebar-console .admin-section .support-thread-stream,
html body .support-thread-stream {
  padding: 20px 22px !important;
  background: #F8FAFC !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-height: 280px !important;
  max-height: 540px !important;
  overflow-y: auto !important;
}

html body .admin-sidebar-console .admin-section .support-thread,
html body .support-thread {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* Base Message item */
html body .admin-sidebar-console .admin-section .support-msg,
html body .support-msg {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  max-width: 85% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Customer message: Start-aligned (Right side in RTL) */
html body .admin-sidebar-console .admin-section .support-msg.is-customer,
html body .support-msg.is-customer {
  align-self: flex-start !important;
  flex-direction: row !important;
}

/* Support staff message: End-aligned (Left side in RTL) */
html body .admin-sidebar-console .admin-section .support-msg.is-support,
html body .support-msg.is-support {
  align-self: flex-end !important;
  flex-direction: row-reverse !important;
}

/* Internal note: Centered warning card across chat */
html body .admin-sidebar-console .admin-section .support-msg.is-internal,
html body .support-msg.is-internal {
  align-self: center !important;
  max-width: 95% !important;
  width: 100% !important;
  flex-direction: row !important;
}

/* Circular Avatars */
html body .admin-sidebar-console .admin-section .support-msg .lot4b-ticket-msg-avatar,
html body .support-msg .lot4b-ticket-msg-avatar {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  flex-shrink: 0 !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-customer .lot4b-ticket-msg-avatar,
html body .support-msg.is-customer .lot4b-ticket-msg-avatar {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25) !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-support .lot4b-ticket-msg-avatar,
html body .support-msg.is-support .lot4b-ticket-msg-avatar {
  background: #E0F2FE !important;
  border: 1px solid #BAE6FD !important;
  color: #0369A1 !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-internal .lot4b-ticket-msg-avatar,
html body .support-msg.is-internal .lot4b-ticket-msg-avatar {
  background: #FEF3C7 !important;
  border: 1px solid #FDE68A !important;
  color: #B45309 !important;
  font-size: 15px !important;
}

/* Chat Message Bubbles */
html body .admin-sidebar-console .admin-section .support-msg .lot4b-ticket-msg-bubble,
html body .support-msg .lot4b-ticket-msg-bubble {
  padding: 12px 18px !important;
  border-radius: 16px !important;
  min-width: 200px !important;
  max-width: 100% !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-customer .lot4b-ticket-msg-bubble,
html body .support-msg.is-customer .lot4b-ticket-msg-bubble {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%) !important;
  border: 1px solid #BFDBFE !important;
  color: #0F172A !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-support .lot4b-ticket-msg-bubble,
html body .support-msg.is-support .lot4b-ticket-msg-bubble {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  color: #0F172A !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-internal .lot4b-ticket-msg-bubble,
html body .support-msg.is-internal .lot4b-ticket-msg-bubble {
  width: 100% !important;
  background: #FFFBEB !important;
  border: 1.5px dashed #F59E0B !important;
  color: #78350F !important;
  border-radius: 16px !important;
}

/* Bubble Head (Sender name & timestamp) */
html body .admin-sidebar-console .admin-section .support-msg .lot4b-ticket-msg-head,
html body .support-msg .lot4b-ticket-msg-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 5px !important;
}

html body .admin-sidebar-console .admin-section .support-msg .lot4b-ticket-msg-head strong,
html body .support-msg .lot4b-ticket-msg-head strong {
  font-size: 12.5px !important;
  font-weight: 800 !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-customer .lot4b-ticket-msg-head strong,
html body .support-msg.is-customer .lot4b-ticket-msg-head strong {
  color: #1E3A8A !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-support .lot4b-ticket-msg-head strong,
html body .support-msg.is-support .lot4b-ticket-msg-head strong {
  color: #0A1F44 !important;
}

html body .admin-sidebar-console .admin-section .support-msg.is-internal .lot4b-ticket-msg-head strong,
html body .support-msg.is-internal .lot4b-ticket-msg-head strong {
  color: #B45309 !important;
}

html body .admin-sidebar-console .admin-section .support-msg .lot4b-ticket-msg-head small,
html body .support-msg .lot4b-ticket-msg-head small {
  font-size: 11px !important;
  color: #64748B !important;
}

html body .admin-sidebar-console .admin-section .support-msg .support-msg-flag,
html body .support-msg .support-msg-flag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #B45309 !important;
  background: #FEF3C7 !important;
  border: 1px solid #FDE68A !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  margin: 0 0 6px !important;
}

html body .admin-sidebar-console .admin-section .support-msg .preserve-lines,
html body .support-msg .preserve-lines {
  white-space: pre-wrap !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #1E293B !important;
}

/* 5. Dual Composers (Reply to Customer + Internal Note) */
html body .admin-sidebar-console .admin-section .admin-ticket-composers,
html body .admin-ticket-composers {
  padding: 16px 20px !important;
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
}

@media (max-width: 860px) {
  html body .admin-sidebar-console .admin-section .admin-ticket-composers,
  html body .admin-ticket-composers {
    grid-template-columns: 1fr !important;
  }
}

.admin-ticket-composer-box {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.admin-ticket-composer-box.is-note {
  background: #FFFDF5 !important;
  border-color: #FED7AA !important;
}

.admin-ticket-composer-box.is-closed {
  grid-column: 1 / -1 !important;
  background: #F8FAFC !important;
}

.admin-ticket-composer-box .composer-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 2px !important;
}

.admin-ticket-composer-box .composer-head h4 {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
}

.admin-ticket-composer-box .composer-badge {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
}

.admin-ticket-composer-box .composer-badge.blue {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border: 1px solid #DBEAFE !important;
}

.admin-ticket-composer-box .composer-badge.amber {
  background: #FEF3C7 !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
}

.admin-ticket-composer-box textarea {
  width: 100% !important;
  border-radius: 8px !important;
  border: 1px solid var(--ui-border-strong, #CBD5E1) !important;
  padding: 9px 12px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  background: #FFFFFF !important;
  min-height: 72px !important;
  resize: vertical !important;
}

.admin-ticket-composer-box textarea:focus {
  outline: 2px solid #1D4ED8 !important;
  border-color: #1D4ED8 !important;
}

.admin-ticket-composer-box .composer-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.admin-ticket-composer-box .composer-actions .check {
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #475569 !important;
  cursor: pointer !important;
}

.admin-ticket-composer-box .composer-actions .btn {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ==========================================================================
   Group 18 (Layout Polish): Checkout Page Clean Layout (Post-Text Trimming)
   ========================================================================== */

/* 1. Hero copy: when explanatory subtext is removed, align h1 cleanly with price card */
.lot4b-checkout-hero-copy h1 {
  margin: 0 !important;
  font-size: 1.5rem !important;
  line-height: 1.35 !important;
  color: #0F172A !important;
}

.lot4b-checkout-hero-main {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

/* 2. Step heads: vertically center step number badge with h3 title */
.lot4b-checkout-step-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.lot4b-checkout-step-head h3 {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: #0F172A !important;
}

.lot4b-checkout-step-num {
  margin-top: 0 !important;
}

/* 3. Benefits list: items without small subtitles are vertically centered with check icon */
.lot4b-checkout-benefits-list li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.lot4b-checkout-benefits-list li:has(small) {
  align-items: flex-start !important;
}

.lot4b-checkout-benefits-list li:not(:has(small)) > span {
  margin-top: 0 !important;
}

.lot4b-checkout-benefits-list li strong {
  line-height: 1.35 !important;
}


/* 4. Billing cycle cards: uniform height, aligned titles, prices & discount badges */
.lot4b-billing-picker {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  margin: 14px 0 20px !important;
}

@media (max-width: 900px) {
  .lot4b-billing-picker {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .lot4b-billing-picker {
    grid-template-columns: 1fr !important;
  }
}

.lot4b-billing-picker .billing-cycle-option {
  position: relative !important;
  display: flex !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.lot4b-billing-picker .billing-cycle-option > span {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  min-height: 120px !important;
  padding: 16px 10px 14px !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  transition: all 0.18s ease !important;
}

.lot4b-billing-picker .billing-cycle-option:hover > span {
  border-color: #93C5FD !important;
  background: #F8FAFC !important;
  transform: translateY(-1px) !important;
}

.lot4b-billing-picker .billing-cycle-option:has(input:checked) > span,
.lot4b-billing-picker .billing-cycle-option input:checked + span {
  background: #EFF6FF !important;
  border-color: #1D4ED8 !important;
  box-shadow: 0 0 0 1px #1D4ED8, 0 4px 12px rgba(29, 78, 216, 0.12) !important;
}

.lot4b-billing-picker .billing-cycle-option .lot4b-cycle-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
}

.lot4b-billing-picker .billing-cycle-option strong,
.lot4b-billing-picker .billing-cycle-option .lot4b-cycle-title {
  display: block !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.35 !important;
  text-wrap: balance !important;
  word-break: keep-all !important;
  margin: 0 !important;
}

.lot4b-billing-picker .billing-cycle-option small,
.lot4b-billing-picker .billing-cycle-option .lot4b-cycle-cost {
  display: block !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #1D4ED8 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.lot4b-billing-picker .billing-cycle-option .lot4b-cycle-badge-slot {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 22px !important;
  height: 22px !important;
  margin-top: 8px !important;
  width: 100% !important;
}

.lot4b-cycle-save-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  background: #DCFCE7 !important;
  border: 1px solid #86EFAC !important;
  color: #15803D !important;
  font-style: normal !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.lot4b-cycle-save-spacer {
  display: block !important;
  height: 22px !important;
  visibility: hidden !important;
}


/* 5. Addon & Checkout Form Card wizard steps spacing */
.lot4b-checkout-form-card .lot4b-checkout-step-head:first-child {
  margin-top: 0 !important;
}

.lot4b-checkout-form-card .lot4b-checkout-step-head:not(:first-child) {
  margin-top: 22px !important;
  padding-top: 18px !important;
  border-top: 1px solid #F1F5F9 !important;
}


/* 6. External Communication Addon Box Polish */
.lot4b-comm-addon-pref-box {
  background: #F8FAFC !important;
  border: 1px solid #DBEAFE !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  margin-bottom: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.lot4b-comm-addon-pref-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 2px !important;
}

.lot4b-comm-pref-badge {
  font-size: 0.78rem !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  border: 1px solid #BFDBFE !important;
  color: #1D4ED8 !important;
  font-weight: 800 !important;
}


/* 7. Refined Billing Cycle Cards & Comm Addon Layout */
.lot4b-billing-picker .billing-cycle-option > span {
  min-height: 130px !important;
}

.lot4b-billing-picker .billing-cycle-option .lot4b-cycle-title {
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.lot4b-billing-picker .billing-cycle-option .lot4b-cycle-sub {
  display: block !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #64748B !important;
  line-height: 1.2 !important;
  margin: 2px 0 6px !important;
}

.lot4b-billing-picker .billing-cycle-option .lot4b-cycle-cost {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #1D4ED8 !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  margin: 0 !important;
}

.lot4b-comm-addon-pref-box {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  display: block !important;
}


/* ==========================================================================
   Group 19: Mobile Search Box Refinement & iPad Mini Sidebar Spacing Fix
   ========================================================================== */

/* 1. Mobile Search Box: Modern unified 16px rounded card without any overlap on the search button */
@media (max-width: 640px) {
  html body #header.lot4b-header .lot4b-header-top {
    padding-block: 4px !important;
    row-gap: 4px !important;
  }

  html body #header.lot4b-header .lot4b-header-search,
  html body .lot4b-header-search {
    border-radius: 16px !important;
    padding: 3px 8px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
    gap: 0 8px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    overflow: hidden !important;
    align-items: center !important;
  }

  html body #header.lot4b-header .lot4b-header-search input,
  html body .lot4b-header-search input {
    grid-column: 1 / 3 !important;
    grid-row: 1 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding-inline: 10px !important;
    font-size: 13.5px !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body #header.lot4b-header .lot4b-header-search [data-search-picker]:has([name=type]),
  html body #header.lot4b-header .lot4b-header-search [data-search-picker]:first-of-type {
    grid-column: 1 !important;
    grid-row: 2 !important;
    border-top: 1px solid #E2E8F0 !important;
    border-inline-start: 0 !important;
    border-inline-end: 1px solid #E2E8F0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body #header.lot4b-header .lot4b-header-search [data-search-picker]:has([name=board]),
  html body #header.lot4b-header .lot4b-header-search [data-search-picker]:last-of-type {
    grid-column: 2 !important;
    grid-row: 2 !important;
    border-top: 1px solid #E2E8F0 !important;
    border-inline-start: 0 !important;
    border-inline-end: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body #header.lot4b-header .lot4b-header-search .lot4b-picker-trigger {
    height: 34px !important;
    font-size: 11.5px !important;
    padding: 0 6px !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body #header.lot4b-header .lot4b-header-search .lot4b-picker-trigger > span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body #header.lot4b-header .lot4b-header-search .lot4b-search-button {
    grid-column: 3 !important;
    grid-row: 1 / 3 !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: calc(100% - 6px) !important;
    max-height: 68px !important;
    border-radius: 12px !important;
    align-self: center !important;
    justify-self: center !important;
    background: #0A1F44 !important;
    color: #FFFFFF !important;
    position: relative !important;
    z-index: 5 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  html body #header.lot4b-header .lot4b-header-search .lot4b-search-button svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    margin: auto !important;
  }
}

/* 2. iPad Mini & Tablet (761px to 1050px): Prevent Sidebar Collision on All Customer Console Pages */
@media (min-width: 761px) and (max-width: 1050px) {
  html body .customer-console {
    padding: 20px 20px !important;
    padding-inline-start: calc(var(--account-rail, 206px) + 24px) !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   Group 20: Mobile Inventory & Sales Tables Responsive Card Conversion
   ========================================================================== */

@media (max-width: 760px) {
  /* 1. Reset outer wrappers for inventory tables so cards render smoothly without horizontal clipping */
  html body .customer-console .account-content .inventory-panel .table-wrap,
  html body .customer-console .account-content .inventory-panel details .table-wrap {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    margin: 8px 0 16px !important;
    padding: 0 !important;
  }

  html body .customer-console .account-content .inventory-panel .density-table-scroll,
  html body .customer-console .account-content .inventory-panel details .density-table-scroll {
    overflow: visible !important;
    contain: none !important;
    padding: 0 !important;
  }

  /* 2. Table and Body: Convert table to block container of cards */
  html body .customer-console .account-content .inventory-panel table.ops-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body .customer-console .account-content .inventory-panel table.ops-table > thead {
    display: none !important;
  }

  html body .customer-console .account-content .inventory-panel table.ops-table > tbody {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* 3. Each Table Row becomes a distinct, well-padded mobile card */
  html body .customer-console .account-content .inventory-panel table.ops-table > tbody > tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 12px !important;
    padding: 14px 16px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  html body .customer-console .account-content .inventory-panel table.ops-table > tbody > tr:hover {
    background: #FFFFFF !important;
  }

  /* Highlight state for reprice/stock focus */
  html body .customer-console .account-content .inventory-panel table.ops-table > tbody > tr.is-stock-focus {
    background: #FFFDF5 !important;
    border-color: #FCD34D !important;
    box-shadow: 0 0 0 2px #FCD34D !important;
  }

  /* 4. Cell styling: vertical label above value */
  html body .customer-console .account-content .inventory-panel table.ops-table td {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 4px 0 !important;
    border: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    box-sizing: border-box !important;
  }

  /* Default data-column-label generator via attribute */
  html body .customer-console .account-content .inventory-panel table.ops-table td::before {
    content: attr(data-column-label);
    display: block;
    margin: 0;
    color: #64748B;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
  }

  /* Arabic Fallback labels if data-column-label attribute is not yet populated */
  html[dir="rtl"] body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(1):not([data-column-label])::before { content: "رقم العرض"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(2):not([data-column-label])::before { content: "العنوان"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(3):not([data-column-label])::before { content: "الكمية الأصلية"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(4):not([data-column-label])::before { content: "المباع"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(5):not([data-column-label])::before { content: "المتبقي"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(6):not([data-column-label])::before { content: "السعر الحالي للمتبقي"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(7):not([data-column-label])::before { content: "حالة البيع"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(8):not([data-column-label])::before { content: "الإجراء"; }

  /* English Fallback labels for Main Inventory Table */
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(1):not([data-column-label])::before { content: "Offer"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(2):not([data-column-label])::before { content: "Title"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(3):not([data-column-label])::before { content: "Original quantity"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(4):not([data-column-label])::before { content: "Sold"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(5):not([data-column-label])::before { content: "Remaining"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(6):not([data-column-label])::before { content: "Current total price"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(7):not([data-column-label])::before { content: "Sale status"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(8):not([data-column-label])::before { content: "Action"; }

  /* History Table: 7 columns */
  html[dir="rtl"] body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(1):not([data-column-label])::before { content: "العرض"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(2):not([data-column-label])::before { content: "الحركة"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(3):not([data-column-label])::before { content: "المباع في الحركة"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(4):not([data-column-label])::before { content: "المتبقي بعدها"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(5):not([data-column-label])::before { content: "السعر السابق"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(6):not([data-column-label])::before { content: "السعر الجديد"; }
  html[dir="rtl"] body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(7):not([data-column-label])::before { content: "التاريخ"; }

  /* English Fallback labels for History Table */
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(1):not([data-column-label])::before { content: "Offer"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(2):not([data-column-label])::before { content: "Event"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(3):not([data-column-label])::before { content: "Sold in event"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(4):not([data-column-label])::before { content: "Remaining after"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(5):not([data-column-label])::before { content: "Previous price"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(6):not([data-column-label])::before { content: "New price"; }
  html:not([dir="rtl"]) body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(7):not([data-column-label])::before { content: "Date"; }

  /* 5. Specific Element Layouts inside Card 1 (Main Inventory Table) */
  /* Offer Reference: Top-level badge header */
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(1) {
    grid-column: 1 / -1 !important;
    order: -4 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 0 4px !important;
  }

  /* Title: Prominent full-width header under reference */
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(2) {
    grid-column: 1 / -1 !important;
    order: -3 !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    margin-bottom: 4px !important;
  }
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(2)::before {
    display: none !important;
  }
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(2) .lot4b-title-link strong {
    font-size: 15.5px !important;
    line-height: 1.4 !important;
    color: #0F172A !important;
  }

  /* Status: Full width or neatly styled */
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(7) {
    font-weight: 600 !important;
  }

  /* Actions: Bottom bar spanning full width */
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(8) {
    grid-column: 1 / -1 !important;
    order: 99 !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding-top: 10px !important;
    border-top: 1px solid #F1F5F9 !important;
    align-items: stretch !important;
  }
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(8)::before {
    display: none !important;
  }
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(8) details {
    width: 100% !important;
    margin: 0 !important;
  }
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(8) summary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0A1F44 !important;
    text-align: center !important;
    cursor: pointer !important;
  }
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(8) .inventory-reactivation,
  html body .customer-console .account-content .inventory-panel > .table-wrap table.ops-table td:nth-child(8) .inventory-restock {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-top: 12px !important;
    box-sizing: border-box !important;
  }

  /* 6. Specific Element Layouts inside Card 2 (History Table) */
  html body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(1) {
    grid-column: 1 / -1 !important;
    order: -4 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    margin-bottom: 4px !important;
  }
  html body .customer-console .account-content .inventory-panel details table.ops-table td:nth-child(2) {
    font-weight: 600 !important;
    color: #0A1F44 !important;
  }

  /* 7. Extra narrow screens (≤ 340px): 1 column per card */
  @media (max-width: 340px) {
    html body .customer-console .account-content .inventory-panel table.ops-table > tbody > tr {
      grid-template-columns: 1fr !important;
    }
  }
}


/* ==========================================================================
   Group 21: Admin Console Mobile Responsive Card Transformation
   ========================================================================== */

@media (max-width: 760px) {
  /* 1. Neutralize outer table frame wrappers so cards render free-standing without horizontal clipping */
  html body .admin-console .admin-table-wrap,
  html body .admin-console .request-table-wrap,
  html body .admin-console .table-wrap,
  html body .admin-console .finance-table-wrap,
  html body .admin-console .admin-record-table-card,
  html body .admin-sidebar-console .admin-section :is(.admin-table-wrap, .request-table-wrap, .table-wrap, .finance-table-wrap, .admin-record-table-card, .users-table-wrap) {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    margin: 8px 0 16px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .admin-console .density-table-scroll,
  html body .admin-sidebar-console .admin-section .density-table-scroll {
    overflow: visible !important;
    contain: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* 2. Admin Tables: Convert table from wide scroll grid to 100% block container */
  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table),
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    table-layout: auto !important;
  }

  /* 3. Hide table header visually on mobile */
  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > thead,
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > thead {
    display: none !important;
  }

  /* 4. Table Body: Grid of Cards */
  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody,
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* 5. Each Table Row becomes an elegant, well-padded white card */
  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row),
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 12px !important;
    height: auto !important;
    padding: 14px 16px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
    position: relative !important;
    width: 100% !important;
  }

  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row):hover,
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row):hover {
    background: #FFFFFF !important;
  }

  /* 6. Card Cells: Vertical Stack (Label above Value) */
  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th),
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 4px 0 !important;
    border: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }

  /* Column label generator via data-column-label */
  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th)::before,
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th)::before {
    content: attr(data-column-label);
    display: block !important;
    margin: 0 !important;
    color: #64748B !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):is([data-column-label=""], :not([data-column-label]))::before,
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):is([data-column-label=""], :not([data-column-label]))::before {
    display: none !important;
  }

  /* 7. Card Header Cell (First Cell: Record Number or Title) */
  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):first-child,
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):first-child {
    grid-column: 1 / -1 !important;
    order: -4 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    margin-bottom: 4px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
  }

  /* 8. Card Action Cell (Last Cell) */
  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):last-child:not(:first-child),
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):last-child:not(:first-child) {
    grid-column: 1 / -1 !important;
    order: 99 !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding-top: 10px !important;
    border-top: 1px solid #F1F5F9 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):last-child:not(:first-child)::before,
  html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):last-child:not(:first-child)::before {
    display: none !important;
  }

  html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) > :is(td, th):last-child:not(:first-child) :is(.btn, button, a.btn) {
    flex: 1 1 auto !important;
    min-height: 44px !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
  }

  /* 9. Expandable Detail Rows (Admin Listings & Payments) */
  html body .admin-console table > tbody > tr:is(.admin-detail-row, .payment-detail-row):not([hidden]),
  html body .admin-sidebar-console .admin-section table > tbody > tr:is(.admin-detail-row, .payment-detail-row):not([hidden]) {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    margin-top: -6px !important;
    margin-bottom: 12px !important;
    box-shadow: none !important;
  }

  html body .admin-console table > tbody > tr:is(.admin-detail-row, .payment-detail-row):not([hidden]) > td,
  html body .admin-sidebar-console .admin-section table > tbody > tr:is(.admin-detail-row, .payment-detail-row):not([hidden]) > td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 14px !important;
  }

  html body .admin-console table > tbody > tr:is(.admin-detail-row, .payment-detail-row):not([hidden]) > td::before,
  html body .admin-sidebar-console .admin-section table > tbody > tr:is(.admin-detail-row, .payment-detail-row):not([hidden]) > td::before {
    display: none !important;
  }

  /* 10. Empty state rows */
  html body .admin-console table > tbody > tr > td.admin-empty-cell,
  html body .admin-sidebar-console .admin-section table > tbody > tr > td.admin-empty-cell {
    grid-column: 1 / -1 !important;
    display: block !important;
    text-align: center !important;
    padding: 24px 16px !important;
  }

  /* 11. Extra narrow screens (≤ 340px): 1 column per card */
  @media (max-width: 340px) {
    html body .admin-console table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row),
    html body .admin-sidebar-console .admin-section table:is(.admin-stack-table, .admin-data-table, .admin-record-table, .request-table, .users-table, .users-mini-table, .finance-table, .listings-table, .buying-needs-admin-table, .ops-table) > tbody > tr:not(.admin-detail-row):not(.payment-detail-row) {
      grid-template-columns: 1fr !important;
    }
  }
}


/* ==========================================================================
   Group 22: Mobile Polish for Founder, CEO, and CTA Cards
   ========================================================================== */

@media (max-width: 760px) {
  /* 1. Founder & CEO Cards Container & Grid */
  html body section.founder-section.lot4b-executive-section-v2 {
    padding-block: 28px 36px !important;
  }

  html body .lot4b-executive-section-v2 .lot4b-executive-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
  }

  html body .lot4b-executive-section-v2 .founder-message-card {
    padding: 20px 14px !important;
    border-radius: 18px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  html body .lot4b-executive-section-v2 .founder-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body .lot4b-executive-section-v2 .founder-copy > .eyebrow {
    margin: 0 auto !important;
    align-self: center !important;
    display: inline-flex !important;
    padding: 5px 14px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
  }

  html body .lot4b-executive-section-v2 .founder-copy h2 {
    margin: 0 !important;
    text-align: center !important;
    font-size: clamp(1.2rem, 4.5vw, 1.45rem) !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    min-height: 0 !important;
  }

  html body .lot4b-executive-section-v2 .founder-copy blockquote {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #F8FAFC !important;
    border: 1px solid #F1F5F9 !important;
    border-radius: 14px !important;
    padding: 18px 16px !important;
    margin: 0 !important;
  }

  html body .lot4b-executive-section-v2 .founder-copy blockquote p {
    text-align: center !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    margin: 0 0 10px 0 !important;
  }

  html body .lot4b-executive-section-v2 .founder-copy blockquote p:last-child {
    margin-bottom: 0 !important;
  }

  /* 2. Footer Row: Keep signature and button side-by-side on the SAME ROW next to each other */
  html body .lot4b-executive-section-v2 .lot4b-founder-footer-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 14px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  html body .lot4b-executive-section-v2 .founder-signature-role-only {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 48% !important;
    min-width: 0 !important;
    text-align: start !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    min-height: 0 !important;
    white-space: nowrap !important;
  }

  html body .lot4b-executive-section-v2 .founder-signature-role-only span {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    text-align: start !important;
    white-space: nowrap !important;
  }

  /* Compact button sitting comfortably next to the role title on the same row without clipping */
  html body .lot4b-executive-section-v2 .lot4b-exec-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 52% !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  /* 3. Closing Pre-Footer CTA Card */
  html body section.section.lot4b-closing-section,
  html body .lot4b-closing-section {
    background: #0F172A !important;
    padding: 32px 16px 40px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .lot4b-closing-section .wrap.cta,
  html body .lot4b-closing-section .cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 26px 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    box-sizing: border-box !important;
  }

  html body .lot4b-closing-section .cta > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .lot4b-closing-section .cta h2 {
    font-size: clamp(1.25rem, 4.5vw, 1.55rem) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.4 !important;
    margin: 0 0 4px !important;
    text-align: center !important;
  }

  html body .lot4b-closing-section .cta p {
    font-size: 0.88rem !important;
    color: #94A3B8 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  html body .lot4b-closing-section .cta .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 320px !important;
    min-height: 48px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    background: #1D4ED8 !important;
    border: 1px solid #1D4ED8 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35) !important;
    text-align: center !important;
    margin: 6px auto 0 !important;
    box-sizing: border-box !important;
  }
}

/* Preserve approved mobile target size while retaining the imported founder layout. */
html body .lot4b-executive-section-v2 .lot4b-founder-footer-row .lot4b-exec-btn{min-height:48px!important}

/* UI: Customer dashboard — KPI cards two per row with flat light colors (no gradients) */
html body .customer-console .account-home-summary.lot4b-dash-kpis-v3 article{background-image:none!important}
html body .customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(1){background-color:#F0F7FF!important}
html body .customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(2){background-color:#F0FDF4!important}
html body .customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(3){background-color:#FFFBEB!important}
html body .customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(4){background-color:#F8FAFC!important}
@media (max-width:1023px){
 html body .customer-console .account-home-summary.lot4b-dash-kpis-v3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body .customer-console .account-home-summary.lot4b-dash-kpis-v3 article:nth-child(4):last-child{grid-column:auto!important}
}
/* UI: Customer record lists — phones: results count sits beside "More filters" while filters are closed */
@media (max-width:600px){
 html body .customer-console .customer-record-toolbar:not(.is-open)>.customer-record-actions{grid-column:auto!important;align-self:center!important;justify-content:center!important;margin:0!important}
 html body .customer-console .customer-record-toolbar:not(.is-open)>.customer-record-actions .customer-record-result{margin:0!important;white-space:nowrap!important;text-align:center!important}
 html body .customer-console .customer-record-toolbar:not(.is-open)>.customer-record-more{align-self:center!important}
}
/* UI: My listings — "Close offer" sits beside "Edit" as a direct action (it was the only item of a "More" menu) */
html body .customer-console .lot4b-row-actions .is-close{color:#B91C1C!important;border-color:#FECACA!important;background:#fff!important;white-space:nowrap}
html body .customer-console .lot4b-row-actions .is-close:is(:hover,:focus-visible){background:#FEF2F2!important}
/* UI: Favorites and interest requests — centered tabs and record cards on phones */
@media (max-width:600px){
 html body .customer-console :is(.lot4b-favorites-page-v3,.lot4b-interests-page-v3) .lot4b-interests-scope-tabs{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;overflow:visible!important;width:100%!important;max-width:100%!important;gap:6px!important;padding:4px!important}
 html body .customer-console :is(.lot4b-favorites-page-v3,.lot4b-interests-page-v3) .lot4b-interests-scope-tabs>.lot4b-scope-tab{position:static!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;margin:0!important;min-height:48px!important;padding-inline:12px!important;white-space:nowrap!important;justify-content:center!important;text-align:center!important;font-size:13px!important}
 html body .customer-console :is(.lot4b-favorites-page-v3,.lot4b-interests-page-v3) .mobile-record-table tr[data-customer-record]>td{justify-content:center!important;align-items:center!important;text-align:center!important}
 html body .customer-console :is(.lot4b-favorites-page-v3,.lot4b-interests-page-v3) .mobile-record-table tr[data-customer-record] :is(.lot4b-table-product-cell,.lot4b-table-product-info,.lot4b-table-product-sub){justify-content:center!important;align-items:center!important;text-align:center!important}
}
/* UI: Profile — company documents centered on phones */
@media (max-width:600px){
 html body .company-documents-panel .company-documents-head{flex-direction:column!important;align-items:center!important;text-align:center!important;gap:8px!important}
 html body .company-documents-panel .company-documents-head .lot4b-pref-head-copy{text-align:center!important}
 html body .company-documents-panel :is(.company-documents-empty,.company-document-card){text-align:center!important;align-items:center!important;justify-items:center!important}
 html body .company-documents-panel .company-document-card-top,html body .company-documents-panel .company-document-actions{justify-content:center!important}
 html body .company-documents-panel .company-documents-upload>summary{justify-content:center!important;text-align:center!important}
}
