/* Available before app styles load; the install flow never depends on sign-in. */
html body .desktop-install-launcher {
  display:inline-flex; align-items:center; gap:12px; min-height:56px; padding:12px 16px;
  border:1px solid var(--public-line,#cbd0df); border-radius:18px;
  background:var(--public-surface,#fff); color:var(--public-ink,#20283f);
  font:inherit; text-align:left; cursor:pointer; box-shadow:0 4px 20px #19243814;
}
html body .desktop-install-launcher[hidden] {display:none;}
.desktop-install-launcher svg,#install-button>svg:first-child {width:28px;height:28px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.desktop-install-launcher span {display:grid;gap:3px;}
.desktop-install-launcher strong {font-size:13px;font-weight:650;}
.desktop-install-launcher small {font-size:11px;color:var(--public-muted,#4d5870);}
html body .desktop-install-launcher:hover {border-color:var(--public-action,#285aa1);}
html .desktop-install-launcher:focus-visible,html .mc-install-dialog :is(button,input):focus-visible {outline:3px solid var(--public-action,#285aa1);outline-offset:3px;}
html #install-button {text-align:left;}
html #install-button strong {font-size:12px;white-space:normal;}
@media(min-width:961px) {
  html body.is-marketing .desktop-install-launcher {position:fixed;left:20px;bottom:20px;z-index:90;}
  html body.is-marketing .site-foot {padding-bottom:104px;}
}
/* A simple, opaque sheet stays readable in light/dark mode, including the public landing. */
html body .mc-install-dialog {
  --mc-ink:var(--public-ink,#20283f); --mc-ink-secondary:var(--public-muted,#4d5870);
  --mc-line:var(--public-line,#cbd0df); --mc-blue:var(--public-link,#274d81);
  width:min(calc(100% - 28px),510px);max-height:calc(100dvh - 32px);margin:auto;
  padding:0;border:1px solid var(--mc-line);border-radius:24px;
  background:var(--public-surface,#fff);color:var(--mc-ink);font:inherit;
  box-shadow:0 20px 80px #071b3a33;overflow:auto;backdrop-filter:none;-webkit-backdrop-filter:none;
}
html .mc-install-dialog::backdrop {background:#1018278c;}
html .mc-install-dialog__content {position:relative;display:grid;gap:16px;padding:28px;}
html .mc-install-dialog__content h2 {margin:0;padding-right:32px;font-size:26px;line-height:1.15;color:var(--mc-ink);}
html .mc-install-dialog__content .eyebrow {margin:0;font-size:10px;font-weight:650;letter-spacing:.12em;color:var(--mc-ink-secondary);}
html .mc-install-dialog__intro,html .mc-install-dialog__note {margin:0;color:var(--mc-ink-secondary);line-height:1.6;font-size:14px;}
html .mc-install-dialog__close {position:absolute;top:18px;right:18px;width:44px;height:44px;display:grid;place-items:center;padding:0;background:var(--public-control,#ececf5);color:var(--mc-ink);border:0;border-radius:50%;font-size:24px;cursor:pointer;}
html .mc-install-devices {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0;margin:0;border:0;background:transparent;}
html .mc-install-devices button {display:grid;place-items:center;gap:5px;padding:10px 4px;min-height:70px;border:1px solid var(--mc-line);border-radius:14px;background:var(--public-surface,#fff);color:var(--mc-ink);font:inherit;font-size:11px;box-shadow:none;cursor:pointer;}
html .mc-install-devices button[aria-pressed=true] {background:var(--public-control,#ececf5);border-color:var(--mc-blue);box-shadow:none;}
html .mc-install-device-icon {display:grid;place-items:center;width:26px;height:26px;background:none;border:0;box-shadow:none;}
html .mc-install-device-icon svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;filter:none;}
html .mc-install-dialog__device-title {font-size:18px;margin:0;color:var(--mc-ink);}
html .mc-install-dialog__steps {display:grid;list-style:none;gap:0;padding:0;margin:0;}
html .mc-install-dialog__steps li {display:flex;align-items:start;gap:12px;padding:14px 0;border-bottom:1px solid var(--mc-line);}
html .mc-install-step-icon {display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border:0;border-radius:10px;background:var(--public-control,#ececf5);color:var(--mc-blue);font-size:22px;box-shadow:none;}
html .mc-install-step-icon svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;}
html .mc-install-dialog__steps strong {display:block;margin-bottom:4px;font-size:14px;color:var(--mc-ink);}
html .mc-install-dialog__steps div>span {display:block;font-size:13px;line-height:1.6;color:var(--mc-ink-secondary);}
html .mc-install-link {padding:14px;min-width:0;background:var(--public-control,#ececf5);border:0;border-radius:14px;}
html .mc-install-link label {display:block;font-size:12px;margin-bottom:8px;color:var(--mc-ink-secondary);}
html .mc-install-link>div {display:flex;gap:8px;flex-wrap:wrap;}
html .mc-install-link input {flex:1 1 180px;min-width:0;max-width:100%;padding:10px;border:1px solid var(--mc-line);border-radius:10px;background:var(--public-surface,#fff);color:var(--mc-ink);font:inherit;font-size:14px;}
html .mc-install-link p {font-size:12px;color:var(--mc-ink-secondary);}
html .mc-install-link p:empty {display:none;}
html .mc-install-dialog .mc-button {min-height:44px;padding:10px 16px;border:1px solid var(--mc-line);border-radius:12px;background:var(--public-surface,#fff);color:var(--mc-ink);font:inherit;font-size:14px;box-shadow:none;cursor:pointer;}
html .mc-install-dialog .mc-install-dialog__prompt {width:100%;border:0;background:var(--public-action,#285aa1);color:white;font-weight:650;}
html .mc-install-dialog [hidden] {display:none!important;}
@media(max-width:480px) {html .mc-install-dialog__content {padding:22px;}html .mc-install-link input {font-size:16px;}}
/* Keep the default path short; other devices are a secondary choice. */
html .mc-install-other {border-top:1px solid var(--mc-line);padding-top:16px;}
html .mc-install-other summary {min-height:44px;display:list-item;align-content:center;color:var(--mc-blue);font-size:13px;cursor:pointer;}
html .mc-install-other .mc-install-devices {margin:10px 0 16px;}
html .mc-install-browser {border:0;background:transparent;color:var(--mc-ink-secondary);font:inherit;font-size:13px;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
html .mc-install-browser:hover {color:var(--mc-blue);}
html #install-button small {white-space:normal;overflow:visible;text-overflow:clip;line-height:1.4;}
/* Keep account creation, email verification and sign-in free of floating prompts. */
html body.is-marketing .desktop-install-launcher {display:none;}
html body.is-marketing .site-foot {padding-bottom:32px;}
