@layer me.reset, me.tokens, me.base, me.layout, me.components, me.variants, me.patterns, me.modules, me.theme, me.utilities;
@layer me.components{
/* Shared ME component foundation. It is intentionally scoped and does not reset the active theme. */
.me-suite-component,
[data-me-component] {
  box-sizing: border-box;
  color: var(--me-text);
  font-family: var(--me-font-body);
  font-size: var(--me-font-base);
  line-height: var(--me-line-height);
}

.me-suite-component *,
.me-suite-component *::before,
.me-suite-component *::after,
[data-me-component] *,
[data-me-component] *::before,
[data-me-component] *::after {
  box-sizing: inherit;
}

.me-suite-component :where(h1, h2, h3, h4, h5, h6),
[data-me-component] :where(h1, h2, h3, h4, h5, h6) {
  color: var(--me-text-strong);
  font-family: var(--me-font-heading);
  line-height: 1.2;
}

.me-suite-component h1, [data-me-component] h1 { font-size: var(--me-h1); }
.me-suite-component h2, [data-me-component] h2 { font-size: var(--me-h2); }
.me-suite-component h3, [data-me-component] h3 { font-size: var(--me-h3); }
.me-suite-component h4, [data-me-component] h4 { font-size: var(--me-h4); }
.me-suite-component h5, [data-me-component] h5 { font-size: var(--me-h5); }
.me-suite-component h6, [data-me-component] h6 { font-size: var(--me-h6); }







@media (prefers-reduced-motion: reduce) {
  .me-suite-component *,
  [data-me-component] * {
    animation-duration: .01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
    transition-duration: .01ms;
  }
}

.me-icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -.125em;
}

