
:root{
  --ml-purple-900:#4c1d95;
  --ml-purple-700:#6D28D9;
  --ml-purple:#7C3AED;
  --ml-purple-400:#a855f7;
  --ml-purple-100:#ede9fe;
  --ml-purple-50:#f7f4ff;
  --ml-ink:#101828;
  --ml-muted:#667085;
  --ml-line:#e7e9f2;
  --ml-bg:#f7f8fc;
  --ml-surface:#ffffff;
  --ml-green:#079455;
  --ml-red:#d92d20;
  --ml-radius:12px;
  --ml-shadow:0 8px 30px rgba(16,24,40,.06);
}
html,body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ml-brand-full{display:inline-flex;align-items:center;text-decoration:none;line-height:1}
.ml-brand-full img{display:block;width:auto;max-width:100%;object-fit:contain}
.ml-brand-full.ml-on-light img{height:38px}
.ml-brand-full.ml-on-dark img{height:36px}
.ml-brand-mark{width:38px;height:38px;object-fit:contain;display:block}
.ml-focus-ring:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible{
  outline:3px solid rgba(124,58,237,.22);
  outline-offset:2px;
}
.ml-account-menu{
  position:absolute;right:28px;top:62px;z-index:650;width:210px;
  background:#fff;border:1px solid var(--ml-line);border-radius:12px;
  box-shadow:0 16px 42px rgba(16,24,40,.15);padding:6px;display:none
}
.ml-account-menu.open{display:block}
.ml-account-menu button,.ml-account-menu a{
  width:100%;display:flex;align-items:center;gap:9px;border:0;background:none;
  border-radius:8px;padding:9px 10px;color:#344054;font-size:11px;font-weight:700;
  text-decoration:none;cursor:pointer;text-align:left
}
.ml-account-menu button:hover,.ml-account-menu a:hover{background:#f7f4ff;color:#6D28D9}
.ml-account-menu .ml-menu-divider{height:1px;background:var(--ml-line);margin:5px 3px}
.ml-account-menu .danger{color:#b42318}
@media(max-width:900px){
  .ml-account-menu{right:12px;top:58px}
}


/* v1.1.4: restored clean MemoLink wordmark and gradient application bar */
.ml-wordmark{
  display:inline-flex;align-items:baseline;text-decoration:none;
  font-weight:900;letter-spacing:-1px;line-height:1;white-space:nowrap
}
.ml-wordmark .ml-memo{color:inherit}
.ml-wordmark .ml-link{color:#d8b4fe}
.ml-wordmark.ml-wordmark-light{color:#fff;font-size:24px}
.ml-wordmark.ml-wordmark-dark{color:#4c1d95;font-size:24px}
.ml-wordmark.ml-wordmark-dark .ml-link{color:#8b5cf6}
.ml-app-gradient{
  background:linear-gradient(112deg,#4c1d95 0%,#6d28d9 48%,#8b5cf6 100%);
}


/* v1.1.5 — richer, consistent internal colour system */
:root{
  --ml-violet:#7c3aed;
  --ml-indigo:#4f46e5;
  --ml-blue:#2563eb;
  --ml-cyan:#0891b2;
  --ml-green:#059669;
  --ml-amber:#d97706;
  --ml-rose:#e11d48;
  --ml-purple-soft:#f5f0ff;
  --ml-blue-soft:#eff6ff;
  --ml-green-soft:#ecfdf5;
  --ml-amber-soft:#fff7ed;
  --ml-rose-soft:#fff1f2;
  --ml-page-grad:linear-gradient(180deg,#faf9ff 0%,#f7f8fc 50%,#f5f7fb 100%);
}
body.ml-colour-page{background:var(--ml-page-grad)}
.ml-page-banner{
  position:relative;overflow:hidden;border-radius:18px;padding:22px 24px;margin-bottom:20px;
  background:linear-gradient(125deg,#f5f0ff 0%,#eef2ff 52%,#ecfeff 100%);
  border:1px solid #e8e3fa;
}
.ml-page-banner:after{
  content:"";position:absolute;right:-50px;top:-70px;width:190px;height:190px;border-radius:50%;
  background:radial-gradient(circle,rgba(124,58,237,.18),rgba(124,58,237,0) 70%);
}
.ml-page-banner h1{font-size:25px;font-weight:900;letter-spacing:-.65px;position:relative;z-index:1}
.ml-page-banner p{font-size:12px;color:#667085;margin-top:6px;max-width:800px;line-height:1.55;position:relative;z-index:1}
.ml-card-purple{border-top:3px solid var(--ml-violet)!important}
.ml-card-blue{border-top:3px solid var(--ml-blue)!important}
.ml-card-green{border-top:3px solid var(--ml-green)!important}
.ml-card-amber{border-top:3px solid var(--ml-amber)!important}
.ml-card-cyan{border-top:3px solid var(--ml-cyan)!important}
.ml-card-rose{border-top:3px solid var(--ml-rose)!important}
