/* Local fonts loaded via /assets/fonts/InterVariable.woff2 */
:root {
  --ms-bg-app:#f3f4f0; --ms-bg-stage:#f3f4f0; --ms-bg-surface:#ffffff; --ms-bg-hover:#f3f4f0; --ms-bg-active:#ebf4ed;
  --ms-text-strong:#17201d; --ms-text-body:#17201d; --ms-text-muted:#65706b; --ms-text-placeholder:#8a948f;
  --ms-primary:#25704f; --ms-primary-hover:#1e5c41; --ms-primary-border:#b9d3c3;
  --ms-success-bg:#dcfce7; --ms-success-text:#15803d; --ms-success-dot:#22c55e;
  --ms-warning-bg:#f6efe1; --ms-warning-text:#8a5a12; --ms-warning-dot:#b07a1e;
  --ms-danger-bg:#f8ecea; --ms-danger-text:#a53832; --ms-danger-dot:#a53832;
  --ms-border:#dde2dc; --ms-border-strong:#c6cec7;
  --ms-radius-xs:6px; --ms-radius-sm:8px; --ms-radius-md:12px; --ms-radius-pill:9999px;
  --ms-shadow-card:0 1px 3px rgba(20, 28, 25,.04),0 1px 2px rgba(20, 28, 25,.02);
  --ms-shadow-focus:0 0 0 3px rgba(37, 112, 79,.16);
}
*,*::before,*::after {box-sizing:border-box!important;}
body,html,#root,#app,.app-wrapper,.main-content {
  background-color:var(--ms-bg-app)!important;color:var(--ms-text-strong)!important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif!important;
  font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;margin:0;padding:0;
}
table,.price,.code,.badge-num,input[type="number"],.stepper-num {font-variant-numeric:tabular-nums!important;}

/* MottaSport Design System 1.0 / v3986. Shared by all five core surfaces.
   This file is the source of truth for colors, typography, shape, controls and state.
   Scoped legacy adapters below preserve existing application behavior. */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  /* Application palette */
  --bg-app: #f3f4f0;
  --bg-canvas: #eef2f6;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f3f4f0;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --text-primary: #17201d;
  --text-secondary: #65706b;
  --text-muted: #8a948f;
  --brand-primary: #25704f;
  --brand-primary-hover: #1e5c41;
  --brand-primary-soft: #ebf4ed;
  --brand-dark: #17201d;
  --status-success-bg: #dcfce7;
  --status-success-text: #15803d;
  --status-warning-bg: #f6efe1;
  --status-warning-text: #8a5a12;
  --status-danger-bg: #f8ecea;
  --status-danger-text: #a53832;
  --status-info-bg: #e0f2fe;
  --status-info-text: #0369a1;
  --border-subtle: #dde2dc;
  --border-focus: #25704f;
  --line-cad: #8a948f;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-xs: 0 1px 2px rgba(20, 28, 25, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(20, 28, 25, 0.06), 0 1px 2px -1px rgba(20, 28, 25, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(20, 28, 25, 0.08), 0 4px 10px -2px rgba(20, 28, 25, 0.04);
  --shadow-active: 0 0 0 3px rgba(37, 112, 79, 0.15);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  /* Stable spacing and sizing extensions, never per-screen magic numbers. */
  --ms-space-1: 4px;
  --ms-space-2: 8px;
  --ms-space-3: 12px;
  --ms-space-4: 16px;
  --ms-space-5: 20px;
  --ms-space-6: 24px;
  --ms-control-sm: 30px;
  --ms-control: 36px;
  --ms-control-lg: 42px;
  --ms-text-label: 11px;
  --ms-text-body: 13px;
  --ms-text-section: 15px;
  --ms-text-title: 20px;
  --ms-topbar-height: 60px;
  --ms-sidebar-width: 240px;
  --ms-row-height: 48px;
}
/* Explicit atomic components: use for all new markup. */
.ms-app { font-family:var(--font-sans); color:var(--text-primary); background:var(--bg-app); }
.ms-title { font-size:var(--ms-text-title);font-weight:700;letter-spacing:-.02em;line-height:1.3;color:var(--text-primary); }
.ms-section-title { font-size:var(--ms-text-section);font-weight:600;line-height:1.4;color:var(--text-primary); }
.ms-label { font-size:var(--ms-text-label);font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted); }
.ms-tabular, .ms-table, .ms-kpi-value, .ms-price, .ms-code {font-variant-numeric:tabular-nums;}
.ms-code {font-family:var(--font-mono);}
.ms-btn { box-sizing:border-box;min-height:var(--ms-control);height:var(--ms-control);padding:0 14px;border:1px solid transparent;border-radius:var(--radius-sm);font:600 var(--ms-text-body)/1.15 var(--font-sans);display:inline-flex;align-items:center;justify-content:center;gap:var(--ms-space-2);white-space:nowrap;text-decoration:none;vertical-align:middle;cursor:pointer;transition:background var(--transition-fast),border-color var(--transition-fast),box-shadow var(--transition-fast),transform var(--transition-fast); }
.ms-btn-primary {background:var(--brand-primary);color:var(--bg-surface);border-color:var(--brand-primary);}
.ms-btn-primary:not(:disabled):hover {background:var(--brand-primary-hover);border-color:var(--brand-primary-hover);transform:translateY(-1px);}
.ms-btn-secondary {background:var(--bg-surface);color:var(--text-primary);border-color:var(--border-subtle);box-shadow:var(--shadow-xs);}
.ms-btn-secondary:not(:disabled):hover {background:var(--bg-surface-hover);}
.ms-btn-ghost {background:transparent;color:var(--text-secondary);border-color:transparent;}
.ms-btn-ghost:not(:disabled):hover {background:var(--bg-surface-hover);}
.ms-btn-sm {min-height:var(--ms-control-sm);height:var(--ms-control-sm);padding-inline:var(--ms-space-3);font-size:12px;}
.ms-btn-lg {min-height:var(--ms-control-lg);height:var(--ms-control-lg);padding-inline:var(--ms-space-4);}
.ms-btn:disabled,.ms-btn[aria-disabled="true"] {opacity:.48;cursor:not-allowed;transform:none;}
.ms-btn:focus-visible,.ms-input:focus-visible,.ms-card[tabindex]:focus-visible {outline:2px solid var(--border-focus);outline-offset:2px;box-shadow:var(--shadow-active);}
.ms-card {background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);color:var(--text-primary);min-width:0;}
.ms-card-header {padding:14px 18px;border-bottom:1px solid var(--border-subtle);display:flex;justify-content:space-between;align-items:center;gap:var(--ms-space-3);}
.ms-card-body {padding:18px;}
.ms-input {box-sizing:border-box;width:100%;min-height:var(--ms-control);height:var(--ms-control);padding:0 12px;background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);font:500 var(--ms-text-body) var(--font-sans);}
textarea.ms-input {height:auto;min-height:var(--ms-control-lg);padding:var(--ms-space-3);}
.ms-input:focus {border-color:var(--border-focus);box-shadow:var(--shadow-active);outline:none;}
.ms-input:disabled {background:var(--bg-surface-hover);color:var(--text-muted);cursor:not-allowed;}
.ms-badge {box-sizing:border-box;min-height:22px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border-radius:var(--radius-pill);font:600 var(--ms-text-label) var(--font-sans);white-space:nowrap;background:var(--brand-primary-soft);color:var(--brand-primary-hover);}
.ms-badge::before {content:"";flex:none;width:6px;height:6px;border-radius:50%;background:currentColor;}
.ms-badge-success {background:var(--status-success-bg);color:var(--status-success-text);}
.ms-badge-warning {background:var(--status-warning-bg);color:var(--status-warning-text);}
.ms-badge-danger {background:var(--status-danger-bg);color:var(--status-danger-text);}
.ms-badge-info {background:var(--status-info-bg);color:var(--status-info-text);}
.ms-table {width:100%;border-collapse:collapse;font:500 var(--ms-text-body) var(--font-sans);color:var(--text-secondary);}
.ms-table :is(td,th) {padding:10px 16px;text-align:left;border-bottom:1px solid var(--border-subtle);height:var(--ms-row-height);box-sizing:border-box;}
.ms-table th {font-size:var(--ms-text-label);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);}
.ms-table tbody tr:hover {background:var(--bg-surface-hover);}
.ms-kpi-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ms-space-4);}
.ms-kpi-value {font-size:24px;line-height:1.2;font-weight:700;color:var(--text-primary);}
.ms-canvas {position:relative;min-width:0;min-height:0;background:var(--bg-canvas);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);overflow:hidden;}
.ms-glass-bar {background:var(--bg-glass);backdrop-filter:blur(12px);border-bottom:1px solid var(--border-subtle);}
.ms-callout-pill {height:34px;display:inline-flex;align-items:center;gap:var(--ms-space-2);padding:0 12px;border:1px solid var(--border-subtle);border-radius:var(--radius-pill);background:var(--bg-surface);color:var(--text-secondary);font:600 var(--ms-text-body) var(--font-sans);box-shadow:var(--shadow-xs);cursor:pointer;transition:border-color var(--transition-fast),box-shadow var(--transition-fast);}
.ms-callout-pill:hover,.ms-callout-pill.is-active {border-color:var(--brand-primary);box-shadow:var(--shadow-active);color:var(--text-primary);}
.ms-callout-path {fill:none;stroke:var(--line-cad);stroke-width:1.3;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;transition:stroke var(--transition-fast),opacity var(--transition-fast),stroke-width var(--transition-fast);}
.ms-callout-path.is-active,.ms-callout-pill:hover ~ svg .ms-callout-path {stroke:var(--brand-primary);stroke-width:2.2;}
.ms-callout-dot {width:18px;height:18px;flex:none;border-radius:50%;border:1px solid var(--border-subtle);}
@media (max-width:1000px) {.ms-kpi-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:600px) {.ms-kpi-grid {grid-template-columns:1fr;}.ms-card-body{padding:var(--ms-space-3);}}
@media (prefers-reduced-motion:reduce) { .ms-btn,.ms-callout-pill,.ms-callout-path {transition:none !important;} }
/* Legacy bridges for currently rendered PHP/JS modules. These are intentionally
   scoped to five specific application surfaces, never all public site elements. */