/* Core Card Contract v3 ---------------------------------------------------- */
.me-core-card{--me-card-local-radius:var(--me-card-geometry-radius,var(--me-card-surface-radius,var(--me-radius-md,16px)));--me-card-local-bg:var(--me-card-surface-bg,var(--me-surface));--me-card-local-border:var(--me-card-surface-border,1px solid var(--me-border));--me-card-local-shadow:var(--me-card-surface-shadow,var(--me-shadow-sm));--me-card-radius:var(--me-card-local-radius);--me-card-bg:var(--me-card-local-bg);--me-card-border:var(--me-card-local-border);--me-card-shadow:var(--me-card-local-shadow);--me-card-padding-local:var(--me-card-padding,18px);--me-card-gap-local:var(--me-card-gap,14px);box-sizing:border-box;display:flex;min-inline-size:0;padding:0}
.me-core-card__media{position:relative;overflow:hidden;background:var(--me-surface-alt);flex:0 0 auto;aspect-ratio:var(--me-card-media-ratio,4 / 3);border-radius:var(--me-radius-media,var(--me-card-local-radius)) var(--me-radius-media,var(--me-card-local-radius)) 0 0}.me-core-card__media>a{display:block;inline-size:100%;block-size:100%}.me-core-card__image{display:block;inline-size:100%;block-size:100%;object-fit:var(--me-card-media-fit,cover)}
.me-core-card__content{box-sizing:border-box;display:flex;flex:1 1 auto;min-inline-size:0;flex-direction:column;gap:var(--me-card-gap-local);padding:var(--me-card-padding-local)}
.me-core-card__badges,.me-core-card__facts,.me-core-card__actions{display:flex;align-items:center;gap:var(--me-space-2,8px);flex-wrap:wrap}.me-core-card__media>.me-core-card__badges{position:absolute;inset-block-start:var(--me-space-3,12px);inset-inline-start:var(--me-space-3,12px);z-index:2;max-inline-size:calc(100% - 64px)}.me-core-card__badge{max-inline-size:100%}.me-core-card__eyebrow{color:var(--me-primary);font-size:.78em;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.me-core-card__location,.me-core-card__meta,.me-core-card__source,.me-core-card__trust{color:var(--me-text-muted);font-size:.9em}.me-core-card__title{margin:0;color:var(--me-text-strong);font:inherit;font-family:var(--me-font-heading,inherit);font-size:1.08em;font-weight:700;line-height:1.3}.me-core-card__title a{color:inherit;text-decoration:none}.me-core-card__title a:hover{text-decoration:underline;text-underline-offset:3px}.me-core-card__value{color:var(--me-text-strong);font-size:var(--me-card-value-size,1.2em);font-weight:750}.me-core-card__facts{font-size:.88em}.me-core-card__fact{padding-inline-end:var(--me-space-2,8px);border-inline-end:1px solid var(--me-border)}.me-core-card__fact:last-child{padding-inline-end:0;border-inline-end:0}.me-core-card__excerpt{margin:0;line-height:1.55}.me-core-card__source,.me-core-card__trust{margin-block-start:auto}.me-core-card__actions{margin-block-start:auto;padding-block-start:2px}.me-core-card__action{max-inline-size:100%}.me-core-card a:focus-visible,.me-core-card-toggle__button:focus-visible{outline:3px solid color-mix(in srgb,var(--me-primary) 35%,transparent);outline-offset:2px}
.me-core-card--surface-plain{--me-card-surface-bg:transparent;--me-card-surface-border:1px solid transparent;--me-card-surface-shadow:none}.me-core-card--surface-outlined{--me-card-surface-bg:var(--me-surface);--me-card-surface-border:1px solid var(--me-border)}.me-core-card--surface-soft{--me-card-surface-bg:var(--me-surface-alt);--me-card-surface-border:1px solid transparent}.me-core-card--surface-raised{--me-card-surface-bg:var(--me-surface);--me-card-surface-shadow:var(--me-shadow-md)}.me-core-card--surface-glass{--me-card-surface-bg:color-mix(in srgb,var(--me-surface) 80%,transparent);--me-card-surface-border:1px solid color-mix(in srgb,var(--me-border) 60%,transparent);--me-card-surface-shadow:var(--me-shadow-sm);backdrop-filter:blur(12px)}.me-core-card--surface-contrast{--me-card-surface-bg:var(--me-text-strong);--me-card-surface-border:1px solid color-mix(in srgb,var(--me-surface) 18%,transparent);color:var(--me-surface)}.me-core-card--surface-contrast :where(.me-core-card__title,.me-core-card__value,.me-core-card__location,.me-core-card__meta,.me-core-card__source,.me-core-card__trust){color:inherit}.me-core-card--surface-editorial{--me-card-surface-bg:transparent;--me-card-surface-border:1px solid var(--me-border);--me-card-surface-radius:0;--me-card-surface-shadow:none;border-inline:0;border-block-end:0}
.me-core-card--geometry-sharp{--me-card-geometry-radius:0}.me-core-card--geometry-crisp{--me-card-geometry-radius:4px}.me-core-card--geometry-restrained{--me-card-geometry-radius:8px}.me-core-card--geometry-soft{--me-card-geometry-radius:14px}.me-core-card--geometry-rounded{--me-card-geometry-radius:22px}
.me-core-card--composition-vertical,.me-core-card--composition-catalog,.me-core-card--composition-inset-media,.me-core-card--composition-editorial,.me-core-card--composition-text-only{flex-direction:column}.me-core-card--composition-horizontal,.me-core-card--composition-compact{flex-direction:row}.me-core-card--composition-horizontal .me-core-card__media{inline-size:min(var(--me-card-list-media-width,260px),42%);align-self:stretch;min-block-size:210px;border-radius:var(--me-radius-media,var(--me-card-local-radius)) 0 0 var(--me-radius-media,var(--me-card-local-radius))}.me-core-card--composition-compact .me-core-card__media{inline-size:120px;min-block-size:120px;border-radius:var(--me-radius-media,var(--me-card-local-radius)) 0 0 var(--me-radius-media,var(--me-card-local-radius))}.me-core-card--composition-compact .me-core-card__content{justify-content:center}.me-core-card--composition-compact .me-core-card__excerpt{display:none}.me-core-card--composition-catalog{--me-card-gap-local:var(--me-space-2,8px)}.me-core-card--composition-catalog .me-core-card__content{padding-block-start:var(--me-space-3,12px)}.me-core-card--composition-inset-media{padding:var(--me-space-3,12px)}.me-core-card--composition-inset-media .me-core-card__media{border-radius:var(--me-radius-media,var(--me-card-local-radius))}.me-core-card--composition-inset-media .me-core-card__content{padding-inline:0;padding-block-end:0}.me-core-card--composition-text-only .me-core-card__media{display:none}.me-core-card--composition-featured,.me-core-card--composition-overlay{position:relative;min-block-size:320px}.me-core-card--composition-featured .me-core-card__media,.me-core-card--composition-overlay .me-core-card__media{position:absolute;inset:0;inline-size:100%;block-size:100%;border-radius:inherit}.me-core-card--composition-featured .me-core-card__media:after,.me-core-card--composition-overlay .me-core-card__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,var(--me-scrim-strong))}.me-core-card--composition-featured .me-core-card__content,.me-core-card--composition-overlay .me-core-card__content{position:relative;z-index:1;justify-content:flex-end;color:var(--me-on-scrim);background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--me-scrim) 15%,transparent));min-block-size:320px}.me-core-card--composition-featured :where(.me-core-card__title,.me-core-card__value,.me-core-card__location,.me-core-card__meta,.me-core-card__source,.me-core-card__trust),.me-core-card--composition-overlay :where(.me-core-card__title,.me-core-card__value,.me-core-card__location,.me-core-card__meta,.me-core-card__source,.me-core-card__trust){color:inherit}.me-core-card--composition-mosaic-span{grid-column:span 2}
.me-core-card--density-compact{--me-card-padding-local:12px;--me-card-gap-local:9px}.me-core-card--density-balanced{--me-card-padding-local:18px;--me-card-gap-local:14px}.me-core-card--density-spacious{--me-card-padding-local:24px;--me-card-gap-local:18px}.me-core-card--density-editorial{--me-card-padding-local:clamp(18px,3cqi,30px);--me-card-gap-local:clamp(12px,2cqi,20px)}
.me-core-card--hierarchy-value-first .me-core-card__value{order:-1;font-size:clamp(1.2rem,3cqi,1.6rem)}.me-core-card--hierarchy-facts-first .me-core-card__facts{order:-1}.me-core-card--hierarchy-editorial .me-core-card__title{font-family:var(--me-font-display,var(--me-font-heading,inherit));font-size:clamp(1.1rem,2.4cqi,1.55rem);letter-spacing:-.02em}
.me-core-card--actions-minimal .me-core-card__actions{display:none}.me-core-card--actions-inline .me-core-card__actions{margin-block-start:0}.me-core-card--actions-overlay .me-core-card__actions{position:absolute;inset-inline:var(--me-space-3,12px);inset-block-end:var(--me-space-3,12px);z-index:3}.me-core-card--actions-overlay .me-core-card__content{padding-block-end:calc(var(--me-card-padding-local) + 52px)}
.me-core-card__media-actions:empty,.me-core-card__utility-actions:empty{display:none}.me-core-card__media-actions{position:absolute;inset-block-start:var(--me-space-3,12px);inset-inline-end:var(--me-space-3,12px);z-index:3}.me-core-card__utility-actions{display:flex;flex-wrap:wrap;gap:var(--me-space-2,8px);align-items:center;margin-block-start:var(--me-space-1,4px)}
.me-core-card-toggle{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--me-border);border-radius:var(--me-radius-nav,12px);background:var(--me-surface)}.me-core-card-toggle__button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 12px;border-radius:var(--me-radius-button,8px);color:var(--me-text);font-weight:650;text-decoration:none}.me-core-card-toggle__button.is-active{background:var(--me-primary);color:var(--me-on-primary)}
@media(max-width:720px){.me-core-card--composition-horizontal,.me-core-card--composition-compact{flex-direction:column}.me-core-card--composition-horizontal .me-core-card__media,.me-core-card--composition-compact .me-core-card__media{inline-size:100%;min-block-size:0;border-radius:var(--me-radius-media,var(--me-card-local-radius)) var(--me-radius-media,var(--me-card-local-radius)) 0 0}.me-core-card--mobile-compact .me-core-card__excerpt,.me-core-card--mobile-compact .me-core-card__meta{display:none}.me-core-card--mobile-media-left{display:grid;grid-template-columns:minmax(96px,34%) minmax(0,1fr)}.me-core-card--mobile-media-left .me-core-card__media{inline-size:100%;block-size:100%;aspect-ratio:auto;min-block-size:130px}.me-core-card--mobile-media-left .me-core-card__content{padding:12px;gap:8px}.me-core-card--mobile-media-left .me-core-card__excerpt{display:none}.me-core-card--composition-mosaic-span{grid-column:auto}.me-core-card__actions{display:grid;grid-template-columns:1fr;gap:8px}.me-core-card__action{inline-size:100%}}
@media(prefers-reduced-motion:reduce){.me-core-card{transition:none}}

