/* Mabna Desk visual design on native Odoo rows, columns, images, buttons and FAQ.
   No column width overrides, custom grids, fixed pixel dimensions or JS.
   Inline edits and native typography/spacing utilities can override defaults. */
/*!rtl:begin:ignore*/
.mabna-desk-page {
  --md-unit: Max(1rem, 1.05vw);
  --md-primary: #5137e8;
  --md-primary-dark: #4028cf;
  --md-ink: #151226;
  --md-text: #3f3a4f;
  --md-muted: #7f798e;
  --md-border: #ebe8f2;
  direction: rtl;
  text-align: right;
  color: var(--md-text);
  background: #fbfcfe;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: var(--md-unit);
  line-height: 1.85;
  overflow-wrap: break-word;
}
:where(.mabna-desk-page) h1 { font-family: inherit; font-size: calc(var(--md-unit) * 3); font-weight: 800; line-height: 1.45; letter-spacing: -.025em; color: var(--md-ink); margin-bottom: .4em; text-wrap: balance; }
:where(.mabna-desk-page) h2 { font-family: inherit; font-size: calc(var(--md-unit) * 2.25); font-weight: 800; line-height: 1.5; letter-spacing: -.025em; color: var(--md-ink); margin-bottom: .4em; }
:where(.mabna-desk-page) h3 { font-family: inherit; font-size: calc(var(--md-unit) * 1.25); font-weight: 600; line-height: 1.65; color: var(--md-ink); margin-bottom: .6em; }
:where(.mabna-desk-page) p { margin-top: 0; margin-bottom: 1em; }
:where(.mabna-desk-page) a { text-decoration: none; }
:where(.mabna-desk-page) a:hover { text-decoration: underline; text-underline-offset: .3em; }
:where(.mabna-desk-page) .md-container { width: 92%; max-width: 100%; margin-inline: auto; }
/* Zero-specificity defaults allow Odoo's native pt/pb classes to take over. */
:where(.mabna-desk-page .md-section) { padding-block: 2.2%; }
:where(.mabna-desk-page .md-hero) { padding-top: 1%; padding-bottom: 0; }
:where(.mabna-desk-page .md-breadcrumb-section) { padding-block: .65em; }
:where(.mabna-desk-page) .md-breadcrumb { font-size: 78%; color: var(--md-muted); }
:where(.mabna-desk-page) .md-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5em .8em; margin: 0; padding: 0; list-style: none; }
:where(.mabna-desk-page) .md-breadcrumb li { display: inline-flex; align-items: baseline; gap: .8em; }
:where(.mabna-desk-page) .md-breadcrumb li + li::before { content: "/"; color: #aca5bd; }
:where(.mabna-desk-page) .md-breadcrumb a { color: var(--md-muted); }
:where(.mabna-desk-page) .md-breadcrumb [aria-current] { color: var(--md-ink); }
:where(.mabna-desk-page) .md-eyebrow { margin-bottom: .65em; font-size: 83%; font-weight: 700; color: var(--md-primary); }
:where(.mabna-desk-page) .md-dot { display: inline-block; width: .45em; height: .45em; margin-inline-end: .45em; border-radius: 50%; background: var(--md-primary); }
:where(.mabna-desk-page) .md-lead { font-size: var(--md-unit); font-weight: 400; line-height: 2; color: var(--md-muted); margin-top: .65em; }
:where(.mabna-desk-page) .md-hero-note { font-size: 88%; line-height: 1.95; color: var(--md-muted); }
:where(.mabna-desk-page) .md-actions { margin-top: 1.1em; }
:where(.mabna-desk-page) .btn:not(.btn-sm):not(.btn-lg):not(.btn-link) { font-size: 100%; font-weight: 600; line-height: 1.5; padding: .65em 1.5em; border-radius: .7em; }
:where(.mabna-desk-page) .btn-primary { color: #fff; background-color: var(--md-primary); border-color: var(--md-primary); box-shadow: 0 .5em 1.5em rgba(81,55,232,.16); }
:where(.mabna-desk-page) .btn-primary:hover { background-color: var(--md-primary-dark); border-color: var(--md-primary-dark); }
:where(.mabna-desk-page) .btn-outline-primary { color: var(--md-primary); background-color: #fff; border-color: var(--md-border); }
:where(.mabna-desk-page) .btn-outline-primary:hover { color: var(--md-primary); background-color: #f1efff; border-color: #c8c0e5; }
:where(.mabna-desk-page) .btn-light { color: var(--md-primary-dark); background-color: #fff; border-color: #fff; }
:where(.mabna-desk-page) .md-hero-points { display: flex; flex-wrap: wrap; gap: .5em 1.3em; margin: 1.1em 0 0; padding: 0; list-style: none; font-size: 78%; color: var(--md-muted); }
:where(.mabna-desk-page) .md-hero-points li::before { content: "✓"; margin-inline-end: .4em; color: var(--md-primary); }
:where(.mabna-desk-page) .md-section-heading { max-width: 72%; margin-bottom: 1.35em; }
:where(.mabna-desk-page) .md-section-heading > p:last-child { margin-top: .65em; }
:where(.mabna-desk-page) .md-prompt { margin: 0 0 1em; padding: 1em; border: .06em solid var(--md-border); border-inline-start: .18em solid var(--md-primary); border-radius: .9em; background: #fff; }
:where(.mabna-desk-page) .md-prompt > span { font-size: 75%; font-weight: 700; color: var(--md-primary); }
:where(.mabna-desk-page) .md-prompt p { margin: .5em 0 0; color: var(--md-ink); font-weight: 550; }
:where(.mabna-desk-page) .md-steps { margin: 1em 0 0; padding: 0; list-style: none; }
:where(.mabna-desk-page) .md-steps li { display: flex; gap: 1em; padding-block: .65em; }
:where(.mabna-desk-page) .md-step-number { flex: 0 0 2.8em; height: 2.8em; display: flex; align-items: center; justify-content: center; font-size: 78%; border: .08em solid #ddd6f4; border-radius: 50%; color: var(--md-primary); background: #eeebfb; }
:where(.mabna-desk-page) .md-steps li > div { min-width: 0; }
:where(.mabna-desk-page) .md-steps h3 { font-size: 100%; margin-bottom: .3em; }
:where(.mabna-desk-page) .md-steps p { font-size: 88%; margin-bottom: 0; }
:where(.mabna-desk-page) .md-small-note { margin-top: .85em; font-size: 78%; color: var(--md-muted); }
:where(.mabna-desk-page) .md-capability { padding-top: 1em; border-top: .06em solid #dcd6ed; }
:where(.mabna-desk-page) .md-index { display: block; margin-bottom: .8em; font-size: 82%; font-weight: 650; color: var(--md-primary); }
:where(.mabna-desk-page) .md-capability p { font-size: 90%; }
:where(.mabna-desk-page) .md-list { margin: 1em 0 0; padding: 0; list-style: none; }
:where(.mabna-desk-page) .md-list li { padding-block: .75em; border-bottom: .06em solid var(--md-border); }
:where(.mabna-desk-page) .md-list strong { display: block; font-weight: 650; font-size: 98%; margin-bottom: .3em; }
:where(.mabna-desk-page) .md-list span { display: block; font-size: 88%; }
:where(.mabna-desk-page) .md-control-intro { margin-top: .85em; font-size: 94%; }
:where(.mabna-desk-page) .md-control-list { margin-bottom: 0; }
:where(.mabna-desk-page) .md-control-list > div { padding-block: .85em; border-bottom: .06em solid #443951; }
:where(.mabna-desk-page) .md-control-list > div:first-child { padding-top: 0; }
:where(.mabna-desk-page) .md-control-list dt { font-weight: 650; margin-bottom: .45em; }
:where(.mabna-desk-page) .md-control-list dd { margin: 0; font-size: 88%; }
:where(.mabna-desk-page) .md-implementation-step { padding-top: 1em; border-top: .06em solid var(--md-border); }
:where(.mabna-desk-page) .md-implementation-number { margin-bottom: .4em; font-size: 160%; font-weight: 650; color: var(--md-primary); }
:where(.mabna-desk-page) .md-implementation-step p:not(.md-implementation-number) { font-size: 88%; }
:where(.mabna-desk-page) .md-text-link { display: inline-block; margin-top: .9em; font-size: 88%; font-weight: 650; color: var(--md-primary); }
:where(.mabna-desk-page) .md-faq-list .accordion-item { border: 0; border-bottom: .06em solid var(--md-border); background: transparent; }
:where(.mabna-desk-page) .md-faq-list .accordion-item:first-child { border-top: .06em solid var(--md-border); }
:where(.mabna-desk-page) .md-faq-list .accordion-button { padding: 1em 0; font-family: inherit; font-size: 100%; font-weight: 600; line-height: 1.8; background: transparent; box-shadow: none; }
:where(.mabna-desk-page) .md-faq-list .accordion-body { padding: 0 0 1em; font-size: 90%; }
:where(.mabna-desk-page) .md-faq-list .accordion-body p { margin: 0; }
:where(.mabna-desk-page) .md-final .btn-light { box-shadow: none; }
/* Same readable floor and proportional desktop scaling as the homepage,
   without CSS min/max/clamp functions in the SCSS compilation path. */
@media (max-width: 61.99875em) {
  :where(.mabna-desk-page) h1 { font-size: calc(var(--md-unit) * 2.1); }
  :where(.mabna-desk-page) h2 { font-size: calc(var(--md-unit) * 1.7); }
  :where(.mabna-desk-page) .md-section-heading { max-width: 100%; }
  :where(.mabna-desk-page) .md-control-list > div:first-child { padding-top: .85em; border-top: .06em solid #443951; }
}
@media (max-width: 48em) {
  :where(.mabna-desk-page) .md-container { width: 94%; }
  :where(.mabna-desk-page .md-section) { padding-block: 1.75em; }
  :where(.mabna-desk-page .md-hero) { padding-top: .5em; padding-bottom: 0; }
  :where(.mabna-desk-page) .md-hero-points { display: block; }
  :where(.mabna-desk-page) .md-hero-points li { margin-bottom: .5em; }
}
@media (max-width: 36em) {
  :where(.mabna-desk-page) h1 > span { font-size: inherit; }
  :where(.mabna-desk-page) .md-actions .btn { width: 100%; }
  :where(.mabna-desk-page) .md-breadcrumb { font-size: 73%; }
}

/* Soft tools band using the native Odoo row and column structure. */
:where(.mabna-desk-page) .md-context {
  margin-top: 1.5em;
  padding: 1.4% 2%;
  border: .06em solid #e7e1f7;
  border-radius: 1.25em;
  background: linear-gradient(110deg, #f6f3ff 0%, #ffffff 100%);
  box-shadow: 0 .4em 1.6em rgba(35, 25, 70, .035);
}
:where(.mabna-desk-page) .md-context p {
  margin: 0;
  padding-inline-start: .85em;
  border-inline-start: .2em solid var(--md-primary);
  font-size: 105%;
  font-weight: 650;
  line-height: 1.9;
  color: var(--md-ink);
}
:where(.mabna-desk-page) .md-context ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .6em;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 88%;
  font-weight: 600;
}
:where(.mabna-desk-page) .md-context li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: .65em 1em;
  border: .06em solid #e4def2;
  border-radius: .75em;
  background-color: #ffffff;
  color: #51446d;
  line-height: 1.8;
}
@media (max-width: 61.99875em) {
  :where(.mabna-desk-page) .md-context { margin-top: 1.25em; padding: 3%; }
  :where(.mabna-desk-page) .md-context p { padding-inline-start: 0; border-inline-start: 0; text-align: center; }
  :where(.mabna-desk-page) .md-context ul { justify-content: center; }
}


/* Natural image layout matching the supplied homepage.
   Native image widths/crops remain editable; no placeholder opacity or ratio frame. */
:where(.mabna-desk-page) .md-media {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1.25em;
  background: transparent;
  aspect-ratio: auto;
}
/* Remove only the legacy inline lavender frame color from earlier HTML.
   Other backgrounds chosen later in Odoo keep working. */
:where(.mabna-desk-page) .md-media[style*="#f3f1fa"] {
  background-color: transparent !important;
}
:where(.mabna-desk-page) .md-media img {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  border-radius: inherit;
  opacity: 1;
  filter: none;
}
:where(.mabna-desk-page) .md-media-caption {
  margin: .65em 0 0;
  text-align: center;
  color: var(--md-muted);
  font-size: 78%;
}
:where(.mabna-desk-page) .md-media-caption:empty { display: none; }


/* Shared native Odoo header, scoped to this page only.
   Body typography uses the exact responsive unit from the supplied homepage.
   The existing mobile/offcanvas component handles intermediate widths too. */
#wrapwrap:has(.mabna-desk-page) > header { --mabna-header-unit: Max(1rem, 1.05vw); font-size: var(--mabna-header-unit); line-height: 1.6; }
#wrapwrap:has(.mabna-desk-page) > header .navbar,
#wrapwrap:has(.mabna-desk-page) > header .o_main_nav,
#wrapwrap:has(.mabna-desk-page) > header .navbar-nav { font-size: inherit; min-width: 0; }
#wrapwrap:has(.mabna-desk-page) > header .o_main_nav.container,
#wrapwrap:has(.mabna-desk-page) > header .o_main_nav.container-fluid,
#wrapwrap:has(.mabna-desk-page) > header .navbar > .container,
#wrapwrap:has(.mabna-desk-page) > header .navbar > .container-fluid {
  box-sizing: border-box;
  width: 92% !important;
  max-width: none !important;
  margin-inline: auto;
  padding-inline: 0;
}
#wrapwrap:has(.mabna-desk-page) > header .navbar { padding-block: .5em; }
#wrapwrap:has(.mabna-desk-page) > header .nav-link,
#wrapwrap:has(.mabna-desk-page) > header .btn,
#wrapwrap:has(.mabna-desk-page) > header .form-control { font-size: 90%; line-height: 1.6; }
#wrapwrap:has(.mabna-desk-page) > header .nav-link { padding: .45em .55em; }
#wrapwrap:has(.mabna-desk-page) > header .nav-link > span { font-size: inherit; }
#wrapwrap:has(.mabna-desk-page) > header .btn { min-height: 2.6em; padding: .45em 1em; border-radius: .4em; }
#wrapwrap:has(.mabna-desk-page) > header .navbar-brand { flex: 0 0 auto; font-size: inherit; padding-block: 0; max-width: 100%; }
#wrapwrap:has(.mabna-desk-page) > header .navbar-brand img { display: block; height: 2.2rem !important; width: auto !important; max-height: none !important; max-width: 100%; object-fit: contain; }
#wrapwrap:has(.mabna-desk-page) > header .navbar-brand.me-4 { margin-inline-end: 1em !important; }
#wrapwrap:has(.mabna-desk-page) > header .o_navlink_background { display: inline-flex; align-items: center; justify-content: center; width: 2.6em; height: 2.6em; padding: 0; border-radius: 50%; }
#wrapwrap:has(.mabna-desk-page) > header .dropdown-menu { font-size: 90%; min-width: 10em; max-width: 90vw; border-radius: .4em; }
#wrapwrap:has(.mabna-desk-page) > header .dropdown-item { font-size: inherit; white-space: normal; overflow-wrap: anywhere; }
#wrapwrap:has(.mabna-desk-page) > header .fa, #wrapwrap:has(.mabna-desk-page) > header .oi { font-size: 1em; }
#wrapwrap:has(.mabna-desk-page) > header .gap-1 { gap: .25em !important; }
#wrapwrap:has(.mabna-desk-page) > header .gap-2 { gap: .5em !important; }
#wrapwrap:has(.mabna-desk-page) > header .gap-3 { gap: 1em !important; }
#wrapwrap:has(.mabna-desk-page) > header .navbar-nav.ps-3 { padding-inline-start: .75em !important; }
#wrapwrap:has(.mabna-desk-page) > header .navbar:not(.o_header_mobile) .o_main_nav { flex-wrap: nowrap; gap: .5em; }
#wrapwrap:has(.mabna-desk-page) > header .navbar:not(.o_header_mobile) #top_menu { min-width: 0; flex-wrap: nowrap; }
#wrapwrap:has(.mabna-desk-page) > header .navbar:not(.o_header_mobile) .nav-link { white-space: nowrap; }
#wrapwrap:has(.mabna-desk-page) > header .o_header_mobile .o_main_nav { flex-wrap: nowrap !important; }
#wrapwrap:has(.mabna-desk-page) > header .o_header_mobile .o_main_nav > .d-flex { min-width: 0; }
#wrapwrap:has(.mabna-desk-page) > header .o_header_mobile .navbar-toggler-icon { width: 1.5em; height: 1.5em; }
#wrapwrap:has(.mabna-desk-page) > header .o_header_mobile .offcanvas { width: 24em; max-width: 94vw; }
#wrapwrap:has(.mabna-desk-page) > header .o_header_mobile .offcanvas .nav-link { white-space: normal; overflow-wrap: anywhere; }
/* Switch before the full desktop links collide; reuse Odoo's native menu. */
@media (max-width: 87.49em) {
  #wrapwrap:has(.mabna-desk-page) > header .navbar.d-lg-block:not(.o_header_mobile) { display: none !important; }
  #wrapwrap:has(.mabna-desk-page) > header .o_header_mobile { display: block !important; }
}
/* An open native drawer stays visible across a resize until it is closed.
   This lets Bootstrap release its backdrop and scroll lock normally. */
@media (min-width: 87.5em) {
  #wrapwrap:has(.mabna-desk-page) > header:has(.o_header_mobile .offcanvas:is(.show, .showing)) .navbar.d-lg-block:not(.o_header_mobile) { display: none !important; }
  #wrapwrap:has(.mabna-desk-page) > header:has(.o_header_mobile .offcanvas:is(.show, .showing)) .o_header_mobile { display: block !important; }
}
@media (max-width: 48em) {
  #wrapwrap:has(.mabna-desk-page) > header .o_main_nav.container,
  #wrapwrap:has(.mabna-desk-page) > header .o_main_nav.container-fluid { width: 94% !important; }
}


/* Keep the hero at the top of its row even while an image is absent.
   Both original Agents nesting and native container > row nesting are supported. */
:where(.mabna-desk-page) .md-hero > .md-split.row,
:where(.mabna-desk-page) .md-hero > .md-split > .row,
:where(.mabna-desk-page) .md-layout-row.row,
:where(.mabna-desk-page) .md-layout-row > .row { align-items: flex-start !important; }
:where(.mabna-desk-page) .md-hero-copy > :last-child { margin-bottom: 0; }
:where(.mabna-desk-page) .md-hero h1 > span { font-size: inherit; }
/* Only the neutral Odoo placeholder is small. Replacing its src restores natural full width. */
:where(.mabna-desk-page) .md-media img[src="/web/static/img/placeholder.png"] {
  max-width: 24%;
  margin-inline: auto;
  opacity: 1;
}
:where(.mabna-desk-page) .md-media:has(img[src="/web/static/img/placeholder.png"]) { padding-block: .5em; }
:where(.mabna-desk-page) .md-intro { padding-top: 1.4%; }
:where(.mabna-desk-page) .md-section-heading > :last-child,
:where(.mabna-desk-page) .md-copy > :last-child,
:where(.mabna-desk-page) .md-capability > :last-child,
:where(.mabna-desk-page) .md-implementation-step > :last-child,
:where(.mabna-desk-page) .md-final-inner .col-lg-9 > :last-child { margin-bottom: 0; }

/*!rtl:end:ignore*/