:where(body.motta-shell-page,body.motta-tenant-shell-page,body.motta-order-page,body.motta-order-studio-page,body.motta-ms-module) {font-family:var(--font-sans);background:var(--bg-app);color:var(--text-primary);}
:where(.motta-platform,.motta-admin,#motta-customizer,.motta-layer) {font-family:var(--font-sans);}
:where(.motta-platform,.motta-admin,#motta-customizer,.motta-layer) :where(input,select,textarea,button) {font-family:var(--font-sans);}
:where(.motta-platform,.motta-admin,#motta-customizer,.motta-layer) :where(.ms-price,.mc-card__price,.mc-studio3-card__price,.motta-admin-kpi-value,.motta-platform-card strong) {font-variant-numeric:tabular-nums;}
/* Admin shell and tenant shell share navigation and a 60px header. */
.motta-platform .motta-platform-header,.motta-admin .motta-admin-topbar {min-height:var(--ms-topbar-height);box-sizing:border-box;background:var(--bg-glass);border-color:var(--border-subtle);box-shadow:var(--shadow-xs);backdrop-filter:blur(12px);color:var(--text-primary);}
.motta-platform .motta-platform-title,.motta-admin .motta-admin-title {font-size:var(--ms-text-title);font-weight:700;letter-spacing:-.02em;color:var(--text-primary);}
.motta-platform .motta-platform-subtitle,.motta-admin .motta-admin-subtitle {font-size:var(--ms-text-body);color:var(--text-secondary);}
.motta-admin .motta-admin-shell {grid-template-columns:var(--ms-sidebar-width) minmax(0,1fr);}
.motta-admin .motta-admin-nav {background:var(--bg-surface);border-right:1px solid var(--border-subtle);color:var(--text-primary);}
.motta-admin .motta-admin-nav button {color:var(--text-secondary);border-radius:var(--radius-sm);font-size:var(--ms-text-body);}
.motta-admin .motta-admin-nav button.is-active {background:var(--brand-primary-soft);color:var(--brand-primary-hover);box-shadow:inset 3px 0 0 var(--brand-primary);}
.motta-admin .motta-admin-brand {color:var(--text-primary);}
.motta-admin {--bg:var(--bg-app);--panel:var(--bg-surface);--line:var(--border-subtle);--text:var(--text-primary);--muted:var(--text-secondary);--accent:var(--brand-primary);background:var(--bg-app);color:var(--text-primary);}
/* Shared component geometry for native legacy components. */
.motta-platform .motta-platform-button,.motta-admin :is(.motta-admin-topbar-actions button,.ta-prod-topbar button),.motta-layer .lu-button {min-height:var(--ms-control);border-radius:var(--radius-sm);font-size:var(--ms-text-body);font-weight:600;align-items:center;justify-content:center;gap:var(--ms-space-2);transition:background var(--transition-fast),box-shadow var(--transition-fast),border-color var(--transition-fast);}
.motta-platform .motta-platform-button.is-primary,.motta-layer .lu-button.is-primary {background:var(--brand-primary);border-color:var(--brand-primary);color:var(--bg-surface);}
.motta-platform .motta-platform-button.is-primary:hover:not(:disabled),.motta-layer .lu-button.is-primary:hover:not(:disabled) {background:var(--brand-primary-hover);border-color:var(--brand-primary-hover);}
.motta-platform :is(.motta-platform-card,.motta-platform-panel),.motta-admin :is(.motta-admin-card,.motta-admin-panel),.motta-layer :is(.lu-canvas-card,.lu-studio-left-panel,.lu-studio-right-panel) {border-radius:var(--radius-md);border-color:var(--border-subtle);background:var(--bg-surface);box-shadow:var(--shadow-sm);}
.motta-platform .motta-platform-input,.motta-admin :is(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),select,textarea),.motta-layer :is(.lu-product-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),.lu-product-form select) {border-color:var(--border-subtle);border-radius:var(--radius-sm);font-size:var(--ms-text-body);}
.motta-platform .motta-platform-input:focus,.motta-admin :is(input,select,textarea):focus-visible,.motta-layer :is(input,select,textarea):focus-visible {border-color:var(--border-focus);box-shadow:var(--shadow-active);outline:none;}
/* Hosted dealer catalog: 260px minimum card, modern product stage, one call to action. */
#motta-customizer .mc-studio3-products__grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:var(--ms-space-5);}
#motta-customizer .mc-studio3-products__grid .mc-studio3-card {border:1px solid var(--border-subtle);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);background:var(--bg-surface);color:var(--text-primary);}
#motta-customizer .mc-studio3-card:not(.is-disabled):hover {transform:translateY(-1px);border-color:var(--brand-primary);box-shadow:var(--shadow-md);}
#motta-customizer .mc-studio3-card__art {aspect-ratio:4/5;background:var(--bg-canvas);}
#motta-customizer .mc-studio3-card__name {font-size:var(--ms-text-body);font-weight:600;color:var(--text-primary);}
#motta-customizer .mc-studio3-card__price .mc-card__price {font-size:var(--ms-text-section);font-weight:700;color:var(--text-primary);font-variant-numeric:tabular-nums;}
#motta-customizer .mc-studio3-card__design {min-height:var(--ms-control);padding:0 var(--ms-space-3);font-size:var(--ms-text-body);font-weight:600;background:var(--brand-primary);border-radius:var(--radius-sm);}
#motta-customizer .mc-studio3-card:hover .mc-studio3-card__design {background:var(--brand-primary-hover);}
#motta-customizer .mc-studio3-category.is-active {background:var(--brand-dark);color:var(--bg-surface);}
/* 2D/3D stage and checkout preserve the existing SVG geometry. No transform applied here. */
#motta-customizer :is(.mc-stage,.mc-studio-product-stage,.mc-canvas__stage) {min-width:0;}
#motta-customizer :is(.mc-studio-product-stage,.mc-canvas__stage) {background:var(--bg-canvas);}
#motta-customizer :is(.mc-studio3-card__info,.mc-studio-topbar,.mc-studio3-products__toolbar) {font-family:var(--font-sans);}
#motta-customizer :is(.mc-studio-save-status,.mc-studio3-products__eyebrow) {color:var(--text-secondary);}
#motta-customizer :is(.mc-order-summary,.mc-order-sheet,.mc-spec-card) {border-color:var(--border-subtle);border-radius:var(--radius-md);}
@media(max-width:580px) {#motta-customizer .mc-studio3-products__grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ms-space-3);}}
@media(max-width:370px) {#motta-customizer .mc-studio3-products__grid {grid-template-columns:minmax(0,1fr);}}
/* Order/configurator normalization: light theme's single shared visual contract. */
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active {
  --st-bg:var(--bg-app);--st-paper:var(--bg-surface);--st-soft:var(--bg-surface-hover);
  --st-ink:var(--text-primary);--st-muted:var(--text-secondary);--st-line:var(--border-subtle);
  --st-accent:var(--brand-primary);--st-accent-dark:var(--brand-primary-hover);
  --st-tint:var(--brand-primary-soft);--st-danger:var(--status-danger-text);
  --st-shadow:var(--shadow-sm);
  background:var(--bg-app);color:var(--text-primary);font:500 var(--ms-text-body)/1.5 var(--font-sans);
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active .mc-studio-topbar {
  min-height:var(--ms-topbar-height);height:auto;background:var(--bg-glass);
  border-bottom:1px solid var(--border-subtle);backdrop-filter:blur(12px);
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active .mc-studio-intro h1 {
  color:var(--text-primary);font-size:var(--ms-text-title);font-weight:700;letter-spacing:-.02em;
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active :is(.mc-studio-sidebar,.mc-studio-order-panel,.mc-studio-design-panel,.mc-studio-review-roster) {
  border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--bg-surface);box-shadow:var(--shadow-sm);
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active :is(.mc-studio-button,.mc-studio-quick-action) {
  border-radius:var(--radius-sm);font-size:var(--ms-text-body);font-weight:600;
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active .mc-studio-button--primary {
  color:var(--bg-surface);background:var(--brand-primary);border-color:var(--brand-primary);
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active .mc-studio-button--primary:hover {
  background:var(--brand-primary-hover);
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active .mc-studio-button--outline {
  color:var(--text-primary);background:var(--bg-surface);border-color:var(--border-subtle);
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer.mc-order-studio-active :is(.mc-studio-order-panel,.mc-player-list,.mc-studio-review-roster) :is(input:not([type="checkbox"]):not([type="radio"]),select) {
  min-height:var(--ms-control);border-color:var(--border-subtle);border-radius:var(--radius-sm);font-size:var(--ms-text-body);font-variant-numeric:tabular-nums;
}
/* Interactive technical callouts, same specification in designer and production sheet. */
body #motta-customizer.mc-order-studio-active .mc-up-workstation .mc-callout {
  box-sizing:border-box;min-height:34px;height:34px;padding:0 12px;border:1px solid var(--border-subtle);
  border-radius:var(--radius-pill);background:var(--bg-surface);color:var(--text-secondary);
  font:600 var(--ms-text-body)/1.2 var(--font-sans);box-shadow:var(--shadow-xs);
  transition:border-color var(--transition-fast),box-shadow var(--transition-fast),opacity var(--transition-fast);
}
body #motta-customizer.mc-order-studio-active .mc-up-workstation .mc-callout i {
  width:18px;height:18px;flex:0 0 18px;border-radius:50%;
}
body #motta-customizer.mc-order-studio-active .mc-callouts__lines path {stroke:var(--line-cad);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;}
body #motta-customizer.mc-order-studio-active .mc-callouts .mc-callout.is-focused,
body #motta-customizer.mc-order-studio-active .mc-callouts .mc-callout:hover {border-color:var(--brand-primary);box-shadow:var(--shadow-active);color:var(--text-primary);}
body #motta-customizer.mc-order-studio-active .mc-callouts__lines path.is-focused {stroke:var(--brand-primary);stroke-width:2.2;}
/* Production and order data: high-legibility numeric matrix. */
#motta-customizer.mc-order-studio-active :is(.mc-player-list,.mc-studio-review-roster,.mc-order-summary) {font-variant-numeric:tabular-nums;}
#motta-customizer.mc-order-studio-active .mc-studio-order-panel :is(th,.mc-player-list__head) {font-size:var(--ms-text-label);font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);}
@media(max-width:800px) {body #motta-customizer.mc-order-studio-active .mc-up-workstation .mc-callout {min-height:30px;height:30px;padding-inline:var(--ms-space-2);}}
/* High-specificity fixes for the historically conflicting upload wizard styles. */
.motta-layer.lu-studio3-shell .lu-studio3-topbar,
.motta-layer.lu-studio3-shell .lu-app-header {
  background:var(--bg-surface) !important;color:var(--text-primary) !important;
  border-color:var(--border-subtle) !important;box-shadow:var(--shadow-xs) !important;
}
.motta-layer.lu-studio3-shell .lu-studio3-topbar .lu-app-title h1,
.motta-layer.lu-studio3-shell .lu-studio3-topbar .lu-app-title strong {color:var(--text-primary) !important;font-size:var(--ms-text-title) !important;font-weight:700 !important;}
.motta-layer.lu-studio3-shell :is(.lu-app-subtitle,.lu-footer-info span,.lu-studio3-studio-title small) {color:var(--text-secondary) !important;}
.motta-layer.lu-studio3-shell .lu-studio3-topbar .lu-button.is-primary {background:var(--brand-primary) !important;color:var(--bg-surface) !important;}
.motta-layer.lu-studio3-shell .lu-studio3-steps .lu-flow-step.is-active {background:var(--brand-primary-soft) !important;color:var(--brand-primary-hover) !important;border-color:var(--border-focus) !important;}
.motta-layer.lu-studio3-shell .lu-studio3-steps .lu-flow-step.is-active b {background:var(--brand-primary) !important;color:var(--bg-surface) !important;}
.motta-layer.lu-studio3-shell .lu-canvas-card {background:var(--bg-surface) !important;border-color:var(--border-subtle) !important;}
.motta-layer.lu-studio3-shell .lu-studio-canvas-stage {background:var(--bg-canvas) !important;}
.motta-layer.lu-studio3-shell .lu-studio-left-panel :is(h2,h3),
.motta-layer.lu-studio3-shell .lu-studio-right-panel :is(h2,h3) {color:var(--text-primary) !important;font-weight:600 !important;}
/* Shared vendor/tenant token bridges. Existing per-tenant branding remains data only. */
.motta-platform,.motta-admin {
  --motta-pa-accent:var(--brand-primary);
  --motta-pa-accent-strong:var(--brand-primary-hover);
  --motta-pa-accent-soft:var(--brand-primary-soft);
  --motta-pa-ink:var(--text-primary);
  --motta-pa-ink-soft:var(--text-secondary);
  --motta-pa-radius-sm:var(--radius-sm);
  --motta-pa-radius:var(--radius-md);
  --motta-pa-radius-lg:var(--radius-lg);
  --motta-pa-shadow-sm:var(--shadow-sm);
  --motta-pa-shadow-md:var(--shadow-md);
}
body.motta-order-page:not([data-theme="dark"]) #motta-customizer {
  --bg:var(--bg-app);--bg-2:var(--bg-surface);--bg-3:var(--bg-canvas);
  --ink:var(--text-primary);--ink-mute:var(--text-secondary);--ink-faint:var(--text-muted);
  --accent:var(--brand-primary);--accent-bright:var(--brand-primary-hover);
  --accent-soft:var(--brand-primary-soft);--shadow-card:var(--shadow-sm);--shadow-soft:var(--shadow-xs);
}
#motta-customizer .mc-studio3-products__toolbar h2 {font-size:var(--ms-text-title);font-weight:700;letter-spacing:-.02em;color:var(--text-primary);}

/* Eski modüllerdeki yüksek özgüllüklü kurallar da ortak ölçülere bağlanır. */
:root {--ms-sidebar-width:248px;--bg-canvas:var(--ms-bg-stage);--text-secondary:var(--ms-text-body);--text-muted:var(--ms-text-muted);--radius-lg:var(--ms-radius-md);}
body :is(.ms-btn-primary,button.primary,.btn-primary,.motta-platform-button.is-primary,.lu-button.is-primary,.mc-studio-button--primary) {
  height:36px!important;min-height:36px!important;padding:0 14px!important;background-color:var(--ms-primary)!important;color:#fff!important;
  border:1px solid var(--ms-primary-hover)!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;cursor:pointer!important;box-shadow:0 1px 2px rgba(37, 112, 79,.15)!important;
}
body :is(.ms-btn-secondary,button.secondary,.btn-secondary,.motta-platform-button:not(.is-primary):not(.is-dark),.lu-button:not(.is-primary),.mc-studio-button--outline) {
  height:36px!important;min-height:36px!important;padding:0 14px!important;background-color:#fff!important;color:var(--ms-text-strong)!important;
  border:1px solid var(--ms-border-strong)!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;cursor:pointer!important;
}
body :is(input[type="text"],input:not([type]),input[type="search"],input[type="email"],input[type="number"],select,textarea) {
  height:38px!important;min-height:38px!important;padding:0 12px!important;background-color:#fff!important;color:var(--ms-text-strong)!important;
  border:1px solid var(--ms-border-strong)!important;border-radius:8px!important;font-size:13px!important;font-weight:500!important;width:100%;outline:none!important;
}
body :is(input,select,textarea):focus {border-color:var(--ms-primary)!important;box-shadow:0 0 0 3px rgba(37, 112, 79,.15)!important;}
body ::placeholder {color:var(--ms-text-placeholder)!important;}
.ms-field-header {display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:6px!important;}
body .ms-label {font-size:12px!important;font-weight:600!important;color:var(--ms-text-body)!important;text-transform:none;letter-spacing:normal;}
body .ms-btn-inline-add {height:24px!important;min-height:24px!important;padding:0 8px!important;font-size:11px!important;font-weight:600!important;color:#25704f!important;background-color:#ebf4ed!important;border:1px solid #b9d3c3!important;border-radius:6px!important;cursor:pointer!important;display:inline-flex!important;align-items:center!important;}
body .ms-btn-inline-add:hover {background-color:#ebf4ed!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard),html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-app {
  background:var(--ms-bg-app)!important;color:var(--ms-text-strong)!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
  --lu-bg:var(--ms-bg-app);--lu-panel:var(--ms-bg-surface);--lu-text:var(--ms-text-strong);--lu-muted:var(--ms-text-muted);
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-app {display:block!important;padding:0!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-app-header.lu-studio3-topbar {
  background:#fff!important;border:1px solid var(--ms-border)!important;border-radius:8px!important;padding:16px 20px!important;margin:0 0 16px!important;
  display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;min-height:0!important;position:static!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-topbar .lu-app-title>span {display:none!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-topbar .lu-app-title h1 {font-size:18px!important;line-height:24px!important;font-weight:700!important;color:var(--ms-text-strong)!important;margin:0!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-topbar :is(.lu-topbar-crumb,.lu-crumb-sub) {font-size:12px!important;line-height:18px!important;color:var(--ms-text-muted)!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-topbar .lu-app-actions {width:auto!important;display:flex!important;flex-wrap:nowrap!important;gap:8px!important;padding:0!important;border:0!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-topbar .lu-app-actions>div {display:flex!important;gap:8px!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-status-pill {background:#dcfce7!important;color:#15803d!important;border:0!important;border-radius:9999px!important;padding:4px 10px!important;font-size:11px!important;font-weight:600!important;white-space:nowrap;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-steps {
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;background:#fff!important;border:1px solid var(--ms-border)!important;
  border-radius:8px!important;padding:10px!important;margin:0 0 16px!important;width:100%!important;height:auto!important;position:static!important;overflow:visible!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-steps .lu-flow-step {
  height:36px!important;min-height:36px!important;border-radius:8px!important;display:flex!important;align-items:center!important;padding:0 12px!important;gap:8px!important;
  font-size:12px!important;font-weight:600!important;color:#65706b!important;background:#f3f4f0!important;border:1px solid transparent!important;min-width:0!important;justify-content:flex-start!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-steps .lu-flow-step.is-active {background:#ebf4ed!important;color:#1e5c41!important;border-color:#b9d3c3!important;box-shadow:none!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-flow-step b {width:20px!important;height:20px!important;min-width:20px!important;border-radius:50%!important;font-size:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-flow-step.is-active b {background:#25704f!important;color:#fff!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-app-body:not(.is-receipt),.lu-studio-workspace) {
  display:grid!important;grid-template-columns:minmax(0,1fr) 460px!important;gap:16px!important;align-items:start!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;background:transparent!important;padding:0!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-work-pane,.lu-studio-left-panel,.lu-preview-pane,.lu-studio-canvas-stage) {
  background:#fff!important;border:1px solid var(--ms-border)!important;border-radius:8px!important;padding:20px!important;box-shadow:var(--ms-shadow-card)!important;
  color:var(--ms-text-strong)!important;min-width:0!important;width:auto!important;max-width:none!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;grid-row:1!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-work-pane,.lu-studio-left-panel) {grid-column:1!important;display:block!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-preview-pane,.lu-studio-workspace>.lu-studio-canvas-stage) {grid-column:2!important;position:sticky!important;top:24px!important;display:block!important;align-self:start!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-work-content,.lu-studio-left-content,.lu-product-form) {max-height:none!important;height:auto!important;overflow:visible!important;color:var(--ms-text-strong)!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-pane-switch {display:none!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-tax-summary span,.lu-tax-subtitle,.lu-tax-policy>span,.lu-tax-group h3,.lu-field>span,.lu-tax-check) {color:#17201d!important;font-size:12px!important;font-weight:600!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-tax-summary strong,.lu-tax-path,.lu-preview-caption strong) {color:#17201d!important;font-weight:600!important;background:#f3f4f0!important;padding:6px 10px!important;border:1px solid #dde2dc!important;border-radius:6px!important;display:block!important;margin-top:4px!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-tax-intro h4 {display:block;margin:0 0 4px;color:#17201d;font-size:14px;font-weight:600;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-tax-intro p {display:block;margin:0;color:#65706b;font-size:12px;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-pane-header h2,.lu-studio-step-content h2,.lu-studio-panel-title) {color:#17201d!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-pane-header p,.lu-preview-caption small,.lu-design-step-intro,.lu-step-note) {color:#65706b!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-actionbar,.lu-studio3-footer) {background:#fff!important;border:1px solid #dde2dc!important;border-radius:8px!important;padding:12px 20px!important;margin-top:16px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;position:static!important;box-shadow:var(--ms-shadow-card)!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-footer-info,.lu-action-status,.lu-design-step-progress) {color:#65706b!important;font-size:12px!important;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio-right-panel {grid-column:1/-1!important;grid-row:2!important;}
body #motta-customizer :is(.mc-studio3-card,.mc-studio3-promo) {border-radius:8px!important;}
body #motta-customizer .mc-studio3-card {background:#fff!important;border:1px solid #dde2dc!important;overflow:hidden!important;transition:all .16s ease;}
body #motta-customizer .mc-studio3-category {height:34px!important;padding:0 14px!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;background:#fff!important;color:#65706b!important;border:1px solid #dde2dc!important;}
body #motta-customizer .mc-studio3-category.is-active {background:#17201d!important;color:#fff!important;}
body #motta-customizer .mc-studio3-card__art {position:relative!important;aspect-ratio:1/1!important;height:auto!important;background:#f3f4f0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border-bottom:none!important;}
/* Mockup ve desen aynı geniş önizleme alanını paylaşır; ayrı ölçekler hizayı bozar. */
body #motta-customizer .mc-studio3-card__art .mc-card__composite {position:absolute!important;inset:8px!important;width:calc(100% - 16px)!important;height:calc(100% - 16px)!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;aspect-ratio:auto!important;filter:drop-shadow(0 8px 16px rgba(20, 28, 25,.08));}
body #motta-customizer .mc-studio3-card__art .mc-card__composite :is(img,svg) {width:100%!important;height:100%!important;object-fit:contain!important;}
body #motta-customizer .mc-studio3-card__info {padding:14px 16px!important;}
body #motta-customizer .mc-studio3-card__name {font-size:14px!important;font-weight:600!important;color:#17201d!important;margin-bottom:10px!important;}
body #motta-customizer .mc-studio3-card__bottom {display:flex!important;justify-content:space-between!important;align-items:center!important;}
body #motta-customizer .mc-studio3-card__price .mc-card__price {font-size:15px!important;font-weight:700!important;color:#17201d!important;}
body #motta-customizer .mc-studio3-card__price :is(small,.mc-card__price-unit) {font-size:11px!important;color:#65706b!important;}
body #motta-customizer.mc-order-studio-active .mc-up-workstation .mc-callout,.callout-pill {height:34px!important;min-height:34px!important;border-radius:9999px!important;background:#fff!important;border:1px solid #c6cec7!important;padding:0 12px 0 6px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;font-size:12px!important;font-weight:600!important;color:#17201d!important;box-shadow:0 1px 2px rgba(20, 28, 25,.04)!important;}
body #motta-customizer.mc-order-studio-active .mc-callouts__lines polyline {stroke:#8a948f;stroke-width:1.3;fill:none;vector-effect:non-scaling-stroke;}
body #motta-customizer.mc-order-studio-active .mc-callouts__lines polyline.is-focused {stroke:#25704f;}
html {scrollbar-gutter:stable;}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio-workspace > :is(.lu-studio-left-panel,.lu-studio-canvas-stage) {min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
@container motta-studio (max-width:1000px) {
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-app-body:not(.is-receipt),.lu-studio-workspace) {grid-template-columns:minmax(0,1fr)!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-preview-pane,.lu-studio-workspace>.lu-studio-canvas-stage) {grid-column:1!important;grid-row:2!important;position:static!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio-right-panel {grid-row:3!important;}
}
@media(max-width:1000px) {
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-app-header.lu-studio3-topbar {flex-wrap:wrap!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-steps {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:600px) {
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-topbar .lu-app-actions {flex-wrap:wrap!important;flex:1 1 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-topbar .lu-app-actions>div {flex-wrap:wrap!important;flex:1 1 100%!important;min-width:0!important;max-width:100%!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-actionbar,.lu-studio3-footer) {flex-wrap:wrap!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio3-steps {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
body :is(.m3-rail,.motta-admin-nav,.sidebar,nav.admin-nav) {width:248px!important;min-width:248px!important;max-width:248px!important;overflow-x:hidden!important;background:#fff!important;border-right:1px solid #dde2dc!important;padding:16px 12px!important;}
body .m3-shell {grid-template-columns:248px minmax(0,1fr)!important;}
body :is(.m3-nav-item,.motta-admin-nav button) {min-width:0!important;max-width:100%!important;overflow:hidden!important;}
body .m3-nav-item__body {min-width:0!important;overflow:hidden!important;}
body :is(.m3-nav-item strong,.motta-admin-nav button strong) {display:block!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body .m3-nav-item small {display:block!important;font-size:11px!important;color:#65706b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body .m3-nav-item .m3-icon {width:16px!important;height:16px!important;flex:0 0 16px!important;}
body :is(.pa-subnav-bar,.motta-platform-subnav) {height:44px!important;min-height:44px!important;background:#fff!important;border-bottom:1px solid #dde2dc!important;padding:0 24px!important;display:flex!important;gap:24px!important;align-items:stretch!important;}
body :is(.pa-subnav-tab,.motta-subnav-pill) {border-radius:0!important;background:transparent!important;color:#65706b!important;border:0!important;border-bottom:2px solid transparent!important;font-size:13px!important;padding:0!important;}
body :is(.pa-subnav-tab,.motta-subnav-pill).is-active {color:#25704f!important;font-weight:600!important;border-bottom-color:#25704f!important;}
body #motta-customizer.mc-order-studio-active .mc-callouts.has-focus .mc-callouts__lines polyline:not(.is-focused) {opacity:.12;}
@media(min-width:1000px) {
  body #motta-customizer.mc-order-studio-active .mc-up-workstation .mc-up-kit-faces {column-gap:16px!important;}
}
@media(max-width:999px) {
  body .m3-shell {grid-template-columns:minmax(0,1fr)!important;}
  body :is(.pa-subnav-bar,.motta-platform-subnav) {height:auto!important;min-height:44px!important;max-height:none!important;flex-wrap:wrap!important;padding:6px 12px!important;gap:4px 10px!important;overflow:visible!important;}
  body :is(.pa-subnav-tab,.motta-subnav-pill) {flex:0 0 auto!important;min-height:44px!important;padding:0 10px!important;}
}
body #motta-customizer.mc-order-studio-active {
  --st-bg:var(--ms-bg-app)!important;--st-paper:var(--ms-bg-surface)!important;--st-soft:var(--ms-bg-hover)!important;
  --st-ink:var(--ms-text-strong)!important;--st-muted:var(--ms-text-muted)!important;--st-line:var(--ms-border)!important;
  --st-accent:var(--ms-primary)!important;--st-accent-dark:var(--ms-primary-hover)!important;--st-tint:var(--ms-bg-active)!important;
  --ink:var(--ms-text-strong)!important;--ink-mute:var(--ms-text-body)!important;--ink-faint:var(--ms-text-muted)!important;
  background:var(--ms-bg-app)!important;color:var(--ms-text-strong)!important;
}
body #motta-customizer.mc-order-studio-active :is(.mc-studio-sidebar,.mc-studio-order-panel,.mc-studio-design-panel,.mc-studio-review-roster) {background:#fff!important;color:#17201d!important;border-color:#dde2dc!important;border-radius:8px!important;}
body #motta-customizer :is(.mc-studio-product-stage,.mc-canvas__stage) {background:var(--ms-bg-stage)!important;}
html body :is(.ms-btn-primary,.lu-button.is-primary,.motta-platform-button.is-primary):hover:not(:disabled) {background-color:#1e5c41!important;}
body #motta-customizer .mc-topbar {background:#fff!important;color:#17201d!important;border-bottom:1px solid #dde2dc!important;}
body #motta-customizer .mc-topbar :is(a,button,.mc-brand,.mc-vitrin-nav) {color:#17201d!important;}
body #motta-customizer .mc-topbar :is(a,button):hover {color:#25704f!important;}
body #motta-customizer .mc-studio3-category {min-height:34px!important;max-height:34px!important;}
body #motta-customizer .mc-studio3-card__design {height:36px!important;min-height:36px!important;padding:0 14px!important;border-radius:8px!important;background:#25704f!important;color:#fff!important;font-size:12px!important;font-weight:600!important;}

.lu-workspace-toolbar {display:flex;align-items:center;gap:12px;padding:8px;background:#fff;border:1px solid var(--ms-border);border-radius:8px;min-width:0;}
.lu-workspace-actions {display:flex;align-items:center;gap:6px;flex:none;}
html body .motta-layer.lu-studio3-shell .lu-workspace-toolbar .lu-studio3-steps {flex:1;min-width:0;border:0!important;padding:0!important;margin:0!important;gap:4px!important;}
html body .motta-layer.lu-studio3-shell .lu-workspace-toolbar .lu-flow-step {padding:0 8px!important;gap:5px!important;}
html body .motta-layer.lu-studio3-shell .lu-module-fold {border:0;border-bottom:1px solid #dde2dc;background:#fff;padding:0;margin:0;min-width:0;}
.lu-module-fold>summary {cursor:pointer;padding:12px 0;font-size:13px;font-weight:600;color:#17201d;}
.lu-module-body {display:grid;gap:10px;padding:0 0 12px;min-width:0;}
html body .motta-layer.lu-studio3-shell .lu-module-body.lu-tax-group {border:0;padding:0 0 12px;}
@media(min-width:1000px) and (min-height:600px) {
  .m3-stage:has(.motta-layer:is(.is-lu-workspace,.lu-design-wizard)) {padding:8px!important;min-height:0!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard),
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-app {
    display:flex!important;flex-direction:column!important;gap:8px!important;min-height:0!important;max-height:none!important;overflow:hidden!important;margin:0!important;padding:0!important;
  }
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) {height:var(--lu-available-height,calc(100dvh - 120px))!important;}
  html body .motta-layer.lu-studio3-shell.is-lu-workspace .lu-app {height:100%!important;flex:1!important;}
  html body .motta-layer.lu-studio3-shell .lu-workspace-toolbar {flex:none;min-height:54px;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-app-body:not(.is-receipt),.lu-studio-workspace) {
    flex:1!important;display:grid!important;grid-template-columns:minmax(300px,34%) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important;min-height:0!important;height:0!important;overflow:hidden!important;
  }
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-app-body:not(.is-receipt),.lu-studio-workspace)>:is(.lu-work-pane,.lu-studio-left-panel,.lu-preview-pane,.lu-studio-canvas-stage) {
    min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important;padding:12px!important;position:relative!important;top:auto!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;gap:8px!important;grid-row:1!important;
  }
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-app-body:not(.is-receipt),.lu-studio-workspace)>:is(.lu-work-pane,.lu-studio-left-panel) {grid-column:1!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-app-body:not(.is-receipt),.lu-studio-workspace)>:is(.lu-preview-pane,.lu-studio-canvas-stage) {grid-column:2!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-work-content,.lu-studio-left-content) {flex:1!important;min-height:0!important;height:0!important;max-height:none!important;overflow:auto!important;padding:0 4px 0 0!important;overscroll-behavior:contain;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-pane-header,.lu-studio-panel-title,.lu-canvas-header) {flex:none!important;padding:0 0 8px!important;margin:0!important;min-height:0!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-preview-canvas,.lu-placement-canvas) {flex:1!important;min-height:0!important;height:0!important;max-height:none!important;overflow:hidden!important;padding:8px!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-placement-canvas .lu-canvas-card {height:100%!important;min-height:0!important;max-height:100%!important;width:100%!important;margin:0!important;padding:8px!important;overflow:hidden!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-placement-canvas .motta-layer-model-composite {height:100%!important;max-height:100%!important;width:100%!important;min-height:0!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-preview-layer-stack {height:100%!important;width:100%!important;max-height:100%!important;min-height:0!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-preview-layer-stack,.motta-layer-model-composite)>:is(img,svg) {width:100%!important;height:100%!important;object-fit:contain!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-actionbar,.lu-studio3-footer) {flex:none!important;width:100%!important;max-width:none!important;min-height:48px!important;margin:0!important;padding:8px 12px!important;gap:8px!important;}
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-footer-info,.lu-action-status) {min-width:0;flex:1;}
  html body .motta-layer.lu-studio3-shell .lu-draft-status:not(.is-error):not(.is-warning) {font-size:11px;margin:0!important;padding:0!important;flex:none;}
  html body .motta-layer.lu-studio3-shell :is(.lu-draft-status.is-error,.lu-draft-status.is-warning,.lu-batch-recovery) {flex:none;max-height:110px;overflow:auto;margin:0!important;}
  html body .motta-layer.lu-studio3-shell .lu-d111-linked-strip {padding:0!important;margin:0!important;}
  html body .motta-layer.lu-studio3-shell .lu-d111-linked-card {min-height:54px!important;padding:8px 10px!important;}
  html body .motta-layer.lu-studio3-shell .lu-design-step-intro {margin:0 0 8px!important;font-size:12px!important;}
  html body .motta-layer.lu-studio3-shell .lu-module-fold>summary {padding:8px 0!important;}
  html body .motta-layer.lu-studio3-shell .lu-product-form.lu-studio-taxonomy {gap:8px!important;}
  html body .motta-layer.lu-studio3-shell .lu-tax-summary>div {padding:8px!important;}
  html body .motta-layer.lu-studio3-shell .lu-tax-three {gap:8px!important;}
  html body .motta-layer.lu-studio3-shell.is-upload-step-product .lu-pane-header p {display:none!important;}
  html body .motta-layer.lu-studio3-shell .lu-studio-right-panel {grid-column:auto!important;grid-row:auto!important;overflow:auto!important;}
  html body .motta-layer.lu-studio3-shell.is-lu-workspace .lu-app-body.is-placement {grid-template-columns:minmax(0,1fr)!important;}
  html body .motta-layer.lu-studio3-shell.is-lu-workspace .lu-app-body.is-placement .lu-work-pane {grid-column:1/-1!important;}
  html body .motta-layer.lu-studio3-shell.is-lu-workspace .lu-app-body.is-placement .lu-work-content {display:flex;flex-direction:column;}
  html body .motta-layer.lu-studio3-shell.is-lu-workspace .lu-app-body.is-placement .lu-studio-workspace {height:100%!important;flex:1!important;grid-template-columns:240px minmax(0,1fr) 260px!important;}
  html body .motta-layer.lu-studio3-shell.is-lu-workspace .lu-app-body.is-placement .lu-studio-workspace>.lu-studio-right-panel {grid-column:3!important;grid-row:1!important;padding:12px!important;}
  html body .motta-layer.lu-studio3-shell .lu-app-body.is-receipt {display:block!important;overflow:auto!important;}
  html body .motta-layer.lu-studio3-shell .lu-app-body.is-receipt>.lu-work-pane {height:auto!important;max-height:none!important;}
  html body .motta-layer.lu-studio3-shell .lu-app-body.is-receipt .lu-work-content {height:auto!important;overflow:visible!important;}
}
@media(min-width:1000px) and (max-width:1399px) {
  .lu-workspace-actions .lu-status-pill {display:none!important;}
  html body .motta-layer.lu-studio3-shell .lu-workspace-toolbar .lu-flow-step span {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);}
  html body .motta-layer.lu-studio3-shell .lu-workspace-toolbar .lu-flow-step.is-active span {position:static;width:auto;height:auto;clip-path:none;}
  html body .motta-layer.lu-studio3-shell .lu-workspace-toolbar .lu-studio3-steps {grid-template-columns:repeat(6,minmax(32px,1fr))!important;}
  html body .motta-layer.lu-studio3-shell .lu-workspace-toolbar .lu-flow-step {justify-content:center!important;}
}
@media(max-width:999px), (max-height:599px) {
  .lu-workspace-toolbar {flex-wrap:wrap;}
  .lu-workspace-actions {flex-wrap:wrap;width:100%;}
  html body .motta-layer.lu-studio3-shell .lu-workspace-toolbar .lu-studio3-steps {flex-basis:100%;}
}
/* Kısa ekranlarda da mutlak konumlu görsel katmanları için gerçek bir tuval yüksekliği gerekir. */
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-preview-pane,.lu-studio-workspace>.lu-studio-canvas-stage) {
  display:flex!important;flex-direction:column!important;height:clamp(440px,65dvh,680px)!important;min-height:440px!important;overflow:hidden!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-preview-pane>.lu-preview-canvas,.lu-studio-canvas-stage>.lu-placement-canvas) {
  display:flex!important;position:relative!important;flex:1 1 auto!important;min-height:240px!important;height:auto!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) .lu-studio-canvas-stage>.lu-placement-canvas>.lu-canvas-card {
  position:relative!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;aspect-ratio:auto!important;margin:0!important;flex:1 1 auto!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-preview-layer-stack,.lu-canvas-card>.motta-layer-model-composite) {
  position:absolute!important;inset:8px!important;width:calc(100% - 16px)!important;height:calc(100% - 16px)!important;min-height:0!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important;margin:0!important;
}
html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-preview-layer-stack,.lu-canvas-card>.motta-layer-model-composite)>img {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;
}
@media(min-width:1000px) and (min-height:600px) {
  html body .motta-layer.lu-studio3-shell:is(.is-lu-workspace,.lu-design-wizard) :is(.lu-app-body:not(.is-receipt),.lu-studio-workspace)>:is(.lu-preview-pane,.lu-studio-canvas-stage) {min-height:0!important;height:100%!important;}
}

/* Ortak bileşenlerin panel varyantı; müşteri vitrinindeki marka değişkenlerine dokunmaz. */
:where([data-admin-surface], [data-motta-workspace], .motta-platform, .motta-admin, .motta-layer, .pa-security) {
  --ms-bg-app: var(--motta-corporate-canvas, #f3f4f0);
  --ms-bg-stage: var(--motta-corporate-canvas, #f3f4f0);
  --ms-bg-hover: var(--motta-corporate-selected, #ebf4ed);
  --ms-bg-active: var(--motta-corporate-selected, #ebf4ed);
  --ms-text-strong: var(--motta-corporate-ink, #17201d);
  --ms-text-body: var(--motta-corporate-muted, #65706b);
  --ms-primary: var(--motta-corporate-primary, #25704f);
  --ms-primary-hover: var(--motta-corporate-primary-hover, #1e5c41);
  --ms-primary-border: var(--motta-corporate-border, #dde2dc);
  --ms-border: var(--motta-corporate-border, #dde2dc);
  --ms-border-strong: var(--motta-corporate-border, #dde2dc);
  --ms-radius-sm: var(--motta-corporate-radius-control, 6px);
  --ms-radius-md: var(--motta-corporate-radius-panel, 8px);
  --bg-app: var(--motta-corporate-canvas, #f3f4f0);
  --bg-surface-hover: var(--motta-corporate-selected, #ebf4ed);
  --text-primary: var(--motta-corporate-ink, #17201d);
  --text-secondary: var(--motta-corporate-muted, #65706b);
  --brand-primary: var(--motta-corporate-primary, #25704f);
  --brand-primary-hover: var(--motta-corporate-primary-hover, #1e5c41);
  --brand-primary-soft: var(--motta-corporate-selected, #ebf4ed);
  --border-subtle: var(--motta-corporate-border, #dde2dc);
  --border-focus: var(--motta-corporate-primary, #25704f);
  --ms-control: var(--motta-corporate-control, 48px);
  --ms-control-lg: var(--motta-corporate-control, 48px);
  --ms-control-sm: 40px;
  --ms-sidebar-width: var(--motta-corporate-sidebar, 214px);
  --ms-topbar-height: var(--motta-corporate-topbar, 64px);
  --shadow-active: 0 0 0 3px rgb(37 112 79 / 15%);
  font-family: var(--font-sans);
}
:where(.motta-platform, .motta-admin, [data-admin-surface]) .ms-card .ms-card {
  background: transparent;
  box-shadow: none;
  border-inline: 0;
  border-block-start: 0;
  border-radius: 0;
}
:where(.motta-platform, .motta-admin, [data-admin-surface]) :is(.ms-price, .ms-code, .ms-kpi-value) {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}