/* Experience Contract v1 -------------------------------------------------- */
.me-suite-button,.me-core-card__action{min-height:var(--me-button-min-height,var(--me-touch-target,44px));border-radius:var(--me-button-radius,var(--me-radius-md,10px));font-size:var(--me-button-font-size,inherit);border-width:var(--me-button-border-width,1px);box-shadow:var(--me-button-shadow,var(--me-shadow-sm))}
.me-core-card__badge{border-radius:var(--me-badge-radius,999px);padding:var(--me-badge-pad-y,4px) var(--me-badge-pad-x,8px);font-size:var(--me-badge-font-size,.78em)}
.me-core-form{display:grid;gap:16px;color:var(--me-text)}
.me-core-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.me-core-form__field{display:grid;gap:7px;min-width:0}.me-core-form__field--textarea,.me-core-form__field--full{grid-column:1/-1}.me-core-form__label{color:var(--me-text-strong);font-weight:650;font-size:.92em}.me-core-form__required{color:var(--me-danger)}
.me-core-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.me-core-form select,.me-core-form textarea{box-sizing:border-box;width:100%;min-height:max(var(--me-input-height,44px),var(--me-touch-target,44px));border:1px solid var(--me-border);border-radius:var(--me-input-radius,var(--me-radius-md,10px));background:var(--me-surface);color:var(--me-text);font:inherit;padding:10px 12px;outline:none;transition:border-color var(--me-motion-duration,180ms) ease,box-shadow var(--me-motion-duration,180ms) ease}
.me-core-form textarea{min-height:130px;resize:vertical}.me-core-form input:focus,.me-core-form select:focus,.me-core-form textarea:focus{border-color:var(--me-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--me-primary) 14%,transparent)}
.me-core-form__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.me-core-form__submit{display:inline-flex;align-items:center;justify-content:center;min-height:var(--me-button-min-height,var(--me-touch-target,44px));padding:var(--me-button-pad-y,10px) var(--me-button-pad-x,18px);border:var(--me-c-button-border-width) solid var(--me-primary);border-radius:var(--me-button-radius,var(--me-radius-md,10px));box-shadow:var(--me-button-shadow,var(--me-shadow-sm));background:var(--me-primary);color:var(--me-on-primary);font:inherit;font-size:var(--me-button-font-size,14px);font-weight:var(--me-button-weight,650);cursor:pointer}.me-core-form__submit:hover{background:var(--me-primary-hover)}
.me-core-form__notice{padding:10px 12px;border-radius:var(--me-input-radius,var(--me-radius-md,10px));background:var(--me-surface-alt);border:1px solid var(--me-border)}.me-core-form__notice--success{border-color:color-mix(in srgb,var(--me-success) 38%,var(--me-border));}.me-core-form__notice--error{border-color:color-mix(in srgb,var(--me-danger) 38%,var(--me-border));}
.me-core-form__honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:640px){.me-core-form__grid{grid-template-columns:1fr}.me-core-form__field{grid-column:1/-1}}

.me-core-form__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.me-core-form__form>.me-core-form__field--textarea,.me-core-form__form>.me-core-form__actions{grid-column:1/-1}@media(max-width:640px){.me-core-form__form{grid-template-columns:1fr}.me-core-form__form>*{grid-column:1/-1}}


/* 3.6.4 mobile-card polish: live frontend and Designer iframe use the same card rules. */
@media(max-width:720px){.me-core-card{border-radius:var(--me-mobile-card-radius,var(--me-radius-lg,18px));box-shadow:var(--me-mobile-card-shadow,var(--me-shadow-sm))}.me-core-card__content{padding:var(--me-mobile-card-padding,14px);gap:var(--me-mobile-card-gap,10px)}.me-core-card__title{font-size:clamp(1rem,4.2vw,1.15rem)}.me-core-card__value{font-size:clamp(1.04rem,4.5vw,1.24rem)}.me-core-card__actions{display:grid;grid-template-columns:1fr;gap:8px}.me-core-card__action{width:100%;min-height:var(--me-touch-target,44px)}}

