@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&family=Poppins:wght@300;400;500;600;700&family=Unbounded:wght@600&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=switzer@400,500,600,700&display=swap');

:root {
  --mcp-cream: #fdf2d4;
  --mcp-yellow: #ffff78;
  --mcp-peach: #ffb89f;
  --mcp-mint: #dce6de;
  --mcp-ink: #000;
  --mcp-text: #1c1917;
  --mcp-muted: #78716c;
  --mcp-faint: #a8a29e;
  --mcp-critical: #9f1239;
  --mcp-high: #ff7659;
  --mcp-moderate: #818cf8;
  --mcp-low: #39bf97;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--mcp-cream); }
body { margin: 0; color: var(--mcp-text); font-family: 'Poppins', sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.mcp-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mcp-page {
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--mcp-cream);
}

.mcp-shell {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  isolation: isolate;
  background-color: var(--mcp-cream);
}

.mcp-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='105.425' height='105.425' viewBox='0 0 105.425 105.425' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M52.712 40v25.425M40 52.712h25.425' fill='none' stroke='%23ff7659' stroke-opacity='.46' stroke-width='1'/%3E%3C/svg%3E");
  background-position: -32.7px -40px;
}

.mcp-header {
  position: relative;
  z-index: 50;
  display: flex;
  width: calc(100% - 100px);
  height: 80px;
  margin: 0 50px;
  align-items: center;
  padding: 0 24px 0 47px;
  color: #fff;
  background: #000;
  border-radius: 0 0 45px 45px;
}

