/* MMr Foundations. Canonical source: designs/system/mmr-system.css.
   Generated copies are synchronized by scripts/Prepare-Design.cjs. */
:root {
  color-scheme: light;
  --mmr-bg: #f7f8fa;
  --mmr-panel: #ffffff;
  --mmr-raised: #f1f4f3;
  --mmr-text: #17211c;
  --mmr-heading: #245980;
  --mmr-muted: #5c6861;
  --mmr-border: #dfe5e1;
  --mmr-control-border: #7a8b80;
  --mmr-primary: #c77928;
  --mmr-primary-hover: #c57b2f;
  --mmr-primary-text: #111e29;
  --mmr-accent: #a45a1a;
  --mmr-accent-soft: #fff0de;
  --mmr-focus: #245980;
  --mmr-danger: #b42318;
  --mmr-danger-bg: #fff0ee;
  --mmr-success: #146c43;
  --mmr-success-bg: #eaf6ef;
  --mmr-warning: #815600;
  --mmr-warning-bg: #fff6df;
  --mmr-info: #235a97;
  --mmr-info-bg: #eef5ff;
  --mmr-overlay: #101b2a66;
  --mmr-shadow-popover: 0 4px 16px #17211c12, 0 1px 3px #17211c0a;
  --mmr-shadow-modal: 0 16px 64px #17211c29;
  --mmr-font: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mmr-font-mono: 'Cascadia Code', Consolas, ui-monospace, monospace;
  --mmr-text-xs: 12px;
  --mmr-text-sm: 13px;
  --mmr-text-base: 14px;
  --mmr-text-lg: 16px;
  --mmr-title-sm: 18px;
  --mmr-title: 24px;
  --mmr-space-1: 4px; --mmr-space-2: 8px; --mmr-space-3: 12px;
  --mmr-space-4: 16px; --mmr-space-5: 20px; --mmr-space-6: 24px;
  --mmr-space-8: 32px; --mmr-space-10: 40px;
  --mmr-radius-sm: 6px; --mmr-radius: 8px; --mmr-radius-lg: 12px;
  --mmr-control-height: 40px; --mmr-touch-target: 44px;
  --mmr-sidebar-width: 232px; --mmr-header-height: 64px;
  --mmr-duration: 140ms; --mmr-easing: cubic-bezier(.2, .6, .3, 1);
}
:root[data-mmr-theme='dark'], body.dark {
  color-scheme: dark;
  --mmr-bg: #111e29; --mmr-panel: #1b2a38; --mmr-raised: #243849;
  --mmr-heading: #77bdfd; --mmr-primary-text: #111e29;
  --mmr-text: #e6edf3; --mmr-muted: #a8b9c7; --mmr-border: #42617a;
  --mmr-control-border: #7898b0; --mmr-primary: #d88b39; --mmr-primary-hover: #e68a30;
  --mmr-accent: #e68a30; --mmr-accent-soft: #293842; --mmr-focus: #77bdfd;
  --mmr-danger: #fda29b; --mmr-danger-bg: #351f20;
  --mmr-success: #82d9a7; --mmr-success-bg: #173427;
  --mmr-warning: #f0c46b; --mmr-warning-bg: #342b16;
  --mmr-info: #9cc5f1; --mmr-info-bg: #1b2d42;
  --mmr-overlay: #00000099;
  --mmr-shadow-popover: 0 6px 24px #0005, 0 1px 4px #0004;
  --mmr-shadow-modal: 0 20px 80px #0009;
}
html { background: var(--mmr-bg); scrollbar-gutter: stable; }
body { font-family: var(--mmr-font); color: var(--mmr-text); }
:is(button, input, textarea, select) { font: inherit; }
:is(button, a, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--mmr-focus); outline-offset: 3px;
}
:is(input, textarea, select)::placeholder { color: var(--mmr-muted); opacity: 1; }
button:disabled, [aria-disabled='true'] { cursor: not-allowed; }
input[type='checkbox'], input[type='radio'] { accent-color: var(--mmr-primary); }
::selection { background: var(--mmr-primary); color: var(--mmr-primary-text); }
.mmr-page-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:24px; }
.mmr-page-header h1 { font-size:var(--mmr-title); line-height:1.25; font-weight:650; letter-spacing:-.025em; margin:0; }
.mmr-page-header p { color:var(--mmr-muted); font-size:var(--mmr-text-sm); margin:6px 0 0; }
.mmr-section-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-block:0 16px; }
.mmr-section-header h2 { font-size:var(--mmr-title-sm); line-height:1.4; margin:0; font-weight:600; }
.mmr-sr-only { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; }
.mmr-technical-details { border:1px solid var(--mmr-border); border-radius:var(--mmr-radius); padding:12px 16px; }
.mmr-technical-details summary { font-size:13px; cursor:pointer; }
.mmr-technical-details pre { font:12px/1.6 var(--mmr-font-mono); overflow:auto; max-height:360px; white-space:pre-wrap; overflow-wrap:anywhere; }
.mmr-empty-state { border:1px dashed var(--mmr-border); border-radius:var(--mmr-radius); padding:32px 24px; text-align:center; color:var(--mmr-muted); }
.mmr-empty-state h2, .mmr-empty-state h3 { color:var(--mmr-text); font-size:16px; margin:0 0 8px; }
@media(max-width:767px) { .mmr-page-header{align-items:flex-start;flex-wrap:wrap;padding-block:20px}.mmr-page-header h1{font-size:22px} }
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

/* Cyber-Blue structure and Vibrant-Orange interaction hierarchy. */
h1,h2,h3{color:var(--mmr-heading);}
:is(.mmr-app,.mmr-crm,.mmr-document) :is(h1,h2,h3){color:var(--mmr-heading)!important;}
:is(.mark,.monogram){color:var(--mmr-primary-text)!important;}
:is(button.primary,.mmr-button-primary,.bg-btnPrimary,.bg-forth,.bg-ai){background:var(--mmr-primary);color:var(--mmr-primary-text)!important;}
:is(button.primary,.mmr-button-primary,.bg-btnPrimary,.bg-forth,.bg-ai) [class~=text-white]{color:var(--mmr-primary-text)!important;}
:is(button.primary,.mmr-button-primary,.bg-btnPrimary,.bg-forth,.bg-ai) svg [stroke=white]{stroke:var(--mmr-primary-text);}
:is(button.primary,.mmr-button-primary,.bg-btnPrimary,.bg-forth,.bg-ai) svg [fill=white]{fill:var(--mmr-primary-text);}