/* Business Entity Runtime v1 ---------------------------------------------- */
.me-core-entity-filters{margin:clamp(18px,3vw,30px) 0;padding:clamp(14px,2vw,20px);border:1px solid var(--me-border);border-radius:var(--me-radius-lg,16px);background:var(--me-surface);box-shadow:var(--me-shadow-sm)}.me-core-entity-filters__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.me-core-entity-filters :where(label,fieldset){display:grid;gap:6px;min-width:0;margin:0}.me-core-entity-filters :where(label>span,legend){color:var(--me-text-muted);font-size:.78rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.me-core-entity-filter--range,.me-core-entity-filter--range fieldset{min-width:0;padding:0;border:0}.me-core-entity-filter--range legend{padding:0}.me-core-entity-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;min-width:0}.me-core-entity-filters :where(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:max(var(--me-input-height,44px),var(--me-touch-target,44px));border:1px solid var(--me-border);border-radius:var(--me-input-radius,var(--me-radius-md,10px));background:var(--me-surface);color:var(--me-text);font:inherit;padding:8px 10px}.me-core-entity-filters :where(input[type=checkbox],input[type=radio]){width:var(--me-touch-target,44px);height:var(--me-touch-target,44px);margin:0;accent-color:var(--me-primary)}.me-core-entity-filters :focus-visible{outline:2px solid var(--me-primary);outline-offset:2px}.me-core-entity-filters :where(:disabled,[aria-disabled=true]){cursor:not-allowed;opacity:.55}.me-core-entity-filters__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.me-core-link{color:var(--me-primary);font-weight:650;text-underline-offset:3px}.me-core-entity-sections{display:grid;gap:clamp(18px,3vw,32px);margin-top:clamp(26px,5vw,52px)}.me-core-entity-section{padding-top:clamp(18px,3vw,28px);border-top:1px solid var(--me-border)}.me-core-entity-section>h2{margin:0 0 16px;color:var(--me-text-strong);font-family:var(--me-font-heading,inherit);font-size:clamp(1.25rem,2vw,1.65rem)}.me-core-entity-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.me-core-entity-gallery-grid figure{margin:0;overflow:hidden;border-radius:var(--me-radius-lg,16px);background:var(--me-surface-alt)}.me-core-entity-gallery-grid img{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover}.me-core-entity-highlights,.me-core-entity-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.me-core-entity-highlights>div,.me-core-entity-facts>div{padding:14px;border:1px solid var(--me-border);border-radius:var(--me-radius-md,12px);background:var(--me-surface-alt)}.me-core-entity-highlights dt,.me-core-entity-facts dt{color:var(--me-text-muted);font-size:.78rem;font-weight:750;text-transform:uppercase;letter-spacing:.035em}.me-core-entity-highlights dd,.me-core-entity-facts dd{margin:5px 0 0;color:var(--me-text-strong);font-weight:700}.me-core-entity-faqs{display:grid;gap:8px}.me-core-entity-faqs details{border:1px solid var(--me-border);border-radius:var(--me-radius-md,12px);background:var(--me-surface);padding:0 14px}.me-core-entity-faqs summary{cursor:pointer;padding:14px 0;color:var(--me-text-strong);font-weight:700}.me-core-entity-faqs details>div{padding:0 0 14px;color:var(--me-text)}.me-core-entity-custom-section__media{margin-bottom:14px;overflow:hidden;border-radius:var(--me-radius-lg,16px)}.me-core-entity-custom-section__media img{width:100%;height:auto;display:block}.me-core-entity-custom-section__content>:last-child{margin-bottom:0}@media(max-width:980px){.me-core-entity-filters__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.me-core-entity-filters__grid,.me-core-entity-gallery-grid,.me-core-entity-highlights,.me-core-entity-facts{grid-template-columns:1fr}.me-core-entity-range{grid-template-columns:1fr}}


/* Card Contract 2.1 visual families — structure remains entity-neutral. */

/* === Canonical component contracts: centrally controlled, module-overridable === */

:where(.me-section-head,[data-me-component="section-head"]){display:grid;gap:var(--me-c-section-head-gap);max-inline-size:min(100%,var(--me-c-section-head-max-width));align-items:start}
:where(.me-section-head,[data-me-component="section-head"]) :where(h1,h2,h3){margin:0;color:var(--me-c-section-head-title-color)}
:where(.me-section-head,[data-me-component="section-head"]) :where(p,.me-lead){color:var(--me-c-section-head-copy-color)}
:where(.me-section-head [data-me-slot="actions"],[data-me-component="section-head"] [data-me-slot="actions"]){display:flex;flex-wrap:wrap;gap:var(--me-c-section-head-action-gap)}
:where(.me-facts,[data-me-component="facts"],[data-me-component="education-learning-outcomes"]){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--me-c-facts-item-min-width)),1fr));gap:var(--me-c-facts-gap)}
:where(.me-facts>*,[data-me-component="facts"]>*,[data-me-component="education-learning-outcomes"]>* ){padding:var(--me-c-facts-item-padding);background:var(--me-c-facts-item-background);border:1px solid var(--me-c-facts-item-border);border-radius:var(--me-radius-md)}