.mcp-brand {
  flex: 0 0 auto;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.mcp-nav {
  display: flex;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  gap: 8px;
}

.mcp-nav-link {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  color: #fff;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s ease-in, background-color .3s ease-in, transform .3s ease-in;
}

.mcp-nav-link img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.mcp-nav-link:hover,
.mcp-nav-link:focus-visible { color: #000; background: var(--mcp-yellow); outline: none; }
.mcp-nav-link:hover img,
.mcp-nav-link:focus-visible img { filter: none; }

.mcp-powered {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  padding: 8px 23px;
  color: #000;
  background: #fff;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.44px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.mcp-pluto-logo { position: relative; display: inline-block; width: 105px; height: 32px; }
.mcp-pluto-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mcp-pluto-logo img + img { top: 35%; left: 19.5%; width: 62%; height: 30%; }

.mcp-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 9px;
  background: var(--mcp-yellow);
  border: 0;
  border-radius: 50%;
}
.mcp-menu-button span { display: block; height: 2px; margin: 4px 0; background: #000; }
.mcp-mobile-nav {
  position: absolute;
  z-index: 49;
  top: 72px;
  right: 16px;
  left: 16px;
  padding: 18px;
  background: #000;
  border: 1px solid #000;
  border-radius: 0 0 24px 24px;
  box-shadow: 5px 5px 0 #000;
}
.mcp-mobile-nav a { display: block; padding: 12px; color: #fff; font-weight: 600; text-decoration: none; }
.mcp-mobile-nav a[aria-current='page'] { color: var(--mcp-yellow); }

.mcp-main { position: relative; z-index: 1; flex: 1 0 auto; }
.mcp-view { position: relative; width: 100%; }

/* Submit */
.mcp-submit-view { min-height: 712px; overflow: hidden; }
.mcp-submit-content {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(883px, calc(100% - 40px));
  margin: 188px auto 0;
  flex-direction: column;
  align-items: center;
  gap: 49px;
  text-align: center;
}

.mcp-submit-content h1 {
  margin: 0;
  color: #000;
  font-family: 'Unbounded', sans-serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.mcp-submit-content > p {
  width: 829px;
  max-width: 100%;
  margin: -4px 0 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
}

.mcp-scan-form { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 24px; }
.mcp-source-tabs {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid #000;
  border-radius: 9999px;
}

.mcp-source-tab {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-right: 1px solid #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-transform: capitalize;
  transition: background-color .18s ease;
}
.mcp-source-tab:last-child { border-right: 0; }
.mcp-source-tab.is-active { background: var(--mcp-yellow); }
.mcp-source-tab img { width: 20px; height: 20px; object-fit: contain; }
.mcp-source-tab-enterprise { gap: 10px; }
.mcp-enterprise-main { display: inline-flex; align-items: center; gap: 10px; opacity: .5; white-space: nowrap; }
.mcp-enterprise-label { display: inline-flex; align-items: center; gap: 4px; color: #fa673a; font-size: 14px; white-space: nowrap; }
.mcp-enterprise-label img { width: 16px; height: 16px; }

.mcp-submit-controls { display: flex; width: 100%; align-items: flex-start; justify-content: center; gap: 12px; }
.mcp-target-field { display: block; flex: 1 1 auto; }
.mcp-target-field input {
  width: 100%;
  height: 56px;
  padding: 12px 28px 12px 24px;
  color: var(--mcp-text);
  background: #fff;
  border: 1px solid #000;
  border-radius: 100px;
  box-shadow: 0 4px 0 #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  outline: none;
}
.mcp-target-field input::placeholder { color: var(--mcp-muted); font-weight: 300; }
.mcp-target-field input:focus { box-shadow: 0 4px 0 #000, 0 0 0 3px rgba(255,118,89,.25); }
.mcp-target-field input.mcp-invalid { animation: mcp-shake .25s ease 2; box-shadow: 0 4px 0 #000, 0 0 0 3px rgba(220,38,38,.25); }
.mcp-field-error { margin: -10px 0 0; color: #9f1239; font-size: 14px; font-weight: 500; line-height: 20px; }

.mcp-primary-button,
.mcp-secondary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 17px 31px;
  cursor: pointer;
  border: 1px solid #000;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1.62px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mcp-primary-button { color: #fff; background: #000; }
.mcp-primary-button:hover,
.mcp-primary-button:focus-visible { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,.2); outline: none; }
.mcp-submit-controls .mcp-primary-button { min-width: 244px; height: 54px; }

.mcp-submit-decor { position: absolute; z-index: 2; pointer-events: none; }
.mcp-submit-decor-left { top: 199px; left: 0; width: 103px; height: 199px; animation: mcp-drift-left 1s ease-out alternate infinite; }
.mcp-submit-decor-right { top: 155px; right: 0; width: 33px; height: 51px; animation: mcp-drift-right 1.2s ease-out alternate infinite; }

.mcp-account-row { position: absolute; z-index: 5; top: 32px; right: 50px; left: 49px; display: flex; align-items: center; justify-content: space-between; }
.mcp-account-alert {
  position: absolute;
  z-index: 6;
  top: 103px;
  right: 50px;
  left: 49px;
  padding: 12px 18px;
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #991b1b;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.mcp-account-alert.is-info {
  color: #134e4a;
  background: #ccfbf1;
  border-color: #0f766e;
}
.mcp-primary-button:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.mcp-user-pill,
.mcp-quota-pill {
  display: flex;
  height: 54px;
  align-items: center;
  gap: 10px;
  color: var(--mcp-text);
  border: 1px solid #000;
  border-radius: 100px;
  box-shadow: 0 4px 0 #000;
  font-size: 16px;
  font-weight: 500;
}
.mcp-user-pill { padding: 8px 28px 8px 12px; cursor: pointer; background: #f1cfbe; }
.mcp-avatar-wrap { display: flex; padding: 4px; border-radius: 999px; background: #fff1e4; }
.mcp-avatar-wrap img { width: 28px; height: 28px; }
.mcp-logout-icon { width: 19px; height: 19px; }
.mcp-quota-pill { padding: 10px 20px 10px 24px; background: #ecfdf5; }
.mcp-quota-pill img { width: 32px; height: 32px; }
.mcp-quota-pill strong { font-weight: 500; }

/* Analyzing */
.mcp-analyzing-view { min-height: 712px; overflow: hidden; }
.mcp-analyzing-view h1 {
  position: absolute;
  z-index: 8;
  top: 86px;
  left: 50%;
  margin: 0;
  padding: 4px 8px;
  transform: translateX(-50%);
  color: #000;
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
  white-space: nowrap;
  transition: opacity .3s ease-out;
}
.mcp-analyzing-view h1.is-changing { opacity: 0; }
.mcp-analyzing-view h1:focus,
.mcp-report-topbar h1:focus { outline: none; }
.mcp-space { position: absolute; inset: 0; pointer-events: none; }
.mcp-space-stage { position: absolute; top: 0; left: 50%; width: 1440px; height: 712px; transform: translateX(-50%); }
.mcp-curved-flight { position: absolute; z-index: 1; top: 105px; left: 0; width: 1440px; height: 531px; overflow: hidden; }
.mcp-curved-trail { position: absolute; top: 82px; left: -1px; width: 5px; height: 367px; overflow: hidden; }
.mcp-curved-trail img { width: 1502px; max-width: none; height: 367px; }
.mcp-analysis-rocket { position: absolute; top: 230.02px; left: -50.63px; width: 189.021px; max-width: none; height: 140px; transform: translate(-50%, -50%) rotate(56.05deg); transform-origin: 50% 50%; }
.mcp-curved-flight.is-running .mcp-curved-trail { animation: mcp-curved-trail 13.298554945s infinite both; }
.mcp-curved-flight.is-running .mcp-analysis-rocket { animation: mcp-curved-rocket 13.298554945s infinite both; }
.mcp-planet { position: absolute; z-index: 3; display: block; transform-origin: 50% 50%; }
.mcp-planet img { position: absolute; max-width: none; }
.mcp-planet-teal { top: 279px; left: 128px; width: 76.1594px; height: 76.1594px; }
.mcp-planet-teal img { top: -6.049px; left: -.551px; width: 78px; height: 83px; }
.mcp-planet-pink { top: 366px; left: 474px; width: 149.7305px; height: 131.583px; }
.mcp-planet-pink img { top: -1.274px; left: 0; width: 157px; height: 133px; animation: mcp-planet-bob-down 1s ease-out infinite alternate; }
.mcp-planet-green { top: 244px; left: 892px; width: 127.9195px; height: 128.5242px; }
.mcp-planet-green img { top: 0; left: 0; width: 128px; height: 129px; animation: mcp-planet-bob-up .8s ease-out infinite alternate; }
.mcp-planet-orange { top: 368px; left: 1393.7969px; width: 147.7962px; height: 129.8832px; }
.mcp-planet-orange img { top: -1.259px; left: -.657px; width: 154px; height: 132px; animation: mcp-planet-bob-down 1s ease-out infinite alternate; }
.mcp-space-mark { position: absolute; z-index: 4; }
.mark-1 { top: 211px; left: 80.1%; width: 17px; height: 18px; }
.mark-2 { top: 272px; left: 40.8%; width: 11px; height: 12px; animation-delay: .1s; }
.mark-3 { top: 137px; left: 13.8%; width: 11px; height: 12px; animation-delay: .2s; }
.mark-4 { top: 409px; left: 13.8%; width: 11px; height: 12px; animation-delay: .3s; }
.mark-5 { top: 389px; left: 56.1%; width: 11px; height: 12px; animation-delay: .4s; }
.mark-6 { top: 180px; left: 84.7%; width: 11px; height: 12px; animation-delay: .5s; }
.mark-7 { top: 498px; left: 45%; width: 9px; height: 9px; animation-delay: .6s; }
.mark-8 { top: 215px; left: 5.35%; width: 14px; height: 14px; animation-delay: .7s; }
.mark-9 { top: 534px; left: calc(100% - 51px); width: 18px; height: 18px; animation-delay: .8s; }
.mark-10 { top: 221px; left: 35.8%; width: 18px; height: 18px; animation-delay: .9s; }

/* Report */
.mcp-report-view { min-height: 2191px; padding: 86px 0 252px; }
.mcp-report-topbar,
.mcp-report-grid { position: relative; z-index: 3; width: min(1229px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.mcp-report-topbar { display: flex; min-height: 80px; align-items: flex-start; justify-content: space-between; }
.mcp-report-topbar h1 { margin: 0; color: #000; font-family: 'Unbounded', sans-serif; font-size: 28px; font-weight: 600; line-height: 36px; }
.mcp-report-target { display: flex; margin: 8px 0 0; align-items: center; gap: 8px; font-size: 20px; font-weight: 500; line-height: 36px; }
.mcp-report-target img { width: 24px; height: 24px; }
.mcp-secondary-button { gap: 10px; color: #000; background: #fff; }
.mcp-secondary-button img { width: 24px; height: 24px; }
.mcp-report-grid { display: grid; margin-top: 31px; grid-template-columns: minmax(0, 841px) 368px; gap: 20px; align-items: start; }
.mcp-category-list { display: flex; flex-direction: column; gap: 20px; }

.mcp-category-card,
.mcp-details-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #000;
}
.mcp-category-header {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #000;
}
.mcp-category-title { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; gap: 6px; flex-wrap: wrap; }
.mcp-category-title h2 { margin: 0; font-size: 18px; font-weight: 600; line-height: 20px; text-transform: capitalize; }
.mcp-owasp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; color: inherit; background: #f5f5f4; border-radius: 4px; font-family: 'Switzer', sans-serif; font-size: 14px; line-height: 20px; text-decoration: none; }
.mcp-owasp-badge img { width: 16px; height: 16px; object-fit: cover; border-radius: 50%; }
a.mcp-owasp-badge { cursor: pointer; }
a.mcp-owasp-badge:hover { color: inherit; background: #e7e5e4; text-decoration: none; }
a.mcp-owasp-badge:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.mcp-counts { display: flex; flex: 0 0 auto; gap: 16px; }
.mcp-risk-count { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 7px; font-size: 16px; font-weight: 500; line-height: 16px; white-space: nowrap; }
.mcp-coverage-pill { display: inline-flex; padding: 8px 12px; color: var(--mcp-muted); background: #f5f5f4; border: 1px solid #a8a29e; border-radius: 7px; font-size: 14px; font-weight: 500; line-height: 16px; white-space: nowrap; }
.mcp-coverage-notice { margin: 0; padding: 24px 20px; color: var(--mcp-muted); font-size: 14px; line-height: 21px; }
.severity-critical { color: var(--mcp-critical); background: color-mix(in srgb, var(--mcp-critical) 10%, #fff); }
.severity-high { color: var(--mcp-high); background: color-mix(in srgb, var(--mcp-high) 10%, #fff); }
.severity-moderate { color: var(--mcp-moderate); background: #eef2ff; }
.severity-low { color: var(--mcp-low); background: #ecfdf5; }
.severity-informational { color: #57534e; background: #f5f5f4; }

.mcp-finding { padding: 24px 20px; border-bottom: 1px solid #000; }
.mcp-finding:last-child { border-bottom: 0; }
.mcp-finding-heading { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 8px; align-items: center; }
.mcp-severity-label { display: inline-flex; padding: 6px 8px; border-radius: 7px; font-size: 14px; font-weight: 500; line-height: 14px; }
.mcp-finding-title { font-size: 14px; font-weight: 600; line-height: 20px; text-transform: capitalize; }
.mcp-finding-code { color: var(--mcp-faint); font-family: 'Geist Mono', monospace; font-size: 14px; font-weight: 500; line-height: 20px; text-transform: uppercase; white-space: nowrap; }
.mcp-finding dl { display: flex; margin: 12px 0 0; flex-direction: column; gap: 12px; }
.mcp-finding dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 12px; align-items: start; }
.mcp-finding dt,
.mcp-details-card dt { color: var(--mcp-muted); font-family: 'Geist Mono', monospace; font-size: 14px; font-weight: 400; line-height: 20px; text-transform: capitalize; }
.mcp-finding dd,
.mcp-details-card dd { min-width: 0; margin: 0; font-size: 14px; font-weight: 400; line-height: 20px; }
.mcp-evidence { display: inline; width: fit-content; max-width: 100%; padding: 4px 8px; overflow-wrap: anywhere; background: #f5f5f4; border-radius: 4px; }

.mcp-compact-finding { min-height: 165px; }
.mcp-compact-finding p { margin: 14px 0 0; font-size: 14px; line-height: 21px; }

.mcp-locked-body { position: relative; height: 102px; overflow: hidden; background: #fff; }
.mcp-locked-preview { position: absolute; inset: -4px; display: flex; padding: 22px 24px; flex-direction: column; gap: 12px; opacity: .58; filter: blur(4px); pointer-events: none; user-select: none; transform: scale(1.015); }
.mcp-locked-preview-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; }
.mcp-locked-preview-title { overflow: hidden; font-size: 14px; font-weight: 600; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.mcp-locked-preview-code { color: var(--mcp-faint); font-family: 'Geist Mono', monospace; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.mcp-locked-preview dl { display: flex; margin: 0; flex-direction: column; gap: 8px; }
.mcp-locked-preview dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 12px; }
.mcp-locked-preview dt { color: var(--mcp-muted); font-family: 'Geist Mono', monospace; font-size: 14px; line-height: 20px; }
.mcp-locked-preview dd { min-width: 0; margin: 0; overflow: hidden; font-size: 14px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.mcp-unlock-button { position: absolute; z-index: 2; top: 30px; left: 50%; display: inline-flex; width: max-content; max-width: calc(100% - 32px); height: 40px; align-items: center; justify-content: center; gap: 6px; padding: 0 22px; cursor: pointer; background: var(--mcp-cream); border: 1px solid #000; border-radius: 100px; font-size: 12px; font-weight: 700; line-height: 14px; letter-spacing: 1.08px; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.mcp-unlock-button img { width: 16px; height: 16px; }
.mcp-unlock-button:focus-visible { outline: 3px solid var(--mcp-high); outline-offset: 2px; }

.mcp-details-card { min-height: 588px; }
.mcp-details-card h2 { margin: 0; padding: 22px 20px; border-bottom: 1px solid #000; font-size: 18px; font-weight: 600; line-height: 20px; }
.mcp-details-card dl { display: flex; margin: 0; padding: 22px 20px; flex-direction: column; gap: 16px; }
.mcp-details-card dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 12px; }

.mcp-report-decor { position: absolute; z-index: 2; pointer-events: none; }
.mcp-report-decor-left { top: 156px; left: 0; width: 38px; height: 77px; }
.mcp-report-decor-right { top: 1028px; right: 0; width: 128px; height: 211px; }

/* Footer */
.mcp-footer {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 60px;
  background: var(--mcp-yellow);
  border-top: 1px solid #000;
}
.mcp-footer p { margin: 0; color: #000; font-size: 14px; line-height: 21px; }
.mcp-footer div { display: flex; gap: 24px; }
.mcp-footer a { color: #000; font-size: 12px; line-height: 20px; text-decoration: underline; }

/* Dialogs */
.mcp-dialog-layer { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 24px; }
.mcp-dialog-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.mcp-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 750px);
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: 42px;
  box-shadow: 8px 8px 0 #000;
}
.mcp-auth-dialog { min-height: 337px; gap: 28px; padding: 60px 40px 50px; background: var(--mcp-mint); animation: mcp-modal-auth-in 1.2s ease-in both; }
.mcp-upsell-dialog { width: min(100%, 807px); min-height: 321px; gap: 28px; padding: 50px 40px; background: var(--mcp-peach); animation: mcp-modal-in .3s ease-out both; }
.mcp-dialog-close { position: absolute; z-index: 4; top: 39px; right: 39px; width: 36px; height: 36px; padding: 0; cursor: pointer; background: transparent; border: 0; }
.mcp-auth-dialog .mcp-dialog-close { width: 24px; height: 24px; }
.mcp-dialog-close img { width: 100%; height: 100%; }
.mcp-auth-sparkles { position: absolute; z-index: 3; top: 25.16px; left: 30.78px; width: 80.55px; height: 45.83px; pointer-events: none; }
.mcp-auth-sparkles img { position: absolute; }
.mcp-auth-star-large { top: 2.83px; left: 16.59px; width: 30.4px; height: 30.4px; transform: rotate(167.99deg) scaleY(-1); }
.mcp-auth-star-small { top: 29.32px; left: 1.32px; width: 14.18px; height: 14.19px; transform: rotate(167.99deg) scaleY(-1); }
.mcp-dialog-heading { position: relative; z-index: 2; display: flex; width: 100%; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.mcp-auth-dialog .mcp-dialog-heading { gap: 16px; }
.mcp-dialog-heading h2 { width: 633px; max-width: 90%; margin: 0; color: #000; font-family: 'Unbounded', sans-serif; font-size: 32px; font-weight: 600; line-height: 55px; }
.mcp-auth-dialog .mcp-dialog-heading h2 { font-size: 24px; line-height: 36px; }
.mcp-dialog-heading p { width: 633px; max-width: 90%; margin: 0; color: #000; font-size: 22px; line-height: 36px; }
.mcp-auth-dialog .mcp-dialog-heading p { font-size: 18px; line-height: 1.3; }
.mcp-google-button { display: inline-flex; height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 17px 31px; cursor: pointer; color: #fff; background: #000; border: 1px solid #000; border-radius: 100px; font-size: 18px; font-weight: 700; line-height: 20px; letter-spacing: 1.62px; text-transform: uppercase; }
.mcp-google-button img { width: 24px; height: 24px; }
.mcp-dialog-legal { width: 454px; max-width: 90%; margin: 0; color: var(--mcp-muted); font-size: 14px; line-height: 21px; text-align: center; }
.mcp-dialog-legal a { text-decoration: underline; }
.mcp-dialog-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 25px; }
.mcp-text-button { padding: 0; cursor: pointer; background: transparent; border: 0; font-size: 18px; font-weight: 700; line-height: 20px; letter-spacing: 1.62px; text-transform: uppercase; }
.mcp-modal-planet { position: absolute; z-index: 1; pointer-events: none; }
.mcp-modal-planet-left { bottom: 49px; left: -29px; width: 74px; height: 74px; }
.mcp-modal-planet-right { top: 98px; right: -67px; width: 134px; height: 134px; }

.mcp-status { position: fixed; z-index: 600; right: 20px; bottom: 20px; max-width: 360px; padding: 12px 16px; pointer-events: none; opacity: 0; background: #000; color: #fff; border-radius: 10px; font-size: 14px; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.mcp-status.is-visible { opacity: 1; transform: translateY(0); }
.mcp-noscript { position: fixed; z-index: 1000; inset: auto 20px 20px; padding: 16px; color: #fff; background: #000; }

@keyframes mcp-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes mcp-drift-left { from { transform: translate(-4px, 2px) rotate(-1deg); } to { transform: translate(3px, -4px) rotate(1deg); } }
@keyframes mcp-drift-right { from { transform: translate(0, 2px) rotate(-2deg); } to { transform: translate(-5px, -3px) rotate(2deg); } }
@keyframes mcp-planet-bob-down { to { transform: translateY(9.62px); } }
@keyframes mcp-planet-bob-up { to { transform: translateY(-10px); } }

/* Figma exposes this transition as the named GENTLE spring but not as a CSS curve. */
@keyframes mcp-curved-rocket {
  0%, 1.503922801% { top: 230.02px; left: -50.63px; transform: translate(-50%, -50%) rotate(56.05deg); }
  1.503922801% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  11.111111111%, 12.615033912% { top: 408.88px; left: 163.2605px; transform: translate(-50%, -50%) rotate(6.92deg); }
  12.615033912% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  22.222222222%, 23.726145023% { top: 372.17px; left: 317.76px; transform: translate(-50%, -50%) rotate(-35.07deg); }
  23.726145023% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  33.333333333%, 34.837256134% { top: 228.58px; left: 431.73px; transform: translate(-50%, -50%) rotate(-60.68deg); }
  34.837256134% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  44.444444444%, 45.948367245% { top: 121.21px; left: 588.68px; transform: translate(-50%, -50%) rotate(-.16deg); }
  45.948367245% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  55.555555556%, 57.059478356% { top: 225.32px; left: 767.8px; transform: translate(-50%, -50%) rotate(65.5deg); }
  57.059478356% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  66.666666667%, 68.170589468% { top: 417px; left: 933.51px; transform: translate(-50%, -50%) rotate(19.79deg); }
  68.170589468% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  77.777777778%, 79.281700579% { top: 331.36px; left: 1139.01px; transform: translate(-50%, -50%) rotate(-57.23deg); }
  79.281700579% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  88.888888889%, 90.39281169% { top: 119.89px; left: 1290.07px; transform: translate(-50%, -50%) rotate(-5.54deg); }
  90.39281169% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  100% { top: 93.8px; left: 1539.83px; transform: translate(-50%, -50%) rotate(-5.54deg); }
}

@keyframes mcp-curved-trail {
  0%, 1.503922801% { width: 5px; }
  1.503922801% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  11.111111111%, 12.615033912% { width: 204px; }
  12.615033912% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  22.222222222%, 23.726145023% { width: 280px; }
  23.726145023% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  33.333333333%, 34.837256134% { width: 416px; }
  34.837256134% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  44.444444444%, 45.948367245% { width: 541px; }
  45.948367245% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  55.555555556%, 57.059478356% { width: 758px; }
  57.059478356% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  66.666666667%, 68.170589468% { width: 887px; }
  68.170589468% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  77.777777778%, 79.281700579% { width: 1115px; }
  79.281700579% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  88.888888889%, 90.39281169% { width: 1272px; }
  90.39281169% { animation-timing-function: cubic-bezier(.34, 1.18, .64, 1); }
  100% { width: 1502px; }
}
@keyframes mcp-modal-auth-in { from { opacity: 0; transform: translateY(-110vh); } to { opacity: 1; transform: translateY(0); } }
@keyframes mcp-modal-in { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1260px) {
  .mcp-header { width: calc(100% - 32px); margin: 0 16px; padding-left: 26px; }
  .mcp-nav-link { padding: 0 10px; font-size: 14px; }
  .mcp-powered { padding-right: 14px; padding-left: 14px; font-size: 13px; }
  .mcp-pluto-logo { width: 82px; height: 25px; }
  .mcp-report-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .mcp-account-row { right: 24px; left: 24px; }
  .mcp-account-alert { right: 24px; left: 24px; }
}

@media (max-width: 980px) {
  .mcp-nav { display: none; }
  .mcp-menu-button { display: block; }
  .mcp-submit-content { margin-top: 150px; }
  .mcp-submit-content h1 { font-size: clamp(34px, 6vw, 46px); }
  .mcp-submit-content > p { font-size: 20px; line-height: 30px; }
  .mcp-report-view { padding-top: 56px; }
  .mcp-report-grid { grid-template-columns: 1fr; }
  .mcp-details-card { min-height: 0; grid-row: 1; }
  .mcp-category-list { grid-row: 2; }
  .mcp-details-card dl { display: grid; grid-template-columns: repeat(3,1fr); }
  .mcp-details-card dl > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 720px) {
  .mcp-shell::before { background-size: 88px 88px; }
  .mcp-header { height: 68px; margin: 0 10px; width: calc(100% - 20px); padding: 0 16px 0 20px; border-radius: 0 0 28px 28px; }
  .mcp-brand { font-size: 20px; }
  .mcp-submit-view,
  .mcp-analyzing-view { min-height: calc(100svh - 68px - 128px); }
  .mcp-account-row { position: relative; top: 22px; right: auto; left: auto; width: calc(100% - 32px); margin: 0 auto; gap: 10px; }
  .mcp-account-alert { position: relative; top: 38px; right: auto; left: auto; width: calc(100% - 32px); margin: 0 auto; }
  .mcp-user-pill { min-width: 0; padding-right: 14px; }
  .mcp-quota-pill { min-width: 0; margin-left: auto; padding: 8px 12px; font-size: 12px; }
  .mcp-quota-pill img { width: 26px; height: 26px; }
  .mcp-submit-content { width: calc(100% - 28px); margin-top: 118px; gap: 28px; }
  .mcp-account-alert:not([hidden]) ~ .mcp-submit-content { margin-top: 82px; }
  .mcp-account-row:not([hidden]) + .mcp-submit-decor + .mcp-submit-decor + .mcp-submit-content { margin-top: 98px; }
  .mcp-submit-content h1 { font-size: 31px; line-height: 1.2; letter-spacing: -.8px; }
  .mcp-submit-content > p { font-size: 17px; line-height: 27px; }
  .mcp-scan-form { gap: 18px; }
  .mcp-source-tabs { width: 100%; border-radius: 24px; flex-wrap: wrap; }
  .mcp-source-tab { min-width: 50%; flex: 1 1 50%; border-bottom: 1px solid #000; }
  .mcp-source-tab:nth-child(2) { border-right: 0; }
  .mcp-source-tab:last-child { flex-basis: 100%; border-bottom: 0; }
  .mcp-submit-controls { flex-direction: column; gap: 16px; }
  .mcp-target-field,
  .mcp-submit-controls .mcp-primary-button { width: 100%; }
  .mcp-submit-decor-left { top: 208px; width: 70px; height: auto; }
  .mcp-submit-decor-right { top: 126px; width: 25px; height: auto; }
  .mcp-footer { min-height: 128px; padding: 22px 20px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .mcp-footer div { flex-wrap: wrap; gap: 14px 20px; }

  .mcp-analyzing-view h1 { top: 72px; width: calc(100% - 24px); font-size: 23px; line-height: 32px; white-space: normal; }
  .mcp-space-stage { transform: translateX(-50%) scale(.72); transform-origin: 50% 30%; }

  .mcp-report-view { min-height: auto; padding: 48px 0 120px; }
  .mcp-report-topbar,
  .mcp-report-grid { width: calc(100% - 28px); }
  .mcp-report-topbar { min-height: 0; flex-direction: column; gap: 22px; }
  .mcp-report-target { align-items: flex-start; font-size: 16px; line-height: 26px; }
  .mcp-secondary-button { width: 100%; font-size: 15px; }
  .mcp-report-grid { margin-top: 24px; }
  .mcp-details-card dl { display: flex; }
  .mcp-details-card dl > div { grid-template-columns: 100px 1fr; gap: 12px; }
  .mcp-category-header { align-items: flex-start; flex-direction: column; }
  .mcp-counts { gap: 8px; flex-wrap: wrap; }
  .mcp-risk-count { padding: 7px 10px; font-size: 14px; }
  .mcp-unlock-button { padding: 0 14px; font-size: 10px; letter-spacing: .7px; }
  .mcp-finding-heading { grid-template-columns: auto minmax(0,1fr); align-items: start; }
  .mcp-finding-code { grid-column: span 1; }
  .mcp-finding dl > div { grid-template-columns: 1fr; gap: 4px; }
  .mcp-report-decor-right { display: none; }

  .mcp-dialog-layer { padding: 18px; }
  .mcp-dialog { border-radius: 30px; }
  .mcp-auth-dialog,
  .mcp-upsell-dialog { min-height: 0; padding: 56px 20px 38px; }
  .mcp-dialog-close { top: 24px; right: 24px; width: 28px; height: 28px; }
  .mcp-auth-dialog .mcp-dialog-close { width: 24px; height: 24px; }
  .mcp-auth-sparkles { top: 18px; left: 18px; transform: scale(.8); transform-origin: top left; }
  .mcp-dialog-heading h2,
  .mcp-auth-dialog .mcp-dialog-heading h2 { max-width: 85%; font-size: 22px; line-height: 34px; }
  .mcp-dialog-heading p,
  .mcp-auth-dialog .mcp-dialog-heading p { font-size: 16px; line-height: 25px; }
  .mcp-google-button { width: 100%; padding: 15px 18px; font-size: 14px; letter-spacing: 1.1px; }
  .mcp-dialog-actions { flex-direction: column-reverse; gap: 18px; }
  .mcp-dialog-actions .mcp-primary-button { width: 100%; font-size: 14px; }
  .mcp-modal-planet-right { width: 95px; height: 95px; right: -48px; }
  .mcp-modal-planet-left { width: 58px; height: 58px; left: -23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .mcp-curved-flight .mcp-analysis-rocket { top: 121.21px; left: 588.68px; transform: translate(-50%, -50%) rotate(-.16deg); animation: none !important; }
  .mcp-curved-flight .mcp-curved-trail { width: 541px; animation: none !important; }
}
