:root {
  --mm-green: #1C8938;
  --mm-green-dark: #10662A;
  --mm-purple: #390A5D;
  --mm-bg: #f3f8f4;
  --mm-card: #ffffff;
  --mm-border: #d5e6da;
  --mm-muted: #5b6b60;
  --mm-text: #1a2a20;
}
* { box-sizing: border-box; }
body.mm-careers {
  margin: 0;
  font-family: Nunito, system-ui, sans-serif;
  color: var(--mm-text);
  background:
    radial-gradient(ellipse at top left, rgba(28,137,56,.10), transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(57,10,93,.06), transparent 40%),
    #fff;
  min-height: 100vh;
}
/* Site fixed header clearance (same as main pages) */
.mm-c-main {
  padding: 88px 0 56px;
  min-height: 60vh;
}
.mm-c-wrap { width: min(1120px, 92%); margin: 0 auto; }
.mm-c-wrap--form { width: min(960px, 94%); }

/* Premium open-positions hero */
.mm-c-hero-band {
  position: relative;
  margin: 0 0 28px;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(16,102,42,.92) 0%, rgba(28,137,56,.82) 45%, rgba(57,10,93,.88) 100%);
  box-shadow: 0 18px 40px rgba(16,102,42,.16);
  color: #fff;
}
.mm-c-hero-band .mm-c-brand {
  margin: 0 0 8px;
  font-family: Poppins, Nunito, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.03em;
  color: #fff;
}
.mm-c-hero-band h1 {
  font-family: Poppins, sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: #e8ffea;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mm-c-hero-band p {
  color: rgba(255,255,255,.9);
  margin: 0 0 18px;
  max-width: 54ch;
  line-height: 1.5;
}
.mm-c-hero-band .mm-c-actions { margin-bottom: 0; }
.mm-c-hero-band .mm-c-btn-secondary {
  background: rgba(255,255,255,.12);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35);
}
.mm-c-hero-band .mm-c-btn-secondary:hover { background: rgba(255,255,255,.2); }

.mm-c-hero h1 {
  font-family: Poppins, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--mm-purple); margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.mm-c-hero p { color: var(--mm-muted); margin: 0 0 20px; max-width: 640px; }
.mm-c-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.mm-c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 800; border: none; cursor: pointer; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.mm-c-btn:hover { transform: translateY(-1px); text-decoration: none; }
.mm-c-btn-primary {
  background: linear-gradient(180deg, #22a045 0%, var(--mm-green) 100%);
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(28,137,56,.22);
}
.mm-c-btn-secondary {
  background: #fff; color: var(--mm-purple) !important;
  border: 1px solid #c9b6dc;
}
.mm-c-btn-block { width: 100%; padding: 14px 18px; font-size: 1rem; }

.mm-c-section-title {
  margin: 8px 0 16px;
  font-family: Poppins, sans-serif;
  font-size: 1.2rem;
  color: var(--mm-purple);
  letter-spacing: -0.02em;
}
.mm-c-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}
.mm-c-card {
  background: var(--mm-card); border: 1px solid var(--mm-border);
  border-radius: 18px; padding: 22px 22px 20px;
  box-shadow: 0 12px 28px rgba(16,102,42,.07);
  display: flex; flex-direction: column; min-height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mm-c-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(16,102,42,.12);
}
.mm-c-card h2 {
  margin: 0 0 8px; color: var(--mm-purple); font-size: 1.12rem;
  font-family: Poppins, sans-serif;
}
.mm-c-card h2.mm-c-section {
  color: var(--mm-purple);
  font-size: 1.05rem;
  margin: 8px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ffea;
}
.mm-c-card p { margin: 0 0 14px; color: var(--mm-muted); font-size: .92rem; line-height: 1.45; flex: 1; }
.mm-c-meta { font-size: .78rem; color: var(--mm-muted); margin-bottom: 12px; font-weight: 600; }
.mm-c-card .mm-c-btn { margin-top: auto; align-self: flex-start; }

/* Premium form — 2 column on desktop */
.mm-c-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 4px;
}
.mm-c-form-grid .mm-c-span-2 { grid-column: 1 / -1; }
.mm-c-field { margin-bottom: 0; }
.mm-c-field label {
  display: block; font-weight: 700; margin-bottom: 6px;
  font-size: .82rem; color: var(--mm-muted); letter-spacing: .02em;
}
.mm-c-field input,
.mm-c-field select,
.mm-c-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--mm-border);
  border-radius: 11px; font: inherit; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mm-c-field input:focus,
.mm-c-field select:focus,
.mm-c-field textarea:focus {
  outline: none;
  border-color: var(--mm-green);
  box-shadow: 0 0 0 3px rgba(28,137,56,.14);
}
.mm-c-skills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 4px;
}
.mm-c-skills label {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; color: var(--mm-text);
  background: #f7faf8; border: 1px solid var(--mm-border);
  border-radius: 10px; padding: 10px 12px; margin: 0; cursor: pointer;
}
.mm-c-skills input { width: auto; margin: 0; }