:where(.me-btn,.me-button,.me-ui-button,.mev4-button,.meb-button,[data-me-component="button"]){min-height:var(--me-c-button-height);padding:var(--me-button-pad-y) var(--me-c-button-padding-x);border-radius:var(--me-c-button-radius);background:var(--me-c-button-background);color:var(--me-c-button-color);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-family:inherit;font-size:var(--me-c-button-font-size);font-weight:var(--me-c-button-font-weight);letter-spacing:var(--me-c-button-letter-spacing);line-height:1.15;border:var(--me-c-button-border-width) solid transparent;box-shadow:var(--me-c-button-shadow);cursor:pointer}
:where(.me-button,.me-ui-button,[data-me-component="button"]){gap:var(--me-control-gap,var(--me-space-2));min-inline-size:fit-content;line-height:1.15;transition:transform var(--me-motion-duration) var(--me-motion-easing),box-shadow var(--me-motion-duration) var(--me-motion-easing),background-color var(--me-motion-duration) var(--me-motion-easing),border-color var(--me-motion-duration) var(--me-motion-easing),color var(--me-motion-duration) var(--me-motion-easing)}
:where(.me-button,.me-ui-button,[data-me-component="button"]):focus-visible{outline:3px solid var(--me-focus);outline-offset:2px;box-shadow:none}
:where(.me-button--primary,.me-ui-button--primary,[data-me-component="button"][data-me-variant="primary"]){background:var(--me-primary);color:var(--me-on-primary);border:var(--me-c-button-border-width) solid var(--me-primary)}
:where(.me-button--secondary,.me-ui-button--secondary,[data-me-component="button"][data-me-variant="secondary"]){background:var(--me-secondary);color:var(--me-on-secondary);border:var(--me-c-button-border-width) solid var(--me-secondary)}
:where(.me-button--outline,.me-ui-button--outline,[data-me-component="button"][data-me-variant="outline"]){background:var(--me-surface);color:var(--me-text-strong);border:var(--me-c-button-border-width) solid var(--me-control-border,var(--me-border))}
:where(.me-button--ghost,.me-ui-button--ghost,[data-me-component="button"][data-me-variant="ghost"]){background:transparent;color:var(--me-text-strong);border:var(--me-c-button-border-width) solid transparent;box-shadow:none}
:where(.me-button--icon,.me-ui-button--icon,[data-me-component="icon-button"]){inline-size:max(var(--me-c-icon-button-size),var(--me-touch-target));padding-inline:0}
:where(.me-button,.me-ui-button,[data-me-component="button"]).is-loading{pointer-events:none;opacity:.82}
:where(.me-icon,[data-me-slot="icon"]){inline-size:var(--me-icon-md);block-size:var(--me-icon-md);flex:0 0 auto;display:inline-grid;place-items:center}
:where(.me-chip,.me-ui-chip,[data-me-component="chip"]){display:inline-flex;align-items:center;gap:var(--me-c-chip-gap);min-block-size:var(--me-c-chip-height);padding:var(--me-c-chip-padding);border:1px solid var(--me-c-chip-border);border-radius:var(--me-c-chip-radius);background:var(--me-c-chip-background);color:var(--me-c-chip-color);font-size:.875rem;font-weight:650;line-height:1;white-space:nowrap}

:where(.me-icon-btn,.me-icon-button,[data-me-component="icon-button"]){inline-size:var(--me-c-icon-button-size);block-size:var(--me-c-icon-button-size);background:var(--me-c-icon-button-background);color:var(--me-c-icon-button-color);border-radius:var(--me-c-icon-button-radius);gap:var(--me-c-icon-button-gap);display:inline-flex;align-items:center;justify-content:center}
:where(.me-form,[data-me-component="form"],[data-me-component="ordering-form"]){display:grid;gap:var(--me-c-form-gap);row-gap:var(--me-c-form-row-gap);column-gap:var(--me-c-form-column-gap);max-inline-size:var(--me-c-form-max-width)}:where(.me-form__section,[data-me-component="form"] .me-form-section,[data-me-component="ordering-form"] .me-form-section){display:grid;gap:var(--me-c-form-section-gap)}
:where(.me-field,[data-me-component="field"],.me-form input:not([type=checkbox]):not([type=radio]),.me-form select,.me-form textarea){min-height:var(--me-c-field-height);background:var(--me-c-field-background);border:1px solid var(--me-c-field-border);border-radius:var(--me-c-field-radius);box-shadow:var(--me-c-field-shadow);color:var(--me-text);font:inherit}
:where(.me-field,[data-me-component="field"],.me-form input,.me-form select,.me-form textarea):focus-visible{outline:0;box-shadow:var(--me-c-field-focus-ring)}
:where(.me-selection,[data-me-component="selection-control"]){inline-size:var(--me-c-selection-control-size);block-size:var(--me-c-selection-control-size);background:var(--me-c-selection-control-background);border:1px solid var(--me-c-selection-control-border);border-radius:var(--me-c-selection-control-radius);accent-color:var(--me-c-selection-control-accent)}
:where(.me-upload,[data-me-component="upload"]){background:var(--me-c-upload-background);border:1px dashed var(--me-c-upload-border);border-radius:var(--me-c-upload-radius);padding:var(--me-c-upload-padding);gap:var(--me-c-upload-gap)}
:where(.me-validation,[data-me-component="validation"]){color:var(--me-c-validation-color);background:var(--me-c-validation-background);border:1px solid var(--me-c-validation-border);border-radius:var(--me-c-validation-radius);gap:var(--me-c-validation-gap)}
:where(.me-card,.me-ui-card,[data-me-component="card"],[data-me-component="community-question-card"],[data-me-component="editorial-card"],[data-me-component="event-card"],[data-me-component="menu-item-order-card"],[data-me-component="order-status-card"],[data-me-component="registration-card"]){background:var(--me-c-card-background);color:var(--me-c-card-color);border:1px solid var(--me-c-card-border);border-radius:var(--me-c-card-radius);box-shadow:var(--me-c-card-shadow)}
:where(.me-badge,.me-ui-badge,[data-me-component="badge"]){background:var(--me-c-badge-background);color:var(--me-c-badge-color);border:1px solid var(--me-c-badge-border);border-radius:var(--me-c-badge-radius);padding:var(--me-c-badge-padding)}
:where(.me-fact,[data-me-component="fact"]){display:grid;gap:var(--me-c-fact-gap);padding:var(--me-c-fact-padding);border-color:var(--me-c-fact-border)}
:where(.me-fact__label,[data-me-component="fact"] .me-label){color:var(--me-c-fact-label-color)}:where(.me-fact__value,[data-me-component="fact"] .me-value){color:var(--me-c-fact-value-color)}
:where(.me-tabs,.me-ui-tabs,[data-me-component="tabs"]){display:flex;gap:var(--me-c-tabs-gap);background:var(--me-c-tabs-background);border-radius:var(--me-c-tabs-radius)}:where(.me-tabs button,.me-ui-tab,[data-me-component="tabs"] [role=tab]){min-height:var(--me-c-tabs-control-height);border-color:var(--me-c-tabs-indicator)}
:where(.me-segmented,[data-me-component="segmented-control"]){display:flex;gap:var(--me-c-segmented-control-gap);background:var(--me-c-segmented-control-background);border-radius:var(--me-c-segmented-control-radius);padding:var(--me-c-segmented-control-padding)}:where(.me-segmented [aria-selected=true],[data-me-component="segmented-control"] [aria-selected=true]){background:var(--me-c-segmented-control-active-background)}
:where(.me-accordion,[data-me-component="accordion"]){display:grid;gap:var(--me-c-accordion-gap);background:var(--me-c-accordion-background);border:1px solid var(--me-c-accordion-border);border-radius:var(--me-c-accordion-radius);padding:var(--me-c-accordion-padding)}
:where(.me-filter-toolbar,[data-me-component="filter-toolbar"],[data-me-component="filter-shell"]){display:flex;flex-wrap:wrap;gap:var(--me-c-filter-toolbar-gap);background:var(--me-c-filter-toolbar-background);border:1px solid var(--me-c-filter-toolbar-border);border-radius:var(--me-c-filter-toolbar-radius);padding:var(--me-c-filter-toolbar-padding)}
:where(.me-table,[data-me-component="table"]){background:var(--me-c-table-background);border:1px solid var(--me-c-table-border);border-radius:var(--me-c-table-radius);overflow:hidden}:where(.me-table th,.me-table td,[data-me-component="table"] th,[data-me-component="table"] td){padding:var(--me-c-table-cell-padding)}:where(.me-table tbody tr:hover,[data-me-component="table"] tbody tr:hover){background:var(--me-c-table-row-hover)}
:where(.me-pagination,[data-me-component="pagination"]){display:flex;gap:var(--me-c-pagination-gap)}:where(.me-pagination a,.me-pagination button,[data-me-component="pagination"] a,[data-me-component="pagination"] button){inline-size:var(--me-c-pagination-size);block-size:var(--me-c-pagination-size);border-radius:var(--me-c-pagination-radius);background:var(--me-c-pagination-background)}:where(.me-pagination .current,[data-me-component="pagination"] [aria-current=page]){background:var(--me-c-pagination-active-background);color:var(--me-on-primary)}
:where(.me-drawer,[data-me-component="drawer"]){inline-size:var(--me-c-drawer-width);background:var(--me-c-drawer-background);box-shadow:var(--me-c-drawer-shadow);padding:var(--me-c-drawer-padding)}:where(.me-drawer-backdrop,[data-me-component="drawer"] .me-backdrop){background:var(--me-c-drawer-backdrop)}
:where(.me-dialog,[data-me-component="dialog"]){inline-size:var(--me-c-dialog-width);max-inline-size:100%;background:var(--me-c-dialog-background);border-radius:var(--me-c-dialog-radius);box-shadow:var(--me-c-dialog-shadow)}:where(.me-dialog-backdrop,[data-me-component="dialog"] .me-backdrop){background:var(--me-c-dialog-backdrop)}
:where(.me-gallery,[data-me-component="gallery"]){display:grid;gap:var(--me-c-gallery-gap);background:var(--me-c-gallery-background)}:where(.me-gallery img,[data-me-component="gallery"] img){border-radius:var(--me-c-gallery-radius);aspect-ratio:var(--me-c-gallery-ratio);object-fit:cover}:where(.me-gallery__thumb,[data-me-component="gallery"] .me-thumb){inline-size:var(--me-c-gallery-thumb-size)}
:where(.me-notice,[data-me-component="notice"]){background:var(--me-c-notice-background);color:var(--me-c-notice-color);border:1px solid var(--me-c-notice-border);border-radius:var(--me-c-notice-radius);padding:var(--me-c-notice-padding)}
:where(.me-feedback-state,[data-me-component="feedback-state"],[data-me-component="data-state"],[data-me-component="empty-state"],[data-me-component="error-state"]){display:grid;place-items:center;gap:var(--me-c-feedback-state-gap);min-block-size:var(--me-c-feedback-state-min-height);border-radius:var(--me-c-feedback-state-radius);background:var(--me-c-feedback-state-background);color:var(--me-c-feedback-state-color)}
:where(.me-workspace,.me-workspace-shell,[data-me-component="workspace"],[data-me-component="workspace-shell"]){display:grid;gap:var(--me-c-workspace-gap);background:var(--me-c-workspace-background);border-radius:var(--me-c-workspace-radius)}:where(.me-workspace__surface,[data-me-component="workspace"] .me-surface,[data-me-component="workspace-shell"] .me-surface){background:var(--me-c-workspace-surface)}:where(.me-workspace__sidebar,[data-me-component="workspace"] .me-sidebar,[data-me-component="workspace-shell"] .me-sidebar){inline-size:var(--me-c-workspace-sidebar-width)}
:where(.me-map-list,[data-me-component="map-list"]){display:grid;grid-template-columns:var(--me-c-map-list-list-width) minmax(0,1fr);gap:var(--me-c-map-list-gap);background:var(--me-c-map-list-background);border-radius:var(--me-c-map-list-radius);overflow:hidden}:where(.me-map-list__map,[data-me-component="map-list"] .me-map){min-block-size:var(--me-c-map-list-map-min-height)}
:where(.me-action-dock,[data-me-component="action-dock"]){display:flex;gap:var(--me-c-action-dock-gap);background:var(--me-c-action-dock-background);border-radius:var(--me-c-action-dock-radius);box-shadow:var(--me-c-action-dock-shadow);padding:var(--me-c-action-dock-padding)}
:where(.me-rail,[data-me-component="rail"],[data-me-component="media-rail"]){inline-size:var(--me-c-rail-width);display:flex;flex-direction:column;gap:var(--me-c-rail-gap);background:var(--me-c-rail-background);border:1px solid var(--me-c-rail-border);padding:var(--me-c-rail-padding)}
:where(.me-breadcrumb,[data-me-component="breadcrumb"]){display:flex;flex-wrap:wrap;gap:var(--me-c-breadcrumb-gap);color:var(--me-c-breadcrumb-color);font-size:var(--me-c-breadcrumb-font-size);padding:var(--me-c-breadcrumb-padding)}:where(.me-breadcrumb [aria-current=page],[data-me-component="breadcrumb"] [aria-current=page]){color:var(--me-c-breadcrumb-current-color)}
:where(.me-avatar,[data-me-component="avatar"]){inline-size:var(--me-c-avatar-size);block-size:var(--me-c-avatar-size);border-radius:var(--me-c-avatar-radius);background:var(--me-c-avatar-background);border:1px solid var(--me-c-avatar-border);object-fit:var(--me-c-avatar-object-fit)}
:where(.me-rating,[data-me-component="rating"]){display:inline-flex;gap:var(--me-c-rating-gap);color:var(--me-c-rating-color);font-size:var(--me-c-rating-size);font-weight:var(--me-c-rating-font-weight)}:where(.me-rating__empty,[data-me-component="rating"] .is-empty){color:var(--me-c-rating-empty-color)}
:where(.me-metric,[data-me-component="metric"]){display:grid;gap:var(--me-c-metric-gap);background:var(--me-c-metric-background);border-radius:var(--me-c-metric-radius)}:where(.me-metric__value,[data-me-component="metric"] .me-value){font-size:var(--me-c-metric-value-size)}:where(.me-metric__label,[data-me-component="metric"] .me-label){color:var(--me-c-metric-label-color)}
:where(.me-price,[data-me-component="price"]){display:flex;align-items:baseline;gap:var(--me-c-price-gap);font-size:var(--me-c-price-size);font-weight:var(--me-c-price-weight);color:var(--me-c-price-color)}:where(.me-price del,[data-me-component="price"] del){color:var(--me-c-price-old-color)}
:where(.me-quantity,[data-me-component="quantity"]){display:inline-flex;gap:var(--me-c-quantity-gap);background:var(--me-c-quantity-background);border:1px solid var(--me-c-quantity-border);border-radius:var(--me-c-quantity-radius)}:where(.me-quantity button,[data-me-component="quantity"] button){inline-size:var(--me-c-quantity-size);block-size:var(--me-c-quantity-size)}
:where(.me-stepper,[data-me-component="stepper"]){display:grid;gap:var(--me-c-stepper-gap)}:where(.me-stepper__line,[data-me-component="stepper"] .me-line){background:var(--me-c-stepper-line)}:where(.me-stepper__marker,[data-me-component="stepper"] .me-marker){inline-size:var(--me-c-stepper-marker-size);block-size:var(--me-c-stepper-marker-size);background:var(--me-c-stepper-inactive-background)}:where(.me-stepper .is-active .me-marker,[data-me-component="stepper"] .is-active .me-marker){background:var(--me-c-stepper-active-background)}
:where(.me-search-box,[data-me-component="search-box"]){min-height:var(--me-c-search-box-height);display:flex;align-items:center;gap:var(--me-c-search-box-gap);background:var(--me-c-search-box-background);border:1px solid var(--me-c-search-box-border);border-radius:var(--me-c-search-box-radius)}
:where(.me-side-nav,[data-me-component="side-nav"]){inline-size:var(--me-c-side-nav-width);display:grid;gap:var(--me-c-side-nav-gap);background:var(--me-c-side-nav-background);border-radius:var(--me-c-side-nav-radius)}:where(.me-side-nav .is-active,[data-me-component="side-nav"] .is-active){background:var(--me-c-side-nav-active-background)}
:where(.me-progress,[data-me-component="progress"]){display:grid;gap:var(--me-c-progress-gap);background:var(--me-c-progress-background);block-size:var(--me-c-progress-height);border-radius:var(--me-c-progress-radius);overflow:hidden}:where(.me-progress__fill,[data-me-component="progress"] .me-fill){background:var(--me-c-progress-fill)}
:where(.me-calendar,[data-me-component="calendar"]){display:grid;gap:var(--me-c-calendar-gap);background:var(--me-c-calendar-background);border:1px solid var(--me-c-calendar-border);border-radius:var(--me-c-calendar-radius)}:where(.me-calendar__day,[data-me-component="calendar"] .me-day){min-inline-size:var(--me-c-calendar-day-size);min-block-size:var(--me-c-calendar-day-size)}
:where(.me-timeline,[data-me-component="timeline"]){display:grid;gap:var(--me-c-timeline-gap)}:where(.me-timeline__item,[data-me-component="timeline"] .me-item){border-inline-start:1px solid var(--me-c-timeline-line);padding:var(--me-c-timeline-item-padding)}:where(.me-timeline__marker,[data-me-component="timeline"] .me-marker){inline-size:var(--me-c-timeline-marker-size);block-size:var(--me-c-timeline-marker-size);background:var(--me-c-timeline-marker-background);border-radius:50%}
:where(.me-logo-cloud,[data-me-component="logo-cloud"]){display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--me-c-logo-cloud-gap);background:var(--me-c-logo-cloud-background);padding:var(--me-c-logo-cloud-padding)}:where(.me-logo-cloud img,[data-me-component="logo-cloud"] img){max-block-size:var(--me-c-logo-cloud-logo-height);opacity:var(--me-c-logo-cloud-opacity)}
:where(.me-tooltip,[data-me-component="tooltip"]){background:var(--me-c-tooltip-background);color:var(--me-c-tooltip-color);border-radius:var(--me-c-tooltip-radius);padding:var(--me-c-tooltip-padding);box-shadow:var(--me-c-tooltip-shadow)}
:where(.me-popover,[data-me-component="popover"]){inline-size:var(--me-c-popover-width);max-inline-size:calc(100vw - 24px);background:var(--me-c-popover-background);border-radius:var(--me-c-popover-radius);padding:var(--me-c-popover-padding);box-shadow:var(--me-c-popover-shadow)}
:where(.me-skeleton,[data-me-component="skeleton"]){background:var(--me-c-skeleton-background);border-radius:var(--me-c-skeleton-radius);min-block-size:var(--me-c-skeleton-height);animation-duration:var(--me-c-skeleton-animation-duration);gap:var(--me-c-skeleton-gap)}
:where(.me-media-frame,[data-me-component="media-frame"]){aspect-ratio:var(--me-c-media-frame-ratio);border-radius:var(--me-c-media-frame-radius);background:var(--me-c-media-frame-background);overflow:var(--me-c-media-frame-overflow)}:where(.me-media-frame img,.me-media-frame video,[data-me-component="media-frame"] img,[data-me-component="media-frame"] video){inline-size:100%;block-size:100%;object-fit:var(--me-c-media-frame-object-fit)}
:where(.me-navigation,[data-me-component="navigation"]){min-height:var(--me-c-navigation-height);display:flex;align-items:center;gap:var(--me-c-navigation-gap);background:var(--me-c-navigation-background);color:var(--me-c-navigation-color);border:1px solid var(--me-c-navigation-border);border-radius:var(--me-c-navigation-radius);box-shadow:var(--me-c-navigation-shadow)}
:where(.me-page-shell,[data-me-component="page-shell"]){max-inline-size:var(--me-c-page-shell-max-width);margin-inline:auto;padding-inline:var(--me-c-page-shell-padding-x);padding-block:var(--me-c-page-shell-padding-y);background:var(--me-c-page-shell-background);display:grid;gap:var(--me-c-page-shell-gap)}
@media (max-width:782px){:where(.me-map-list,[data-me-component="map-list"]){grid-template-columns:1fr}:where(.me-side-nav,[data-me-component="side-nav"],.me-workspace__sidebar){inline-size:100%}}