.mm-c-alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.mm-c-alert-ok { background: #e8f7ec; color: var(--mm-green-dark); border: 1px solid #c8ebd1; }
.mm-c-alert-err { background: #fdecea; color: #8a1c1c; border: 1px solid #f5c8c8; }

.mm-c-wrap--chat { width: min(780px, 94%); }

.mm-c-chat-hero {
  margin: 0 0 20px;
  padding: clamp(22px, 3.5vw, 32px) clamp(18px, 3vw, 28px);
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(16,102,42,.94) 0%, rgba(28,137,56,.86) 42%, rgba(57,10,93,.9) 100%);
  box-shadow: 0 16px 36px rgba(16,102,42,.18);
}
.mm-c-chat-hero .mm-c-brand {
  margin: 0 0 6px;
  font-family: Poppins, Nunito, sans-serif;
  font-weight: 800;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  letter-spacing: -0.03em;
}
.mm-c-chat-hero h1 {
  margin: 0 0 8px;
  font-family: Poppins, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: #e8ffea;
}
.mm-c-chat-hero p {
  margin: 0;
  max-width: 42ch;
  line-height: 1.45;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
}

.mm-c-chat {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--mm-border);
  border-radius: 16px; padding: 16px; min-height: 420px; display: flex; flex-direction: column;
}
.mm-c-chat--premium {
  max-width: none;
  min-height: min(68vh, 640px);
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(28,137,56,.14);
  box-shadow: 0 20px 48px rgba(26,42,32,.08);
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7fcf8 0%, #fff 28%);
}
.mm-c-chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--mm-border);
  font-size: .82rem;
  font-weight: 700;
  color: var(--mm-muted);
  background: rgba(255,255,255,.85);
}
.mm-c-chat-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mm-green);
  box-shadow: 0 0 0 4px rgba(28,137,56,.18);
  flex-shrink: 0;
}
.mm-c-chat-reset { margin-left: auto; }
.mm-c-link-btn {
  background: none; border: none; color: var(--mm-purple);
  font-weight: 800; cursor: pointer; font-size: .82rem; padding: 4px 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.mm-c-chat-log {
  flex: 1; overflow: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px 16px;
  max-height: min(52vh, 460px);
  background:
    radial-gradient(ellipse at top right, rgba(28,137,56,.05), transparent 50%),
    #fff;
}
.mm-c-bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.5;
  font-size: .95rem;
  white-space: normal;
}
.mm-c-bubble.bot {
  background: linear-gradient(180deg, #eef8f0 0%, #e6f4ea 100%);
  align-self: flex-start;
  border: 1px solid rgba(28,137,56,.12);
  border-bottom-left-radius: 6px;
}
.mm-c-bubble.user {
  background: linear-gradient(180deg, #f3ecf9 0%, #ebe0f4 100%);
  align-self: flex-end;
  color: var(--mm-purple);
  border: 1px solid rgba(57,10,93,.1);
  border-bottom-right-radius: 6px;
  font-weight: 700;
}
.mm-c-bubble--cta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.mm-c-chat-composer {
  padding: 14px 16px 18px;
  border-top: 1px solid var(--mm-border);
  background: #fbfefc;
}
.mm-c-tap-hint {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mm-green-dark);
}
.mm-c-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
/* Beat Bootstrap/global button resets — Yes must never be white-on-white */
.mm-c-chat-composer .mm-c-choices button.mm-c-choice,
body.mm-careers .mm-c-choices button.mm-c-choice {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 52px;
  padding: 14px 28px;
  margin: 0;
  border-radius: 999px;
  border: 2px solid #1C8938 !important;
  background: #ffffff !important;
  color: #10662A !important;
  font-family: Poppins, Nunito, sans-serif;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  box-shadow: 0 6px 16px rgba(28,137,56,.12);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.mm-c-chat-composer .mm-c-choices button.mm-c-choice--yes,
body.mm-careers .mm-c-choices button.mm-c-choice--yes {
  background: #1C8938 !important;
  background-image: linear-gradient(180deg, #22a045 0%, #1C8938 100%) !important;
  border-color: #10662A !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(28,137,56,.28);
}
.mm-c-chat-composer .mm-c-choices button.mm-c-choice--no,
body.mm-careers .mm-c-choices button.mm-c-choice--no {
  background: #ffffff !important;
  border-color: #390A5D !important;
  color: #390A5D !important;
  box-shadow: 0 6px 16px rgba(57,10,93,.1);
}
.mm-c-chat-composer .mm-c-choices button.mm-c-choice--opt,
body.mm-careers .mm-c-choices button.mm-c-choice--opt {
  background: #ffffff !important;
  border-color: #1C8938 !important;
  color: #10662A !important;
}
.mm-c-chat-composer .mm-c-choices button.mm-c-choice:hover,
body.mm-careers .mm-c-choices button.mm-c-choice:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(26,42,32,.16);
}
.mm-c-chat-composer .mm-c-choices button.mm-c-choice:focus-visible {
  outline: 3px solid rgba(28,137,56,.35);
  outline-offset: 2px;
}
@media (max-width: 520px) {
  .mm-c-chat-composer .mm-c-choices button.mm-c-choice {
    flex: 1 1 calc(50% - 12px);
    min-width: 0;
  }
}
.mm-c-upload-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 4px;
}
.mm-c-upload-label {
  flex: 1 1 220px;
  display: flex; flex-direction: column; gap: 6px;
  font-weight: 800; font-size: .85rem; color: var(--mm-purple);
  background: #fff;
  border: 1px dashed rgba(57,10,93,.28);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}
.mm-c-upload-label input { font-weight: 600; color: var(--mm-muted); }
.mm-c-composer-row {
  display: flex; gap: 8px; align-items: stretch; margin-top: 10px;
}
.mm-c-composer-row input {
  flex: 1;
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.mm-c-more-text { margin-top: 12px; color: var(--mm-muted); font-size: .85rem; }
.mm-c-more-text summary { cursor: pointer; font-weight: 700; }

/* Logo MUST match home (35px) — never enlarge on careers */
body.mm-careers #header.header { padding: 12px 0 !important; }
body.mm-careers #header .logo { max-height: 35px !important; height: 35px !important; overflow: hidden; }
body.mm-careers #header .logo img {
  max-height: 35px !important;
  height: 35px !important;
  width: auto !important;
  max-width: 170px !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .mm-c-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .mm-c-main { padding-top: 90px; }
  .mm-c-form-grid { grid-template-columns: 1fr; }
  .mm-c-skills { grid-template-columns: 1fr; }
  .mm-c-card { padding: 16px; }
}

/* Job detail page */
body.mm-careers-job .mm-c-main,
.mm-c-job-page {
  padding-top: 120px;
  padding-bottom: 64px;
}
.mm-c-wrap--job {
  width: min(860px, 92%);
}
.mm-c-back {
  margin: 0 0 14px;
  font-size: .92rem;
  font-weight: 700;
}
.mm-c-back a {
  color: var(--mm-green-dark);
  text-decoration: none;
}
.mm-c-back a:hover { text-decoration: underline; }

.mm-c-job-hero {
  margin: 0 0 22px;
}
.mm-c-job-hero h1 {
  font-family: Poppins, sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  color: var(--mm-purple);
  margin: 0 0 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.mm-c-job-hero .mm-c-actions {
  margin-bottom: 0;
}

.mm-c-job-chips {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.mm-c-job-chips li {
  background: #f4faf5;
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mm-c-job-chip-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6f8576;
}
.mm-c-job-chip-value {
  font-size: .9rem;
  font-weight: 700;
  color: var(--mm-text);
  line-height: 1.35;
}

.mm-c-jd {
  background: #fff;
  border: 1px solid var(--mm-border);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 12px 28px rgba(16,102,42,.07);
  max-width: none;
}
.mm-c-jd:hover { transform: none; }

.mm-c-jd-h2 {
  color: var(--mm-purple) !important;
  font-size: 1.12rem !important;
  font-weight: 700;
  margin: 28px 0 12px !important;
  padding: 0 0 10px;
  border-bottom: 2px solid #dff3e3;
  font-family: Poppins, sans-serif;
  line-height: 1.3;
  flex: none !important;
}
.mm-c-jd-body > .mm-c-jd-h2:first-child,
.mm-c-jd > .mm-c-jd-h2:first-child {
  margin-top: 0 !important;
}
.mm-c-jd-h3 {
  margin: 18px 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--mm-text);
  font-family: Poppins, sans-serif;
}

.mm-c-jd-body {
  color: var(--mm-muted);
  line-height: 1.65;
  font-size: .96rem;
}
.mm-c-jd-body p {
  margin: 0 0 14px !important;
  color: var(--mm-muted) !important;
  font-size: .96rem !important;
  line-height: 1.65 !important;
  flex: none !important;
}
.mm-c-jd-body p:last-child { margin-bottom: 0 !important; }
.mm-c-jd-body strong { color: var(--mm-text); font-weight: 800; }

.mm-c-jd-list {
  margin: 0 0 8px;
  padding-left: 1.15rem;
  color: var(--mm-muted);
}
.mm-c-jd-list li {
  margin: 0 0 10px;
  padding-left: 4px;
  line-height: 1.55;
}
.mm-c-jd-list li::marker {
  color: var(--mm-green);
  font-weight: 800;
}
.mm-c-jd-list strong { color: var(--mm-text); font-weight: 800; }

.mm-c-jd-footer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--mm-border);
}
.mm-c-jd-footer .mm-c-actions { margin-bottom: 12px; }
.mm-c-jd-tagline {
  margin: 0 !important;
  font-weight: 800;
  color: var(--mm-green) !important;
  font-size: .95rem !important;
  flex: none !important;
}

@media (max-width: 700px) {
  body.mm-careers-job .mm-c-main,
  .mm-c-job-page {
    padding-top: 108px;
  }
  .mm-c-job-chips {
    grid-template-columns: 1fr 1fr;
  }
  .mm-c-jd {
    padding: 18px 16px;
  }
}