/* Component recipe/context layer. Context changes only approved component tokens; base ownership remains Core. */
:where(.me-ui-button--xs,.me-ui-button--sm,[data-me-component="button"][data-me-size="compact"]){--me-c-button-height:var(--me-control-height-sm);--me-c-button-padding-x:clamp(.7rem,1.4cqi,.95rem)}
:where(.me-ui-button--lg,.me-ui-button--xl,[data-me-component="button"][data-me-size="large"]){--me-c-button-height:var(--me-control-height-lg);--me-c-button-padding-x:clamp(1rem,2cqi,1.45rem)}
:where([data-me-component="button"][data-me-context="card"]){--me-c-button-height:var(--me-control-height-sm)}
:where([data-me-component="button"][data-me-context="form"]){--me-c-button-height:var(--me-control-height-md)}
:where([data-me-component="button"][data-me-context="hero"]){--me-c-button-height:var(--me-control-height-lg)}
:where([data-me-component="button"][data-me-context="toolbar"]){--me-c-button-height:var(--me-control-height-sm)}
:where([data-me-component="chip"][data-me-size="compact"]){--me-c-chip-height:var(--me-control-height-sm);--me-c-chip-padding:clamp(.3rem,.8cqi,.4rem) clamp(.55rem,1.2cqi,.72rem)}
:where([data-me-component="chip"][data-me-context="map-filter"]){--me-c-chip-background:var(--me-surface);--me-c-chip-border:var(--me-control-border,var(--me-border))}
:where([data-me-component="chip"][data-me-context="crm-status"]){--me-c-chip-background:var(--me-surface-alt)}
:where([data-me-component="card"][data-me-variant="compact"]){--me-card-padding:clamp(.8rem,2cqi,1rem)}
:where([data-me-component="card"][data-me-context="dashboard"]){--me-c-card-shadow:none}

/* Explicit primitive selectors keep third-party themes from exposing browser-default controls. */
.me-core-entity-filters input,.me-core-entity-filters select,.me-core-entity-filters textarea{box-sizing:border-box;max-width:100%;min-width:0;min-height:max(var(--me-input-height,44px),var(--me-touch-target,44px));font:inherit}
@media(forced-colors:active){
:where([data-me-component],.me-suite-component,.me-core-form,.me-core-entity-filters) :where(a[href],button,input,select,textarea,summary,[role="button"],[role="link"],[tabindex]:not([tabindex="-1"])):focus-visible,:where(.me-btn,.me-button,.me-ui-button,.me-field,.me-form-control,.me-ui-control,[data-me-component="button"],[data-me-component="field"]):focus-visible{outline:3px solid Highlight!important;outline-offset:2px!important;box-shadow:none!important}
:where([data-me-component],.me-suite-component,.me-core-form,.me-core-entity-filters) :where(button,input,select,textarea,summary,[role="button"],[tabindex]:not([tabindex="-1"])),:where(.me-btn,.me-button,.me-ui-button,.me-field,.me-form-control,.me-ui-control,[data-me-component="button"],[data-me-component="field"]){forced-color-adjust:auto}
}

}
